complexAssetMap missing

I got through the entire installation. I then logged in the admin panel as root and now I don't have a left complexAssetMap class. It's just grey on the left… like its missing an app.


is this related?

I ran into a problem with those pear modules. I got my admin to install them with:

pear install Mail_Mime

pear install XML_HTMLSax

However, the installer still never recognized them. I left the PEAR address blank.





Thanks,

Peter Jaffray

Is there a red X on the grey? Generally this error comes up if the system root is set incorrectly.

If you just have a big grey box, you may not have the Sun Java Virtual Machine installed (the default Microsoft one doesn’t work). Visit http://www.java.com to install the proper version.

There is no red "x".
I have Java.



The error i get on mouse over is:

load: class net.squiz.matrix.complexassetmap.ComplexAssetMap Not Found



I'm on a shared host using Virtual Links for the "__dirs"



I hope there's a solution :smiley:



Thanks,

Peter Jaffray

You may want to check your system root URLs, as Marcus suggests. If you look at the source of the left-hand frame, make sure its pointing to the right place. Also, make sure the asset map is sitting in the correct place in your file system – you should see it in mysource_matrix/core/lib/asset_map/java/complexassetmap.jar.


And the symbolic link __lib should -> to mysource_matrix/core/lib.

I double checked the symbolic links and the file locations but everything appears in order. I am running the site under an addon domain with my hosting provider. However when I move through the directories and symbolic links via shell, they are all there. Could it be anything else?


Thanks,

Peter Jaffray

Check the source code of the left-hand frame and see where Matrix is trying to load the Java asset map from (in the applet tag, the archive parameter). You should be able to paste the URL into browser and download the JAR file. If this doesn't work, your system root URL is likely incorrect.

hi,
just a note i am having the same problem as pete

running latest java VM 1.4.2_05

also, worth noting that i am running matrix in a sub directory

but all the URL aliases are in place

I can also download the jar file by copying and pasting the URL from the source into the browser

i will kepp playing and see if i can find the problem

maybe there needs to be a different redirect in place for java ?

cheers

andrew

further to this
just tried firefox browser (windows 2k) v0.9.3 - and it works fine - so suspect there is some issue with the java version I am using or IE with java ?

hope this helps

Make sure the Sun Java Virtual Machine is configured for Internet Explorer. Visit Settings --> Control Panel --> Java Plug-In and on the "Browser" tag, make sure Internet Explorer is selected.

Also make sure to set IE to use the Sun JVM by default in tools -> options -> Advanced

Experiencing similar problem:


Log in as root, I get a Java Plugin Security warning. Clicked "Grant this session".



There's a big gray box on the left where the applet's supposed to be.

The status bar says: "Start: applet not initialized."



This tells me that the browser is finding and downloading the .jar file and running it… Or am I wrong to assume this?



Running Sun Java VM in IE. Also tried in Mozilla Firefox, and on a completely different machine. Same problem.



Firefox says: "Applet net/squiz/matrix/complexassetmap/ComplexAssetMap notinited"

Could you check the Java Console and paste the error details?

There was a whole bunch of Java NullPointerException errors.


I went and downloaded the latest Sun JVM (1.4.2_05-b04).



Getting further – I’m getting the Red X now.



The frame source is using the following .jar file:

http://10.15.6.224/matrix/__lib/asset_map/java/complexassetmap.jar?t=1095306462



That definately does exist; if I plonk it into the address bar it asks me if I want to download the file.



Suggestions?



Java console says:

java.lang.NullPointerException

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

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)

This is sometimes caused by misconfigured or misbehaving proxy servers. Check the proxy configuration for the Java VM to make sure it matches your browser configuration.

Checked proxy settings, looks fine.


But I'm not going through a proxy to get to the Matrix box; it's sitting on a switch in the same subnet as me…



"No Proxy" exceptions set appropriately also.

Could you check:


mysource_matrix/data/private/logs/error.log



To see if anything is logged while the asset map tries to load?

$ tail -f /usr/share/matrix/data/private/logs/error.log
[20-Sep-2004 14:47:46] PHP Fatal error: Call to a member function on a non-object in /usr/share/matrix/core/lib/asset_map/asset_map.inc on line 291



That shows up in the error log just after I log in.



And in the Java Console:

java.lang.NullPointerException

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

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)

This error indicates that the current user object is not available. It seems as though the session is not getting pulled through to the Java. We had this problem on OS X, but that was OS specific.


The changes made in RC2 may fix this problem for you., but if it's not a proxy problem I'm not really sure what is causing it.

I am having this same problem. It does not make a difference which JVM 1.4.2 version I am runing, results are the same.