Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Enable a "Stacktrace"
Enable a "Stacktrace" [message #110228] Tue, 12 August 2003 04:51 Go to next message
Eclipse UserFriend
Originally posted by: m.bauer.signsoft.com

Hi,

I everytime get an Exception testing my plugin that says nothing.

"Unhandled exception caught in event loop
Reason:
java.lang.NullPointerException"

Is there a possibility to turn on a Dubugmode that provides more information
about this exception? Like a stacktrace. But with this real short
information i cant find the bug in my plugin.

Thanks for your help

Michael Bauer

PS: I tried the command line options -debug and -dev (without any urls or
someting like that) and it still doesnt work.
Re: Enable a "Stacktrace" [message #110267 is a reply to message #110228] Tue, 12 August 2003 05:00 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: mh.nixspam.com

> I everytime get an Exception testing my plugin that says nothing.
>
> "Unhandled exception caught in event loop
> Reason:
> java.lang.NullPointerException"
>
> Is there a possibility to turn on a Dubugmode that provides more
information
> about this exception? Like a stacktrace. But with this real short
> information i cant find the bug in my plugin.

Look in the .log-file in the .metamodel directory of your
runtime-workbench-directory. There is the stack-trace for this error
available.
You can also use the debugging-perspective and set a breakpoint some lines
before the error.

Mario
Re: Enable a "Stacktrace" [message #110290 is a reply to message #110267] Tue, 12 August 2003 05:25 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: m.bauer.signsoft.com

Hi,

actually, the file is empty. It only contains

<?xml version="1.0" encoding="UTF-8"?>
<log>
</log>

Did I do something wrong?

Thanks

Michael
"Mario Herger" <mh@nixspam.com> schrieb im Newsbeitrag
news:bhaaa9$k8t$1@eclipse.org...
> > I everytime get an Exception testing my plugin that says nothing.
> >
> > "Unhandled exception caught in event loop
> > Reason:
> > java.lang.NullPointerException"
> >
> > Is there a possibility to turn on a Dubugmode that provides more
> information
> > about this exception? Like a stacktrace. But with this real short
> > information i cant find the bug in my plugin.
>
> Look in the .log-file in the .metamodel directory of your
> runtime-workbench-directory. There is the stack-trace for this error
> available.
> You can also use the debugging-perspective and set a breakpoint some lines
> before the error.
>
> Mario
>
>
Re: Enable a "Stacktrace" [message #110302 is a reply to message #110267] Tue, 12 August 2003 05:26 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: m.bauer.signsoft.com

Sorry,

i found the other file. It contains the stacktrace.

Thanks

Michael
"Mario Herger" <mh@nixspam.com> schrieb im Newsbeitrag
news:bhaaa9$k8t$1@eclipse.org...
> > I everytime get an Exception testing my plugin that says nothing.
> >
> > "Unhandled exception caught in event loop
> > Reason:
> > java.lang.NullPointerException"
> >
> > Is there a possibility to turn on a Dubugmode that provides more
> information
> > about this exception? Like a stacktrace. But with this real short
> > information i cant find the bug in my plugin.
>
> Look in the .log-file in the .metamodel directory of your
> runtime-workbench-directory. There is the stack-trace for this error
> available.
> You can also use the debugging-perspective and set a breakpoint some lines
> before the error.
>
> Mario
>
>
Re: Enable a "Stacktrace" [message #110509 is a reply to message #110302] Tue, 12 August 2003 14:57 Go to previous messageGo to next message
Eclipse UserFriend
Michael Bauer wrote:

> Sorry,
>
> i found the other file. It contains the stacktrace.

You can also launch your runtime workbench with the -consolelog option
to have the .log printed printed to the console in your development
workbench. I find this very helpful.

Jeff
Re: Enable a "Stacktrace" [message #110700 is a reply to message #110509] Wed, 13 August 2003 00:38 Go to previous message
Eclipse UserFriend
I make heavy use of the Window>Show View> Other>PDE Runtime>Error Log

Darins

"Jeff Hunter" <jxh106@po.cwru.edu> wrote in message
news:bhbdaa$qis$1@eclipse.org...
> Michael Bauer wrote:
>
> > Sorry,
> >
> > i found the other file. It contains the stacktrace.
>
> You can also launch your runtime workbench with the -consolelog option
> to have the .log printed printed to the console in your development
> workbench. I find this very helpful.
>
> Jeff
>
>
Previous Topic:Raw workbench functionality with plugin
Next Topic:How to change a Dialog button into depressed form
Goto Forum:
  


Current Time: Fri Sep 19 07:02:54 EDT 2025

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

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

Back to the top