Skip to main content

Problem with 3D applet + OSX 10.6.x and Java 1.6

No replies
wmnwmn
Offline
Joined: 2010-05-05

Hi,

This problem is making us crazy...
we've got a 3D applet, (at www.symapdb.org, click Poaceae, then 3D).

It works on OSX 10.5.6 using Java 1.5.
It works on Windows using Java 1.6.
The 2D-only portions of the same applet work on all platforms.
The 3D parts in the standalone (non-applet) version work on all platforms.

However, the 3D part of the applet does not work on OSX 10.6.x, using
Java 1.6. There are two exceptions, and in the end a blank screen appears.

Console dump follows, and then the applet launch code.
Additional info: the demo applets at java3d.dev.java.net work on all the platforms. I have tried cloning the code from that demo page, but it did not change the problem for our applet.
We tried un-signing the applet, since the first exception seems to relate to that. But it still hit the same exceptions. We don't know whether the first or the second is the one that really matters.

Java Plug-in 1.6.0_17
Using JRE version 1.6.0_17-b04-248-10M3025 Java HotSpot(TM) Client VM
User home directory = /Users/cari_ann

Java Plug-in 1.6.0_17
Using JRE version 1.6.0_17-b04-248-10M3025 Java HotSpot(TM) Client VM
User home directory = /Users/cari_ann
network: Loading user-defined proxy configuration…
network: Done.
network: Loading proxy configuration from Netscape Navigator…
network: Done.
network: Loading direct proxy configuration…
network: Done.
network: Proxy Configuration: No proxy

----------------------------------------------------
c: clear console window
f: finalize objects on finalization queue
g: garbage collect
h: display this help message
l: dump classloader list
m: print memory usage
o: trigger logging
p: reload proxy configuration
q: hide console
r: reload policy configuration
s: dump system and deployment properties
t: dump thread list
v: dump thread stack
x: clear classloader cache
0-5: set trace level to
----------------------------------------------------

MRJ Plugin for Mac OS X v1.0.1
[starting up Java Applet Security @ Tue May 04 13:53:46 MST 2010]
basic: Referencing classloader: sun.plugin.ClassLoaderInfo@93df2c, refcount=1
basic: Added progress listener: sun.plugin.util.GrayBoxPainter$GrayBoxProgressListener@c4d04d
basic: Loading applet…
basic: Initializing applet…
security: Blacklist revocation check is enabled
cache: Skip blacklist check as cached value is ok.
network: Cache entry found [url: http://www.symapdb.org/symap.jar, version: null]
network: Connecting http://www.symapdb.org/symap.jar with proxy=DIRECT
network: Connecting socket://www.symapdb.org:80 with proxy=DIRECT
network: ResponseCode for http://www.symapdb.org/symap.jar : 200
network: Encoding for http://www.symapdb.org/symap.jar : null
network: Disconnect connection to http://www.symapdb.org/symap.jar
network: Connecting http://www.symapdb.org/symap.jar with proxy=DIRECT
network: Connecting socket://www.symapdb.org:80 with proxy=DIRECT
network: Downloading resource: http://www.symapdb.org/symap.jar
Content-Length: 2,725,396
Content-Encoding: null
network: CleanupThread used 4100 us
network: Wrote URL http://www.symapdb.org/symap.jar to File /Users/cari_ann/Library/Caches/Java/cache/6.0/59/a416fbb-5be76a1f-temp
network: CleanupThread used 2 us
cache: Skip blacklist check as cached value is ok.
network: Cache entry found [url: http://download.java.net/media/java3d/webstart/test/j3d-examples.jar, version: null]
network: Connecting http://download.java.net/media/java3d/webstart/test/j3d-examples.jar with proxy=DIRECT
network: Connecting socket://download.java.net:80 with proxy=DIRECT
network: ResponseCode for http://download.java.net/media/java3d/webstart/test/j3d-examples.jar : 304
network: Encoding for http://download.java.net/media/java3d/webstart/test/j3d-examples.jar : null
network: Disconnect connection to http://download.java.net/media/java3d/webstart/test/j3d-examples.jar
cache: Skip blacklist check as cached value is ok.
network: Cache entry found [url: http://download.java.net/media/applet-launcher/applet-launcher.jar, version: null]
network: Connecting http://download.java.net/media/applet-launcher/applet-launcher.jar with proxy=DIRECT
network: ResponseCode for http://download.java.net/media/applet-launcher/applet-launcher.jar : 304
network: Encoding for http://download.java.net/media/applet-launcher/applet-launcher.jar : null
network: Disconnect connection to http://download.java.net/media/applet-launcher/applet-launcher.jar
Reading certificates from 11259 http://download.java.net/media/applet-launcher/applet-launcher.jar | /Users/cari_ann/Library/Caches/Java/cache/6.0/41/4e6fb429-7d7fef6b.idx
security: Loading Root CA certificates from /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home/lib/security/cacerts
security: Loaded Root CA certificates from /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home/lib/security/cacerts
security: Loading certificates from Deployment session certificate store
security: Loaded certificates from Deployment session certificate store
security: Loading Root CA certificates from from keychain
security: Loaded Root CA certificates from from keychain
security: Validate the certificate chain using CertPath API
security: Obtain certificate collection in Root CA certificate store
security: Obtain certificate collection in Root CA certificate store
security: Obtain certificate collection in Root CA certificate store
security: jpicertstore.cert.getkeystore
security: No timestamping info available
security: Cannot find jurisdiction list file
security: The CRL support is disabled
security: The OCSP support is disabled
security: Checking if certificate is in Deployment denied certificate store
security: Checking if certificate is in Deployment permanent certificate store
security: Checking if certificate is in Deployment session certificate store
security: Creating MacOSXTrust
security: Did not find a trust record for: http://download.java.net
security: Evaluating MacOSXTrust
security: MacOSXTrust: cert chain is valid, no explict intent
security: MacOSXTrust: cert chain is valid, keychain explicity requested user confirmation
security: Showing MacOSXTrustSiteDialog
Exception in thread "AWT-EventQueue-4" java.lang.ExceptionInInitializerError
at com.sun.deploy.ui.UIFactory$13$1.windowOpened(UIFactory.java:803)
at java.awt.AWTEventMulticaster.windowOpened(AWTEventMulticaster.java:323)
at java.awt.AWTEventMulticaster.windowOpened(AWTEventMulticaster.java:322)
at java.awt.Window.processWindowEvent(Window.java:1859)
at javax.swing.JDialog.processWindowEvent(JDialog.java:628)
at java.awt.Window.processEvent(Window.java:1820)
at java.awt.Component.dispatchEventImpl(Component.java:4714)
at java.awt.Container.dispatchEventImpl(Container.java:2143)
at java.awt.Window.dispatchEventImpl(Window.java:2475)
at java.awt.Component.dispatchEvent(Component.java:4544)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:635)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:205)
at java.awt.Dialog$1.run(Dialog.java:1045)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:633)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Caused by: java.lang.RuntimeException: Non-Java exception raised, not handled! (Original problem: Invalid parameter not satisfying: item != nil)
at com.apple.eawt.Application.initializeApplicationDelegate(Native Method)
at com.apple.eawt.Application.(Application.java:65)
... 23 more
security: User permitted app to continue with priviledges
security: User has granted the privileges to the code for this session only
security: Adding certificate in Deployment session certificate store
security: Added certificate in Deployment session certificate store
security: Saving certificates in Deployment session certificate store
security: Saved certificates in Deployment session certificate store
JNLPAppletLauncher: static initializer
os.name = mac os x
nativePrefix = lib nativeSuffix = .jnilib
tmpRootDir = /var/folders/-J/-JDqOMSjEA476J0wjlz1rk+++TY/-Tmp-/jnlp-applet/jln3425738389984439737
Tue May 04 13:54:14 MST 2010 JEP creating applet org.jdesktop.applet.util.JNLPAppletLauncher (http://www.symapdb.org/cgi-bin/)
Applet.init
subapplet.classname = edu.arizona.agcol.symap3D.SyMAPApplet3D
subapplet.displayname = SyMAP
basic: Starting applet…
basic: completed perf rollup
Applet.start
cache: Skip blacklist check as cached value is ok.
network: Cache entry found [url: http://download.java.net/media/java3d/webstart/release/j3d/latest/j3dcor..., version: null]
network: Connecting http://download.java.net/media/java3d/webstart/release/j3d/latest/j3dcor... with proxy=DIRECT
network: Connecting socket://download.java.net:80 with proxy=DIRECT
network: ResponseCode for http://download.java.net/media/java3d/webstart/release/j3d/latest/j3dcor... : 304
network: Encoding for http://download.java.net/media/java3d/webstart/release/j3d/latest/j3dcor... : null
network: Disconnect connection to http://download.java.net/media/java3d/webstart/release/j3d/latest/j3dcor...
cache: Skip blacklist check as cached value is ok.
network: Cache entry found [url: http://download.java.net/media/java3d/webstart/release/j3d/latest/j3duti..., version: null]
network: Connecting http://download.java.net/media/java3d/webstart/release/j3d/latest/j3duti... with proxy=DIRECT
network: ResponseCode for http://download.java.net/media/java3d/webstart/release/j3d/latest/j3duti... : 304
network: Encoding for http://download.java.net/media/java3d/webstart/release/j3d/latest/j3duti... : null
network: Disconnect connection to http://download.java.net/media/java3d/webstart/release/j3d/latest/j3duti...
cache: Skip blacklist check as cached value is ok.
network: Cache entry found [url: http://download.java.net/media/java3d/webstart/release/vecmath/latest/ve..., version: null]
network: Connecting http://download.java.net/media/java3d/webstart/release/vecmath/latest/ve... with proxy=DIRECT
network: ResponseCode for http://download.java.net/media/java3d/webstart/release/vecmath/latest/ve... : 304
network: Encoding for http://download.java.net/media/java3d/webstart/release/vecmath/latest/ve... : null
network: Disconnect connection to http://download.java.net/media/java3d/webstart/release/vecmath/latest/ve...
cache: Skip blacklist check as cached value is ok.
network: Cache entry found [url: http://download.java.net/media/jogl/builds/archive/jsr-231-webstart-curr..., version: null]
network: Connecting http://download.java.net/media/jogl/builds/archive/jsr-231-webstart-curr... with proxy=DIRECT
network: ResponseCode for http://download.java.net/media/jogl/builds/archive/jsr-231-webstart-curr... : 304
network: Encoding for http://download.java.net/media/jogl/builds/archive/jsr-231-webstart-curr... : null
network: Disconnect connection to http://download.java.net/media/jogl/builds/archive/jsr-231-webstart-curr...
cache: Skip blacklist check as cached value is ok.
network: Cache entry found [url: http://download.java.net/media/gluegen/webstart/gluegen-rt.jar, version: null]
network: Connecting http://download.java.net/media/gluegen/webstart/gluegen-rt.jar with proxy=DIRECT
network: ResponseCode for http://download.java.net/media/gluegen/webstart/gluegen-rt.jar : 304
network: Encoding for http://download.java.net/media/gluegen/webstart/gluegen-rt.jar : null
network: Disconnect connection to http://download.java.net/media/gluegen/webstart/gluegen-rt.jar
os.name = mac os x
os.arch = i386
network: Cache entry found [url: http://download.java.net/media/java3d/webstart/release/java3d-latest.jnlp, version: null]
network: Connecting http://download.java.net/media/java3d/webstart/release/java3d-latest.jnlp with proxy=DIRECT
network: ResponseCode for http://download.java.net/media/java3d/webstart/release/java3d-latest.jnlp : 304
network: Encoding for http://download.java.net/media/java3d/webstart/release/java3d-latest.jnlp : null
network: Disconnect connection to http://download.java.net/media/java3d/webstart/release/java3d-latest.jnlp
network: Cache entry found [url: http://download.java.net/media/jogl/builds/archive/jsr-231-webstart-curr..., version: null]
network: Connecting http://download.java.net/media/jogl/builds/archive/jsr-231-webstart-curr... with proxy=DIRECT
network: ResponseCode for http://download.java.net/media/jogl/builds/archive/jsr-231-webstart-curr... : 304
network: Encoding for http://download.java.net/media/jogl/builds/archive/jsr-231-webstart-curr... : null
network: Disconnect connection to http://download.java.net/media/jogl/builds/archive/jsr-231-webstart-curr...
network: Cache entry found [url: http://download.java.net/media/gluegen/webstart/gluegen-rt.jnlp, version: null]
network: Connecting http://download.java.net/media/gluegen/webstart/gluegen-rt.jnlp with proxy=DIRECT
network: ResponseCode for http://download.java.net/media/gluegen/webstart/gluegen-rt.jnlp : 304
network: Encoding for http://download.java.net/media/gluegen/webstart/gluegen-rt.jnlp : null
network: Disconnect connection to http://download.java.net/media/gluegen/webstart/gluegen-rt.jnlp
cache: Skip blacklist check as cached value is ok.
network: Cache entry found [url: http://download.java.net/media/gluegen/webstart/gluegen-rt-natives-macos..., version: null]
network: Connecting http://download.java.net/media/gluegen/webstart/gluegen-rt-natives-macos... with proxy=DIRECT
network: ResponseCode for http://download.java.net/media/gluegen/webstart/gluegen-rt-natives-macos... : 304
network: Encoding for http://download.java.net/media/gluegen/webstart/gluegen-rt-natives-macos... : null
network: Disconnect connection to http://download.java.net/media/gluegen/webstart/gluegen-rt-natives-macos...
processNativeJar: using previously cached: /Users/cari_ann/.jnlp-applet/cache/www_symapdb_org/e96b884ab65b7946f83a0b7618ddd1d911c47751/gluegen-rt-natives-macosx-universal.jar
validateCertificates:
VALIDATE: libgluegen-rt.jnilib
extractNativeLibs:
EXTRACT: libgluegen-rt.jnilib(gluegen-rt)
cache: Skip blacklist check as cached value is ok.
network: Cache entry found [url: http://download.java.net/media/jogl/builds/archive/jsr-231-1.x-webstart-..., version: null]
network: Connecting http://download.java.net/media/jogl/builds/archive/jsr-231-1.x-webstart-... with proxy=DIRECT
network: ResponseCode for http://download.java.net/media/jogl/builds/archive/jsr-231-1.x-webstart-... : 304
network: Encoding for http://download.java.net/media/jogl/builds/archive/jsr-231-1.x-webstart-... : null
network: Disconnect connection to http://download.java.net/media/jogl/builds/archive/jsr-231-1.x-webstart-...
processNativeJar: using previously cached: /Users/cari_ann/.jnlp-applet/cache/www_symapdb_org/e96b884ab65b7946f83a0b7618ddd1d911c47751/jogl-natives-macosx-universal.jar
validateCertificates:
VALIDATE: libjogl.jnilib
VALIDATE: libjogl_awt.jnilib
VALIDATE: libjogl_cg.jnilib
extractNativeLibs:
EXTRACT: libjogl.jnilib(jogl)
EXTRACT: libjogl_awt.jnilib(jogl_awt)
EXTRACT: libjogl_cg.jnilib(jogl_cg)
SyMAP Version 3.1
Java Version 1.6.0_17, mem: 94M
Java3D Version 1.3.1
Database: jdbc:mysql://agcol.arizona.edu/symapdb
java.lang.SecurityException: sealing violation: package com.sun.j3d.utils.behaviors.mouse is sealed
at java.net.URLClassLoader.defineClass(URLClassLoader.java:227)
at java.net.URLClassLoader.access$000(URLClassLoader.java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:172)
at java.lang.ClassLoader.loadClass(ClassLoader.java:315)
at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:144)
at java.lang.ClassLoader.loadClass(ClassLoader.java:250)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:398)
at edu.arizona.agcol.symap3D.SyMAP3D.(Unknown Source)
at edu.arizona.agcol.symap3D.SyMAPApplet3D.init(Unknown Source)
at org.jdesktop.applet.util.JNLPAppletLauncher.startSubApplet(JNLPAppletLauncher.java:1929)
at org.jdesktop.applet.util.JNLPAppletLauncher.access$200(JNLPAppletLauncher.java:658)
at org.jdesktop.applet.util.JNLPAppletLauncher$5.run(JNLPAppletLauncher.java:1269)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:633)
at jep.MySimpleEventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

document.write("" +
" " +
" " +
" " +
" " +
" " +
" " +
" " +
" " +
" " +
" " +
" " +
" " +
"$project_params" +
"" );