LibMCS 0.7 batch file problem with win version

User 677b9c22ff

15-08-2008 23:32:16

Hi,


the libmcs.bat batch file under WIN


starts with chemaxon.clustering.LibraryMCS


instead of the old GUI with chemaxon.clustering.gui.JKlustor





so with no option it generates an NPE. Shouldnt there be a help or version


output instead of NPE? This is confusing for first time users.





Code:



z:\libmcs.bat


java.lang.NullPointerException


        at chemaxon.clustering.JKlustorImport.isURL(JKlustorImport.java:80)


        at chemaxon.clustering.JKlustorImport.getInputStream(JKlustorImport.java:86)


        at chemaxon.clustering.LibraryMCS.main(LibraryMCS.java:1358)











This is in the Marvin 5.1 package, I created myself a batch file libmcsGUI.bat with the GUI as start.





Tobias

ChemAxon efa1591b5a

20-08-2008 11:40:07

Hi Tobias,





indeed, you're right, it's rather confusing. We will change this in the next version.





Thanks


Miklos

User 677b9c22ff

10-01-2009 02:24:04

Hi,


just updated to 5.1.4 and the error still exists.


C:\chemistry\JChem\bin>libmcs


java.lang.NullPointerException


at chemaxon.clustering.JKlustorImport.isURL(JKlustorImport.java:91)


at chemaxon.clustering.JKlustorImport.getInputStream(JKlustorImport.java:97)


at chemaxon.clustering.LibraryMCS.main(LibraryMCS.java:1405)


C:\chemistry\JChem\bin>





I think using the Marvin Beans installer also installs a link or EXE which works.





Tobias

ChemAxon efa1591b5a

14-01-2009 09:44:00

It'll be o.k. in 5.2. If there's a patch release before major release 5.2 is out then that patch should also fix this windows batch problem.


thanks


Miklos