Bug #3821
open
Cannot launch parser within Morpho when using Java 1.6
Added by ben leinfelder almost 16 years ago.
Updated over 15 years ago.
Description
We're finding this happens with Java 1.6 on both Window XP and Windows Vista.
The JPedal classes are not being found by the classloader from within the AWT-EventQueue thread (weird!).
You can run Morpho from the commandline (morpho.bat) and everything works fine.
It seems that this problem comes up when running Morpho from within Eclipse.
I've tried a number of Eclipse configuration changes to no avail.
The good thing is that we won't necessarily have to worry about it for the shipped product.
When I tried to run morpho.bat (command line), morpho launches briefly and then terminates with the following errors:
Creating GUIAction: Revise Search edu.ucsb.nceas.morpho.util.GUIAction@6f8b2b
java.lang.NullPointerException
at javax.swing.ImageIcon.<init>(Unknown Source)
at edu.ucsb.nceas.morpho.first.plugins.query.QueryPlugin.initializeActio
ns(QueryPlugin.java:164)
at edu.ucsb.nceas.morpho.first.plugins.query.QueryPlugin.initialize(Quer
yPlugin.java:84)
at edu.ucsb.nceas.morpho.Morpho.loadPlugins(Morpho.java:1317)
at edu.ucsb.nceas.morpho.Morpho.main(Morpho.java:1020)
you'll need to update, then run the ant "install" target under development/morpho directoy
JRE5 (jdk-1.5.0_17) works like charm! Morpho and parser interfaces work fine now on XP.
This is annoying, but seems to only be a problem from within eclipse.
It appears that using the izpack installer version of the application also plays nice with 1.6 and jpedal.
downgrading severity, and pushing back the target
Original Bugzilla ID was 3821
Also available in: Atom
PDF