-
Bug
-
Resolution: Done
-
Major
-
JBossAS-5.1.0.CR1
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);
- is related to
-
JBAS-6620 JON/Open Console Issues
- Closed