Skip to main content



      Home
Home » Eclipse Projects » GEF » why I can't open the old java file on the run-time workbench?
why I can't open the old java file on the run-time workbench? [message #200889] Fri, 28 October 2005 02:00 Go to next message
Eclipse UserFriend
When I tried to open the java files that I built before on the run-time
wokbench,the compiler found mistake:Unhandled event loop exception
Reason:
java.lang.NullPointerException
Unhandled event loop exception
Reason:
Failed to execute runnable
(java.lang.NullPointerException)
***SWT nested exeception
Reason:
java.lang.NullPoinerException
I can not find the reason.Why???
Re: why I can't open the old java file on the run-time workbench? [message #200904 is a reply to message #200889] Fri, 28 October 2005 04:45 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: ingo.koch[nospam].sap.com

Providing so less information, we can?t either :-)


"zlc" <257wheat@sohu.com> wrote in message
news:efe13e910e3d2487d0d12c9dd872a2e0$1@www.eclipse.org...
> When I tried to open the java files that I built before on the run-time
> wokbench,the compiler found mistake:Unhandled event loop exception
> Reason:
> java.lang.NullPointerException
> Unhandled event loop exception
> Reason:
> Failed to execute runnable
> (java.lang.NullPointerException)
> ***SWT nested exeception
> Reason:
> java.lang.NullPoinerException
> I can not find the reason.Why???
>
Re: why I can't open the old java file on the run-time workbench? [message #201045 is a reply to message #200889] Fri, 28 October 2005 14:36 Go to previous messageGo to next message
Eclipse UserFriend
zlc wrote:
> When I tried to open the java files that I built before on the run-time
> wokbench,the compiler found mistake:Unhandled event loop exception
> Reason:
> java.lang.NullPointerException
> Unhandled event loop exception
> Reason:
> Failed to execute runnable
> (java.lang.NullPointerException)
> ***SWT nested exeception
> Reason:
> java.lang.NullPoinerException
> I can not find the reason.Why???
>
try debugging.

you could set for example a breakpoint in your main class and then step
through until u see where the NPE is thrown.

regards
Astrid
Re: why I can't open the old java file on the run-time workbench? [message #201600 is a reply to message #200889] Tue, 01 November 2005 21:41 Go to previous message
Eclipse UserFriend
Thanks for your help.:)
I have found the reason:something I forgot to save into the XML file.So
NPE occured.
Previous Topic:selection box in GEF
Next Topic:Refactor
Goto Forum:
  


Current Time: Fri Jun 13 13:38:21 EDT 2025

Powered by FUDForum. Page generated in 0.04214 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top