cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "osiris (JIRA)" <j...@apache.org>
Subject [jira] Updated: (CXF-394) HTTP binding expects '/' on each side of the brackets
Date Mon, 20 Aug 2007 16:45:30 GMT

     [ https://issues.apache.org/jira/browse/CXF-394?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

osiris updated CXF-394:
-----------------------


this also happens to me in CXF 2.0.1
all worked fine in 2.0-RC but when i changed to 2.0.1 this happen

     [java] Aug 20, 2007 4:18:28 PM org.apache.cxf.interceptor.AttachmentInInterceptor handleMessage
     [java] INFO: AttachmentInInterceptor skipped in HTTP GET method
     [java] Aug 20, 2007 4:18:28 PM org.apache.cxf.binding.http.interceptor.DispatchInterceptor
handleMessage
     [java] INFO: Invoking GET on /utentes/1
     [java] Aug 20, 2007 4:18:28 PM org.apache.cxf.binding.http.interceptor.URIParameterInInterceptor
handleMessage
     [java] INFO: URIParameterInterceptor handle message on path [/utentes/1] with content-type
[null]
     [java] Aug 20, 2007 4:18:28 PM org.apache.cxf.phase.PhaseInterceptorChain doIntercept
     [java] INFO: Interceptor has thrown exception, unwinding now

     [java] java.lang.IllegalStateException: Unexpected character '/' at index 0
     [java] 	at org.apache.cxf.binding.http.IriDecoderHelper.expect(IriDecoderHelper.java:153)
     [java] 	at org.apache.cxf.binding.http.IriDecoderHelper.decodeIri(IriDecoderHelper.java:85)
     [java] 	at org.apache.cxf.binding.http.interceptor.URIParameterInInterceptor.handleMessage(URIParameterInInterceptor.java:102)
     [java] 	at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:207)
     [java] 	at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:73)
     [java] 	at org.apache.cxf.transport.http_jetty.JettyHTTPDestination.serviceRequest(JettyHTTPDestination.java:256)
     [java] 	at org.apache.cxf.transport.http_jetty.JettyHTTPDestination.doService(JettyHTTPDestination.java:212)
     [java] 	at org.apache.cxf.transport.http_jetty.JettyHTTPHandler.handle(JettyHTTPHandler.java:54)
     [java] 	at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:712)
     [java] 	at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:211)
     [java] 	at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
     [java] 	at org.mortbay.jetty.Server.handle(Server.java:313)
     [java] 	at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:506)
     [java] 	at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:830)
     [java] 	at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:514)
     [java] 	at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
     [java] 	at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:381)
     [java] 	at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:396)
     [java] 	at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:442)


> HTTP binding expects '/' on each side of the brackets 
> ------------------------------------------------------
>
>                 Key: CXF-394
>                 URL: https://issues.apache.org/jira/browse/CXF-394
>             Project: CXF
>          Issue Type: Bug
>            Reporter: Dan Diephouse
>            Assignee: Dan Diephouse
>             Fix For: 2.0-RC
>
>
> Stack trace:
>    [java] INFO: Interceptor has thrown exception, unwinding now
>      [java] java.lang.IllegalStateException: Unexpected character '/' at index 0
>      [java]     at org.apache.cxf.binding.http.IriDecoderHelper.expect(IriDecoderHelper.java:121)
>      [java]     at org.apache.cxf.binding.http.IriDecoderHelper.decodeIri(IriDecoderHelper.java:72)
>      [java]     at org.apache.cxf.binding.http.interceptor.URIParameterInInterceptor.handleMessage(URIParameterInInterceptor.java:92)
>      [java]     at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:159)
>      [java]     at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:64)
>      [java]     at org.apache.cxf.transport.http.JettyHTTPDestination.serviceRequest(JettyHTTPDestination.java:296)
>      [java]     at org.apache.cxf.transport.http.JettyHTTPDestination.doService(JettyHTTPDestination.java:268)
>      [java]     at org.apache.cxf.transport.http.JettyHTTPDestination$2.handle(JettyHTTPDestination.java:126)


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message