The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

sandy_pragprog (6) [Avatar] Offline
#1
hi,

i am using gwt1.5,struts2,spring and hibernate. and also using the NTLM filter for filtering



i am getting following error.


the problem is IN fire fox it's working very well but in IE am getting the following exception



ERROR org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/project name] - Exception while dispatching incoming RPC call java.lang.IllegalArgumentException: encodedRequest cannot be empty" .


tell me idea please Need Help
robert.hanson (173) [Avatar] Offline
#2
Re: encodedRequest cannot be empty
The error is on the server-side, right? So there must be something different between the FF and IE requests. I suggest using WireShark to tap into the network and capture the data that is actually being sent. You should be able to filter out the erroneous information by using a filter of "http".

http://www.wireshark.org/
sandy_pragprog (6) [Avatar] Offline
#3
Re: encodedRequest cannot be empty
The exception trace am getting is as follows:-
<Error> <ServletContext-/PersonalePianoFerie> <vm11sv17> <serverDP1> <[ACTIVE] ExecuteThread: '8' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <> <1257246017406> <000000> <Exception while dispatching incoming RPC call >
java.lang.IllegalArgumentException: encodedRequest cannot be empty
at com.google.gwt.user.server.rpc.RPC.decodeRequest(RPC.java:226)
at com.google.gwt.user.server.rpc.RPC.decodeRequest(RPC.java:164)
at com.google.gwt.user.server.rpc.RPC.decodeRequest(RPC.java:121)
at com.googlcode.strut2gwtplugin.interceptor.GWTServlet.processCall(GWTServlet.java:86)
at com.google.gwt.user.server.rpc.RemoteServiceServlet.doPost(RemoteServiceServlet.java:86)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.googlcode.strut2gwtplugin.interceptor.GWTInterceptor.intercept(GWTInterceptor.java:49)
at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224)
at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223)
at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221)
at org.apache.struts2.impl.StrutsActionProxy.execute(StrutsActionProxy.java:50)
at org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:504)
at org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:421)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:531)
at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:266)
at it.sella.pf.filter.PianoFilter.doFilter(Unknown Source)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3242)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2010)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1916)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1366)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
sandy_pragprog (6) [Avatar] Offline
#4
Re: encodedRequest cannot be empty
And am not clear with what that Wire shark is can you guide how to use that and o

Thanks in advance
robert.hanson (173) [Avatar] Offline
#5
Re: encodedRequest cannot be empty
WireShark is a packet sniffer. You can run it on the client to see exactly what the browser is sending the web server. Seeing the actual data being sent may help in debuggung this.

http://www.wireshark.org/

You would basically start a new session in WireShark, filter on "http", then make the request that causes the failure, then review the traffic that was captured.

On the other hand, FireBug is usually good enough, so I would start there. But if you are not seeing the traffic in FireBug, then WireShark is the next tool I use.
sandy_pragprog (6) [Avatar] Offline
#6
Re: encodedRequest cannot be empty
Thanks for your reply smilie
Am having firebug tool only in firefox and my application is not having any firefox . this problem is coming only in IE. Is firebug add on also available for IE. Am using ie.8 version.

Thanks in advance
robert.hanson (173) [Avatar] Offline
#7
Re: encodedRequest cannot be empty
Take a look at the FireBug site. There is a JS version that you can use in IE, but there are limitations.