The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

Thushara (1) [Avatar] Offline
#1
Hi,

I try to run cheapflow sample on chapter 4 but got following exception. I use SMX 3.2.3 components Appreciate for any help for this?

INFO - MessageLogger - received payload <?xml version="1.0" encoding="UTF-8"?><isbn>1010101010</isbn>
INFO - AggregateMessageLogger - received quote 1010101010, 20.5, Amazon
INFO - AggregateMessageLogger - state is not active so ignoring call
Warning:
The attribute axis starting at a document node will never select anything
ERROR - SaxonComponent - Error processing exchange InOut[
id: ID:127.0.1.1-126d669545d-2:87
status: Active
role: provider
service: {http://esbinaction.com/examples}transformToQuote
endpoint: toQuoteEndpoint
in: <?xml version="1.0" encoding="UTF-8"?><book-information isbn="1010101010"><book-price>25.3</book-price><store-name>BarnesAndNoble</store-name></book-information>
out: null
]
java.lang.NullPointerException
at net.sf.saxon.event.ReceivingContentHandler.getNameCode(ReceivingContentHandler.java:407)
at net.sf.saxon.event.ReceivingContentHandler.startElement(ReceivingContentHandler.java:331)
at org.apache.servicemix.soap.util.stax.StaxSource.parse(StaxSource.java:115)
at org.apache.servicemix.soap.util.stax.StaxSource.parse(StaxSource.java:230)
at net.sf.saxon.event.Sender.sendSAXSource(Sender.java:404)
at net.sf.saxon.event.Sender.send(Sender.java:193)
at net.sf.saxon.event.Sender.send(Sender.java:50)
at net.sf.saxon.Controller.transform(Controller.java:1611)
at org.apache.servicemix.saxon.XsltEndpoint.transformContent(XsltEndpoint.java:12smilie
at org.apache.servicemix.saxon.XsltEndpoint.transform(XsltEndpoint.java:101)
at org.apache.servicemix.saxon.SaxonEndpoint.processInOut(SaxonEndpoint.java:237)
at org.apache.servicemix.common.endpoints.ProviderEndpoint.process(ProviderEndpoint.java:111)
at org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:627)
at org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:581)
at org.apache.servicemix.common.AsyncBaseLifeCycle.onMessageExchange(AsyncBaseLifeCycle.java:535)
at org.apache.servicemix.common.SyncLifeCycleWrapper.onMessageExchange(SyncLifeCycleWrapper.java:60)
at org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:623)
at org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:172)
at org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:16smilie
at org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:134)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
at java.lang.Thread.run(Thread.java:595)
WARN - SimpleEndpoint - SimpleEndpoint.fail called:




Thanks,