After saving a subscription with a FindTModel filter, when notifying a change,
got a null exception.
-----------------------------------------------------------------------------------------------------
Key: JUDDI-389
URL: https://issues.apache.org/jira/browse/JUDDI-389
Project: jUDDI
Issue Type: Bug
Components: core
Affects Versions: 3.0
Environment: linux + jbossesb server 4.7
Reporter: ShengTao Dong
Assignee: Kurt T Stam
After saving a subscription with a FindTModel filter, when notifying a change,
got a null exception.
The statement is in class org.apache.juddi.subscription.SubscriptionNotifier,
and the method is notify, the line number is 218, the code is:
if (resultList.getServiceList().getServiceInfos()!=null &&
resultList.getServiceList().getServiceInfos().getServiceInfo().size() == 0)
The reason is that the serviceList is null in resultList, I checked code,
just when the filter has a FindService, there is a new serviceList is
initialized and set to resultList.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.