Page 1 of 1

NullPointerException in OxygenXMLEditorActionBarContributor

Posted: Wed May 25, 2005 11:19 am
by hamsta
I'm currently evaluating oxygen xml editor, and it's wonderful. Really, i love it. I will buy a license before the evaluation time expires :-)

I'm using it very excessive, currently working on DocBook xml files. I don't know what happened exactly, but I found this in the eclipse console log (however, everything started up normally despite the exception, it doesn't seem to affect anything)

Code: Select all


!SESSION 2005-05-25 10:25:10.875 -----------------------------------------------
eclipse.buildId=I20050513-1415
java.version=1.5.0_01
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
Framework arguments: -showlocation
Command-line arguments: -os win32 -ws win32 -arch x86 -console -consolelog -showlocation

!ENTRY org.eclipse.ui 2 0 2005-05-25 10:25:24.93
!MESSAGE Warnings while parsing the key bindings from the 'org.eclipse.ui.commands' extension point
!SUBENTRY 1 org.eclipse.ui 2 0 2005-05-25 10:25:24.93
!MESSAGE Defining a key binding with no key sequence has no effect: plug-in='com.oxygenxml.editor', commandId='com.oxygenxml.editor.debugScenario'.
!SUBENTRY 1 org.eclipse.ui 2 0 2005-05-25 10:25:24.93
!MESSAGE Cannot bind to an undefined command: plug-in='com.oxygenxml.editor', commandId='com.oxygenxml.editor.joinElement'.
!SUBENTRY 1 org.eclipse.ui 2 0 2005-05-25 10:25:24.93
!MESSAGE Defining a key binding with no key sequence has no effect: plug-in='com.oxygenxml.editor', commandId='com.oxygenxml.editor.toggleFold'.
log4j:WARN No appenders could be found for logger (ro.sync.H.A.Y).
log4j:WARN Please initialize the log4j system properly.

!ENTRY org.eclipse.ui.workbench 4 2 2005-05-25 10:25:35.328
!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.ui.workbench".
!STACK 0
java.lang.NullPointerException
at com.oxygenxml.editor.editors.xml.OxygenXMLEditorActionBarContributor.setActiveEditor(Unknown Source)
at org.eclipse.ui.internal.EditorActionBars.partChanged(EditorActionBars.java:310)
at org.eclipse.ui.internal.WorkbenchPage$3.run(WorkbenchPage.java:549)
at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1029)
at org.eclipse.core.runtime.Platform.run(Platform.java:775)
at org.eclipse.ui.internal.WorkbenchPage.activatePart(WorkbenchPage.java:538)
at org.eclipse.ui.internal.WorkbenchPage.setActivePart(WorkbenchPage.java:2750)
at org.eclipse.ui.internal.WorkbenchPage.activate(WorkbenchPage.java:531)
at org.eclipse.ui.internal.EditorManager$5.run(EditorManager.java:921)
at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1029)
at org.eclipse.core.runtime.Platform.run(Platform.java:775)
at org.eclipse.ui.internal.EditorManager.restoreState(EditorManager.java:905)
at org.eclipse.ui.internal.WorkbenchPage.restoreState(WorkbenchPage.java:2466)
at org.eclipse.ui.internal.WorkbenchWindow.restoreState(WorkbenchWindow.java:1822)
at org.eclipse.ui.internal.Workbench.restoreState(Workbench.java:1427)
at org.eclipse.ui.internal.Workbench.access$9(Workbench.java:1377)
at org.eclipse.ui.internal.Workbench$14.run(Workbench.java:1260)
at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1029)
at org.eclipse.core.runtime.Platform.run(Platform.java:775)
at org.eclipse.ui.internal.Workbench.restoreState(Workbench.java:1204)
at org.eclipse.ui.internal.WorkbenchConfigurer.restoreState(WorkbenchConfigurer.java:173)
at org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:700)
at org.eclipse.ui.internal.Workbench.init(Workbench.java:981)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1541)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:315)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:103)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:230)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:371)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:160)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:330)
at org.eclipse.core.launcher.Main.basicRun(Main.java:274)
at org.eclipse.core.launcher.Main.run(Main.java:977)
at org.eclipse.core.launcher.Main.main(Main.java:952)

Posted: Wed May 25, 2005 2:56 pm
by Mircea
Hi,

Thank you for reporting this issue. We will try to reproduce it and fix it.

Regards,
Mircea.