<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://jogamp.org/bugzilla/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.2"
          urlbase="https://jogamp.org/bugzilla/"
          
          maintainer="sgothel@jausoft.com"
>

    <bug>
          <bug_id>1094</bug_id>
          
          <creation_ts>2014-10-10 14:06:33 +0200</creation_ts>
          <short_desc>2.2.1 Regression: temporary directory now crashes in applet</short_desc>
          <delta_ts>2019-03-29 17:54:45 +0100</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>3</classification_id>
          <classification>JogAmp</classification>
          <product>Jogl</product>
          <component>applet</component>
          <version>2.3.0</version>
          <rep_platform>pc_x86_64</rep_platform>
          <op_sys>windows</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>1067</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>---</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Rene">rene</reporter>
          <assigned_to name="Sven Gothel">sgothel</assigned_to>
          
          
          <cf_type>---</cf_type>
          <cf_scm_refs></cf_scm_refs>
          <cf_workaround>---</cf_workaround>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>4374</commentid>
    <comment_count>0</comment_count>
    <who name="Rene">rene</who>
    <bug_when>2014-10-10 14:06:33 +0200</bug_when>
    <thetext></thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>4375</commentid>
    <comment_count>1</comment_count>
    <who name="Rene">rene</who>
    <bug_when>2014-10-10 14:10:41 +0200</bug_when>
    <thetext>When loading an applet it will crash and say it&apos;s unable to determine a temporary directory with 2.2.1 but rolling back to 2.2.0 it behaves fine.

It even happens for me on the gears demo:
http://jogamp.org/deployment/jogamp-current/jogl-demos/jogl-newt-applet-runner-gears.html

Likely to be affected by the fix for: https://jogamp.org/bugzilla/show_bug.cgi?id=1015

Running in chrome on windows 7 + Java 7.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>4376</commentid>
    <comment_count>2</comment_count>
    <who name="Rene">rene</who>
    <bug_when>2014-10-10 14:11:07 +0200</bug_when>
    <thetext>Stack trace:
Warning: Caught Exception while retrieving executable temp base directory:
java.lang.RuntimeException: Could not determine a temporary directory
	at com.jogamp.common.util.IOUtil.getTempDir(IOUtil.java:1388)
	at com.jogamp.common.util.cache.TempFileCache.&lt;clinit&gt;(TempFileCache.java:80)
	at com.jogamp.common.util.cache.TempJarCache.initSingleton(TempJarCache.java:89)
	at com.jogamp.common.os.Platform$1.run(Platform.java:201)
	at java.security.AccessController.doPrivileged(Native Method)
	at com.jogamp.common.os.Platform.&lt;clinit&gt;(Platform.java:179)
	at javax.media.opengl.GLProfile.&lt;clinit&gt;(GLProfile.java:120)
	at com.jogamp.newt.awt.applet.JOGLNewtApplet1Run.init(JOGLNewtApplet1Run.java:182)
	at com.sun.deploy.uitoolkit.impl.awt.AWTAppletAdapter.init(Unknown Source)
	at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)
java.lang.RuntimeException: java.lang.UnsatisfiedLinkError: Can&apos;t load library: C:\Program Files (x86)\Google\Chrome\Application\37.0.2062.124\gluegen-rt.dll
	at com.jogamp.newt.awt.applet.JOGLNewtApplet1Run.init(JOGLNewtApplet1Run.java:228)
	at com.sun.deploy.uitoolkit.impl.awt.AWTAppletAdapter.init(Unknown Source)
	at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.UnsatisfiedLinkError: Can&apos;t load library: C:\Program Files (x86)\Google\Chrome\Application\37.0.2062.124\gluegen-rt.dll
	at java.lang.ClassLoader.loadLibrary(Unknown Source)
	at java.lang.Runtime.load0(Unknown Source)
	at java.lang.System.load(Unknown Source)
	at com.jogamp.common.jvm.JNILibLoaderBase.loadLibraryInternal(JNILibLoaderBase.java:596)
	at com.jogamp.common.jvm.JNILibLoaderBase.access$000(JNILibLoaderBase.java:64)
	at com.jogamp.common.jvm.JNILibLoaderBase$DefaultAction.loadLibrary(JNILibLoaderBase.java:96)
	at com.jogamp.common.jvm.JNILibLoaderBase.loadLibrary(JNILibLoaderBase.java:459)
	at com.jogamp.common.os.DynamicLibraryBundle$GlueJNILibLoader.loadLibrary(DynamicLibraryBundle.java:388)
	at com.jogamp.common.os.Platform$1.run(Platform.java:209)
	at java.security.AccessController.doPrivileged(Native Method)
	at com.jogamp.common.os.Platform.&lt;clinit&gt;(Platform.java:179)
	at javax.media.opengl.GLProfile.&lt;clinit&gt;(GLProfile.java:120)
	at com.jogamp.newt.awt.applet.JOGLNewtApplet1Run.init(JOGLNewtApplet1Run.java:182)
	... 3 more</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>4377</commentid>
    <comment_count>3</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2014-10-10 14:34:09 +0200</bug_when>
    <thetext>Has been fixed in 2.2.2:
  http://jogamp.org/deployment/archive/rc/v2.2.2/
  https://jogamp.org/wiki/index.php/SW_Tracking_Report_Objectives_for_the_release_2.2.0

Bug 1067
  https://jogamp.org/bugzilla/show_bug.cgi?id=1067

Probably today, 2.2.4 will be released.

*** This bug has been marked as a duplicate of bug 1067 ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>4379</commentid>
    <comment_count>4</comment_count>
    <who name="Rene">rene</who>
    <bug_when>2014-10-10 15:10:11 +0200</bug_when>
    <thetext>Verified to be fixed in 2.2.2.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>