User 046f7e5e1b
02-09-2005 10:09:29
Hello.
I am using Marvin Beans into a swing application. The version of Marvin that I am using is 3.5.4 and java version is 1.5
The problem I have is creating an object chemaxon.marvin.beans.MSketchPane. The application compiles without errors, but running it I obtain the following exception:
Exception in thread "Thread-17" java.lang.NullPointerException
at chemaxon.marvin.sketch.swing.SketchPanel.<init>(Unknown Source)
at chemaxon.marvin.beans.MSketchPane.<init>(Unknown Source)
at chemaxon.marvin.beans.MSketchPane.<init>(Unknown Source)
at MarvinPaintStructure.initComponents(MarvinPaintStructure.java:54)
The line code that thorws exception is:
MSketchPane Panel = new MSketchPane();
That error only happens when running on windows boxes, the same program running on linux environment runs well. I had the same code working well in a previous version of the application with java 1.4 but now I need to run it with java 1.5 on windows and I have no idea about what is the problem .
Any idea about this problem will help.
Thanks in anticipation
Arturo
I am using Marvin Beans into a swing application. The version of Marvin that I am using is 3.5.4 and java version is 1.5
The problem I have is creating an object chemaxon.marvin.beans.MSketchPane. The application compiles without errors, but running it I obtain the following exception:
Exception in thread "Thread-17" java.lang.NullPointerException
at chemaxon.marvin.sketch.swing.SketchPanel.<init>(Unknown Source)
at chemaxon.marvin.beans.MSketchPane.<init>(Unknown Source)
at chemaxon.marvin.beans.MSketchPane.<init>(Unknown Source)
at MarvinPaintStructure.initComponents(MarvinPaintStructure.java:54)
The line code that thorws exception is:
MSketchPane Panel = new MSketchPane();
That error only happens when running on windows boxes, the same program running on linux environment runs well. I had the same code working well in a previous version of the application with java 1.4 but now I need to run it with java 1.5 on windows and I have no idea about what is the problem .
Any idea about this problem will help.
Thanks in anticipation
Arturo