Java Applet in Admin Console Error

This is the error in the java console. Please help :rolleyes: thanks!




>java.lang.NullPointerException

> at sun.plugin.util.GrayBoxPanel.paint(Unknown Source)

> at sun.plugin.util.GrayBoxPainter.paintGrayBox(Unknown Source)

> at sun.plugin.util.GrayBoxPainter.repaintGrayBox(Unknown Source)

> at sun.plugin.util.GrayBoxPainter.showLoadingError(Unknown Source)

> at sun.plugin.AppletViewer.showAppletStatus(Unknown Source)

> at sun.applet.AppletPanel.run(Unknown Source)

> at java.lang.Thread.run(Unknown Source) Exception in thread “thread

>applet-net/squiz/matrix/complexassetmap/ComplexAssetMap.class”

>java.lang.NullPointerException

> at sun.plugin.util.GrayBoxPanel.paint(Unknown Source)

> at sun.plugin.util.GrayBoxPainter.paintGrayBox(Unknown Source)

> at sun.plugin.util.GrayBoxPainter.repaintGrayBox(Unknown Source)

> at sun.plugin.util.GrayBoxPainter.showLoadingError(Unknown Source)

> at sun.plugin.AppletViewer.showAppletException(Unknown Source)

> at sun.applet.AppletPanel.run(Unknown Source)

> at java.lang.Thread.run(Unknown Source) http://localhost/

>java.lang.ClassFormatError: Incompatible magic value 151587081 in class

>file org/apache/crimson/jaxp/DocumentBuilderFactoryImpl

> at java.lang.ClassLoader.defineClass1(Native Method)

> at java.lang.ClassLoader.defineClass(Unknown Source)

> at java.security.SecureClassLoader.defineClass(Unknown Source)

> at sun.applet.AppletClassLoader.findClass(Unknown Source)

> at java.lang.ClassLoader.loadClass(Unknown Source)

> at sun.applet.AppletClassLoader.loadClass(Unknown Source)

> at java.lang.ClassLoader.loadClass(Unknown Source)

> at javax.xml.parsers.FactoryFinder.newInstance(Unknown Source)

> at javax.xml.parsers.FactoryFinder.findJarServiceProvider(Unknown

>Source)

> at javax.xml.parsers.FactoryFinder.find(Unknown Source)

> at javax.xml.parsers.DocumentBuilderFactory.newInstance(Unknown

>Source)

> at net.squiz.matrix.xml.XML.getParser(XML.java:57)

> at net.squiz.matrix.assetmap.MySource.doRequest(MySource.java:158)

> at

>net.squiz.matrix.assetmap.AssetManager.doAssetRequest(AssetManager.java:1075)

> at

>net.squiz.matrix.assetmap.AssetManager.initialise(AssetManager.java:161)

> at net.squiz.matrix.assetmap.AssetMap.init(AssetMap.java:157)

> at sun.applet.AppletPanel.run(Unknown Source)

> at java.lang.Thread.run(Unknown Source)

What JVM/OS versions are you using?

I am running JRE 1.5
I am running Redhat Linux ES 3



Thanks! :smiley:

The Asset Map has not been tested to run on v1.5 of the JVM. (There are some reports that it crashes). Your best bet is to use a 1.4 version of the JVM for matrix.

I uninstalled 1.5 and installed 1.4.2


Mozilla says it is installed when I check the about plug ins



However, when I load the admin window I get the puzzle piece that says the x-java-vm cannot be run without the plug-in



Any hints?



I just want to try out Matrix!



Thanks in advance <_<

what JVM did you install? We recommend using the blackdown version of the JVM when running matrix on linux.


there is a post here that might help

http://forums.matrix.squiz.net/index.php?showtopic=137

I got Blackhawlk loaded and the applet now works. Thanks for the help. Do you anticipate compatibility with the Sun JVM?

Hi,


I face a similar problem in accessing my application

I get the following exception:



Exception in thread "Thread-59" java.lang.NullPointerException

at sun.plugin.util.GrayBoxPanel.paint(Unknown Source)

at sun.plugin.util.GrayBoxPanel.setImage(Unknown Source)

at sun.plugin.util.GrayBoxPanel.setCustomImage(Unknown Source)

at sun.plugin.util.GrayBoxPainter.getGrayBoxPanel(Unknown Source)

at sun.plugin.util.GrayBoxPainter.paintGrayBox(Unknown Source)

at sun.plugin.util.GrayBoxPainter.repaintGrayBox(Unknown Source)

at sun.plugin.util.GrayBoxPainter.access$000(Unknown Source)

at sun.plugin.util.GrayBoxPainter$1.run(Unknown Source)

at java.lang.Thread.run(Unknown Source)

also I get :



Exception in thread "Thread-433" java.lang.NullPointerException

at sun.plugin.util.GrayBoxPanel.paint(Unknown Source)

at sun.plugin.util.GrayBoxPanel.setImage(Unknown Source)

at sun.plugin.util.GrayBoxPanel.setCustomImage(Unknown Source)

at sun.plugin.util.GrayBoxPainter.getGrayBoxPanel(Unknown Source)

at sun.plugin.util.GrayBoxPainter.paintGrayBox(Unknown Source)

at sun.plugin.util.GrayBoxPainter.repaintGrayBox(Unknown Source)

at sun.plugin.util.GrayBoxPainter.access$000(Unknown Source)

at sun.plugin.util.GrayBoxPainter$1.run(Unknown Source)

at java.lang.Thread.run(Unknown Source)





I face this problem in JRE 1.4 but not in JRE 1.5

Is this a issue specific to JRE1.4.?

do you have any bug raised in sun's bug data base for this issue…?

Please let me know.

Thanks in advance.