Aqua Data Studio 17.0.0-ga-34
Build #: 48334
Built on: 2016-Jan-22 06:54:07 PM
1.Connect to Sybase ASE 16.0
2.Right click on Database or Table node.
3.Select Tools - Import Data option
4.Select any xls or xlsx file for import process.
5.ADS fails to launch Import Excel UI and throws NPE in Unexpected Error dialog.
Observation:
1.This issue is only with Import excel format.For CSV file import it is working properly.
2.This issue is not reproducible on every machine.
3.If we cross check this issue in previous builds it gives different stack trace. See attached screenshots.
4.Reproducible in ADS 17.0.0.1 build also.
Stack trace in GA_34 build
java.lang.NullPointerException
at \\.\\.\\हिñçêČάй語简�?한\\.bᝄꂁ⡜ꃆassertimport.ib(Unknown Source)
at \\.\\.\\हिñçêČάй語简�?한\\.bᝄꂁ⡜ꃆassertimport.loadSettings(Unknown Source)
at \\.\\.\\हिñçêČάй語简�?한\\.bᝄꂁ⡜ꃆassertimport.<init>(Unknown Source)
at \\.\\.\\हिñçêČάй語简�?한\\.zᠯꑇᜣᡴ.a(Unknown Source)
at \\.\\.\\हिñçêČάй語简�?한\\.Tꀛꉒꊘꇁ.a(Unknown Source)
at com.aquafold.datastudio.mainframe.ActionHandler.actionPerformed(Unknown Source)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2346)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
at javax.swing.AbstractButton.doClick(AbstractButton.java:376)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:833)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:877)
at java.awt.Component.processMouseEvent(Component.java:6525)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
at java.awt.Component.processEvent(Component.java:6290)
at java.awt.Container.processEvent(Container.java:2234)
at java.awt.Component.dispatchEventImpl(Component.java:4881)
at java.awt.Container.dispatchEventImpl(Container.java:2292)
at java.awt.Component.dispatchEvent(Component.java:4703)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4898)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4533)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4462)
at java.awt.Container.dispatchEventImpl(Container.java:2278)
at java.awt.Window.dispatchEventImpl(Window.java:2750)
at java.awt.Component.dispatchEvent(Component.java:4703)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:751)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:702)
at java.awt.EventQueue$3.run(EventQueue.java:696)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:86)
at java.awt.EventQueue$4.run(EventQueue.java:724)
at java.awt.EventQueue$4.run(EventQueue.java:722)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:721)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
|
402 KB
|
285 KB
|
277 KB
|
291 KB
|
205 KB
![]() |
6 KB
|
37 KB
|
137 KB
|
89 KB
I did a hangout with Narendra and found out that the exception occurs when your Server Properties -> Advanced Tab -> Charset is set to Default.
All our AWS server properties had cp850 as the charset, so I was not able to reproduce the error earlier. see the attached screenshot A
Hi Narendra, The NPE was caused because the database field was not set when trying to initialize the Bulk Copy variables. The database field is required. Thanks, Tom
Hi Narendra, The NPE was caused because the database field was not set when trying to initialize the Bulk Copy variables. The database field is required. Thanks, Tom
Verified in ADS 18 Dev 38.Please refer attachment (14239 ADS 18 Dev 38)
Verified in ADS 18 Dev 38.Please refer attachment (14239 ADS 18 Dev 38)
Issue #14239 |
Closed |
Fixed |
Resolved |
Completion |
No due date |
Fixed Build ADS 18.0.0-dev-37 & ADS 17.0.0-2 |
No time estimate |
I did a hangout with Narendra and found out that the exception occurs when your Server Properties -> Advanced Tab -> Charset is set to Default.
All our AWS server properties had cp850 as the charset, so I was not able to reproduce the error earlier. see the attached screenshot A