Ensure that Users will be able to Close Application, also with some Startup errors ----------------------------------------------------------------------------------
Key: PIVOT-157 URL: https://issues.apache.org/jira/browse/PIVOT-157 Project: Pivot Issue Type: Bug Components: tools, wtk Affects Versions: 1.3 Environment: Windows XP, but maybe also on others O.S. could happen Reporter: Sandro Martini Assignee: Greg Brown Priority: Minor Fix For: 1.3 I've just tried to run the new JSONViever, but only downloading the 2 files (.java commented some Override statements and .wtkx). When run from Eclipse i got the following exception: (Ok, i know this is not a right environment for tests, I'm sure that after synchronizing all, works) org.apache.pivot.serialization.SerializationException: Either src or language is required for the wtkx:script tag. at org.apache.pivot.wtkx.WTKXSerializer.readObject(WTKXSerializer.java:750) at org.apache.pivot.wtkx.WTKXSerializer.readObject(WTKXSerializer.java:299) at org.apache.pivot.wtkx.WTKXSerializer.readObject(WTKXSerializer.java:287) at org.apache.pivot.wtkx.WTKXSerializer.readObject(WTKXSerializer.java:274) at org.apache.pivot.tools.json.JSONViewer.startup(JSONViewer.java:52) at org.apache.pivot.wtk.DesktopApplicationContext$HostFrame.processWindowEvent(DesktopApplicationContext.java:76) at java.awt.Window.processEvent(Window.java:1820) at java.awt.Component.dispatchEventImpl(Component.java:4583) at java.awt.Container.dispatchEventImpl(Container.java:2099) at java.awt.Window.dispatchEventImpl(Window.java:2475) at java.awt.Component.dispatchEvent(Component.java:4413) at java.awt.EventQueue.dispatchEvent(EventQueue.java:599) 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) But the real problem is that after this i can't close the application clicking the close icon (i have to kill the process from Eclipse). So my real question is: is it possible to change the closing of Desktop Applications (maybe inside DesktopApplicationContext), to ensure that our applications could be closed, also in case of strange errors (without having to kill process manually) ? I'm available to do other tests for this strange case. Thanks, Sandro -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.