#11 Convert.bat bug

closed
nobody
5
2004-08-24
2004-08-24
Anonymous
No

When I try the command line
convert -h +d test.mol
--------------------------
Exception in thread "main" java.lang.NullPointerException
at joelib.util.JOEPropertyHelper.getProperty
(JOEPropertyHelper.java:124)
at joelib.desc.types.Autocorrelation.Initialize
(Autocorrelation.java:344)
at joelib.desc.types.Autocorrelation.calculate
(Autocorrelation.java:203)
at joelib.desc.types.Autocorrelation.calculate
(Autocorrelation.java:169)
at joelib.desc.DescriptorHelper.descFromMol
(DescriptorHelper.java:248)
at joelib.desc.DescriptorHelper.descFromMol
(DescriptorHelper.java:518)
at joelib.test.Convert.getAndStoreDescriptor
(Convert.java:900)
at joelib.test.handleSingle(Convert.java:1025)
at joelib.test.Convert.convert(Convert.java:323)
at joelib.test.Convert.main(Convert.java:390)

Discussion

  • Joerg Kurt Wegner

    • status: open --> closed
     
  • Joerg Kurt Wegner

    Logged In: YES
    user_id=169818

    Oh, that's an already fixed bug (in my version).

    Replace
    -124-Object objProperty = availProperties.get(property);

    by this patch add the ==null checking:

    -123-if(availProperties==null) return null;
    -124-Object objProperty = availProperties.get(property);

    Will be part of the next release and checked in to CVS the
    next days.

    Kind regards, Joerg

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks