Read the StackTraceDeobfuscator doc [1], you are either missing the -deploy 
<dir> argument for creating the symbolMaps, or it is not in the right place.

[1] 
http://google-web-toolkit.googlecode.com/svn/javadoc/latest/com/google/gwt/logging/server/StackTraceDeobfuscator.html

On Tuesday, April 9, 2013 5:06:23 PM UTC+2, Flying-w wrote:
>
>
> I've implemented server side logging of client side exceptions, by making 
> the following changes in gwt.xml:
> <set-property name="compiler.stackMode" value="emulated" />
> <set-configuration-property 
> name="compiler.emulatedStack.recordLineNumbers" value="true" />
> <set-configuration-property 
> name="compiler.emulatedStack.recordFileNames" value="true" />
>
> A custom implementation SimpleRemoteLogHandler provides the handler to 
> relay the messages to the server.
>
> And a servlet:
> <servlet>
> <servlet-name>remoteLogging</servlet-name>
>
> <servlet-class>com.google.gwt.logging.server.RemoteLoggingServiceImpl</servlet-class>
> <init-param>
> <param-name>symbolMaps</param-name>
> <param-value>shark_sencha_prototype/symbolMaps</param-value>
> </init-param>
> </servlet>
> <servlet-mapping>
> <servlet-name>remoteLogging</servlet-name>
> <url-pattern>/shark_sencha_prototype/remote_logging</url-pattern>
> </servlet-mapping>
>
>
> When an exception occurs (for example an operation on a null string), the 
> stack trace below is typical of what shows up.  I 
> was expecting RemoteLoggingServiceImpl to fully remote the obfuscation, 
> however is this as good as it gets?
> It feels like there should me more, as it's doing nothing more than 
> mirroring what can also be reported on the client concerning the exception.
>
> com.google.gwt.core.client.JavaScriptException: (TypeError): Cannot call 
> method 'Bl' of null
>
> Unknown.he(StackTraceCreator.java:174)
>
> Unknown.Oc(StackTraceCreator.java:501)
>
> Unknown.uS(Exceptions.java:29)
>
> Unknown.Zid(JobsTab.java:293)
>
> Unknown.Kfd(CategoryTabs.java:81)
>
> ...
>
>
> Thanks
>
> Simon
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to