juddi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kurt T Stam (JIRA)" <juddi-...@ws.apache.org>
Subject [jira] Closed: (JUDDI-393) Still receiving null pointer exception when notifying subscriptions filtered other than find_service
Date Wed, 05 May 2010 00:22:02 GMT

     [ https://issues.apache.org/jira/browse/JUDDI-393?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Kurt T Stam closed JUDDI-393.
-----------------------------

    Fix Version/s: 3.0.2
       Resolution: Fixed

Changed the 'or' to an 'and'. This should do it.

> Still receiving null pointer exception when notifying subscriptions filtered other than
find_service
> ----------------------------------------------------------------------------------------------------
>
>                 Key: JUDDI-393
>                 URL: https://issues.apache.org/jira/browse/JUDDI-393
>             Project: jUDDI
>          Issue Type: Bug
>    Affects Versions: 3.0.2
>         Environment: Tomcat 6.0.10, PostgreSQL 8.4
>            Reporter: Jason Brown
>            Assignee: Kurt T Stam
>             Fix For: 3.0.2
>
>
> After getting the latest code from the repository we were still receiving the null pointer
exception when saving subscriptions which did not contain the filter save_service as referenced
in JUDDI-389. 
> As a workaround, we changed the following code (line 220, SubscriptionNotifier.java)
:
> if (resultList.getServiceList()!=null || (resultList.getServiceList().getServiceInfos()!=null
&&resultList.getServiceList().getServiceInfos().getServiceInfo().size() == 0)) {
>  				resultList.getServiceList().setServiceInfos(null);
> }
> to:
> 			if (resultList.getServiceList() != null) {
> 			  if (resultList.getServiceList().getServiceInfos()!=null &&
> 						resultList.getServiceList().getServiceInfos().getServiceInfo().size() == 0) {
> 							resultList.getServiceList().setServiceInfos(null);
> 				}
> 			}
> and have been receiving favorable results with the other find_xxx and get_xxx filters
in our subscriptions.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message