You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by Ian Jupp <IJ...@rdfgroup.com> on 2006/03/15 17:14:32 UTC

HttpBinding Example fails with NullPointerException

Running the http binding example with the latest stable version of
servicemix fails (see below).  There are several other posts on this
subject, but I can't see a definitive answer.  I'm running it is a sar
file inside jboss (if that makes any difference).

 

16:12:38,512 ERROR [STDERR] [Fatal Error] :-1:-1: Premature end of file.

16:12:38,512 ERROR [STDERR] 16:12:38.512 WARN!! Exception for /

java.lang.NullPointerException

        at
org.servicemix.components.http.HttpMarshaler.toResponse(HttpMarshaler.ja
va:65)

        at
org.servicemix.components.http.HttpInOutBinding.processInOut(HttpInOutBi
nding.java:63)

        at
org.servicemix.components.http.HttpInOutBinding.process(HttpInOutBinding
.java:46)

        at
org.servicemix.components.http.BindingServlet.doPost(BindingServlet.java
:77)

        at javax.servlet.http.HttpServlet.service(HttpServlet.java:615)

        at javax.servlet.http.HttpServlet.service(HttpServlet.java:688)

        at
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:354)

        at
org.mortbay.jetty.servlet.ServletHandler.dispatch(ServletHandler.java:65
7)

        at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:567)

        at org.mortbay.http.HttpContext.handle(HttpContext.java:1807)

        at org.mortbay.http.HttpContext.handle(HttpContext.java:1757)

        at org.mortbay.http.HttpServer.service(HttpServer.java:879)

        at
org.mortbay.http.HttpConnection.service(HttpConnection.java:790)

        at
org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:961)

        at
org.mortbay.http.HttpConnection.handle(HttpConnection.java:807)

        at
org.mortbay.http.SocketListener.handleConnection(SocketListener.java:197
)

        at
org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:276)

        at
org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:511)


This transmission is confidential and intended solely for the person or organisation to whom it is addressed. It may contain privileged and confidential information. If you are not the intended recipient, you should not copy, distribute or take any action in reliance on it. If you have received this transmission in error, please notify the sender immediately. Any opinions or advice contained in this e-mail are those of the individual sender except where they are stated to be the views of RDF Group plc. All messages passing through this gateway are virus scanned.