× Heads up!

Aqua Data Studio / nhilam

Follow
IDE for Relational Databases
×
abhishekj(*) reported 2014-11-20T05:58:56Z  · tariqrahiman last modified 2014-11-21T22:33:41Z

java.lang.NullPointerException:when we alter database device and enter special character like in size field for Sybase ASE 16.0


Priority Low
Complexity Unknown
Component App - Visual Editing
Version 16.0

Product: Aqua Data Studio.
Version: 16.0.0-dev-42
Build #: 41139
Build Date: 2014-Nov-18 05:42:29 PM

Operating Environment: Linux (2.6.32-431.20.3.el6.x86_64, amd64) / UTF-8 / en / US / Oracle Corporation 1.7.0_60-b19
Memory: Max=766,312,448;  Total=162,635,776;  Free=102,844,992;  CPUs=1

Steps to Reproduce :

1.Connect to Sybase Ase 16.0.

2.Create the below  Database Device from Visual Editor Window or run the below script from query analyzer window:

USE master
GO
disk init name = 'project'
     , physname = '/opt/sap/data/student.dat'
     , vdevno = 0
     , size = 4500
     , dsync = false
     , vstart = 0

Go

Database Device "Project" created successfully.

Now from navigation node select storage node option,expand it,select database device 'project',right click on it and select option-->Alter Database Device.

Go to Storage Pane,select Size field option:

Enter the below example in size field :

9000..00 KB.

Go to Preview Sql Tab.

Observation.

Here it is observed that when we go to preview sql tab and enter double after the size number or enter  special character in the size field,in preview sql

tab it displays Null Pointer Exception.

Exception :

java.lang.NullPointerException
    at \\...\\ .\\हिñçêČάй語简�?한\\.L̪⣹⢘ꂅ import.Y(Unknown Source)
    at \\...\\ .\\हिñçêČάй語简�?한\\.eᚡ⣦⡮ꊂ$8.stateChanged(Unknown Source)
    at \\...\\ .\\हिñçêČάй語简�?한\\.pꃒꍬᚠꑁ this$1$1.run(Unknown Source)
    at java.awt.event.InvocationEvent.dispatch(Unknown Source)
    at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
    at java.awt.EventQueue.access$200(Unknown Source)
    at java.awt.EventQueue$3.run(Unknown Source)
    at java.awt.EventQueue$3.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)
 

1 attachment

Issue #12802

Closed
Fixed
Resolved 2014-11-20T21:01:59Z
 
 
Completion
No due date
No fixed build
No time estimate

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