Product: Aqua Data Studio
Version: 12.0.0-rc-22
Build #: 29547
Build Date: 2012-Sep-29 04:31:28 PM
Unexpected error if you Save As ... a file in a different location and Debug in Browser
To reproduce
1. Navigate to the Projects Folder and open an AquaScript
2. Click on Save as .. icon and save the file in a folder out of the AquaProjects Folder
3. Now try to Debug in Browser
4. You get an Unexpected error as in attached picture. We need to catch this exception and display a warning to the User.
This issue exists in earlier version of ADS . Can reproduce in ADS 11.0
java.lang.RuntimeException: /home/tariq/myAquaP/Form/AquaScripts is not a parent of /home/tariq/add.xjs
at \\...\\ .\\हिñçêČάй語简�?한\\.jꋶꉔꅽꋜ while.a(Unknown Source)
at \\...\\ .\\हिñçêČάй語简�?한\\.jꋶꉔꅽꋜ while.a(Unknown Source)
at \\...\\ .\\हिñçêČάй語简�?한\\.jꋶꉔꅽꋜ while.a(Unknown Source)
at \\...\\ .\\हिñçêČάй語简�?한\\.jꋶꉔꅽꋜ while.a(Unknown Source)
at \\...\\ .\\हिñçêČάй語简�?한\\.jꋶꉔꅽꋜ while.a(Unknown Source)
at \\...\\ .\\हिñçêČάй語简�?한\\.jꋶꉔꅽꋜ while.b(Unknown Source)
at \\...\\ .\\हिñçêČάй語简�?한\\.Zꌦꏜᢥꑿ assert continue.b(Unknown Source)
at \\...\\ .\\हिñçêČάй語简�?한\\.Zꌦꏜᢥꑿ assert continue.a(Unknown Source)
at \\...\\ .\\हिñçêČάй語简�?한\\.q⢕ꍰꇃᚸ throws.JU(Unknown Source)
at \\...\\ .\\हिñçêČάй語简�?한\\.bꀢꎤꉀꌟ.action(Unknown Source)
at \\...\\ .\\हिñçêČάй語简�?한\\.vꂞ̒ꌿꊰ goto.actionPerformed(Unknown Source)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
at com.jidesoft.plaf.basic.BasicJideButtonListener.mouseReleased(Unknown Source)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)
at java.awt.Component.processMouseEvent(Component.java:6297)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3275)
at java.awt.Component.processEvent(Component.java:6062)
at java.awt.Container.processEvent(Container.java:2039)
at java.awt.Component.dispatchEventImpl(Component.java:4660)
at java.awt.Container.dispatchEventImpl(Container.java:2097)
at java.awt.Component.dispatchEvent(Component.java:4488)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4575)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4236)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4166)
at java.awt.Container.dispatchEventImpl(Container.java:2083)
at java.awt.Window.dispatchEventImpl(Window.java:2489)
at java.awt.Component.dispatchEvent(Component.java:4488)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:668)
at java.awt.EventQueue.access$400(EventQueue.java:81)
at java.awt.EventQueue$2.run(EventQueue.java:627)
at java.awt.EventQueue$2.run(EventQueue.java:625)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
at java.awt.EventQueue$3.run(EventQueue.java:641)
at java.awt.EventQueue$3.run(EventQueue.java:639)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:638)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
|
126 KB
The fact that we get an error is correct, but it should be a nice warning message without a stack trace.
(1) The 'Unexpected Error' dialog is replaced with an error dialog (icon is different: '-' vs. 'x').
(2) The stack trace is removed from the error dialog but saved to the log file.
(3) The title of the error dialog is generated at run time.
(1) The 'Unexpected Error' dialog is replaced with an error dialog (icon is different: '-' vs. 'x').
(2) The stack trace is removed from the error dialog but saved to the log file.
(3) The title of the error dialog is generated at run time.
Issue #7694 |
Closed |
Fixed |
Resolved |
Completion |
No due date |
Fixed Build trunk/29562 |
No time estimate |
The fact that we get an error is correct, but it should be a nice warning message without a stack trace.