You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shindig.apache.org by "jessehu (JIRA)" <ji...@apache.org> on 2008/06/16 11:33:45 UTC

[jira] Created: (SHINDIG-384) NullPointerException when retrieving PersonAppData

NullPointerException when retrieving PersonAppData
--------------------------------------------------

                 Key: SHINDIG-384
                 URL: https://issues.apache.org/jira/browse/SHINDIG-384
             Project: Shindig
          Issue Type: Bug
          Components: OpenSocial  feature (Javascript)
         Environment: Windows / Linux
Shindig trunk
            Reporter: jessehu
            Priority: Critical


NullPointerException thrown when fetching a key with a null value using getPersonAppData request, because there is no null check in functions translateObjectToJson(Object val) and convertMethodsToJson(Object pojo) in social/opensocial/util/BeanJsonConverter.java.

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


[jira] Commented: (SHINDIG-384) NullPointerException when retrieving PersonAppData

Posted by "jessehu (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SHINDIG-384?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12605481#action_12605481 ] 

jessehu commented on SHINDIG-384:
---------------------------------

That's it!  Thanks :)

> NullPointerException when retrieving PersonAppData
> --------------------------------------------------
>
>                 Key: SHINDIG-384
>                 URL: https://issues.apache.org/jira/browse/SHINDIG-384
>             Project: Shindig
>          Issue Type: Bug
>          Components: OpenSocial  feature (Javascript)
>         Environment: Windows / Linux
> Shindig trunk
>            Reporter: jessehu
>            Assignee: Cassie Doll
>            Priority: Critical
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> NullPointerException thrown when fetching a key with a null value using getPersonAppData request, because there is no null check in functions translateObjectToJson(Object val) and convertMethodsToJson(Object pojo) in social/opensocial/util/BeanJsonConverter.java.

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


[jira] Resolved: (SHINDIG-384) NullPointerException when retrieving PersonAppData

Posted by "Cassie Doll (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SHINDIG-384?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Cassie Doll resolved SHINDIG-384.
---------------------------------

    Resolution: Fixed
      Assignee: Cassie Doll

Thanks for reporting this!
I think I fixed what you were talking about but if I missed something just add an example test case and I can make sure it passes. 

> NullPointerException when retrieving PersonAppData
> --------------------------------------------------
>
>                 Key: SHINDIG-384
>                 URL: https://issues.apache.org/jira/browse/SHINDIG-384
>             Project: Shindig
>          Issue Type: Bug
>          Components: OpenSocial  feature (Javascript)
>         Environment: Windows / Linux
> Shindig trunk
>            Reporter: jessehu
>            Assignee: Cassie Doll
>            Priority: Critical
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> NullPointerException thrown when fetching a key with a null value using getPersonAppData request, because there is no null check in functions translateObjectToJson(Object val) and convertMethodsToJson(Object pojo) in social/opensocial/util/BeanJsonConverter.java.

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