Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 06:00 Go to next message
Lichun zhang is currently offline Lichun zhangFriend
Messages: 7
Registered: July 2009
Junior Member
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 08: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 18:36 Go to previous messageGo to next message
Astrid Sawatzky is currently offline Astrid SawatzkyFriend
Messages: 62
Registered: July 2009
Member
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] Wed, 02 November 2005 02:41 Go to previous message
Lichun zhang is currently offline Lichun zhangFriend
Messages: 7
Registered: July 2009
Junior Member
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: Sun Sep 22 22:56:50 GMT 2024

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

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

Back to the top