Java admin applet will not load

I have installed the following on XP Pro SP2:
Apache 2.0.55

PHP 4.3.11 & PEAR

PostgreSQL 8.0

MySource Matrix 3.4.4



Java Runtime 1.5.0



Installation was successful, but when I login to the admin page, the java applet fails to load…

There are no errors appearing in the apache logs. I did get it to load once using java RE 1.4, and created a few pages, but then the next time I tried it failed…



Here is a dump from the java console:





[Fatal Error] :2:2: The markup in the document following the root element must be well-formed.

error while parsing :

The markup in the document following the root element must be well-formed.

java.io.IOException: error while parsing :

The markup in the document following the root element must be well-formed.

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

at net.squiz.matrix.assetmap.AssetManager.doAssetRequest(AssetManager.java:1078)

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)

java.lang.NullPointerException

at net.squiz.matrix.assetmap.AssetManager.initialise(AssetManager.java:162)

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

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

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

Exception in thread "AWT-EventQueue-1" java.lang.ClassCastException: javax.swing.KeyStroke

at java.util.TreeMap.compare(Unknown Source)

at java.util.TreeMap.put(Unknown Source)

at java.util.TreeSet.add(Unknown Source)

at javax.swing.JComponent.getManagingFocusForwardTraversalKeys(Unknown Source)

at javax.swing.JTextArea.<init>(Unknown Source)

at javax.swing.JTextArea.<init>(Unknown Source)

at com.sun.deploy.util.ConsoleWindow.<init>(Unknown Source)

at com.sun.deploy.util.ConsoleWindow.create(Unknown Source)

at sun.plugin.JavaRunTime.getJavaConsole(Unknown Source)

at sun.plugin.JavaRunTime$2.run(Unknown Source)

at java.awt.event.InvocationEvent.dispatch(Unknown Source)

at java.awt.EventQueue.dispatchEvent(Unknown Source)

at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)

at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)

at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

at java.awt.EventDispatchThread.run(Unknown Source)

Looks like that the xml that it retrieves from matrix is not well formed. Can you have a look in the matrix error.log file and paste any errors into here?


its in [SYSTEM_ROOT]/data/private/logs/error.log

This is the error.log after just trying to load the admin section:


[07-Nov-2005 10:34:06] PHP Fatal error: Call to a member function on a non-object in C:\Apache\Apache2\htdocs\matrix\core\lib\asset_map\asset_map.inc on line 313