Exception when starting Netbeans after installing all jogl 0.5.3 plugins

I installed Netbeans and the 0.5.3 version of the opengl pack today. Netbeans has gotten WAY WAY better since the last time I looked at it (two years ago). jogl looks very nice as well. Just one issue…when I launch Netbeans now I get two exceptions:

javax.xml.bind.UnmarshalException: unexpected element (uri:“http://net/java/nativelibsupport/natives_config”, local:“library”). Expected elements are <{}library>
at com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallingContext.handleEvent(UnmarshallingContext.java:556)
at com.sun.xml.internal.bind.v2.runtime.unmarshaller.Loader.reportError(Loader.java:199)
at com.sun.xml.internal.bind.v2.runtime.unmarshaller.Loader.reportError(Loader.java:194)
at com.sun.xml.internal.bind.v2.runtime.unmarshaller.Loader.reportUnexpectedChildElement(Loader.java:71)
at com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallingContext$DefaultRootLoader.childElement(UnmarshallingContext.java:962)
at com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallingContext._startElement(UnmarshallingContext.java:399)
at com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallingContext.startElement(UnmarshallingContext.java:380)
at com.sun.xml.internal.bind.v2.runtime.unmarshaller.SAXConnector.startElement(SAXConnector.java:101)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:501)
at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:400)
at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl$NSContentDriver.scanRootElementHook(XMLNSDocumentScannerImpl.java:626)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:3095)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:921)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:648)
at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:140)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:510)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:807)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:107)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522)
at com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:195)
at com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:168)
at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:137)
at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:184)
at net.java.nativelibsupport.NativeLibSupport.deploy(NativeLibSupport.java:92)
at net.java.nboglpack.gluegen.Installer.restored(Installer.java:25)
at org.netbeans.core.startup.NbInstaller.loadCode(NbInstaller.java:419)
at org.netbeans.core.startup.NbInstaller.load(NbInstaller.java:340)
at org.netbeans.ModuleManager.enable(ModuleManager.java:906)
at org.netbeans.core.startup.ModuleList.installNew(ModuleList.java:428)
at org.netbeans.core.startup.ModuleList.trigger(ModuleList.java:364)
at org.netbeans.core.startup.ModuleSystem.restore(ModuleSystem.java:276)
at org.netbeans.core.startup.Main.getModuleSystem(Main.java:165)
at org.netbeans.core.startup.Main.start(Main.java:312)
at org.netbeans.core.startup.TopThreadGroup.run(TopThreadGroup.java:110)
at java.lang.Thread.run(Thread.java:619)
Caused: java.lang.RuntimeException: error reading deployment file
at net.java.nativelibsupport.NativeLibSupport.deploy(NativeLibSupport.java:96)
Caused: net.java.nativelibsupport.LibDeploymentException: can not deploy gluegen-rt natives
at net.java.nativelibsupport.NativeLibSupport.deploy(NativeLibSupport.java:146)
at net.java.nboglpack.gluegen.Installer.restored(Installer.java:25)
at org.netbeans.core.startup.NbInstaller.loadCode(NbInstaller.java:419)
at org.netbeans.core.startup.NbInstaller.load(NbInstaller.java:340)
at org.netbeans.ModuleManager.enable(ModuleManager.java:906)
at org.netbeans.core.startup.ModuleList.installNew(ModuleList.java:428)
at org.netbeans.core.startup.ModuleList.trigger(ModuleList.java:364)
at org.netbeans.core.startup.ModuleSystem.restore(ModuleSystem.java:276)
at org.netbeans.core.startup.Main.getModuleSystem(Main.java:165)
at org.netbeans.core.startup.Main.start(Main.java:312)
at org.netbeans.core.startup.TopThreadGroup.run(TopThreadGroup.java:110)
[catch] at java.lang.Thread.run(Thread.java:619)

there is a second very similar exception after this one…but it is too many characters to post in this message!
lines that are different:
at net.java.nboglpack.jogl.Installer.restored(Installer.java:28)
Caused: net.java.nativelibsupport.LibDeploymentException: can not deploy gluegen-rt natives
at net.java.nboglpack.jogl.Installer.restored(Installer.java:28)

Oh…I have the latest version of the java jdk 6_11 I believe and the jogl demo programs run fine! I have no idea where to start looking for the issue as I best know python and…err… .net (/me ducks). Can anyone point me in the right direction? If this is the wrong place for this kind of question I apologize and will appreciate being re-directed.

Thanks,

David

hi djlawler,

i think i know what causes this. We will have to rebuild the pack to fix it. This has already been fixed, the problem was actually that the plugin portal server had a bug which refused new uploads of the opengl pack and caused a rollback to the old version without that i ever noticed it… but it seems it has been fixed now, at least this is what the dev told me.

and you got the buggy versoin :wink:

i have to write tomorrow an exam so i don’t have nerves for this procedure right now - expect a fix tomorrow.
sorry for the trouble.

@cylab this is the damn package info file which wasn’t compiled successfully in the release build…

Thanks for the fast reply…I will check the plugin portal for an update. Netbeans and jogl are making me rethink my choice to work on my latest project with opentk and .net/c#.

Regards,

David

would you like to try it again with the build below?
https://netbeans-opengl-pack.dev.java.net/files/documents/6933/117638/netbeans-opengl-pack_0.5.3.zip

you will have to uninstall your currently installed GL Pack - i haven’t incremented the module versions yet.