Canceling Validating with... action results in NPE

Having trouble installing <oXygen/>? Got a bug to report? Post it all here.
SNO
Posts: 39
Joined: Mon Oct 01, 2012 3:05 pm

Canceling Validating with... action results in NPE

Post by SNO » Wed Sep 30, 2020 3:39 pm

Hello,

When trying to cancel the "Validate with..." action from the Toolbar of the Eclipse Client (Oxygen 22.1 Eclipse version) it ends up in an NPE
Accept I choose Schematron as Schama Type.

Code: Select all

java.lang.NullPointerException
	at com.oxygenxml.editor.editors.xml.v.sjc(Unknown Source)
	at com.oxygenxml.editor.editors.xml.e.close(Unknown Source)
	at org.eclipse.jface.dialogs.Dialog.cancelPressed(Dialog.java:488)
	at org.eclipse.jface.dialogs.Dialog.buttonPressed(Dialog.java:474)
	at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624)
	at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:240)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4165)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3754)
	at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
	at org.eclipse.jface.window.Window.open(Window.java:801)
	at com.oxygenxml.editor.swtutil.nd.open(Unknown Source)
	at com.oxygenxml.editor.editors.xml.e.bnab(Unknown Source)
	at ro.sync.exml.editor.validate.r.ifh(Unknown Source)
	at com.oxygenxml.editor.editors.xml.AbstractXMLTextEditor.validateExternal(Unknown Source)
	at com.oxygenxml.editor.editors.xml.w$2.pwe(Unknown Source)
	at com.oxygenxml.editor.h.axe(Unknown Source)
	at com.oxygenxml.editor.h.runWithEvent(Unknown Source)
	at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
	at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
	at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4165)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3754)
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640)
	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604)
	at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438)
	at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
	at com.teamcenter.rac.contmgmt.client.DcApplication.start(DcApplication.java:222)
	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:620)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:575)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1408)
	at org.eclipse.equinox.launcher.Main.main(Main.java:1384)
Stefan Nöbauer
Senior Solution Architect
KGU-Consulting GmbH

Radu
Posts: 7314
Joined: Fri Jul 09, 2004 5:18 pm

Re: Canceling Validating with... action results in NPE

Post by Radu » Wed Sep 30, 2020 3:56 pm

Hi Stefan,

We seem to have fixed this problem in an Oxygen 22.1 minor bug fix release. Can you uninstall our plugin and re-install it again from our web site?

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com

SNO
Posts: 39
Joined: Mon Oct 01, 2012 3:05 pm

Re: Canceling Validating with... action results in NPE

Post by SNO » Wed Sep 30, 2020 6:03 pm

Thanks Radu,

new Version works!

Regards
Stefan
Stefan Nöbauer
Senior Solution Architect
KGU-Consulting GmbH

Post Reply