Deobfuscation problem - symbolMaps

74 views
Skip to first unread message

qbix

unread,
Jan 30, 2015, 9:18:26 AM1/30/15
to gwt...@googlegroups.com
Hi. I was trying to get deobfuscation to work, sadly with no success.

What I get is this message and obfuscated exception

WARNING: Failed to deobfuscate stack trace for permutation 6F87FD49BB72FC34AE8718358E2A2792. Verify that the corresponding symbolMap is available.
sty 30, 2015 2:58:51 PM com.allen_sauer.gwt.log.server.ServerLogImplJDK14 log
SEVERE: Uncaught Exception:
com.google.gwt.core.client.JavaScriptException: (TypeError) : Cannot read property '$f' of null


<init-param>
       
<param-name>symbolMapsFileSystem</param-name>
       
<param-value>/WEB-INF/deploy/test/symbolMaps</param-value>
</init-param>

I checked - symbolMaps directory is generated and the path is correct.
Also, to be 100% sure

PrintWriter out = resp.getWriter();
           
File f = new File(req.getSession().getServletContext().getRealPath("/WEB-INF/deploy/test/symbolMaps"));

           
for (File file : f.listFiles()) {
               
out.println(file.getName());
           
}

which outputs:
6F87FD49BB72FC34AE8718358E2A2792.symbolMap

Am I missing something?

Max Fromberger

unread,
May 29, 2015, 8:53:50 AM5/29/15
to gwt...@googlegroups.com
Same Problem.

getServletContext().getRealPath("/WEB-INF") points to the exact server folder where the symbol map is, but gwt-log can't open it. Filename is correct, and web.xml parameter is set according to the getting started web page:
  <init-param>
    <param-name>symbolMapsFileSystem</param-name>
    <param-value>WEB-INF/deploy/gd3_1/symbolMaps/</param-value>
  </init-param>

Older Versions seemed to write the full path where gwt-log was looking for the symbol map to the console. Has this feature vanished?

GWT-LOG is a great library!


Fred Sauer

unread,
May 30, 2015, 3:20:21 PM5/30/15
to gwt...@googlegroups.com
Have you read through the Getting Started wiki?


--
You received this message because you are subscribed to the Google Groups "gwt-log" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gwt-log+u...@googlegroups.com.
To post to this group, send email to gwt...@googlegroups.com.
Visit this group at http://groups.google.com/group/gwt-log.
For more options, visit https://groups.google.com/d/optout.



--
Reply all
Reply to author
Forward
0 new messages