× Heads up!

Aqua Data Studio / nhilam

Follow
IDE for Relational Databases
×
tariqrahiman reported 2014-04-22T18:28:01Z  · last modified 2014-06-02T19:28:27Z

xmlPlans and NPE in log for multiple SQL in Sybase ASE


Dev
Kin-Hong Wong
kin-hong
QA
Niels Gron
NielsGron
Priority Low
Complexity Unknown
Component Q Analyzer - Visual Explain Plan
Version 14.0
Version: 15.0.0-dev-247
Build #: 37464
Build Date: 2014-Apr-22 07:36:33 AM
 
NPE in log for multiple SQL in Sybase ASE
 
Against Sybase ASE 15.7 at 10.168.11.82, open Query Window with Visual Explain against aquafold database and Execute below queries.
You get NPE
 
SELECT * FROM dbo.sysalternates where suid is not null and altsuid is not null
GO
SELECT * FROM dbo.syscolumns where id is not null and length > 100
GO
INSERT INTO TESTTABLE  VALUES ('T')
GO
 
Sybase ASE 15
 
1. Connect to Sybase ASE 15
2. Open a query window against the NORTHWIND database 
3. Copy the below SQL and execute twice
4. You can see that the some logs with xmlPlan=<? .. and java.lang.NullPointerException is generated.
 
See attached screenshot
 
select count(*)  FROM dbo.Employees
GO
select count(*)  from dbo.Categories
GO
select count(*)  from dbo.CustomerDemographics
GO
select count(*)  from dbo.Customers
GO
select count(*)  from dbo.employee
GO
select count(*)  from dbo.Employees
GO
select count(*)  from dbo.Employees_ref
GO
select count(*)  from dbo.EmployeeTerritories
GO
select count(*)  from dbo.fetchsizetest
GO
select count(*)  from dbo.IPTEST
GO
select count(*)  from dbo.Order Details
GO
select count(*)  from dbo.Orders
GO
select count(*)  from dbo.Products
GO
select count(*)  from dbo.prt_hash_table
GO
select count(*)  from dbo.prt_hash_table1
GO
select count(*)  from dbo.prt_lst_table1
GO
select count(*)  from dbo.prt_rndrbn_table1
GO
select count(*)  from dbo.prt_rng_table1
GO
select count(*)  from dbo.Region
GO
select count(*)  from dbo.Shippers
GO
select count(*)  from dbo.Suppliers
GO
select count(*)  from dbo.T1
GO
select count(*)  from dbo.T2
GO
select count(*)  from dbo.Territories
GO
select count(*)  from dbo.test_employee
GO
select count(*)  from dbo.test_table
GO
select count(*)  from dbo.tmtest
GO
 

 

1 attachment

Issue #11921

Closed
Fixed
Resolved 2014-06-02T16:11:19Z
 
 
Completion
No due date
Fixed Build 15.0.0-dev-304
No time estimate

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