Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Firefox 3 crashes on Java Applets

Firefox crashes on pages with Java Applets, with a JNI (Java Native Interface) error, see console log snip below. Note that JNI is the Java technology allowing Java C bindings .. or "native" bindings.

As far as I can tell, any page with an Applet will fail. Here's a good "standard" test page from Sun:
http://java.sun.com/applets/jdk/1.4/demo/applets/GraphLayout/example1.html

I'm running Firefox 3.0.5, Java Standard Edition 6 .. although it will die with earlier Firefox 3 versions.

No problems with Safari and Applets, just Firefox.

Has anyone encountered this? Better yet, found a solution?

Thanks,
-- Owen

Here are my Java preferences:
http://backspaces.net/temp/JavaPreferences001.png

From the Console:
2/1/09 1:09:47 PM [0x0-0x1c81c8].org.mozilla.firefox[5417] ### MRJPlugin: getPluginBundle() here. ###
2/1/09 1:09:50 PM [0x0-0x1c81c8].org.mozilla.firefox[5417] ### MRJPlugin: CFBundleGetBundleWithIdentifier() succeeded. ###
2/1/09 1:09:50 PM [0x0-0x1c81c8].org.mozilla.firefox[5417] ### MRJPlugin: CFURLGetFSRef() succeeded. ###
2/1/09 1:09:54 PM firefox-bin[5417] Apple Applet Plugin: JNI exception (registerNatives, 423)
2/1/09 1:09:54 PM firefox-bin[5417] Exception
2/1/09 1:09:54 PM firefox-bin[5417] in thread "Thread-0"
2/1/09 1:10:03 PM com.apple.launchd[139] ([0x0-0x1c81c8].org.mozilla.firefox[5417]) Stray process with PGID equal to this dead job: PID 5429 PPID 1 crashreporter

Message was edited by: backspaces

Macbook Pro Intel, Mac OS X (10.5.5), Firefox 3.0.5, Java Standard Edition 6

Posted on Feb 1, 2009 12:26 PM

Reply
5 replies

Feb 2, 2009 3:02 PM in response to backspaces

Yup, having this prob too.

From Java Console:

sun.misc.ServiceConfigurationError: javax.imageio.spi.ImageOutputStreamSpi: Provider com.sun.media.imageioimpl.stream.ChannelImageOutputStreamSpi not found
at sun.misc.Service.fail(Service.java:129)
at sun.misc.Service.access$000(Service.java:111)
at sun.misc.Service$LazyIterator.next(Service.java:273)
at javax.imageio.spi.IIORegistry.registerApplicationClasspathSpis(IIORegistry.java :188)
at javax.imageio.spi.IIORegistry.<init>(IIORegistry.java:120)
at javax.imageio.spi.IIORegistry.getDefaultInstance(IIORegistry.java:141)
at apple.awt.CToolkit.registerDefaultServices(CToolkit.java:1226)
at apple.awt.CToolkit.<init>(CToolkit.java:136)
at apple.awt.MyCToolkit.<init>(MyCToolkit.java:67)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessor Impl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructor AccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at java.lang.Class.newInstance0(Class.java:350)
at java.lang.Class.newInstance(Class.java:303)
at java.awt.Toolkit$2.run(Toolkit.java:833)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:804)
at sun.plugin.viewer.context.WebKitAppletContext.<clinit>(WebKitAppletContext.java :26)
at jep.AppletHandlerFactory.callRegisterNatives(Native Method)
at jep.AppletHandlerFactory.initProperties(AppletHandlerFactory.java:254)

Firefox 3 crashes on Java Applets

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.