Netbeans / Projects / Librairies / JCommon
Posted: Mon Aug 27, 2007 10:10 pm
Dear,
In my new application, I call "... new PainMap()" in a file/class.
At compilation (build project) : No error. At run-time well ("Exception in thread "main" java.lang.NullPointerException").
Entering the PaintMap.java file (javadoc), I oberved that "
import org.jfree.io.SerialUtilities;
import org.jfree.util.PaintUtilities;
" is underligned in red by the NetBeans IDE 5.5 "life compiler".
When I position the cursor on one of them, I get the message "package org.jfree.io does not exist".
Nevertheless, I'm using the jcommon-1.0.9.jar downloaded together with the JFreechart download (jfreechart-1.0.5\lib\jfreechart).
I verify several times that the paths in 'Classpath', 'Sources' and 'Javadoc' that I'm using in the 'Library Manager' are correct. In the left window with 'Projects' tab and "Librairies" folder, one can see the "JCommon - jcommon-1.0.9.jar" librairy with "org.jfree.io" and "org.jfree.util" packages appearing amongst all the other "org.jfree..." of this JCommon library.
An idea ?
Thanks to answer me.
In my new application, I call "... new PainMap()" in a file/class.
At compilation (build project) : No error. At run-time well ("Exception in thread "main" java.lang.NullPointerException").
Entering the PaintMap.java file (javadoc), I oberved that "
import org.jfree.io.SerialUtilities;
import org.jfree.util.PaintUtilities;
" is underligned in red by the NetBeans IDE 5.5 "life compiler".
When I position the cursor on one of them, I get the message "package org.jfree.io does not exist".
Nevertheless, I'm using the jcommon-1.0.9.jar downloaded together with the JFreechart download (jfreechart-1.0.5\lib\jfreechart).
I verify several times that the paths in 'Classpath', 'Sources' and 'Javadoc' that I'm using in the 'Library Manager' are correct. In the left window with 'Projects' tab and "Librairies" folder, one can see the "JCommon - jcommon-1.0.9.jar" librairy with "org.jfree.io" and "org.jfree.util" packages appearing amongst all the other "org.jfree..." of this JCommon library.
An idea ?
Thanks to answer me.