Home pageFind It!Contact PJAPJA documentation

PJA

 PJA Toolkit forum

This forum is dedicated to PJA Toolkit.
You may read freely the messages it contents. If you want to write a message or answer to a subject, subscribe to it first.

Subjects Recent messages Login Subscribe

Messages of subject NPE on Websphere 5.1 with Java 1.4.2 in java.awt.EventQueue.isDispatchThread

jofowler

Location : Research Triangle Park, NC USA
Member since : Sep 26, 2003
Messages : 4
 Oct 30, 2004 at 12:11 AM
We have an application that uses PJA 2.5 and it has been running fine on WebSphere 5.0 on z/OS. The JVM version is 1.4.1

Recently our customer upgraded to WebSphere 5.1 on z/OS and that required that they upgrade to a Java JVM version 1.4.2

Our application now causes a NullPointerException any time it tries to generate a graph. See the stack trace below.

Does anyone have any ideas on how we can fix or work around this problem ?

We are using a 3rd party graphing package, JClass Server Views, and changing graphing packages is not an option at this point in time.

Thanks in advance for any assistance.

FnpJctestServlet: init
java.lang.NullPointerException
at java.awt.EventQueue.isDispatchThread(EventQueue.java:732)
at javax.swing.SwingUtilities.isEventDispatchThread(SwingUtilities.java:1269)
at javax.swing.JComponent.revalidate(JComponent.java:4513)
at javax.swing.JComponent.setVisible(JComponent.java:2278)
at com.tivoli.itmnp.jctest.FnpJctestChart.<init>(FnpJctestChart.java:125)
at com.tivoli.itmnp.jctest.FnpJctestServlet.getServerChart(FnpJctestServlet.java:94)
at com.tivoli.itmnp.jctest.FnpJctestServlet.doGet(FnpJctestServlet.java:76)


--
Jim Fowler



---
--
Jim Fowler


Home pageFind It!ContactTop

© Copyrights 1997-2014 eTeks - All rights reserved

PJAPJA documentation