× Heads up!

Aqua Data Studio / nhilam

Follow
IDE for Relational Databases
×
tariqrahiman reported 2015-03-04T22:42:49Z  · last modified 2015-03-12T22:30:37Z

Debugging ADS UDF skelton code in SQL Server gives NPE in v16


Dev
Ivan Gron
ivangron
QA
Kin-Hong Wong
kin-hong
Priority Major
Complexity Unknown
Component Editor - Debugger for SQL Server
Version 16.0
Version: 16.0.0-beta-35
Build #: 42674
Build Date: 2015-Mar-04 11:34:59 AM
 
Operating Environment: Mac OS X (10.8.5, x86_64) / UTF-8 / en / US / Oracle Corporation 1.7.0_60-b19
Memory: Max=3,819,962,368;  Total=1,022,885,888;  Free=481,547,272;  CPUs=8
 
Debugging ADS UDF skelton code gives NPE in v16
 
A sample UDF Skelton code generated by ADS executes fine in v14, v15 but gives NPE in v16.0.0-dev-15 and in latest 16.0.0-Beta-35 
 
CREATE FUNCTION [dbo].[FX_HELLO_WORLD]  (@MYARG INT)
RETURNS INT AS
BEGIN
SELECT @MYARG = 6
RETURN @MYARG
END
GO
 
TO reproduce connect to AWS SQL Server 2005 Northwind database and navigate to User Defined Functions node. Debug UDF dbo.FX_HELLO_WORLD
 
1. Above code Debugs correctly in v14 and v15
2. Gives Exceptions described below in v16.0.0-beta-35.
3. Starts with 16.0.0-dev-15 which is the initial v16 builds and I can reproduce in ADS v16.0.0-dev-21
4. Confirmed with Vikram that nothing has been updated in jTDS driver specifically from v16
5. I am able to reproduce in AWS, but was NOT able to reproduce initially in Sunnyvale Office Connections during Oct - Dec period when we had VMWare instances.
6. Stored Procedure Debugger works fine in all versions v14, v15 and v16
 
Exception:
java.lang.NullPointerException
at com.aquafold.debugger.mssql.impl.Qꐘ⡽ꐺ⢎ 7 try.a(Unknown Source)
at com.aquafold.debugger.mssql.impl.V⣄ꊡ⢖ꍋ while volatile.a(Unknown Source)
at \\...\\ .\\हिñçêČάй語简�?한\\.Qꐼꆥꆸꑰ.eL(Unknown Source)
at \\...\\ .\\हिñçêČάй語简�?한\\.M⢌ꄚᠰꏨ Object 2.a(Unknown Source)
at \\...\\ .\\हिñçêČάй語简�?한\\.Qꐼꆥꆸꑰ.run(Unknown Source)
java.lang.IllegalArgumentException
at com.aquafold.debugger.mssql.impl.V⣄ꊡ⢖ꍋ while volatile.i(Unknown Source)
at com.aquafold.debugger.mssql.impl.V⣄ꊡ⢖ꍋ while volatile.a(Unknown Source)
at \\...\\ .\\हिñçêČάй語简�?한\\.Qꐼꆥꆸꑰ.bY(Unknown Source)
at \\...\\ .\\हिñçêČάй語简�?한\\.Qꐼꆥꆸꑰ.run(Unknown Source)

 

3 attachments

Issue #13115

Closed
Fixed
Resolved 2015-03-12T19:51:02Z
 
 
Completion
No due date
Fixed Build v16.0.0-rc-10
No time estimate

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