Forum Stats

  • 3,853,774 Users
  • 2,264,266 Discussions
  • 7,905,444 Comments

Discussions

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

843799
843799 Member Posts: 49,999
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.

Partial console dump follows (b/c the forum post limit is not even large enough for me to
paste in the console printout showing the problem...what's the use of that?)
Additional info: the demo applets at java3d.dev.java.net work on all the platforms. I have tried cloning the <applet> 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


MRJ Plugin for Mac OS X v1.0.1
[starting up Java Applet Security @ Tue May 04 13:53:46 MST 2010]
.....

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.<clinit>(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
.....

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.<init>(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)
This discussion has been closed.