Error during customizing the xml menu using Eclipse IDE Integration

Post here questions and problems related to oXygen frameworks/document types.
gpmn
Posts: 8
Joined: Wed Apr 25, 2018 11:28 am

Error during customizing the xml menu using Eclipse IDE Integration

Post by gpmn » Fri Jul 27, 2018 7:43 am

Hi

I am trying to customize the xml menu using Eclipse IDE Integration.

I am following the steps mentioned in https://www.oxygenxml.com/oxygen_sdk/ox ... _19_1.html but after setting up the maven project and when I peformed the "Configure/Convert to Plug-in Projects" I am getting 'Bundle com.oxygenxml.editor can not be resolved' in manifest and the 'unknown extension point' error in plugin.xml file.

Could you please help me to resolve this issue ?

I copied few lines of the error logs

Code: Select all

!ENTRY org.eclipse.pde.core 4 0 2018-07-27 09:54:00.186
!MESSAGE Error reading non-OSGi plug-in manifest for D:\Eclipse-Workspace3\mySample\oxygen-sample-plugins\oxygen-sample-plugin-convert-hex-to-char
!STACK 1
org.eclipse.core.runtime.CoreException: Error reading non-OSGi plug-in manifest for D:\Eclipse-Workspace3\mySample\oxygen-sample-plugins\oxygen-sample-plugin-convert-hex-to-char
at org.eclipse.pde.internal.core.util.ManifestUtils.loadPluginXML(ManifestUtils.java:311)
at org.eclipse.pde.internal.core.util.ManifestUtils.loadManifest(ManifestUtils.java:136)
at org.eclipse.pde.internal.core.MinimalState.addBundle(MinimalState.java:105)
at org.eclipse.pde.internal.core.MinimalState.addBundle(MinimalState.java:71)
at org.eclipse.pde.internal.core.PluginModelManager.addWorkspaceBundleToState(PluginModelManager.java:709)
at org.eclipse.pde.internal.core.PluginModelManager.initializeTable(PluginModelManager.java:569)
at org.eclipse.pde.internal.core.PluginModelManager.targetReloaded(PluginModelManager.java:471)
at org.eclipse.pde.internal.core.RequiredPluginsInitializer$1.run(RequiredPluginsInitializer.java:31)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:56)
Caused by: org.eclipse.osgi.service.pluginconversion.PluginConversionException: Error parsing plugin manifest file D:\Eclipse-Workspace3\mySample\oxygen-sample-plugins\oxygen-sample-plugin-convert-hex-to-char at <missing argument>.
at org.eclipse.osgi.compatibility.plugins.PluginConverterImpl.parsePluginInfo(PluginConverterImpl.java:642)
at org.eclipse.osgi.compatibility.plugins.PluginConverterImpl.fillPluginInfo(PluginConverterImpl.java:149)
at org.eclipse.osgi.compatibility.plugins.PluginConverterImpl.convertManifest(PluginConverterImpl.java:757)
at org.eclipse.osgi.compatibility.plugins.PluginConverterImpl.convertManifest(PluginConverterImpl.java:770)
at org.eclipse.pde.internal.core.util.ManifestUtils.loadPluginXML(ManifestUtils.java:309)
... 8 more
Caused by: java.io.FileNotFoundException: D:\Softwares\eclipse-jee-oxygen-3a-win32-x86_64\plugin.dtd (The system cannot find the file specified)
at java.io.FileInputStream.open0(Native Method)
at java.io.FileInputStream.open(Unknown Source)
at java.io.FileInputStream.<init>(Unknown Source)
at java.io.FileInputStream.<init>(Unknown Source)
at sun.net.www.protocol.file.FileURLConnection.connect(Unknown Source)
at sun.net.www.protocol.file.FileURLConnection.getInputStream(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.startEntity(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.startDTDEntity(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDTDScannerImpl.setInputSource(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$DTDDriver.dispatch(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$DTDDriver.next(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.parse(Unknown Source)
at javax.xml.parsers.SAXParser.parse(Unknown Source)
at org.eclipse.osgi.compatibility.plugins.PluginParser.parsePlugin(PluginParser.java:474)
at org.eclipse.osgi.compatibility.plugins.PluginConverterImpl.parsePluginInfo(PluginConverterImpl.java:639)
... 12 more
!SUBENTRY 1 org.eclipse.pde.core 4 0 2018-07-27 09:54:00.187
!MESSAGE Error reading non-OSGi plug-in manifest for D:\Eclipse-Workspace3\mySample\oxygen-sample-plugins\oxygen-sample-plugin-convert-hex-to-char
!STACK 0
org.eclipse.osgi.service.pluginconversion.PluginConversionException: Error parsing plugin manifest file D:\Eclipse-Workspace3\mySample\oxygen-sample-plugins\oxygen-sample-plugin-convert-hex-to-char at <missing argument>.
at org.eclipse.osgi.compatibility.plugins.PluginConverterImpl.parsePluginInfo(PluginConverterImpl.java:642)
at org.eclipse.osgi.compatibility.plugins.PluginConverterImpl.fillPluginInfo(PluginConverterImpl.java:149)
at org.eclipse.osgi.compatibility.plugins.PluginConverterImpl.convertManifest(PluginConverterImpl.java:757)
at org.eclipse.osgi.compatibility.plugins.PluginConverterImpl.convertManifest(PluginConverterImpl.java:770)
at org.eclipse.pde.internal.core.util.ManifestUtils.loadPluginXML(ManifestUtils.java:309)
at org.eclipse.pde.internal.core.util.ManifestUtils.loadManifest(ManifestUtils.java:136)
at org.eclipse.pde.internal.core.MinimalState.addBundle(MinimalState.java:105)
at org.eclipse.pde.internal.core.MinimalState.addBundle(MinimalState.java:71)
at org.eclipse.pde.internal.core.PluginModelManager.addWorkspaceBundleToState(PluginModelManager.java:709)
at org.eclipse.pde.internal.core.PluginModelManager.initializeTable(PluginModelManager.java:569)
at org.eclipse.pde.internal.core.PluginModelManager.targetReloaded(PluginModelManager.java:471)
at org.eclipse.pde.internal.core.RequiredPluginsInitializer$1.run(RequiredPluginsInitializer.java:31)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:56)
Caused by: java.io.FileNotFoundException: D:\Softwares\eclipse-jee-oxygen-3a-win32-x86_64\plugin.dtd (The system cannot find the file specified)
at java.io.FileInputStream.open0(Native Method)
at java.io.FileInputStream.open(Unknown Source)
at java.io.FileInputStream.<init>(Unknown Source)
at java.io.FileInputStream.<init>(Unknown Source)
at sun.net.www.protocol.file.FileURLConnection.connect(Unknown Source)
at sun.net.www.protocol.file.FileURLConnection.getInputStream(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.startEntity(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.startDTDEntity(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDTDScannerImpl.setInputSource(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$DTDDriver.dispatch(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$DTDDriver.next(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.parse(Unknown Source)
at javax.xml.parsers.SAXParser.parse(Unknown Source)
at org.eclipse.osgi.compatibility.plugins.PluginParser.parsePlugin(PluginParser.java:474)
at org.eclipse.osgi.compatibility.plugins.PluginConverterImpl.parsePluginInfo(PluginConverterImpl.java:639)
... 12 more

!ENTRY org.eclipse.pde.core 4 0 2018-07-27 09:54:00.197
!MESSAGE Error reading non-OSGi plug-in manifest for D:\Eclipse-Workspace3\mySample\oxygen-sample-plugins\oxygen-sample-plugin-components-validator
!STACK 1
org.eclipse.core.runtime.CoreException: Error reading non-OSGi plug-in manifest for D:\Eclipse-Workspace3\mySample\oxygen-sample-plugins\oxygen-sample-plugin-components-validator
at org.eclipse.pde.internal.core.util.ManifestUtils.loadPluginXML(ManifestUtils.java:311)
at org.eclipse.pde.internal.core.util.ManifestUtils.loadManifest(ManifestUtils.java:136)
at org.eclipse.pde.internal.core.MinimalState.addBundle(MinimalState.java:105)
at org.eclipse.pde.internal.core.MinimalState.addBundle(MinimalState.java:71)
at org.eclipse.pde.internal.core.PluginModelManager.addWorkspaceBundleToState(PluginModelManager.java:709)
at org.eclipse.pde.internal.core.PluginModelManager.initializeTable(PluginModelManager.java:569)
at org.eclipse.pde.internal.core.PluginModelManager.targetReloaded(PluginModelManager.java:471)
at org.eclipse.pde.internal.core.RequiredPluginsInitializer$1.run(RequiredPluginsInitializer.java:31)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:56)
Caused by: org.eclipse.osgi.service.pluginconversion.PluginConversionException: Error parsing plugin manifest file D:\Eclipse-Workspace3\mySample\oxygen-sample-plugins\oxygen-sample-plugin-components-validator at <missing argument>.
at org.eclipse.osgi.compatibility.plugins.PluginConverterImpl.parsePluginInfo(PluginConverterImpl.java:642)
at org.eclipse.osgi.compatibility.plugins.PluginConverterImpl.fillPluginInfo(PluginConverterImpl.java:149)
at org.eclipse.osgi.compatibility.plugins.PluginConverterImpl.convertManifest(PluginConverterImpl.java:757)
at org.eclipse.osgi.compatibility.plugins.PluginConverterImpl.convertManifest(PluginConverterImpl.java:770)
at org.eclipse.pde.internal.core.util.ManifestUtils.loadPluginXML(ManifestUtils.java:309)
... 8 more
Caused by: java.io.FileNotFoundException: D:\Softwares\eclipse-jee-oxygen-3a-win32-x86_64\plugin.dtd (The system cannot find the file specified)
at java.io.FileInputStream.open0(Native Method)
at java.io.FileInputStream.open(Unknown Source)
at java.io.FileInputStream.<init>(Unknown Source)
at java.io.FileInputStream.<init>(Unknown Source)
at sun.net.www.protocol.file.FileURLConnection.connect(Unknown Source)
at sun.net.www.protocol.file.FileURLConnection.getInputStream(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.startEntity(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.startDTDEntity(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDTDScannerImpl.setInputSource(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$DTDDriver.dispatch(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$DTDDriver.next(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.parse(Unknown Source)
at javax.xml.parsers.SAXParser.parse(Unknown Source)
at org.eclipse.osgi.compatibility.plugins.PluginParser.parsePlugin(PluginParser.java:474)
at org.eclipse.osgi.compatibility.plugins.PluginConverterImpl.parsePluginInfo(PluginConverterImpl.java:639)
... 12 more
!SUBENTRY 1 org.eclipse.pde.core 4 0 2018-07-27 09:54:00.198
!MESSAGE Error reading non-OSGi plug-in manifest for D:\Eclipse-Workspace3\mySample\oxygen-sample-plugins\oxygen-sample-plugin-components-validator
!STACK 0
org.eclipse.osgi.service.pluginconversion.PluginConversionException: Error parsing plugin manifest file D:\Eclipse-Workspace3\mySample\oxygen-sample-plugins\oxygen-sample-plugin-components-validator at <missing argument>.
at org.eclipse.osgi.compatibility.plugins.PluginConverterImpl.parsePluginInfo(PluginConverterImpl.java:642)
at org.eclipse.osgi.compatibility.plugins.PluginConverterImpl.fillPluginInfo(PluginConverterImpl.java:149)
at org.eclipse.osgi.compatibility.plugins.PluginConverterImpl.convertManifest(PluginConverterImpl.java:757)
at org.eclipse.osgi.compatibility.plugins.PluginConverterImpl.convertManifest(PluginConverterImpl.java:770)
at org.eclipse.pde.internal.core.util.ManifestUtils.loadPluginXML(ManifestUtils.java:309)
at org.eclipse.pde.internal.core.util.ManifestUtils.loadManifest(ManifestUtils.java:136)
at org.eclipse.pde.internal.core.MinimalState.addBundle(MinimalState.java:105)
at org.eclipse.pde.internal.core.MinimalState.addBundle(MinimalState.java:71)
at org.eclipse.pde.internal.core.PluginModelManager.addWorkspaceBundleToState(PluginModelManager.java:709)
at org.eclipse.pde.internal.core.PluginModelManager.initializeTable(PluginModelManager.java:569)
at org.eclipse.pde.internal.core.PluginModelManager.targetReloaded(PluginModelManager.java:471)
at org.eclipse.pde.internal.core.RequiredPluginsInitializer$1.run(RequiredPluginsInitializer.java:31)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:56)
Caused by: java.io.FileNotFoundException: D:\Softwares\eclipse-jee-oxygen-3a-win32-x86_64\plugin.dtd (The system cannot find the file specified)
at java.io.FileInputStream.open0(Native Method)
at java.io.FileInputStream.open(Unknown Source)
at java.io.FileInputStream.<init>(Unknown Source)
at java.io.FileInputStream.<init>(Unknown Source)
at sun.net.www.protocol.file.FileURLConnection.connect(Unknown Source)
at sun.net.www.protocol.file.FileURLConnection.getInputStream(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.startEntity(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.startDTDEntity(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDTDScannerImpl.setInputSource(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$DTDDriver.dispatch(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$DTDDriver.next(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.parse(Unknown Source)
at javax.xml.parsers.SAXParser.parse(Unknown Source)
at org.eclipse.osgi.compatibility.plugins.PluginParser.parsePlugin(PluginParser.java:474)
at org.eclipse.osgi.compatibility.plugins.PluginConverterImpl.parsePluginInfo(PluginConverterImpl.java:639)
... 12 more

!ENTRY org.eclipse.pde.core 4 0 2018-07-27 09:54:00.210
!MESSAGE Error reading non-OSGi plug-in manifest for D:\Eclipse-Workspace3\mySample\oxygen-sample-plugins\oxygen-sample-plugin-broken-links-checker
!STACK 1
org.eclipse.core.runtime.CoreException: Error reading non-OSGi plug-in manifest for D:\Eclipse-Workspace3\mySample\oxygen-sample-plugins\oxygen-sample-plugin-broken-links-checker
at org.eclipse.pde.internal.core.util.ManifestUtils.loadPluginXML(ManifestUtils.java:311)
at org.eclipse.pde.internal.core.util.ManifestUtils.loadManifest(ManifestUtils.java:136)
at org.eclipse.pde.internal.core.MinimalState.addBundle(MinimalState.java:105)
at org.eclipse.pde.internal.core.MinimalState.addBundle(MinimalState.java:71)
at org.eclipse.pde.internal.core.PluginModelManager.addWorkspaceBundleToState(PluginModelManager.java:709)
at org.eclipse.pde.internal.core.PluginModelManager.initializeTable(PluginModelManager.java:569)
at org.eclipse.pde.internal.core.PluginModelManager.targetReloaded(PluginModelManager.java:471)
at org.eclipse.pde.internal.core.RequiredPluginsInitializer$1.run(RequiredPluginsInitializer.java:31)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:56)
Caused by: org.eclipse.osgi.service.pluginconversion.PluginConversionException: Error parsing plugin manifest file D:\Eclipse-Workspace3\mySample\oxygen-sample-plugins\oxygen-sample-plugin-broken-links-checker at <missing argument>.
at org.eclipse.osgi.compatibility.plugins.PluginConverterImpl.parsePluginInfo(PluginConverterImpl.java:642)
at org.eclipse.osgi.compatibility.plugins.PluginConverterImpl.fillPluginInfo(PluginConverterImpl.java:149)
at org.eclipse.osgi.compatibility.plugins.PluginConverterImpl.convertManifest(PluginConverterImpl.java:757)
at org.eclipse.osgi.compatibility.plugins.PluginConverterImpl.convertManifest(PluginConverterImpl.java:770)
at org.eclipse.pde.internal.core.util.ManifestUtils.loadPluginXML(ManifestUtils.java:309)
... 8 more
Caused by: java.io.FileNotFoundException: D:\Softwares\eclipse-jee-oxygen-3a-win32-x86_64\plugin.dtd (The system cannot find the file specified)
at java.io.FileInputStream.open0(Native Method)
at java.io.FileInputStream.open(Unknown Source)
at java.io.FileInputStream.<init>(Unknown Source)
at java.io.FileInputStream.<init>(Unknown Source)
at sun.net.www.protocol.file.FileURLConnection.connect(Unknown Source)
at sun.net.www.protocol.file.FileURLConnection.getInputStream(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.startEntity(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.startDTDEntity(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDTDScannerImpl.setInputSource(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$DTDDriver.dispatch(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$DTDDriver.next(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.parse(Unknown Source)
at javax.xml.parsers.SAXParser.parse(Unknown Source)
at org.eclipse.osgi.compatibility.plugins.PluginParser.parsePlugin(PluginParser.java:474)
at org.eclipse.osgi.compatibility.plugins.PluginConverterImpl.parsePluginInfo(PluginConverterImpl.java:639)
... 12 more
!SUBENTRY 1 org.eclipse.pde.core 4 0 2018-07-27 09:54:00.211
!MESSAGE Error reading non-OSGi plug-in manifest for D:\Eclipse-Workspace3\mySample\oxygen-sample-plugins\oxygen-sample-plugin-broken-links-checker
!STACK 0
org.eclipse.osgi.service.pluginconversion.PluginConversionException: Error parsing plugin manifest file D:\Eclipse-Workspace3\mySample\oxygen-sample-plugins\oxygen-sample-plugin-broken-links-checker at <missing argument>.
at org.eclipse.osgi.compatibility.plugins.PluginConverterImpl.parsePluginInfo(PluginConverterImpl.java:642)
at org.eclipse.osgi.compatibility.plugins.PluginConverterImpl.fillPluginInfo(PluginConverterImpl.java:149)
at org.eclipse.osgi.compatibility.plugins.PluginConverterImpl.convertManifest(PluginConverterImpl.java:757)
at org.eclipse.osgi.compatibility.plugins.PluginConverterImpl.convertManifest(PluginConverterImpl.java:770)
at org.eclipse.pde.internal.core.util.ManifestUtils.loadPluginXML(ManifestUtils.java:309)
at org.eclipse.pde.internal.core.util.ManifestUtils.loadManifest(ManifestUtils.java:136)
at org.eclipse.pde.internal.core.MinimalState.addBundle(MinimalState.java:105)
at org.eclipse.pde.internal.core.MinimalState.addBundle(MinimalState.java:71)
at org.eclipse.pde.internal.core.PluginModelManager.addWorkspaceBundleToState(PluginModelManager.java:709)
at org.eclipse.pde.internal.core.PluginModelManager.initializeTable(PluginModelManager.java:569)
at org.eclipse.pde.internal.core.PluginModelManager.targetReloaded(PluginModelManager.java:471)
at org.eclipse.pde.internal.core.RequiredPluginsInitializer$1.run(RequiredPluginsInitializer.java:31)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:56)
Caused by: java.io.FileNotFoundException: D:\Softwares\eclipse-jee-oxygen-3a-win32-x86_64\plugin.dtd (The system cannot find the file specified)
at java.io.FileInputStream.open0(Native Method)
at java.io.FileInputStream.open(Unknown Source)
at java.io.FileInputStream.<init>(Unknown Source)
at java.io.FileInputStream.<init>(Unknown Source)
at sun.net.www.protocol.file.FileURLConnection.connect(Unknown Source)
at sun.net.www.protocol.file.FileURLConnection.getInputStream(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.startEntity(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.startDTDEntity(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDTDScannerImpl.setInputSource(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$DTDDriver.dispatch(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$DTDDriver.next(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.parse(Unknown Source)
at javax.xml.parsers.SAXParser.parse(Unknown Source)
at org.eclipse.osgi.compatibility.plugins.PluginParser.parsePlugin(PluginParser.java:474)
at org.eclipse.osgi.compatibility.plugins.PluginConverterImpl.parsePluginInfo(PluginConverterImpl.java:639)
... 12 more

!ENTRY org.eclipse.pde.core 4 0 2018-07-27 09:54:00.215
!MESSAGE Error reading non-OSGi plug-in manifest for D:\Eclipse-Workspace3\mySample\oxygen-sample-plugins\oxygen-sample-plugin-tranformer-saxon-9-6
!STACK 1
org.eclipse.core.runtime.CoreException: Error reading non-OSGi plug-in manifest for D:\Eclipse-Workspace3\mySample\oxygen-sample-plugins\oxygen-sample-plugin-tranformer-saxon-9-6
at org.eclipse.pde.internal.core.util.ManifestUtils.loadPluginXML(ManifestUtils.java:311)
at org.eclipse.pde.internal.core.util.ManifestUtils.loadManifest(ManifestUtils.java:136)
at org.eclipse.pde.internal.core.MinimalState.addBundle(MinimalState.java:105)
at org.eclipse.pde.internal.core.MinimalState.addBundle(MinimalState.java:71)
at org.eclipse.pde.internal.core.PluginModelManager.addWorkspaceBundleToState(PluginModelManager.java:709)
at org.eclipse.pde.internal.core.PluginModelManager.initializeTable(PluginModelManager.java:569)
at org.eclipse.pde.internal.core.PluginModelManager.targetReloaded(PluginModelManager.java:471)
at org.eclipse.pde.internal.core.RequiredPluginsInitializer$1.run(RequiredPluginsInitializer.java:31)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:56)
Caused by: org.eclipse.osgi.service.pluginconversion.PluginConversionException: Error parsing plugin manifest file D:\Eclipse-Workspace3\mySample\oxygen-sample-plugins\oxygen-sample-plugin-tranformer-saxon-9-6 at <missing argument>.
at org.eclipse.osgi.compatibility.plugins.PluginConverterImpl.parsePluginInfo(PluginConverterImpl.java:642)
at org.eclipse.osgi.compatibility.plugins.PluginConverterImpl.fillPluginInfo(PluginConverterImpl.java:149)
at org.eclipse.osgi.compatibility.plugins.PluginConverterImpl.convertManifest(PluginConverterImpl.java:757)
at org.eclipse.osgi.compatibility.plugins.PluginConverterImpl.convertManifest(PluginConverterImpl.java:770)
at org.eclipse.pde.internal.core.util.ManifestUtils.loadPluginXML(ManifestUtils.java:309)
... 8 more
Caused by: java.io.FileNotFoundException: D:\Softwares\eclipse-jee-oxygen-3a-win32-x86_64\plugin.dtd (The system cannot find the file specified)
at java.io.FileInputStream.open0(Native Method)
at java.io.FileInputStream.open(Unknown Source)
at java.io.FileInputStream.<init>(Unknown Source)
at java.io.FileInputStream.<init>(Unknown Source)
at sun.net.www.protocol.file.FileURLConnection.connect(Unknown Source)
at sun.net.www.protocol.file.FileURLConnection.getInputStream(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.startEntity(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.startDTDEntity(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDTDScannerImpl.setInputSource(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$DTDDriver.dispatch(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$DTDDriver.next(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.parse(Unknown Source)
at javax.xml.parsers.SAXParser.parse(Unknown Source)
at org.eclipse.osgi.compatibility.plugins.PluginParser.parsePlugin(PluginParser.java:474)
at org.eclipse.osgi.compatibility.plugins.PluginConverterImpl.parsePluginInfo(PluginConverterImpl.java:639)
... 12 more
!SUBENTRY 1 org.eclipse.pde.core 4 0 2018-07-27 09:54:00.215
!MESSAGE Error reading non-OSGi plug-in manifest for D:\Eclipse-Workspace3\mySample\oxygen-sample-plugins\oxygen-sample-plugin-tranformer-saxon-9-6
!STACK 0
org.eclipse.osgi.service.pluginconversion.PluginConversionException: Error parsing plugin manifest file D:\Eclipse-Workspace3\mySample\oxygen-sample-plugins\oxygen-sample-plugin-tranformer-saxon-9-6 at <missing argument>.
at org.eclipse.osgi.compatibility.plugins.PluginConverterImpl.parsePluginInfo(PluginConverterImpl.java:642)
at org.eclipse.osgi.compatibility.plugins.PluginConverterImpl.fillPluginInfo(PluginConverterImpl.java:149)
at org.eclipse.osgi.compatibility.plugins.PluginConverterImpl.convertManifest(PluginConverterImpl.java:757)
at org.eclipse.osgi.compatibility.plugins.PluginConverterImpl.convertManifest(PluginConverterImpl.java:770)
at org.eclipse.pde.internal.core.util.ManifestUtils.loadPluginXML(ManifestUtils.java:309)
at org.eclipse.pde.internal.core.util.ManifestUtils.loadManifest(ManifestUtils.java:136)
at org.eclipse.pde.internal.core.MinimalState.addBundle(MinimalState.java:105)
at org.eclipse.pde.internal.core.MinimalState.addBundle(MinimalState.java:71)
at org.eclipse.pde.internal.core.PluginModelManager.addWorkspaceBundleToState(PluginModelManager.java:709)
at org.eclipse.pde.internal.core.PluginModelManager.initializeTable(PluginModelManager.java:569)
at org.eclipse.pde.internal.core.PluginModelManager.targetReloaded(PluginModelManager.java:471)
at org.eclipse.pde.internal.core.RequiredPluginsInitializer$1.run(RequiredPluginsInitializer.java:31)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:56)
Caused by: java.io.FileNotFoundException: D:\Softwares\eclipse-jee-oxygen-3a-win32-x86_64\plugin.dtd (The system cannot find the file specified)
at java.io.FileInputStream.open0(Native Method)
at java.io.FileInputStream.open(Unknown Source)
at java.io.FileInputStream.<init>(Unknown Source)
at java.io.FileInputStream.<init>(Unknown Source)
at sun.net.www.protocol.file.FileURLConnection.connect(Unknown Source)
at sun.net.www.protocol.file.FileURLConnection.getInputStream(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.startEntity(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.startDTDEntity(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDTDScannerImpl.setInputSource(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$DTDDriver.dispatch(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$DTDDriver.next(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.parse(Unknown Source)
at javax.xml.parsers.SAXParser.parse(Unknown Source)
at org.eclipse.osgi.compatibility.plugins.PluginParser.parsePlugin(PluginParser.java:474)
at org.eclipse.osgi.compatibility.plugins.PluginConverterImpl.parsePluginInfo(PluginConverterImpl.java:639)
... 12 more
Best Regards
Girish

alex_jitianu
Posts: 670
Joined: Wed Nov 16, 2005 11:11 am

Re: Error during customizing the xml menu using Eclipse IDE Integration

Post by alex_jitianu » Fri Jul 27, 2018 12:04 pm

Hello,

Are you trying to customize the Standalone/Desktop Oxygen distribution or our Eclipse plugin distribution?

For the Standalone distribution we have our own plugin mechanism (although the descriptor is called plugin.xml as well). All the sample plugins from oxygen-sample-plugins are plugins for the Standalone/Desktop Oxygen distribution and should not be converted to Eclipse plugins using "Configure/Convert to Plug-in Projects". If you want to customize the Eclipse plugin distribution, the sample project is called oxygen-sample-eclipse-plugin.

Best regards,
Alex

gpmn
Posts: 8
Joined: Wed Apr 25, 2018 11:28 am

Re: Error during customizing the xml menu using Eclipse IDE Integration

Post by gpmn » Fri Jul 27, 2018 12:19 pm

Hi Alex,

I am trying to customize the eclipse plugin setup of oXygen 19.1. But getting the errors during the plugin setup aftr doing the "Configure/Convert to Plug-in Projects" on 'oxygen-sample-eclipse-plugin' project.

Best Regards
Girish

gpmn
Posts: 8
Joined: Wed Apr 25, 2018 11:28 am

Re: Error during customizing the xml menu using Eclipse IDE Integration

Post by gpmn » Fri Jul 27, 2018 2:32 pm

Hi Alex,

I could resolve the issue now.

But the plugin is not reflecting in eclipse 4.7 version.It is reflecting when tested with eclipse 4.3.

Is there any configuration change you know that could make the plugin reflect in 4.7 eclipse?

Best Regards
Girish P

alex_jitianu
Posts: 670
Joined: Wed Nov 16, 2005 11:11 am

Re: Error during customizing the xml menu using Eclipse IDE Integration

Post by alex_jitianu » Fri Jul 27, 2018 3:10 pm

Hi Girish,

If I understand it correctly, you are able to run the plugin inside Eclipse 4.3 but not in Eclipse 4.7, right?

Here is what I did and it might help you as well:
1. Open plugin.xml using Eclipse's Plug-in Manifest Editor
2. Go on the Dependencies tab
3. Identify the requirement: org.eclipse.core.runtime.compatibility and remove it
4. Add a new dependency on: org.eclipse.core.runtime

Please let me know if it works.

Best regards,
Alex

gpmn
Posts: 8
Joined: Wed Apr 25, 2018 11:28 am

Re: Error during customizing the xml menu using Eclipse IDE Integration

Post by gpmn » Fri Jul 27, 2018 3:46 pm

Hi Alex,

With this change also it is not working in eclipse 4.7.

As we checked further, the issue seems to be with Java version. We have Eclipse 4.7 running with Java 1.8 where the plugin is not reflected. The 4.3 Eclipse is running with 1.7 Java version where the plugin reflects.

To resolve as a try we have compiled the plugin with Java 1.8 as well and placed it in the Eclipse 4.7. But it is still not working. Could you please suggest any other solution?

Best Regards
Girish

alex_jitianu
Posts: 670
Joined: Wed Nov 16, 2005 11:11 am

Re: Error during customizing the xml menu using Eclipse IDE Integration

Post by alex_jitianu » Fri Jul 27, 2018 4:18 pm

Hi Girish,

Do you have any errors or exception that might help us understand what's happening? If the plugin.xml contains any errors, Eclipse usually reports them inside the Problems view. You probably create a new Eclipse Application configuration that loads this plugin together with an installed Oxygen plugin. Does this application starts? Do you get any errors in its Error Log?

One more thing... Close all projects other than oxygen-sample-eclipse-plugin. From the contextual menu choose Close project.

Best regards,
Alex

gpmn
Posts: 8
Joined: Wed Apr 25, 2018 11:28 am

Re: Error during customizing the xml menu using Eclipse IDE Integration

Post by gpmn » Thu Aug 02, 2018 3:34 pm

Hi Alex,

It worked for me when I used a new worskpace.

Many Thanks for your support.

Best Regards
Girish P

Post Reply