NullPointerException in Eclipse plugin
Having trouble installing Oxygen? Got a bug to report? Post it all here.
NullPointerException in Eclipse plugin
Post by joe »
I was just attempting to debug some XSLT, but found that for some reason all my breakpoints were ignored. the transformation just ran to completion every time.
I quit eclipse (3.0 build 200406192000) and restarted. the Debugger pane in the Oxygen XSLT debugger perspective says "An error has occured when creating this view". The following shows up in Eclispe's log:
!ENTRY org.eclipse.core.runtime 4 2 Sep 02, 2004 09:44:35.479
!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.core.ru
ntime".
!STACK 0
java.lang.NullPointerException
at com.oxygenxml.dxsl.a.i(Unknown Source)
at com.oxygenxml.dxsl.a.<init>(Unknown Source)
at com.oxygenxml.dxsl.DebuggerView.createPartControl(Unknown Source)
at org.eclipse.ui.internal.PartPane$2.run(PartPane.java:137)
at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatfo
rm.java:615)
at org.eclipse.core.runtime.Platform.run(Platform.java:758)
at org.eclipse.ui.internal.PartPane.createChildControl(PartPane.java:133
)
at org.eclipse.ui.internal.ViewPane.createChildControl(ViewPane.java:131
)
at org.eclipse.ui.internal.PartPane.createControl(PartPane.java:205)
at org.eclipse.ui.internal.ViewPane.createControl(ViewPane.java:119)
at org.eclipse.ui.internal.ViewFactory$1.run(ViewFactory.java:335)
at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatfo
rm.java:615)
at org.eclipse.core.runtime.Platform.run(Platform.java:758)
this is on OS X, with the latest Java update. plugin version 4.2.0
I quit eclipse (3.0 build 200406192000) and restarted. the Debugger pane in the Oxygen XSLT debugger perspective says "An error has occured when creating this view". The following shows up in Eclispe's log:
!ENTRY org.eclipse.core.runtime 4 2 Sep 02, 2004 09:44:35.479
!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.core.ru
ntime".
!STACK 0
java.lang.NullPointerException
at com.oxygenxml.dxsl.a.i(Unknown Source)
at com.oxygenxml.dxsl.a.<init>(Unknown Source)
at com.oxygenxml.dxsl.DebuggerView.createPartControl(Unknown Source)
at org.eclipse.ui.internal.PartPane$2.run(PartPane.java:137)
at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatfo
rm.java:615)
at org.eclipse.core.runtime.Platform.run(Platform.java:758)
at org.eclipse.ui.internal.PartPane.createChildControl(PartPane.java:133
)
at org.eclipse.ui.internal.ViewPane.createChildControl(ViewPane.java:131
)
at org.eclipse.ui.internal.PartPane.createControl(PartPane.java:205)
at org.eclipse.ui.internal.ViewPane.createControl(ViewPane.java:119)
at org.eclipse.ui.internal.ViewFactory$1.run(ViewFactory.java:335)
at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatfo
rm.java:615)
at org.eclipse.core.runtime.Platform.run(Platform.java:758)
this is on OS X, with the latest Java update. plugin version 4.2.0
-
- Posts: 1
- Joined: Thu Sep 02, 2004 11:54 pm
a bit more info on this.
I'm using Saxon, and I had previously turned on Saxon tracing with a saxon:trace='yes' attribute on the stylesheet. this apparently confused the Oxygen debugger, because I wasn't able to get any of my breakpoints to work.
when I removed the saxon:trace attribute, the debugger started working.
I'm using Saxon, and I had previously turned on Saxon tracing with a saxon:trace='yes' attribute on the stylesheet. this apparently confused the Oxygen debugger, because I wasn't able to get any of my breakpoints to work.
when I removed the saxon:trace attribute, the debugger started working.
-
- Site Admin
- Posts: 2095
- Joined: Thu Jan 09, 2003 2:58 pm
-
- Posts: 2
- Joined: Fri Oct 29, 2004 3:52 am
Bug opening XSLT debugger.
I also get this bug whenever I open eclipse if it opens up into xslt debugger view. I haven't created any trace listeners.
I have found that if I change to java view, quit, reopen, then change back to xslt it works OK.
I am running oxygen 5.0 and eclipse 3.0.1 (Sep 16 build).
It would be good if we could get it fixed because the workaround is a pain.
Regards,
Joe.
I have found that if I change to java view, quit, reopen, then change back to xslt it works OK.
I am running oxygen 5.0 and eclipse 3.0.1 (Sep 16 build).
It would be good if we could get it fixed because the workaround is a pain.
Regards,
Joe.
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service