Hi everybody!
When I execute my application, this exception popup. I have no idea whats the problem. Anyone knows why its happening? I'm using jogl 2.3.1. Warning: Caught Exception while retrieving executable temp base directory: java.io.IOException: Could not determine a temporary executable directory at com.jogamp.common.util.IOUtil.getTempDir(IOUtil.java:1168) at com.jogamp.common.util.cache.TempFileCache.<clinit>(TempFileCache.java:80) at com.jogamp.common.util.cache.TempJarCache.initSingleton(TempJarCache.java:88) at com.jogamp.common.os.Platform$1.run(Platform.java:309) at java.security.AccessController.doPrivileged(Native Method) at com.jogamp.common.os.Platform.<clinit>(Platform.java:287) at com.jogamp.opengl.GLProfile.<clinit>(GLProfile.java:147) |
I'm guessing but I think it is jogl trying to extract the native libraries to a temp-directory. Maybe it's a permission problem in the file system.
On linux OS java usually considers '/tmp' as the default temporary directory, other OS I'm not sure. What OS are you using? |
I use linux (ubuntu) and windows. But, this this happens in windows.
|
Administrator
|
Hi
I had the same problem under Windows 8.1 when I wasn't using the very latest build and after that, I forgot to put an essential .bin file into my fat JAR. Please use the latest RC build of JOGL 2.3.2, ensure that you don't forget to put any binary file into your JAR and it should work.
Julien Gouesse | Personal blog | Website
|
I don't use a fat jar.
Usually, the application loads the lib depending on the OS. I never had this problem until yesterday. Basically, I just update java sdk to the current version and the problem start. |
Administrator
|
The application shouldn't do that at least for JOGL libraries so that GlueGen calls the right binaries for your platform including the .bin file under Windows.
Julien Gouesse | Personal blog | Website
|
Administrator
|
In reply to this post by spenna
|
There is another thing.
The problem happens even when I testing the application in eclipse IDE. |
Administrator
|
Do you reproduce this bug when running our demos?
http://jogamp.org/jogl-demos/www/ How does your application handle the native libraries?
Julien Gouesse | Personal blog | Website
|
Something very strange is happening.
The demos doesn't work, when I call the demo, nothig happens. But, in windows task manager, appears a process After kill the process the demo starts |
There's another thing...
... i tested in other 2 computers and works in one pc and dosent in another. Both are windows 10 and jdk 1.8_60. I observe that, when works, the folder jogamp_0000 is created in C:\Users\USR\AppData\Local\Temp, and the folder is not created the other case. I have no idea whats happening. I read something about jdk 1.8. I'll try jdk 1.7... |
Administrator
|
Please enable the Java console and post the stack trace.
Julien Gouesse | Personal blog | Website
|
When i execute the gears demo, this stack is showed:
java.security.cert.CertificateParsingException: no more data allowed for version 1 certificate at sun.security.x509.X509CertInfo.parse(Unknown Source) at sun.security.x509.X509CertInfo.<init>(Unknown Source) at sun.security.x509.X509CertImpl.parse(Unknown Source) at sun.security.x509.X509CertImpl.<init>(Unknown Source) at sun.security.provider.X509Factory.parseX509orPKCS7Cert(Unknown Source) at sun.security.provider.X509Factory.engineGenerateCertificates(Unknown Source) at java.security.cert.CertificateFactory.generateCertificates(Unknown Source) at com.sun.deploy.security.WIExplorerCertStore.generateCertificate(Unknown Source) at com.sun.deploy.security.WIExplorerCertStore.loadCertificates(Native Method) at com.sun.deploy.security.WIExplorerCertStore.load(Unknown Source) at com.sun.deploy.security.WIExplorerSigningRootCertStore.load(Unknown Source) at com.sun.deploy.security.WIExplorerCertStore.load(Unknown Source) at com.sun.deploy.security.WIExplorerSigningRootCertStore.load(Unknown Source) at com.sun.deploy.security.LazyRootStore.loadBrowserStore(Unknown Source) at com.sun.deploy.security.LazyRootStore.getTrustAnchors(Unknown Source) at com.sun.deploy.security.TrustDecider.getValidationState(Unknown Source) at com.sun.deploy.security.SandboxSecurity.checkSignedSandboxSecurity(Unknown Source) at com.sun.deploy.security.SandboxSecurity.isPermissionGranted(Unknown Source) at com.sun.deploy.security.SandboxSecurity.isPermissionGranted(Unknown Source) at com.sun.javaws.security.JNLPSignedResourcesHelper.performSecurityCheckForSandbox(Unknown Source) at com.sun.javaws.security.JNLPSignedResourcesHelper.checkSignedResourcesHelper(Unknown Source) at com.sun.javaws.security.JNLPSignedResourcesHelper.checkSignedResources(Unknown Source) at com.sun.javaws.Launcher.prepareResources(Unknown Source) at com.sun.javaws.Launcher.prepareAllResources(Unknown Source) at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source) at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source) at com.sun.javaws.Launcher.launch(Unknown Source) at com.sun.javaws.Main.launchApp(Unknown Source) at com.sun.javaws.Main.continueInSecureThread(Unknown Source) at com.sun.javaws.Main.access$000(Unknown Source) at com.sun.javaws.Main$1.run(Unknown Source) at java.lang.Thread.run(Unknown Source) JNLPClassLoader: Finding library java.dll When i run my application, i have this message from eclipse console, after kill the process mentioned: Warning: Caught Exception while retrieving executable temp base directory: java.io.IOException: Could not determine a temporary executable directory at com.jogamp.common.util.IOUtil.getTempDir(IOUtil.java:1158) at com.jogamp.common.util.cache.TempFileCache.<clinit>(TempFileCache.java:80) at com.jogamp.common.util.cache.TempJarCache.initSingleton(TempJarCache.java:88) at com.jogamp.common.os.Platform$1.run(Platform.java:309) at java.security.AccessController.doPrivileged(Native Method) at com.jogamp.common.os.Platform.<clinit>(Platform.java:287) at com.jogamp.opengl.GLProfile.<clinit>(GLProfile.java:146) at com.jogamp.opengl.GLCapabilities.<init>(GLCapabilities.java:84) at br.ufmg.dees.insane.ui.rich.geo.view.GeoJOGLView.<init>(GeoJOGLView.java:54) at br.ufmg.dees.insane.ui.rich.geo.PlaneInternalInterfaceGeo.<init>(PlaneInternalInterfaceGeo.java:152) at br.ufmg.dees.insane.ui.rich.full.OpenNewPlaneGeoModelCommand.execute(OpenNewPlaneGeoModelCommand.java:104) at br.ufmg.dees.insane.commons.view.Interface.actionPerformed(Interface.java:220) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2346) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259) at javax.swing.AbstractButton.doClick(AbstractButton.java:376) at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:833) at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:877) at java.awt.Component.processMouseEvent(Component.java:6525) at javax.swing.JComponent.processMouseEvent(JComponent.java:3321) at java.awt.Component.processEvent(Component.java:6290) at java.awt.Container.processEvent(Container.java:2234) at java.awt.Component.dispatchEventImpl(Component.java:4881) at java.awt.Container.dispatchEventImpl(Container.java:2292) at java.awt.Component.dispatchEvent(Component.java:4703) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4898) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4533) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4462) at java.awt.Container.dispatchEventImpl(Container.java:2278) at java.awt.Window.dispatchEventImpl(Window.java:2739) at java.awt.Component.dispatchEvent(Component.java:4703) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:746) at java.awt.EventQueue.access$400(EventQueue.java:97) at java.awt.EventQueue$3.run(EventQueue.java:697) at java.awt.EventQueue$3.run(EventQueue.java:691) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:86) at java.awt.EventQueue$4.run(EventQueue.java:719) at java.awt.EventQueue$4.run(EventQueue.java:717) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75) at java.awt.EventQueue.dispatchEvent(EventQueue.java:716) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) at java.awt.EventDispatchThread.run(EventDispatchThread.java:82) |
Administrator
|
Please use this build:
http://jogamp.org/deployment/archive/master/gluegen_886-joal_612-jogl_1433-jocl_1079/ If it doesn't solve your problem, reopen the bug report 1108.
Julien Gouesse | Personal blog | Website
|
I'll try!
Thank you very much! |
I tested, but the problem remains. Any other sugestion? Warning: Caught Exception while retrieving executable temp base directory: java.io.IOException: Could not determine a temporary executable directory at com.jogamp.common.util.IOUtil.getTempDir(IOUtil.java:1158) at com.jogamp.common.util.cache.TempFileCache.<clinit>(TempFileCache.java:80) at com.jogamp.common.util.cache.TempJarCache.initSingleton(TempJarCache.java:88) at com.jogamp.common.os.Platform$1.run(Platform.java:309) at java.security.AccessController.doPrivileged(Native Method) at com.jogamp.common.os.Platform.<clinit>(Platform.java:287) at com.jogamp.opengl.GLProfile.<clinit>(GLProfile.java:146) at com.jogamp.opengl.GLCapabilities.<init>(GLCapabilities.java:84) at br.ufmg.dees.insane.ui.rich.geo.view.GeoJOGLView.<init>(GeoJOGLView.java:54) at br.ufmg.dees.insane.ui.rich.geo.PlaneInternalInterfaceGeo.<init>(PlaneInternalInterfaceGeo.java:152) at br.ufmg.dees.insane.ui.rich.full.OpenNewPlaneGeoModelCommand.execute(OpenNewPlaneGeoModelCommand.java:104) at br.ufmg.dees.insane.commons.view.Interface.actionPerformed(Interface.java:220) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2346) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259) at javax.swing.AbstractButton.doClick(AbstractButton.java:376) at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:833) at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:877) at java.awt.Component.processMouseEvent(Component.java:6525) at javax.swing.JComponent.processMouseEvent(JComponent.java:3321) at java.awt.Component.processEvent(Component.java:6290) at java.awt.Container.processEvent(Container.java:2234) at java.awt.Component.dispatchEventImpl(Component.java:4881) at java.awt.Container.dispatchEventImpl(Container.java:2292) at java.awt.Component.dispatchEvent(Component.java:4703) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4898) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4533) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4462) at java.awt.Container.dispatchEventImpl(Container.java:2278) at java.awt.Window.dispatchEventImpl(Window.java:2739) at java.awt.Component.dispatchEvent(Component.java:4703) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:746) at java.awt.EventQueue.access$400(EventQueue.java:97) at java.awt.EventQueue$3.run(EventQueue.java:697) at java.awt.EventQueue$3.run(EventQueue.java:691) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:86) at java.awt.EventQueue$4.run(EventQueue.java:719) at java.awt.EventQueue$4.run(EventQueue.java:717) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75) at java.awt.EventQueue.dispatchEvent(EventQueue.java:716) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) at java.awt.EventDispatchThread.run(EventDispatchThread.java:82) |
Administrator
|
On 09/16/2015 05:54 PM, spenna [via jogamp] wrote:
> > I tested, but the problem remains. Any other sugestion? > > Warning: Caught Exception while retrieving executable temp base directory: > java.io.IOException: Could not determine a temporary executable directory > at com.jogamp.common.util.IOUtil.getTempDir(IOUtil.java:1158) > at > com.jogamp.common.util.cache.TempFileCache.<clinit>(TempFileCache.java:80) > at > com.jogamp.common.util.cache.TempJarCache.initSingleton(TempJarCache.java:88) We need your detailed bug report: - your log file of 'etc/test_dbg.sh' -or- from your application w/ all debug properties enabled! - infos: - JVM/JDK - OS, arch, 64bit?, .. Add all this to your bug report, attach the big log file please! This is a P1, quite important issue, hence I will work on it right away after you have filed the bug report! Thank you and sorry for the inconvenience. ~Sven signature.asc (828 bytes) Download Attachment |
Administrator
|
In reply to this post by spenna
On 09/16/2015 05:59 PM, Sven Gothel wrote:
> We need your detailed bug report: > - your log file of 'etc/test_dbg.sh' > -or- from your application w/ all debug properties enabled! > > - infos: > - JVM/JDK > - OS, arch, 64bit?, .. > > Add all this to your bug report, > attach the big log file please! > > This is a P1, quite important issue, > hence I will work on it right away after you have filed > the bug report! > > Thank you and sorry for the inconvenience. please file the new bug report and make it depend on Bug 1108. <https://jogamp.org/bugzilla/show_bug.cgi?id=1108> > > ~Sven > > signature.asc (828 bytes) Download Attachment |
Administrator
|
In reply to this post by spenna
On 09/16/2015 06:01 PM, Sven Gothel wrote:
> On 09/16/2015 05:59 PM, Sven Gothel wrote: >> We need your detailed bug report: >> - your log file of 'etc/test_dbg.sh' >> -or- from your application w/ all debug properties enabled! >> >> - infos: >> - JVM/JDK >> - OS, arch, 64bit?, .. >> >> Add all this to your bug report, >> attach the big log file please! >> >> This is a P1, quite important issue, >> hence I will work on it right away after you have filed >> the bug report! >> >> Thank you and sorry for the inconvenience. > > Instead of reopen Bug 1108, > please file the new bug report > and make it depend on Bug 1108. > <https://jogamp.org/bugzilla/show_bug.cgi?id=1108> <https://jogamp.org/bugzilla/show_bug.cgi?id=1219> Please add all data as requested above to the new bug entry - if not yet added (i.e. the debug log file). Looks like .. I have to put 'Windows 10' on one of my test machines .. jikes. Question: Do you have a virus scanner running on your non working Windows 10 box? Pls answer in the bug report, thank you. > >> >> ~Sven signature.asc (828 bytes) Download Attachment |
Administrator
|
In reply to this post by spenna
Lets continue discussing this issue here:
<http://forum.jogamp.org/Test-Experience-Jogamp-on-Windows-10-td4035326.html> .. and in Bug 1219 of course. ~Sven signature.asc (828 bytes) Download Attachment |
Free forum by Nabble | Edit this page |