[jetty-dev] [jira] (JETTY-1502) Seeing "Not valid UTF8! byte E0 in state 2" error

"Jan Bartel (JIRA)" <[email protected]>
Newsgroups gmane.comp.java.jetty.general
Message-ID <464243204.57809.1332725887912.JavaMail.j2ee-jira@codehaus01.managed.contegix.com>
    [ https://jira.codehaus.org/browse/JETTY-1502?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=295091#comment-295091 ] 

Jan Bartel commented on JETTY-1502:
-----------------------------------

Ryan,

This sounds like something you should really have brought up on the jetty mailing list at [email protected]. JIRAs are reserved for reporting errors in jetty.

However, I recommend you use something like tcpdump or wireshark to see the bytes on the wire. Turn on all logging, and see if there's anything in the request log in the query string. If you can show that you are receiving valid utf8 that jetty is failing to parse, please reopen this JIRA.

thanks
Jan




                
> Seeing "Not valid UTF8! byte E0 in state 2" error
> -------------------------------------------------
>
>                 Key: JETTY-1502
>                 URL: https://jira.codehaus.org/browse/JETTY-1502
>             Project: Jetty
>          Issue Type: Bug
>          Components: Servlet
>    Affects Versions: 8.1.2
>         Environment: Linux SMP Fri Oct 22 18:48:49 UTC 2010 x86_64 x86_64 x86_64 GNU/Linux
>            Reporter: Ryan
>            Priority: Minor
>              Labels: exception, i18n
>
> Greetings,
> I am seeing this in my error logs. Any idea how to diagnose this problem?
> Thanks,
> -Ryan
> 03-23-2012 13:32:20 [qtp45104096-446] WARN  org.eclipse.jetty.servlet.ServletHandler [doHandle:553] - /conf/v2/100576e00bb4e7dc72f08c29f8431fcb
> org.eclipse.jetty.util.Utf8Appendable$NotUtf8Exception: Not valid UTF8! byte E0 in state 2
>         at org.eclipse.jetty.util.Utf8Appendable.appendByte(Utf8Appendable.java:168) ~[jetty-util-8.1.2.v20120308.jar:8.1.2.v20120308]
>         at org.eclipse.jetty.util.Utf8Appendable.append(Utf8Appendable.java:107) ~[jetty-util-8.1.2.v20120308.jar:8.1.2.v20120308]
>         at org.eclipse.jetty.http.HttpURI.toUtf8String(HttpURI.java:491) ~[jetty-http-8.1.2.v20120308.jar:8.1.2.v20120308]
>         at org.eclipse.jetty.http.HttpURI.getQuery(HttpURI.java:611) ~[jetty-http-8.1.2.v20120308.jar:8.1.2.v20120308]
>         at org.eclipse.jetty.server.Request.getQueryString(Request.java:788) ~[jetty-server-8.1.2.v20120308.jar:8.1.2.v20120308]
>         at com.sun.jersey.spi.container.servlet.ServletContainer.doFilter(ServletContainer.java:843) ~[jersey-servlet-1.11.jar:1.11]
>         at com.sun.jersey.spi.container.servlet.ServletContainer.doFilter(ServletContainer.java:804) ~[jersey-servlet-1.11.jar:1.11]
>         at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:163) ~[guice-servlet-3.0.jar:na]
>         at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58) ~[guice-servlet-3.0.jar:na]
>         at com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:118) ~[guice-servlet-3.0.jar:na]
>         at com.google.inject.servlet.GuiceFilter.doFilter(GuiceFilter.java:113) ~[guice-servlet-3.0.jar:na]
>         at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1337) ~[jetty-servlet-8.1.2.v20120308.jar:8.1.2.v20120308]
>         at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:484) [jetty-servlet-8.1.2.v20120308.jar:8.1.2.v20120308]
>         at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119) [jetty-server-8.1.2.v20120308.jar:8.1.2.v20120308]
>         at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:524) [jetty-security-8.1.2.v20120308.jar:8.1.2.v20120308]
>         at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:233) [jetty-server-8.1.2.v20120308.jar:8.1.2.v20120308]
>         at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1065) [jetty-server-8.1.2.v20120308.jar:8.1.2.v20120308]
>         at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:413) [jetty-servlet-8.1.2.v20120308.jar:8.1.2.v20120308]
>         at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:192) [jetty-server-8.1.2.v20120308.jar:8.1.2.v20120308]
>         at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:999) [jetty-server-8.1.2.v20120308.jar:8.1.2.v20120308]
>         at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117) [jetty-server-8.1.2.v20120308.jar:8.1.2.v20120308]
>         at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:111) [jetty-server-8.1.2.v20120308.jar:8.1.2.v20120308]
>         at org.eclipse.jetty.server.Server.handle(Server.java:351) [jetty-server-8.1.2.v20120308.jar:8.1.2.v20120308]
>         at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:454) [jetty-server-8.1.2.v20120308.jar:8.1.2.v20120308]
>         at org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:890) [jetty-server-8.1.2.v20120308.jar:8.1.2.v20120308]
>         at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:944) [jetty-server-8.1.2.v20120308.jar:8.1.2.v20120308]
>         at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:634) [jetty-http-8.1.2.v20120308.jar:8.1.2.v20120308]
>         at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:230) [jetty-http-8.1.2.v20120308.jar:8.1.2.v20120308]
>         at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:77) [jetty-server-8.1.2.v20120308.jar:8.1.2.v20120308]
>         at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:609) [jetty-io-8.1.2.v20120308.jar:8.1.2.v20120308]
>         at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:45) [jetty-io-8.1.2.v20120308.jar:8.1.2.v20120308]
>         at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:599) [jetty-util-8.1.2.v20120308.jar:8.1.2.v20120308]
>         at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:534) [jetty-util-8.1.2.v20120308.jar:8.1.2.v20120308]
>         at java.lang.Thread.run(Thread.java:662) [na:1.6.0_30]

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.