From: Stefan K. <st...@we...> - 2008-03-25 18:59:10
|
Might be. I would ask Matteo once more to provide test case or structure file, I will look at it. Stefan On Friday 21 March 2008 11:38:57 Nina Jeliazkova wrote: > This might (or might not ) be related to the unset properties (atomic > numbers, charges, etc.) and corresponding methods returning null. Java > 1.5 autoboxing feature makes it hard to be detected in compile time. > > I've reported perhaps a similar issue some times ago (no reply though) > > http://www.mail-archive.com/cdk...@li.../msg00834.html > > Best regards, > Nina > > Matteo Floris написа: > > Dear all, > > > > I have this exception when I try to create some SMILES: > > > > > > Exception in thread "main" java.lang.NumberFormatException: For input > > string: "34000-1" > > at > > java > > .lang.NumberFormatException.forInputString(NumberFormatException.java: > > 48) > > at java.lang.Long.parseLong(Long.java:412) > > at java.lang.Long.parseLong(Long.java:461) > > at > > org > > .openscience > > .cdk > > .graph > > .invariant.CanonicalLabeler.createInvarLabel(CanonicalLabeler.java:140) > > at > > org > > .openscience > > .cdk.graph.invariant.CanonicalLabeler.canonLabel(CanonicalLabeler.java: > > 81) > > at > > org > > .openscience > > .cdk > > .smiles > > .SmilesGenerator > > .createSMILESWithoutCheckForMultipleMolecules(SmilesGenerator.java:333) > > at > > org > > .openscience > > .cdk.smiles.SmilesGenerator.createSMILES(SmilesGenerator.java:304) > > at > > org > > .openscience > > .cdk.smiles.SmilesGenerator.createSMILES(SmilesGenerator.java:190) > > at Prova.main(Prova.java:436) > > > > > > but I don't understand the possible origin of this problem... > > > > Thanks for your help. > > > > Regards, > > > > Matteo. > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by: Microsoft > > Defy all challenges. Microsoft(R) Visual Studio 2008. > > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > > _______________________________________________ > > Cdk-devel mailing list > > Cdk...@li... > > https://lists.sourceforge.net/lists/listinfo/cdk-devel |