Page 1 of 1

Reopen XSD in debug view, causes nullpointer

Posted: Sat May 30, 2009 10:33 pm
by giniedp
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:
[ 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)

Re: Reopen XSD in debug view, causes nullpointer

Posted: Mon Jun 01, 2009 9:45 am
by sorin_ristache
Hello,

Thank you for reporting the error. We will fix it in the next version, that is version 10.3. For avoiding the bug until Oxygen version 10.3 please do not switch between Editor perspective and Debugger perspective while an XSD file is open.


Regards,
Sorin