-
Bug
-
Resolution: Done
-
Major
-
jbossws-2.0.1.SP2
-
None
-
Windows XP MCE / JBoss 4.2.2.GA / JBossWS-native-2.0.1-SP2 / JDK 1.5_14
-
Workaround Exists
-
-
Low
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.