NullPointerException when clearing MSketchPane

User c23c5e9da4

08-11-2006 17:37:47

Marvin (jchem 3.2) throws a NullPointerException with this piece of code - this code has worked for years using older marvin releases.





import chemaxon.marvin.beans.MSketchPane;





public class MarvinEmptySmilesCrash {


public static void main(String[] args) {


MSketchPane pane = new MSketchPane();


pane.setMol("");


}


}

User f359e526a1

09-11-2006 07:34:41

Thanks, I had changed that an empty molecule will be created. Is that behaviour OK for you? Fix will appear in 4.1.3 .

User c23c5e9da4

09-11-2006 14:58:38

That will be fine. Thank you.