strange behaviour of Marvin Sketch AWT with bond drawing

User dfeb81947d

01-08-2005 13:15:37

Dear Support,





I'm using Marvin Sketch 3.5.5 AWT in a JSP page:


(but I try the sentence with Marvin sketch found here:


http://www.chemaxon.com/marvin/doc/dev/example-sketch3.4.html it's version 3.5.9 whether Builtin JVM or Java Plugin with AWT)





I tried with computer under Windows 2000 and Windows XP.


Under:


Internet Explorer 6


Firefox 1.0.6





When I draw a structure and drawing a lot of bond (single up, single down, aromatic, double cis, double trans, single or aromatic, ...) after a while the popup menu showing all the bond is blocked and doesn't disapear. Whenever I click on it, it shows up again.


And some internet browser are blocked because the applet is blocked too, and it has happened that windows freeze, when the memory leap is low.





In the java console I got:
Quote:
java.lang.NullPointerException





at java.util.Hashtable.get(Unknown Source)


at chemaxon.marvin.sketch.j.getBondMol(Unknown Source)


at chemaxon.marvin.sketch.awt.b.action(Unknown Source)


at chemaxon.marvin.common.awt.Java11AWT.actionPerformed(Unknown Source)


at java.awt.MenuItem.processActionEvent(Unknown Source)


at java.awt.MenuItem.processEvent(Unknown Source)


at java.awt.MenuComponent.dispatchEventImpl(Unknown Source)


at java.awt.MenuComponent.dispatchEvent(Unknown Source)


at java.awt.EventQueue.dispatchEvent(Unknown Source)


at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)


at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)


at java.awt.EventDispatchThread.pumpEvents(Unknown Source)


at java.awt.EventDispatchThread.pumpEvents(Unknown Source)


at java.awt.EventDispatchThread.run(Unknown Source)


I tried with the swing version but it seems not to have this problem.


Did you ever heard about it?





Warmest regards


Jacques

ChemAxon 7c2d26e5cf

01-08-2005 15:05:04

Thanks for the bug report. We will check it.

ChemAxon 7c2d26e5cf

02-08-2005 16:08:24

I have fixed the NullPointerException. Next release will contain the bug fix.

User dfeb81947d

11-08-2005 08:33:54

Thank you so far