abdera-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christopher Elkins (JIRA)" <j...@apache.org>
Subject [jira] Updated: (ABDERA-160) NPE in AbstractProvider when building service doc for WorkspaceInfo with null CollectionInfo collection
Date Thu, 15 May 2008 17:01:55 GMT

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

Christopher Elkins updated ABDERA-160:
--------------------------------------

    Attachment: AbstractProvider.java.patch

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