Petals Sample Clock

NPE invoking the operation "time" with the MEP "InOnly"

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.7.2
  • Fix Version/s: 1.7.3
  • Component/s: None
  • Security Level: Public
  • Description:
    Hide

    The following NPE occurs when invoking the operation "time" with the MEP "InOnly":

    sample-0 2014/08/11 11:02:56,714 GMT+0200 INFO [Petals.Container.Components.petals-sample-client] : SampleClient try to send
    sample-0 2014/08/11 11:02:56,720 GMT+0200 MONIT [Petals.Container.Components.petals-sample-clock] : traceCode = 'provideFlowStepBegin', flowInstanceId = null, flowStepId = null, flowStepInterfaceName = '{http://petals.ow2.org}Clock', flowStepServiceName = '{http://petals.ow2.org}ClockService', flowStepOperationName = 'time', flowStepEndpointName = 'edpt-4c9f3f00-198f-11e4-bd7e-00216a6479c0', flowPreviousStepId = null
    sample-0 2014/08/11 11:02:56,726 GMT+0200 WARNING [Petals.Container.Components.petals-sample-clock] : Start date item not found into the probe about response times of service providers. Metric values can be uncorrect.
    sample-0 2014/08/11 11:02:56,727 GMT+0200 SEVERE [Petals.Container.Components.petals-sample-clock] : null
    java.lang.NullPointerException
    	at org.ow2.petals.probes.key.ExecutionStatusProbeKeyImpl.toStringArray(ExecutionStatusProbeKeyImpl.java:57)
    	at org.ow2.petals.probes.impl.KeyedCounterProbeImpl.move(KeyedCounterProbeImpl.java:192)
    	at org.ow2.petals.probes.impl.KeyedCounterProbeWithExecutionStatusImpl.move(KeyedCounterProbeWithExecutionStatusImpl.java:83)
    	at org.ow2.petals.component.framework.process.MessageExchangeProcessor.processAsProvider(MessageExchangeProcessor.java:521)
    	at org.ow2.petals.component.framework.process.MessageExchangeProcessor.process(MessageExchangeProcessor.java:344)
    	at org.ow2.petals.component.framework.process.MessageExchangeProcessor.run(MessageExchangeProcessor.java:259)
    	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
    	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
    	at java.lang.Thread.run(Thread.java:662)
    sample-0 2014/08/11 11:02:56,729 GMT+0200 SEVERE [Petals.Container.Components.petals-sample-clock] : Cannot send back an error acknowledgement or a Fault
    javax.jbi.messaging.MessagingException: The Exchange is terminated.
    	at org.ow2.petals.jbi.messaging.exchange.MessageExchangeImpl.checkIsNotTerminated(MessageExchangeImpl.java:565)
    	at org.ow2.petals.jbi.messaging.exchange.MessageExchangeImpl.setMessage(MessageExchangeImpl.java:399)
    	at org.ow2.petals.jbi.messaging.exchange.MessageExchangeWrapper.setMessage(MessageExchangeWrapper.java:350)
    	at org.ow2.petals.microkernel.jbi.messaging.exchange.PersistedMessageExchangeWrapper.setMessage(PersistedMessageExchangeWrapper.java:284)
    	at org.ow2.petals.component.framework.message.ExchangeImpl.getMessageExchange(ExchangeImpl.java:483)
    	at org.ow2.petals.component.framework.process.MessageExchangeProcessor.run(MessageExchangeProcessor.java:282)
    	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
    	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
    	at java.lang.Thread.run(Thread.java:662)
    Show
    The following NPE occurs when invoking the operation "time" with the MEP "InOnly":
    sample-0 2014/08/11 11:02:56,714 GMT+0200 INFO [Petals.Container.Components.petals-sample-client] : SampleClient try to send
    sample-0 2014/08/11 11:02:56,720 GMT+0200 MONIT [Petals.Container.Components.petals-sample-clock] : traceCode = 'provideFlowStepBegin', flowInstanceId = null, flowStepId = null, flowStepInterfaceName = '{http://petals.ow2.org}Clock', flowStepServiceName = '{http://petals.ow2.org}ClockService', flowStepOperationName = 'time', flowStepEndpointName = 'edpt-4c9f3f00-198f-11e4-bd7e-00216a6479c0', flowPreviousStepId = null
    sample-0 2014/08/11 11:02:56,726 GMT+0200 WARNING [Petals.Container.Components.petals-sample-clock] : Start date item not found into the probe about response times of service providers. Metric values can be uncorrect.
    sample-0 2014/08/11 11:02:56,727 GMT+0200 SEVERE [Petals.Container.Components.petals-sample-clock] : null
    java.lang.NullPointerException
    	at org.ow2.petals.probes.key.ExecutionStatusProbeKeyImpl.toStringArray(ExecutionStatusProbeKeyImpl.java:57)
    	at org.ow2.petals.probes.impl.KeyedCounterProbeImpl.move(KeyedCounterProbeImpl.java:192)
    	at org.ow2.petals.probes.impl.KeyedCounterProbeWithExecutionStatusImpl.move(KeyedCounterProbeWithExecutionStatusImpl.java:83)
    	at org.ow2.petals.component.framework.process.MessageExchangeProcessor.processAsProvider(MessageExchangeProcessor.java:521)
    	at org.ow2.petals.component.framework.process.MessageExchangeProcessor.process(MessageExchangeProcessor.java:344)
    	at org.ow2.petals.component.framework.process.MessageExchangeProcessor.run(MessageExchangeProcessor.java:259)
    	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
    	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
    	at java.lang.Thread.run(Thread.java:662)
    sample-0 2014/08/11 11:02:56,729 GMT+0200 SEVERE [Petals.Container.Components.petals-sample-clock] : Cannot send back an error acknowledgement or a Fault
    javax.jbi.messaging.MessagingException: The Exchange is terminated.
    	at org.ow2.petals.jbi.messaging.exchange.MessageExchangeImpl.checkIsNotTerminated(MessageExchangeImpl.java:565)
    	at org.ow2.petals.jbi.messaging.exchange.MessageExchangeImpl.setMessage(MessageExchangeImpl.java:399)
    	at org.ow2.petals.jbi.messaging.exchange.MessageExchangeWrapper.setMessage(MessageExchangeWrapper.java:350)
    	at org.ow2.petals.microkernel.jbi.messaging.exchange.PersistedMessageExchangeWrapper.setMessage(PersistedMessageExchangeWrapper.java:284)
    	at org.ow2.petals.component.framework.message.ExchangeImpl.getMessageExchange(ExchangeImpl.java:483)
    	at org.ow2.petals.component.framework.process.MessageExchangeProcessor.run(MessageExchangeProcessor.java:282)
    	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
    	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
    	at java.lang.Thread.run(Thread.java:662)
  • Environment:
    -

Issue Links

Activity

Transition Status Change Time Execution Times Last Executer Last Execution Date
New New Open Open
1m 31s
1
Christophe DENEUX
Mon, 11 Aug 2014 - 12:17:09 +0200
Open Open In Progress In Progress
8s
1
Christophe DENEUX
Mon, 11 Aug 2014 - 12:17:17 +0200
In Progress In Progress Resolved Resolved
14m 47s
1
Christophe DENEUX
Mon, 11 Aug 2014 - 12:32:04 +0200

People

Dates

  • Created:
    Mon, 11 Aug 2014 - 12:15:38 +0200
    Updated:
    Mon, 11 Aug 2014 - 12:32:04 +0200
    Resolved:
    Mon, 11 Aug 2014 - 12:32:04 +0200