You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@juddi.apache.org by "ShengTao Dong (JIRA)" <ju...@ws.apache.org> on 2010/04/29 04:36:48 UTC

[jira] Created: (JUDDI-389) After saving a subscription with a FindTModel filter, when notifying a change, got a null exception.

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.


[jira] Updated: (JUDDI-389) After saving a subscription with a FindTModel filter, when notifying a change, got a null exception.

Posted by "Kurt T Stam (JIRA)" <ju...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/JUDDI-389?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kurt T Stam updated JUDDI-389:
------------------------------

    Fix Version/s: 3.0.2

> 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
>             Fix For: 3.0.2
>
>
> 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.


[jira] Closed: (JUDDI-389) After saving a subscription with a FindTModel filter, when notifying a change, got a null exception.

Posted by "Kurt T Stam (JIRA)" <ju...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/JUDDI-389?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kurt T Stam closed JUDDI-389.
-----------------------------

    Resolution: Fixed

fixed NPE

> 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
>             Fix For: 3.0.2
>
>
> 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.