Get NullPointer by starting application
Post here questions and problems related to oXygen frameworks/document types.
Get NullPointer by starting application
Hi,
we are using Eclipse oXygen Author 17.1.
By starting the the application we get the following Nullpointer:
We starting oxygen in our eclipse application, which runs in version 3.6. Could this be the reason for the nullpointer?
Best regards
Denis
we are using Eclipse oXygen Author 17.1.
By starting the the application we get the following Nullpointer:
Code: Select all
0 WARN [ main ] com.oxygenxml.editor.EditorPlugin - java.lang.NullPointerException
java.lang.NullPointerException
at com.oxygenxml.editor.EditorPlugin.getEclipseVersion(Unknown Source)
at com.oxygenxml.editor.EditorPlugin.upf(Unknown Source)
at com.oxygenxml.editor.EditorPlugin.kpf(Unknown Source)
at com.oxygenxml.editor.EditorPlugin$14.run(Unknown Source)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4140)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3757)
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)
Best regards
Denis
Denis Zygann
KGU Consulting GmbH
http://www.kgu-consulting.com
KGU Consulting GmbH
http://www.kgu-consulting.com
Re: Get NullPointer by starting application
Hi,
What distribution of Eclipse are you using Help > About Eclipse?
That NPE may appear if you have a custom Eclipse build that doesn't include the 'org.eclipse.platform' package.
Regards,
Adrian
What distribution of Eclipse are you using Help > About Eclipse?
That NPE may appear if you have a custom Eclipse build that doesn't include the 'org.eclipse.platform' package.
Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
Re: Get NullPointer by starting application
Hi,
I have found that the org.eclipse.platform package has to be in feature folder. After this is done the exception will not be thrown anymore.
Best regards,
Denis
I have found that the org.eclipse.platform package has to be in feature folder. After this is done the exception will not be thrown anymore.
Best regards,
Denis
Denis Zygann
KGU Consulting GmbH
http://www.kgu-consulting.com
KGU Consulting GmbH
http://www.kgu-consulting.com
Return to “SDK-API, Frameworks - Document Types”
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