Skip to content

Instantly share code, notes, and snippets.

@cmoulliard
Created October 18, 2013 16:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cmoulliard/7044362 to your computer and use it in GitHub Desktop.
Save cmoulliard/7044362 to your computer and use it in GitHub Desktop.
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.fusesource.workshop.cdi.cxf.WebServiceCamelCdiDeploymentTest
[ main] Version INFO WELD-000900 1.1.5 (Final)
Oct 18, 2013 6:48:06 PM org.apache.deltaspike.core.util.ClassDeactivationUtils cacheResult
INFO: class: org.apache.deltaspike.core.impl.config.ConfigurationExtension activated=true
Oct 18, 2013 6:48:06 PM org.apache.deltaspike.core.util.ClassDeactivationUtils cacheResult
INFO: class: org.apache.deltaspike.core.impl.exclude.extension.ExcludeExtension activated=true
Oct 18, 2013 6:48:06 PM org.apache.deltaspike.core.util.ClassDeactivationUtils cacheResult
INFO: class: org.apache.deltaspike.core.impl.exclude.GlobalAlternative activated=true
Oct 18, 2013 6:48:06 PM org.apache.deltaspike.core.util.ClassDeactivationUtils cacheResult
INFO: class: org.apache.deltaspike.core.impl.exclude.CustomProjectStageBeanFilter activated=true
Oct 18, 2013 6:48:06 PM org.apache.deltaspike.core.util.ClassDeactivationUtils cacheResult
INFO: class: org.apache.deltaspike.core.impl.exception.control.extension.ExceptionControlExtension activated=true
Oct 18, 2013 6:48:06 PM org.apache.deltaspike.core.util.ClassDeactivationUtils cacheResult
INFO: class: org.apache.deltaspike.core.impl.message.MessageBundleExtension activated=true
Oct 18, 2013 6:48:06 PM org.apache.deltaspike.core.util.ProjectStageProducer initProjectStage
INFO: Computed the following DeltaSpike ProjectStage: Production
[ main] CdiCamelContext INFO Apache Camel 2.12.1 (CamelContext: cxf) is starting
[ main] ManagedManagementStrategy INFO JMX is enabled
[ main] DefaultTypeConverter INFO Loaded 193 type converters
[ main] CdiCamelContext INFO StreamCaching is not in use. If using streams then its recommended to enable stream caching. See more details at http://camel.apache.org/stream-caching.html
[ main] CdiCamelContext INFO Total 0 routes, of which 0 is started.
[ main] CdiCamelContext INFO Apache Camel 2.12.1 (CamelContext: cxf) started in 0.205 seconds
[ main] ReflectionServiceFactoryBean INFO Creating Service {http://service.workshop.fusesource.org}DocumentsService from class org.fusesource.workshop.service.Documents
[ main] ServerImpl INFO Setting the server's publish address to be http://localhost:9090/cxf/service
[ main] Server INFO jetty-8.1.12.v20130726
[ main] AbstractConnector INFO Started SelectChannelConnector@localhost:9090
[ main] CdiCamelContext INFO Route: fromWebServiceToQueue started and consuming from: Endpoint[http://localhost:9090/cxf/service]
[ qtp722271750-19] documents INFO Inbound Message
----------------------------
ID: 1
Address: http://localhost:9090/cxf/service
Encoding: UTF-8
Http-Method: POST
Content-Type: text/xml;charset=UTF-8
Headers: {accept-encoding=[gzip,deflate], Content-Length=[273], content-type=[text/xml;charset=UTF-8], Host=[localhost:9090], SOAPAction=["http://service.workshop.fusesource.org/getDocumentById"], User-Agent=[Jakarta Commons-HttpClient/3.1]}
Payload: <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ser="http://service.workshop.fusesource.org">
<soapenv:Header/>
<soapenv:Body>
<ser:documentId>
<id>88</id>
</ser:documentId>
</soapenv:Body>
</soapenv:Envelope>
--------------------------------------
[ qtp722271750-19] CxfConsumer ERROR Error processing request
java.lang.NullPointerException
at org.apache.camel.util.UnitOfWorkHelper.createUoW(UnitOfWorkHelper.java:49)
at org.apache.camel.impl.DefaultConsumer.createUoW(DefaultConsumer.java:86)
at org.apache.camel.component.cxf.CxfConsumer$1.prepareCamelExchange(CxfConsumer.java:193)
at org.apache.camel.component.cxf.CxfConsumer$1.asyncInvoke(CxfConsumer.java:83)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment