× Heads up!

Aqua Data Studio / nhilam

Follow
IDE for Relational Databases
×
narendravatsaraj(*) reported 2016-03-21T09:00:52Z  · last modified 2016-03-31T04:04:05Z

SQL Server 2014: NPE is thrown on selecting sys schema UDF in schema compare tool.


Priority Major
Complexity Unknown
Component Tools - Compare - Schema
Version 17.0
Product: Aqua Data Studio
Version: 17.0.3-12
Build #: 49039
Build Date: 2016-Mar-16 10:48:24 PM
 
Operating Environment: Linux (3.19.0-56-generic, amd64) / UTF-8 / en / IN / Oracle Corporation 1.8.0_40-b26
Memory: Max=704,643,072;  Total=470,286,336;  Free=289,267,376;  CPUs=8
 
1.Connect to SQL Server 2014.
2.Go to toolbar menu "Tools" -> Compare Tools -> Schema compare.
3.Schema Compare Tool window opens successfully.
4.For Server 1 :Select SQL Server 2014, "master" database and "sys" schema.
5.For Server 2 :Select SQL Server 2014," master" database and "dbo" schema(select such schema where User Defined functions are not created).
6.From Schema Objects, check option  "User Defined Functions"(120 functions are listed for Server 1 (master/sys schema combination)
7.Click on "Compare" button.
 
Observation:
1.Schema compare result tab opens to show compare results,but it shows Processing Error pop up,
   saying "There were errors in generating DDL",along with Null pointer exceptions in View Log.(Total 13)
2.If we Click on "OK" button of pop up, schema compare finishes and shows results.
3.According to me, ADS is not able to generate DDL for below 13 UDF.  
fn_cdc_decrement_lsn
fn_cdc_increment_lsn
fn_cdc_is_bit_set
fn_repl_hash_binary
GeographyCollectionAggregate
GeographyConvexHullAggregate
GeographyEnvelopeAggregate
GeographyUnionAggregate
GeometryCollectionAggregate
GeometryConvexHullAggregate
GeometryEnvelopeAggregate
GeometryUnionAggregate
ORMask

4.Issue is reproducible in V17 only.
5.In V18,if we check DDL of these 13 UDF , null is displayed in schema compare window. 

4 attachments

Issue #14342

Closed
Fixed
Resolved 2016-03-29T16:55:16Z
 
 
Completion
No due date
Fixed Build v17.0.3-17, v18.0.0-devi-98
No time estimate

About AquaClusters Privacy Policy Support Version - 19.0.2-4 AquaFold, Inc Copyright © 2007-2017