[jboss-jira] [JBoss JIRA] Resolved: (JBAS-6783) NPE when setting 'messageCounterHistoryDayLimit' prop on JMS Topics
Howard Gao (JIRA)
jira-events at lists.jboss.org
Fri Jun 26 22:24:56 EDT 2009
[ https://jira.jboss.org/jira/browse/JBAS-6783?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Howard Gao resolved JBAS-6783.
------------------------------
Resolution: Done
fixed
> 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:
> <attribute name="MessageCounterHistoryDayLimit">10</attribute>
> 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