abdera-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James M Snell (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (ABDERA-160) NPE in AbstractProvider when building service doc for WorkspaceInfo with null CollectionInfo collection
Date Fri, 16 May 2008 04:30:56 GMT

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

James M Snell resolved ABDERA-160.
----------------------------------

       Resolution: Fixed
    Fix Version/s: 0.5.0

checked in 

> NPE in AbstractProvider when building service doc for WorkspaceInfo with null CollectionInfo
collection
> -------------------------------------------------------------------------------------------------------
>
>                 Key: ABDERA-160
>                 URL: https://issues.apache.org/jira/browse/ABDERA-160
>             Project: Abdera
>          Issue Type: Bug
>    Affects Versions: 0.5.0
>            Reporter: Christopher Elkins
>            Priority: Minor
>             Fix For: 0.5.0
>
>         Attachments: AbstractProvider.java.patch
>
>
> A NullPointerException occurs when AbstractProvider.getServiceDocument() encounters a
WorkspaceInfo instance for which getCollections() returns null:
> java.lang.NullPointerException
> 	at org.apache.abdera.protocol.server.impl.AbstractProvider$1.writeTo(AbstractProvider.java:303)
> 	at org.apache.abdera.protocol.server.context.StreamWriterResponseContext.writeEntity(StreamWriterResponseContext.java:94)
> 	at org.apache.abdera.protocol.server.context.SimpleResponseContext.writeTo(SimpleResponseContext.java:67)
> 	at org.apache.abdera.protocol.server.context.SimpleResponseContext.writeTo(SimpleResponseContext.java:60)
> 	at org.apache.abdera.protocol.server.servlet.AbderaServlet.output(AbderaServlet.java:129)
> 	at org.apache.abdera.protocol.server.servlet.AbderaServlet.service(AbderaServlet.java:90)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>         ...

-- 
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