Thanks for reporting this error. It occurs when shutting down the JBI
container, so I would not say that the example is not working.
I'm quite sure it is timing dependant so it may not happen each time. I'll
have a look at it and thanks for raising a JIRA.
On Dec 16, 2007 8:13 PM, Derek Lu <[EMAIL PROTECTED]> wrote:
>
> I have been using Mule for a long time. Now for a new project, I am
> evaluating ServiceMix. However the basic example from the latest release
> 3.2.1 does not run, as there is a NullPointException. I am kind
> disappointed
> about it. Then I tried the same example in previous release 3.2 and it
> worked fine. Also a friend of mine was evaluating ServiceMix for their
> company also, but he said how come the first basic example could not run.
> It
> seems that there are no good documents about the examples for ServiceMix.
> In order to attribute more user or customer, I think a little more work
> need
> to be done for the examples and documents. Following is the null point
> exception for the basic example in 3.2.1
>
> 2007-12-16 14:00:44,175 [ix ShutdownHook] INFO ConnectorServerFactoryBean
> -
> Stopping JMX connector server:
> [EMAIL PROTECTED]
> 685be9
> 2007-12-16 14:00:44,178 [ix ShutdownHook] INFO JBIContainer
> -
> ServiceMix JBI Container (ServiceMix) stopped
> 2007-12-16 14:00:44,364 [Sender-thread-1] ERROR JmsComponent
> -
> Error processing exchange InOnly[
> id: ID:192.168.1.103-116e454999a-7:0
> status: Active
> role: provider
> service:
> {http://servicemix.apache.org/demo/}inputSender<http://servicemix.apache.org/demo/%7DinputSender>
> endpoint: endpoint
> in: <?xml version="1.0" encoding="UTF-8"?><timer><name>My Example
> Job</name><g
> roup>ServiceMix</group><fullname>ServiceMix.My Example
> Job</fullname><descriptio
> n/><fireTime>Sun Dec 16 14:00:43 EST 2007</fireTime></timer>
> ]
> java.lang.NullPointerException
> at
> org.apache.servicemix.jms.multiplexing.MultiplexingProviderProcessor.
> process(MultiplexingProviderProcessor.java:139)
> at
> org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLi
> feCycle.java:538)
> at
> org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(Async
> BaseLifeCycle.java:490)
> at
> org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLife
> Cycle.java:46)
> at
> org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBoun
> d(DeliveryChannelImpl.java:610)
> at
> org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlo
> w.java:170)
> at
> org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.j
> ava:167)
> at
> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.jav
> a:134)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec
> utor.java:885)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
> .java:907)
> at java.lang.Thread.run(Thread.java:619)
> 2007-12-16 14:00:44,396 [Sender-thread-1] ERROR JmsComponent
> -
> Error setting exchange status to ERROR
>
> --
> View this message in context:
> http://www.nabble.com/NullpointException-of-basic-example-in-SM-3.2.1-%28what%27s-going-on----%29-tp14364907s12049p14364907.html
> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>
>
--
Cheers,
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/