Product: Aqua Data Studio
Version: 15.0.0-dev-258
Build #: 37602
Build Date: 2014-Apr-29 03:48:52 PM
Operating Environment: Windows 7 (6.1, amd64) / Cp1252 / en / IN / Oracle
Corporation 1.7.0_51-b13
Memory: Max=954,728,448; Total=403,701,760; Free=199,629,424; CPUs=8
Issue:Register server-Editing server name throws null pointer exception
Steps to reproduce:
1)Launch ADS and right click on any registered server (say MSExcel) from servers pane and select option server properties.
2)In "Edit server properties" window enter the name of server bigger than allowed (say 250+ charachters) and save the connection by clicking on save button.
3)You get error message "failed to create server" click on "ok".
4)Now expand the same server in servers pane you get message "Corrupted file:.C:/..."
5)Keep your logs window open and right click on the server.
--->Null pointer exception is logged in logs.
Stack trace:
java.lang.NullPointerException
at \\...\\ .\\हिñçêČάй語简�?한\\.Yꋅꊘ⠢⠐ switch.ar(Unknown Source)
at \\...\\ .\\हिñçêČάй語简�?한\\.jꃬꄣꄇꌑ while 9.a(Unknown Source)
at com.common.ui.tree.Xꏠꇡ⢆ꃤ.b(Unknown Source)
at com.common.ui.tree.Xꏠꇡ⢆ꃤ.a(Unknown Source)
at com.common.ui.tree.fꀭꊫꑇ⢞ import.ah(Unknown Source)
at com.common.ui.tree.fꀭꊫꑇ⢞ import$2.n(Unknown Source)
at com.common.ui.tree.fꀭꊫꑇ⢞ import$2.mouseReleased(Unknown Source)
at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(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.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.awt.EventQueue$4.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)
@Sachin: can you verify if we need to fix this and update the Developer ?
I am able to reproduce this. Once this occurs, then the right click menu on the Server Name disappears and get NPE.