[jbossws-issues] [JBoss JIRA] Updated: (JBWS-1964) showSubscriptionTable MBean Method - NullPointerException
Thomas Diesler (JIRA)
jira-events at lists.jboss.org
Mon Feb 18 03:20:34 EST 2008
[ http://jira.jboss.com/jira/browse/JBWS-1964?page=all ]
Thomas Diesler updated JBWS-1964:
---------------------------------
Fix Version/s: jbossws-native-2.0.4
> showSubscriptionTable MBean Method - NullPointerException
> ---------------------------------------------------------
>
> Key: JBWS-1964
> URL: http://jira.jboss.com/jira/browse/JBWS-1964
> Project: JBoss Web Services
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: ws-eventing
> Affects Versions: jbossws-2.0.1.SP2
> Environment: Windows XP MCE / JBoss 4.2.2.GA / JBossWS-native-2.0.1-SP2 / JDK 1.5_14
> Reporter: Antonio Souza
> Fix For: jbossws-native-2.0.4
>
> Original Estimate: 1 hour
> Remaining Estimate: 1 hour
>
> The showSubscriptionTable() method in the SubscriptionManager.java does not expect null FilterType object, thus raising NullPointerException:
> org.jboss.ws.extensions.eventing.mgmt.SubscriptionManager.java
> 460: pw.println("<tr><td>" + s.getIdentifier() + "</td><td>" + s.getExpires() + "</td><td>" + s.getFilter().getExpression() + "</td></tr>");
> the snippet:
> s.getFilter().getExpression()
> should be:
> ((s.getFilter() != null)?s.getFilter().getExpression():"")
> or something like that.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbossws-issues
mailing list