You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Ryan Moquin (JIRA)" <ji...@apache.org> on 2008/07/13 02:31:00 UTC
[jira] Created: (SM-1456) Statistics Service throws NPE on startup.
Statistics Service throws NPE on startup.
-----------------------------------------
Key: SM-1456
URL: https://issues.apache.org/activemq/browse/SM-1456
Project: ServiceMix
Issue Type: Bug
Components: servicemix-components
Environment: Windows XP
Reporter: Ryan Moquin
Priority: Minor
Fix For: 3.2.2
I received this exception on startup, upon some discussion on the list, it appears that maybe a service sent a message to the Statistics Service before it was ready and generated an NPE. Something should be done to prevent this from happening.
WARN - DeliveryChannelImpl - Error calling listener: null
java.lang.NullPointerException
at org.apache.servicemix.jbi.monitoring.StatisticsService.onExchangeAccepted(StatisticsService.java:307)
at org.apache.servicemix.jbi.monitoring.StatisticsService$3.exchangeAccepted(StatisticsService.java:186)
at org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:598)
at org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:172)
at org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:167)
at org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:134)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (SM-1456) Statistics Service throws NPE on startup.
Posted by "Freeman Fang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/SM-1456?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Freeman Fang updated SM-1456:
-----------------------------
Fix Version/s: 3.3.1
3.4
(was: 3.3)
> Statistics Service throws NPE on startup.
> -----------------------------------------
>
> Key: SM-1456
> URL: https://issues.apache.org/activemq/browse/SM-1456
> Project: ServiceMix
> Issue Type: Bug
> Components: servicemix-components
> Environment: Windows XP
> Reporter: Ryan Moquin
> Priority: Minor
> Fix For: 3.3.1, 3.4
>
>
> I received this exception on startup, upon some discussion on the list, it appears that maybe a service sent a message to the Statistics Service before it was ready and generated an NPE. Something should be done to prevent this from happening.
> WARN - DeliveryChannelImpl - Error calling listener: null
> java.lang.NullPointerException
> at org.apache.servicemix.jbi.monitoring.StatisticsService.onExchangeAccepted(StatisticsService.java:307)
> at org.apache.servicemix.jbi.monitoring.StatisticsService$3.exchangeAccepted(StatisticsService.java:186)
> at org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:598)
> at org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:172)
> at org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:167)
> at org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:134)
> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (SM-1456) Statistics Service throws NPE on startup.
Posted by "Freeman Fang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/SM-1456?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Freeman Fang updated SM-1456:
-----------------------------
Fix Version/s: 3.3
(was: 3.2.2)
> Statistics Service throws NPE on startup.
> -----------------------------------------
>
> Key: SM-1456
> URL: https://issues.apache.org/activemq/browse/SM-1456
> Project: ServiceMix
> Issue Type: Bug
> Components: servicemix-components
> Environment: Windows XP
> Reporter: Ryan Moquin
> Priority: Minor
> Fix For: 3.3
>
>
> I received this exception on startup, upon some discussion on the list, it appears that maybe a service sent a message to the Statistics Service before it was ready and generated an NPE. Something should be done to prevent this from happening.
> WARN - DeliveryChannelImpl - Error calling listener: null
> java.lang.NullPointerException
> at org.apache.servicemix.jbi.monitoring.StatisticsService.onExchangeAccepted(StatisticsService.java:307)
> at org.apache.servicemix.jbi.monitoring.StatisticsService$3.exchangeAccepted(StatisticsService.java:186)
> at org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:598)
> at org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:172)
> at org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:167)
> at org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:134)
> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (SM-1456) Statistics Service throws NPE on
startup.
Posted by "Gert Vanthienen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/SM-1456?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=46871#action_46871 ]
Gert Vanthienen commented on SM-1456:
-------------------------------------
The previous fix introduced a NPE in the initEndpointLIstener method, new fix in rev. 708639, 708646 and 708647
{noformat}
Caused by: java.lang.NullPointerException
at org.apache.servicemix.jbi.monitoring.StatisticsService.initEndpointListener(StatisticsService.java:206)
at org.apache.servicemix.jbi.monitoring.StatisticsService.init(StatisticsService.java:161)
at org.apache.servicemix.jbi.container.JBIContainer.init(JBIContainer.java:608)
at org.apache.servicemix.jbi.container.SpringJBIContainer.afterPropertiesSet(SpringJBIContainer.java:66)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1203)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1172)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:427)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:249)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:155)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:246)
.....
{noformat}
> Statistics Service throws NPE on startup.
> -----------------------------------------
>
> Key: SM-1456
> URL: https://issues.apache.org/activemq/browse/SM-1456
> Project: ServiceMix
> Issue Type: Bug
> Components: servicemix-components
> Environment: Windows XP
> Reporter: Ryan Moquin
> Assignee: Gert Vanthienen
> Priority: Minor
> Fix For: 3.3.1, 3.4
>
>
> I received this exception on startup, upon some discussion on the list, it appears that maybe a service sent a message to the Statistics Service before it was ready and generated an NPE. Something should be done to prevent this from happening.
> WARN - DeliveryChannelImpl - Error calling listener: null
> java.lang.NullPointerException
> at org.apache.servicemix.jbi.monitoring.StatisticsService.onExchangeAccepted(StatisticsService.java:307)
> at org.apache.servicemix.jbi.monitoring.StatisticsService$3.exchangeAccepted(StatisticsService.java:186)
> at org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:598)
> at org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:172)
> at org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:167)
> at org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:134)
> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (SM-1456) Statistics Service throws NPE on
startup.
Posted by "Anna Silchenko-Wei (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/SM-1456?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=46785#action_46785 ]
Anna Silchenko-Wei commented on SM-1456:
----------------------------------------
I am getting same problem with fuse-esb-3.3.1.8 on Linux.
> Statistics Service throws NPE on startup.
> -----------------------------------------
>
> Key: SM-1456
> URL: https://issues.apache.org/activemq/browse/SM-1456
> Project: ServiceMix
> Issue Type: Bug
> Components: servicemix-components
> Environment: Windows XP
> Reporter: Ryan Moquin
> Assignee: Gert Vanthienen
> Priority: Minor
> Fix For: 3.3.1, 3.4
>
>
> I received this exception on startup, upon some discussion on the list, it appears that maybe a service sent a message to the Statistics Service before it was ready and generated an NPE. Something should be done to prevent this from happening.
> WARN - DeliveryChannelImpl - Error calling listener: null
> java.lang.NullPointerException
> at org.apache.servicemix.jbi.monitoring.StatisticsService.onExchangeAccepted(StatisticsService.java:307)
> at org.apache.servicemix.jbi.monitoring.StatisticsService$3.exchangeAccepted(StatisticsService.java:186)
> at org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:598)
> at org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:172)
> at org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:167)
> at org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:134)
> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (SM-1456) Statistics Service throws NPE on
startup.
Posted by "Gert Vanthienen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/SM-1456?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gert Vanthienen resolved SM-1456.
---------------------------------
Resolution: Fixed
Fixed...
- in http://svn.eu.apache.org/viewvc?view=rev&revision=707622 for the 3.2.x branch
- in http://svn.eu.apache.org/viewvc?view=rev&revision=707637 for the 3.3.x branch
- in http://svn.eu.apache.org/viewvc?view=rev&revision=707628 for trunk
> Statistics Service throws NPE on startup.
> -----------------------------------------
>
> Key: SM-1456
> URL: https://issues.apache.org/activemq/browse/SM-1456
> Project: ServiceMix
> Issue Type: Bug
> Components: servicemix-components
> Environment: Windows XP
> Reporter: Ryan Moquin
> Assignee: Gert Vanthienen
> Priority: Minor
> Fix For: 3.3.1, 3.4
>
>
> I received this exception on startup, upon some discussion on the list, it appears that maybe a service sent a message to the Statistics Service before it was ready and generated an NPE. Something should be done to prevent this from happening.
> WARN - DeliveryChannelImpl - Error calling listener: null
> java.lang.NullPointerException
> at org.apache.servicemix.jbi.monitoring.StatisticsService.onExchangeAccepted(StatisticsService.java:307)
> at org.apache.servicemix.jbi.monitoring.StatisticsService$3.exchangeAccepted(StatisticsService.java:186)
> at org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:598)
> at org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:172)
> at org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:167)
> at org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:134)
> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Assigned: (SM-1456) Statistics Service throws NPE on
startup.
Posted by "Gert Vanthienen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/SM-1456?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gert Vanthienen reassigned SM-1456:
-----------------------------------
Assignee: Gert Vanthienen
> Statistics Service throws NPE on startup.
> -----------------------------------------
>
> Key: SM-1456
> URL: https://issues.apache.org/activemq/browse/SM-1456
> Project: ServiceMix
> Issue Type: Bug
> Components: servicemix-components
> Environment: Windows XP
> Reporter: Ryan Moquin
> Assignee: Gert Vanthienen
> Priority: Minor
> Fix For: 3.3.1, 3.4
>
>
> I received this exception on startup, upon some discussion on the list, it appears that maybe a service sent a message to the Statistics Service before it was ready and generated an NPE. Something should be done to prevent this from happening.
> WARN - DeliveryChannelImpl - Error calling listener: null
> java.lang.NullPointerException
> at org.apache.servicemix.jbi.monitoring.StatisticsService.onExchangeAccepted(StatisticsService.java:307)
> at org.apache.servicemix.jbi.monitoring.StatisticsService$3.exchangeAccepted(StatisticsService.java:186)
> at org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:598)
> at org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:172)
> at org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:167)
> at org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:134)
> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.