On Sun, Dec 13, 2009 at 12:29 AM, Ehab <[email protected]> wrote:
> Thank you 4 your quick reply.
> But i still have the problem at the production mode , the strack trace
> print javaScriptExcption not the real java exception ?
> can you tell me what to do to see the java strack on the fireBug at
> the production mode?
>
> Note:
> I'm putting this configuration at my configuration file
> <set-property name="compiler.emulatedStack" value="true" />
> <set-configuration-property
> name="compiler.emulatedStack.recordLineNumbers" value="true"/>
> <set-configuration-property
> name="compiler.emulatedStack.recordFileNames" value="true"/>
>
> You'll see a JavaScript stack trace in production (web) mode, but thanks to
the three lines you have above, you should see the Java filename and line
number in parentheses.
For example:
(-:-) 2009-12-14 09:35:16,748 [FATAL] Uncaught Exception:
java.lang.NullPointerException:
*null*
at Unknown.$fillInStackTrace(JsArrayString.java:42)
at Unknown.$NullPointerException(StackTraceCreator.java:364)
at Unknown.onClick_6(InteractiveDemoPanel.java:135)
at Unknown.dispatch(com.google.gwt.dev.jjs.impl.GenerateJavaAST:0)
at Unknown.$fireEvent_1(HandlerManager.java:65)
at Unknown.$fireEvent_0(HandlerManager.java:178)
at Unknown.$fireEvent(Widget.java:52)
at Unknown.fireNativeEvent(DomEvent.java:116)
at Unknown.onBrowserEvent(Widget.java:100)
at Unknown.dispatchEventAndCatch(DOM.java:1322)
at Unknown.dispatchEvent_0(DOM.java:1266)
at Unknown.anonymous(DOMImplStandard.java:180)
When you paste this into the stack trace console window in Eclipse, the
lines become hyperlinks and you can jump to the right line of code.
Fred
Is these configuration works only with App Engine 1.2.8? because when
> i put these configuration with another app engine , my project can't
> be run ?
>
> On Dec 10, 9:15 pm, Fred Sauer <[email protected]> wrote:
> > Thanks for noticing. I accidentally dropped those in the last few
> commits.
> > They're back as of r440.
> >
> >
> >
> >
> >
> > On Thu, Dec 10, 2009 at 2:32 AM, Ehab <[email protected]> wrote:
> > > Dear all
> >
> > > First i want to thank all who developed this great project.
> >
> > > Second i'm facing some problem while runinig the svn demo.
> >
> > > scenario :
> > > after checkiong out the project from the svn , i tried to run the
> > > demo , the demo works fine ,
> > > but when i click NullPointerException Button no stack trace printed on
> > > my firebug consle , however the stack trace printed on the all the
> > > other loggers including the DevLogger.
> > > This scenario happened in the development mode.
> >
> > > In the production mode the stack trace didn't print @ all .
> >
> > > I checked the running demo and my browser (firefox) works fine with it
> > > and can print the stack trace in the firebug console.
> >
> > > Thank's in advance.
> >
> > > --
> >
> > > You received this message because you are subscribed to the Google
> Groups
> > > "gwt-log" group.
> > > To post to this group, send email to [email protected].
> > > To unsubscribe from this group, send email to
> > > [email protected]<gwt-log%[email protected]>
> <gwt-log%[email protected]<gwt-log%[email protected]>
> >
> > > .
> > > For more options, visit this group at
> > >http://groups.google.com/group/gwt-log?hl=en.
> >
> > --
> > Fred Sauer
> > Developer Advocate
> > Google Inc.1600 Amphitheatre Parkway
> > Mountain View, CA 94043
> > [email protected] Hide quoted text -
> >
> > - Show quoted text -
>
> --
>
> You received this message because you are subscribed to the Google Groups
> "gwt-log" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<gwt-log%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/gwt-log?hl=en.
>
>
>
--
Fred Sauer
Developer Advocate
Google Inc.1600 Amphitheatre Parkway
Mountain View, CA 94043
[email protected]
--
You received this message because you are subscribed to the Google Groups
"gwt-log" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/gwt-log?hl=en.