Article View: borland.public.jbuilder.java.language
Article #16568JBCL2.0, JGL3.1 and JDK1.2
From: Tom Heagy
Date: Wed, 27 Jan 1999 00:00
Date: Wed, 27 Jan 1999 00:00
94 lines
5099 bytes
5099 bytes
I have an application that uses a bean [I created] that includes a
"TreeControl" control. The application works perfectly fine under JDK
1.1 but produces the following exception report when attempting to
trigger a "selectionChanged" event under JDK1.2.
============================================================================
Exception occurred during event dispatching:
java.lang.ExceptionInInitializerError: java.lang.NullPointerException:
Null output stream
at java.io.PrintStream.<init>(PrintStream.java:81)
at java.io.PrintStream.<init>(PrintStream.java:63)
at
borland.jbcl.util.DummyPrintStream.<init>(DummyPrintStream.java:30)
at borland.jbcl.util.Diagnostic.<clinit>(Diagnostic.java:321)
at
borland.jbcl.model.GraphSelectionMulticaster.dispatch(GraphSelectionMulticaster.java:67)
at
borland.jbcl.model.GraphSelectionMulticaster.selectionItemChanged(GraphSelectionMulticaster.java:37)
at
borland.jbcl.model.GraphSelectionEvent.dispatch(GraphSelectionEvent.java:49)
at
borland.jbcl.util.EventMulticaster.dispatch(EventMulticaster.java:62)
at
borland.jbcl.model.BasicGraphSelection.processSelectionEvent(BasicGraphSelection.java:108)
at
borland.jbcl.model.BasicGraphSelection.add(BasicGraphSelection.java:67)
at borland.jbcl.view.TreeCore.setSubfocus(TreeCore.java:321)
at borland.jbcl.view.TreeCore.setSubfocus(TreeCore.java:286)
at
borland.jbcl.view.TreeCore.processFocusEvent(TreeCore.java:1330)
at java.awt.Component.processEvent(Component.java:2956)
at java.awt.Container.processEvent(Container.java:987)
at borland.jbcl.view.BeanPanel.processEvent(BeanPanel.java:130)
at java.awt.Component.dispatchEventImpl(Component.java:2376)
at java.awt.Container.dispatchEventImpl(Container.java:1032)
at java.awt.Component.dispatchEvent(Component.java:2289)
at
java.awt.LightweightDispatcher.setFocusRequest(Container.java:1621)
at java.awt.Container.proxyRequestFocus(Container.java:1143)
at java.awt.Container.proxyRequestFocus(Container.java:1138)
at java.awt.Container.proxyRequestFocus(Container.java:1138)
at java.awt.Container.proxyRequestFocus(Container.java:1138)
at java.awt.Container.proxyRequestFocus(Container.java:1138)
at java.awt.Container.proxyRequestFocus(Container.java:1138)
at java.awt.Container.proxyRequestFocus(Container.java:1138)
at java.awt.Container.proxyRequestFocus(Container.java:1138)
at java.awt.Container.proxyRequestFocus(Container.java:1138)
at java.awt.Container.proxyRequestFocus(Container.java:1138)
at java.awt.Component.requestFocus(Component.java:3495)
at
com.sun.java.swing.JComponent.requestFocus(JComponent.java:667)
at
borland.jbcl.view.BeanPanel.processMousePressed(BeanPanel.java:191)
at
borland.jbcl.view.TreeCore.processMousePressed(TreeCore.java:896)
at
borland.jbcl.view.BeanPanel.processMouseEvent(BeanPanel.java:168)
at java.awt.Component.processEvent(Component.java:2965)
at java.awt.Container.processEvent(Container.java:987)
at borland.jbcl.view.BeanPanel.processEvent(BeanPanel.java:130)
at java.awt.Component.dispatchEventImpl(Component.java:2376)
at java.awt.Container.dispatchEventImpl(Container.java:1032)
at java.awt.Component.dispatchEvent(Component.java:2289)
at
java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:1944)
at
java.awt.LightweightDispatcher.processMouseEvent(Container.java:1726)
at
java.awt.LightweightDispatcher.dispatchEvent(Container.java:1645)
at java.awt.Container.dispatchEventImpl(Container.java:1019)
at java.awt.Window.dispatchEventImpl(Window.java:714)
at java.awt.Component.dispatchEvent(Component.java:2289)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:258)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:68)
============================================================================
Is anyone aware of any particular problems with either JGL3.1 or JBCL2.0
working with JDK1.2?
Is there any light at the end of this tunnel of confusion related to the
1.2 changes?
The only reason we are using it at all right now is because we are also
trying to make use of CORBA. I'm starting to feel like I'm on the
BLEEDING edge!
Thanks in advance for your input.
-Tom
Technical Details
Message-ID:
<36AF7E04.743ED68F@sciatl.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,b24b2ca6053ec6b1,start X-Google-Attributes: gidf74b3,public From: Tom Heagy <tom.heagy@sciatl.com> Subject: JBCL2.0, JGL3.1 and JDK1.2 Date: 1999/01/27 Message-ID: <36AF7E04.743ED68F@sciatl.com> X-Deja-AN: 437653218 Content-Transfer-Encoding: 7bit X-Accept-Language: en Content-Type: text/plain; charset=us-ascii Organization: Another Netscape Collabra Server User Mime-Version: 1.0 Newsgroups: borland.public.jbuilder.java.language