Reopen XSD in debug view, causes nullpointer
Posted: Sat May 30, 2009 10:33 pm
Oxygen version:
XML Editor 10.2, build 2009041713
Description:
Reopen an XSD causes a nullpointer exception when sweitching debug/editor view
How to recreate the exception:
1. start oxygen with any project
2. ensure there is any XSD file in the "reopen" history (do not open)
3. switch to "Debug" view
4. "File" -> "Reopen" -> select any XSD file
- xsd file is now open, the textcontent is visible
5. switch to "Editor" view
- xsd is still open and is in text mode
6. switch the xsd viewmode to "Schema mode"
now the exception occurs:
XML Editor 10.2, build 2009041713
Description:
Reopen an XSD causes a nullpointer exception when sweitching debug/editor view
How to recreate the exception:
1. start oxygen with any project
2. ensure there is any XSD file in the "reopen" history (do not open)
3. switch to "Debug" view
4. "File" -> "Reopen" -> select any XSD file
- xsd file is now open, the textcontent is visible
5. switch to "Editor" view
- xsd is still open and is in text mode
6. switch the xsd viewmode to "Schema mode"
now the exception occurs:
[ AWT-EventQueue-0 ] - java.lang.NullPointerException
java.lang.NullPointerException
at ro.sync.xsd.A.A.B(Unknown Source)
at ro.sync.xsd.F.B.C.A(Unknown Source)
at ro.sync.xsd.F.B.A.A(Unknown Source)
at ro.sync.xsd.F.D$16.run(Unknown Source)
at ro.sync.ui.g$1.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:199)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
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)