What does this exception mean? [message #157122] |
Sun, 07 November 2004 19:34 |
Eclipse User |
|
|
|
Originally posted by: k.oriordan.oceanfree.net
Getting this exception when I try to draw a graph of figures using a
custom layout manager.
Any idea where to start looking to find out where the error is? It
occurs during this step - "while (!display.readAndDispatch())" in my
tester method, and during an EditPart.refresh() call in GEF.
Exception in thread "main" org.eclipse.swt.SWTException: Failed to
execute runnable (java.lang.NullPointerException)
at org.eclipse.swt.SWT.error(SWT.java:2691)
at org.eclipse.swt.SWT.error(SWT.java:2616)
at
org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:109)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:2749)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2434)
at test.Tester.drawGraph2(Tester.java:115)
at test.Tester.main(Tester.java:62)
|
|
|
Re: What does this exception mean? [message #157132 is a reply to message #157122] |
Sun, 07 November 2004 21:47 |
Eclipse User |
|
|
|
Originally posted by: Lamont_Gilbert.rigidsoftware.com
Kevin O'Riordan wrote:
> Getting this exception when I try to draw a graph of figures using a
> custom layout manager.
>
> Any idea where to start looking to find out where the error is? It
> occurs during this step - "while (!display.readAndDispatch())" in my
> tester method, and during an EditPart.refresh() call in GEF.
>
yes, try looking in test.Tester 'main' method line 62.
> Exception in thread "main" org.eclipse.swt.SWTException: Failed to
> execute runnable (java.lang.NullPointerException)
> at org.eclipse.swt.SWT.error(SWT.java:2691)
> at org.eclipse.swt.SWT.error(SWT.java:2616)
> at
> org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:109)
>
> at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:2749)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2434)
> at test.Tester.drawGraph2(Tester.java:115)
> at test.Tester.main(Tester.java:62)
--
Respectfully,
CL Gilbert
"Verily, verily, I say unto you, He that entereth not by the door() into
the sheepfold{}, but climbeth up some other *way, the same is a thief
and a robber." John 10:1
GnuPG Key Fingerprint:
82A6 8893 C2A1 F64E A9AD 19AE 55B2 4CD7 80D2 0A2D
For a free Java interface to Freechess.org see
http://www.rigidsoftware.com/Chess/chess.html
|
|
|
|
Powered by
FUDForum. Page generated in 0.11085 seconds