mview on linux or solaris

User b91dd8facf

30-01-2009 15:23:24

when I want to open a file with mview 5.1.3 on solaris or linux, I get an error. Please see attached TRACE files





cheers





lutz

ChemAxon 7c2d26e5cf

02-02-2009 23:51:13

To be able to check the issue we need more info.





How did you launched Marvin? Did you use the desktop launcher (MarvinView) that is created by the installer or you used the Unix shell script (mview)?





Do you get the same result with both launchers (MarvinView, mview)?





Where is your Java located? Are there anything in CLASSPATH system environment variable?

User b91dd8facf

03-02-2009 18:51:34

The error is with using mview, located at /export/home/lweber/ChemAxon/JChem/bin/mview ... this is in the path. the applications opens the window and when clicking open, it crashes...





using the desktop launcher with


/bin/sh "/export/home/lweber/ChemAxon/MarvinBeans/MarvinView"


after a while the application opens and when clicking open, nothing happens....





using MarvinSketch either with the launcher or msketch works nicely ...





using MarvinSpace either with the launcher or mspace does not work at all... (no window opens)





echo $CLASSPATH gives


/export/home/lweber/ChemAxon/JChem/postgresql-8.3-603.jdbc4.jar





java is at /usr/bin and its version


java version "1.6.0_11"


Java(TM) SE Runtime Environment (build 1.6.0_11-b03)


Java HotSpot(TM) Client VM (build 11.0-b16, mixed mode)

ChemAxon 7c2d26e5cf

04-02-2009 23:59:13

It a very strange issue.





I've checked the code that where the error is thrown.








Code:
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException


   at chemaxon.marvin.common.swing.MolPanel.openMolfile(MolPanel.java:4513






If we can believe to the stack trace, Marvin can not load chemaxon.marvin.common.swing.modules.LoadSave class. But this class presents in jchem.jar.





So, theoretically, it should work.





I suggest to update to the latest version (5.1.4). Several bugs are fixed in the last release. Hopefully, the new Marvin/JChem solves the problem.

User b91dd8facf

05-02-2009 08:11:18

thanks, after installing 5.1.4 MarvinView and mview worked, Marvinpace and mspace still do not start.





cheers





lutz

ChemAxon 7c2d26e5cf

05-02-2009 13:41:03

I've tried out MarvinSpace application 5.1.4 under my Ubuntu Linux (8.0.4). It works without any error.





Do you see any error message in the terminal window where you run MarvinSpace?

User b91dd8facf

05-02-2009 14:23:47

the error is:





#


# An unexpected error has been detected by Java Runtime Environment:


#


#  SIGSEGV (0xb) at pc=0x60cf58f0, pid=24316, tid=3084114832


#


# Java VM: Java HotSpot(TM) Client VM (11.0-b16 mixed mode linux-x86)


# Problematic frame:


# C  0x60cf58f0


#


# An error report file with more information is saved as:


# /export/home/lweber/ChemAxon/MarvinBeans/hs_err_pid24316.log


#


# If you would like to submit a bug report, please visit:


#   http://java.sun.com/webapps/bugreport/crash.jsp


#


./MarvinSpace: line 263: 24316 Abgebrochen             "$app_java_home/bin/java"


 -Dinstall4j.jvmDir="$app_java_home" -Dexe4j.moduleName="$prg_dir/$progname" -Xm


x128m $INSTALL4J_ADD_VM_PARAMS -classpath "$local_classpath" com.install4j.runti


me.Launcher launch chemaxon.marvin.space.gui.MSpace true false "$prg_dir/error.l


og" "$prg_dir/output.log" true true false "" true true 0 0 "" 20 20 "Arial" "0,0


,0" 8 500 "version 5.1.04" 20 40 "Arial" "0,0,0" 8 500 -1 "$@"

ChemAxon 7c2d26e5cf

05-02-2009 16:11:11

And what you get by starting bin/mview?

User b91dd8facf

05-02-2009 17:09:12

this is:





lweber@oc10:~> mspace


#


# An unexpected error has been detected by Java Runtime Environment:


#


#  SIGSEGV (0xb) at pc=0x5c78e8f0, pid=26290, tid=3085769616


#


# Java VM: Java HotSpot(TM) Client VM (11.0-b16 mixed mode linux-x86)


# Problematic frame:


# C  0x5c78e8f0


#


# An error report file with more information is saved as:


# /export/home/lweber/hs_err_pid26290.log


#


# If you would like to submit a bug report, please visit:


#   http://java.sun.com/webapps/bugreport/crash.jsp


#


/export/home/lweber/ChemAxon/JChem/bin/mspace: line 107: 26290 Abgebrochen             java $javaopts chemaxon.marvin.space.gui.MSpace "$@"

ChemAxon efa1591b5a

13-02-2009 13:54:19

Have you tried other jogl apps? like the most common gears. Does this work at all?








User b91dd8facf

16-02-2009 12:14:21

Thanks - that was the problem on the 2 computers where we have tried. We have fixed this and it works now.














cheers





lutz

ChemAxon efa1591b5a

16-02-2009 12:18:38

Great, thanks.





Miklos