Hi,
I am getting a null bond in the bond list when reading in the attached MOL file. I thought an easy way would be go through the list and remove the null bonds, but the AtomContainer's removeBond method has the following lines:
IBond bond = bonds[position];
bond.removeListener(this);
that also cause null pointer exception...
Cheers,
o.
Notes:
Notes 2: very bad molfile, possible formating from HTML problem.
58 551 0 0 0
Hmm.. solution here would be load as silent for clean up (listener would not be present). Marking for closure.
Oleg, do you have a better MDL molfile, or shall we close this bug?