🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #16384

Exception occurred during event dispatching.

#16384
From: Karsten B�lge
Date: Thu, 25 Feb 1999 00:00
49 lines
2477 bytes
Hi.

I'm making a application with Jbuilder2.

But I've one problem, a periodic one.

Some times when I run my apllication, rigth after the apllication
has setText("whatever") in some TextControls the apllication writes the
following in the console window:

Exception occurred during event dispatching:
java.lang.IllegalArgumentException
        at sun.awt.image.Image.<init>(Image.java:62)
        at sun.awt.windows.WImage.<init>(WImage.java:26)
        at sun.awt.windows.WOffScreenImage.<init>(WOffScreenImage.java:28)
        at
sun.awt.windows.WComponentPeer.createImage(WComponentPeer.java:190)
        at java.awt.Component.createImage(Component.java:1531)
        at java.awt.Component.createImage(Component.java:1529)
        at com.sun.java.swing.RepaintManager.getOffscreenBuffer(Compiled
Code)
        at com.sun.java.swing.JComponent._paintImmediately(Compiled Code)
        at com.sun.java.swing.JComponent.paintImmediately(Compiled Code)
        at com.sun.java.swing.RepaintManager.paintDirtyRegions(Compiled
Code)
        at
com.sun.java.swing.RepaintManager.repaintDirtyRegions(RepaintManager.java:22
4)
        at
com.sun.java.swing.RepaintManager$RepaintListener.actionPerformed(RepaintMan
ager.java:452)
        at com.sun.java.swing.Timer.fireActionPerformed(Compiled Code)
        at
com.sun.java.swing.Timer$DummyComponent.processEvent(Timer.java:309)
        at java.awt.Component.dispatchEventImpl(Compiled Code)
        at java.awt.Component.dispatchEvent(Compiled Code)
        at java.awt.EventDispatchThread.run(Compiled Code)

What is this telling me ?
And what is the numbers, some kind of location of the error ?

I only gets this error appro. half of the time I start the application, and
only rigth after the first group of setText, never later, when some other
setText is called.

I've tried to find some difference in what I'm dong,in the time when I get
the error and when it's working find, but havn't found any.

Regards Karsten.
Technical Details
Message-ID: <7b3d65$bri14@forums.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,4e9f595469b2ce8e,start
X-Google-Attributes: gidf74b3,public
From: "Karsten B�lge" <KUB@i-data.com>
Subject: Exception occurred during event dispatching.
Date: 1999/02/25
Message-ID: <7b3d65$bri14@forums.borland.com>
X-Deja-AN: 448275058
Organization: i-data international a-s
X-Mimeole: Produced By Microsoft MimeOLE V4.72.3110.3
Newsgroups: borland.public.jbuilder.java.language