The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
November 2001

Advertisement

Advertisement
where you can ask and answer Java programming questions.">
artima.com - 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.

Message:

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.(DBTextDataBinder.java:1523)
at com.borland.dbswing.DBTextDataBinder.(DBTextDataBinder.java:160)
at com.borland.dbswing.JdbTextField.commonInit(JdbTextField.java:133)
at com.borland.dbswing.JdbTextField.(JdbTextField.java:119)
at com.borland.dbswing.JdbTextField.(JdbTextField.java:102)
at mobile.sys.myApplet.(myApplet.java:39)
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 sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)



Replies:

Sponsored Links



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