Re: java.lang.IllegalArgumentException at java.nio.Buffer.limit

2014-08-22 Thread John Smith
How would you use a proxy to do that? On Mon, Aug 18, 2014 at 3:23 PM, Yogesh Rao wrote: > How about tracing the http request and response for the call made? > > Tip : adding a proxy wud help here to log the entire request. > > Regards, > -Yogesh > > On Monday, August 18, 2014, John Smith wrot

Re: java.lang.IllegalArgumentException at java.nio.Buffer.limit

2014-08-18 Thread Yogesh Rao
How about tracing the http request and response for the call made? Tip : adding a proxy wud help here to log the entire request. Regards, -Yogesh On Monday, August 18, 2014, John Smith wrote: > On Fri, Aug 8, 2014 at 9:10 AM, John Smith > wrote: > > > On Thu, Aug 7, 2014 at 5:28 PM, Filip Han

Re: java.lang.IllegalArgumentException at java.nio.Buffer.limit

2014-08-18 Thread John Smith
On Fri, Aug 8, 2014 at 9:10 AM, John Smith wrote: > On Thu, Aug 7, 2014 at 5:28 PM, Filip Hanik wrote: > >> if you could capture the XML that you are trying to write, we can put it >> into a test case and reproduce. >> >> Filip >> > > I'll try that -- I should be able to catch the IllegalArgumen

Re: java.lang.IllegalArgumentException at java.nio.Buffer.limit

2014-08-08 Thread John Smith
> > > > What's on line 182 of AbstractServlet.java? > > -Terence Bandoian > It's the "out.write(xml);" line.

Re: java.lang.IllegalArgumentException at java.nio.Buffer.limit

2014-08-07 Thread Yogesh Rao
hrows >> >> IOException { >> >> res.setContentType("text/xml"); >> >> PrintWriter out = res.getWriter(); >> >> out.write(xml); >> >> out.close();

Re: java.lang.IllegalArgumentException at java.nio.Buffer.limit

2014-08-07 Thread Yogesh Rao
intWriter out = res.getWriter(); > >> out.write(xml); > >> out.close(); > >> } > >> > >> > >> The stacktrace almost always looks like this: > >> __

Re: java.lang.IllegalArgumentException at java.nio.Buffer.limit

2014-08-07 Thread Filip Hanik
out.close(); >> } >> >> >> The stacktrace almost always looks like this: >> _________ >> 14:18:59.617 [http-nio-8080-exec-45] ERROR c.m. >> SiteExceptionHandlerServlet >> - Stacktrace was: java.lang.IllegalArgumentExc

java.lang.IllegalArgumentException at java.nio.Buffer.limit

2014-08-07 Thread Terence M. Bandoian
ways looks like this: _ 14:18:59.617 [http-nio-8080-exec-45] ERROR c.m.SiteExceptionHandlerServlet - Stacktrace was: java.lang.IllegalArgumentException at java.nio.Buffer.limit(Buffer.java:267) at org.apache.tomcat.util.buf.C2BConverter.convert(C2BC

java.lang.IllegalArgumentException at java.nio.Buffer.limit

2014-08-07 Thread John Smith
_ 14:18:59.617 [http-nio-8080-exec-45] ERROR c.m.SiteExceptionHandlerServlet - Stacktrace was: java.lang.IllegalArgumentException at java.nio.Buffer.limit(Buffer.java:267) at org.apache.tomcat.util.buf.C2BConverter.convert(C2BConverter.java:85) at org.apache.catalina.connector.OutputB