Reopen XSD in debug view, causes nullpointer

Having trouble installing Oxygen? Got a bug to report? Post it all here.
giniedp
Posts: 1
Joined: Sat May 30, 2009 10:22 pm

Reopen XSD in debug view, causes nullpointer

Post 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)
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Re: Reopen XSD in debug view, causes nullpointer

Post 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
Post Reply