The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
November 2001


where you can ask and answer Java programming questions."> - a resource for Java and Jini developers
Artima | Search | Java | Design | JVM | Jini | Books | Seminars | Subscribe 

Java Answers Forum
November 2001

This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.


Why JVM report tableScrollPane1.getViewport().add(jdbTable1, null); NullPointerException errors?

Posted by Xieyun on November 26, 2001 at 1:45 AM

I found put these words in the codes that report error:
tableScrollPane1.getViewport().add(jdbTable1, null);
but use jar these codes have not problem.
Error is so:
java.lang.ExceptionInInitializerError: java.lang.NullPointerException
at javax.swing.ImageIcon.(Unknown Source)
at com.borland.dbswing.DBTextDataBinder$UndoAction.(
at com.borland.dbswing.DBTextDataBinder.(
at com.borland.dbswing.JdbTextField.commonInit(
at com.borland.dbswing.JdbTextField.(
at com.borland.dbswing.JdbTextField.(
at mobile.sys.myApplet.(
at java.lang.Class.newInstance0(Native Method)
at java.lang.Class.newInstance(Unknown Source)
at sun.applet.AppletPanel.createApplet(Unknown Source)
at sun.plugin.AppletViewer.createApplet(Unknown Source)
at sun.applet.AppletPanel.runLoader(Unknown Source)
at Source)
at Source)


Sponsored Links

Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us