Is this your first time here? SwingWiki is a Java Swing Developer community site with an big archive of Swing-related usenet groups and mailing lists, but also tips, tricks and articles and book reviews written by your colleagues from around the world. If you came here through a search engine and did not find what you were looking for, make sure to check the wiki table of contents.

Re: [abbot-users] [abbot - Help] Errors from EventExceptionHandler

From:Timothy Wall [twall@masked-domain]
Sent on:Tue, 01 Apr 2008 19:35:57 -0400

On Apr 1, 2008, at 5:32 PM, SourceForge.net wrote:
>
> Read and respond to this message at:
> https://sourceforge.net/forum/message.php?msg_id=4878381
> By: medhashewale
>
> Hi,
> I am using Abbot to test a Swing project that also uses Java 3D.
> After just launching the project via Abbort, sometimes, I get
> following
> exception:
>
> 080401 14:03:47:537
> abbot
> .script
> .EventExceptionHandler.exceptionCaught(EventExceptionHandler.java:22
> ):
> Unexpected exception while dispatching events:
> 080401 14:03:47:537 Exception thrown at
> javax.swing.SwingUtilities.computeIntersection(Unknown Source)
> at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
> at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
> at javax.swing.RepaintManager.seqPaintDirtyRegions(Unknown
> Source)
> at
> javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Unknown
> Source)
> at java.awt.event.InvocationEvent.dispatch(Unknown Source)
> at java.awt.EventQueue.dispatchEvent(Unknown Source)
> at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown
> Source)
> at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown
> Source)
> at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown
> Source)
> at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
> at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
> at java.awt.EventDispatchThread.run(Unknown Source):
> java.lang.NullPointerException
> (caught at
> abbot
> .script
> .EventExceptionHandler.exceptionCaught(EventExceptionHandler.java:23
> ))
>
>
> How can this be fixed?

Try running it on a different VM (either different version or from a
different vendor). It may be a Swing bug, or it may be due to
programmer error performing actions off the EDT which are supposed to
only be performed on the EDT.

I've seen this exception occur even without using Abbot.

Timothy Wall
http://abbot.sf.net



-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
abbot-users mailing list
[abbot-users@masked-domain]
https://lists.sourceforge.net/lists/listinfo/abbot-users
Found what you were looking for? If not - continue at Wiki Index

Other messages in this topic

SenderDate sentSubject
"SourceForge.net" [noreply@masked-domain]Tue, 01 Apr 2008 14:32:17 -0700[abbot-users] [abbot - Help] Errors from EventExceptionHandler

 
Recent changes | RSS changes | Table of contents | News Archive | Terms And Conditions | Register | The Quest For Software++| Ruby Resources
FitNesse Resources