[jboss-jira] [JBoss JIRA] Assigned: (JBAS-6783) NPE when setting 'messageCounterHistoryDayLimit' prop on JMS Topics

Jason T. Greene (JIRA) jira-events at lists.jboss.org
Sat Jun 20 01:59:08 EDT 2009


     [ https://jira.jboss.org/jira/browse/JBAS-6783?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jason T. Greene reassigned JBAS-6783:
-------------------------------------

    Assignee: Howard Gao  (was: Jason T. Greene)


> NPE when setting 'messageCounterHistoryDayLimit' prop on JMS Topics
> -------------------------------------------------------------------
>
>                 Key: JBAS-6783
>                 URL: https://jira.jboss.org/jira/browse/JBAS-6783
>             Project: JBoss Application Server
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: JMS (JBoss Messaging)
>    Affects Versions: JBossAS-5.1.0.CR1
>            Reporter: Charles Crouch
>            Assignee: Howard Gao
>             Fix For: JBossAS-5.2.0.Beta1
>
>
> Setting the "MessageCounterHistoryDayLimit" in a topic deployment descriptor triggers an NPE:
> Caused by: java.lang.NullPointerException
> 	at org.jboss.jms.server.destination.ManagedTopic.getMessageCounters(ManagedTopic.java:159)
> 	at org.jboss.jms.server.destination.ManagedTopic.setMessageCounterHistoryDayLimit(ManagedTopic.java:191)
> Also See https://jira.jboss.org/jira/browse/JBAS-6721?focusedCommentId=12460246#action_12460246 .
> The problem is that the property is only expected to be set at runtime, AFTER the topic has started:
>  Collection queues = serverPeer.getPostOfficeInstance().getQueuesForCondition(new JMSCondition(false, name), true);

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list