Article View: borland.public.jbuilder.java.swing
Article #9387dbswing problem outside jbuilder environment
From: atandrea
Date: Tue, 04 Apr 2000 00:00
Date: Tue, 04 Apr 2000 00:00
46 lines
2684 bytes
2684 bytes
I am developing a java application using JBuilder 3.0 and I am using
dbswing textfields. I am using a database and queryset components
for this screen which is a simply for data entry. My application works
fine in the JBuilder Environment. I can update the
underlying access database without issue. However, when I deploy it and
try running it in the sun jdk122 environment, everything
works fine except for this one screen which uses dbswing components:
The error message that I get is as follows:
I am not sure why it is a null pointer error with ImageIcon as this
screen has absolutely nothing to do with images and
makes no reference to images.
Regards,
Exception occurred during event dispatching:
java.lang.ExceptionInInitializerError: java.lang.NullPointerException:
at javax.swing.ImageIcon.<init>(Unknown Source)
at
com.borland.dbswing.DBTextDataBinder$UndoAction.<init>(DBTextDataBind
er.java:1247)
at
com.borland.dbswing.DBTextDataBinder.<clinit>(DBTextDataBinder.java:1
58)
at
com.borland.dbswing.JdbTextField.commonInit(JdbTextField.java:132)
at
com.borland.dbswing.JdbTextField.<init>(JdbTextField.java:119)
at
com.borland.dbswing.JdbTextField.<init>(JdbTextField.java:102)
at pos.edit_customer.<init>(edit_customer.java:48)
at pos.order_form.edit_customer(order_form.java:532)
at pos.order_form$2.mouseClicked(order_form.java:101)
at java.awt.Component.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Button.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Technical Details
Message-ID:
<38E95DA0.B28D428D@bellatlantic.net>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,fca53e7efc792255,start X-Google-Attributes: gid111d45,public From: atandrea@bellatlantic.net Subject: dbswing problem outside jbuilder environment Date: 2000/04/04 Message-ID: <38E95DA0.B28D428D@bellatlantic.net> X-Deja-AN: 606374426 Content-Transfer-Encoding: 7bit X-Accept-Language: en Content-Type: text/plain; charset=us-ascii X-Trace: typhoon1.gnilink.net 954817428 141.150.44.187 (Mon, 03 Apr 2000 23:03:48 EDT) MIME-Version: 1.0 Reply-To: atandrea@bellatlantic.net NNTP-Posting-Date: Mon, 03 Apr 2000 23:03:48 EDT Newsgroups: borland.public.jbuilder.java.swing