jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jukka Zitting (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (JCR-681) NullPointerException in ServerRow
Date Mon, 18 Dec 2006 08:53:21 GMT
     [ http://issues.apache.org/jira/browse/JCR-681?page=all ]

Jukka Zitting resolved JCR-681.
-------------------------------

    Resolution: Fixed

Fixed in revision 488157.

> NullPointerException in ServerRow
> ---------------------------------
>
>                 Key: JCR-681
>                 URL: http://issues.apache.org/jira/browse/JCR-681
>             Project: Jackrabbit
>          Issue Type: Bug
>          Components: rmi
>    Affects Versions: 1.0, 1.0.1, 1.1, 0.9, 1.1.1
>            Reporter: Jukka Zitting
>         Assigned To: Jukka Zitting
>            Priority: Minor
>             Fix For: 1.2
>
>
> A NullPointerException occurs in ServerRow.getValues() when the underlying Value array
contains a null reference. See http://www.nabble.com/exception-after-calling-webdav-search-command-tf2826750.html
for the details.
> java.lang.NullPointerException
>      at org.apache.jackrabbit.rmi.value.StatefulValueAdapter.getType(StatefulValueAdapter.java:98)
>      at org.apache.jackrabbit.rmi.value.SerialValue.<init>(SerialValue.java:65)
>      at org.apache.jackrabbit.rmi.value.SerialValueFactory.makeSerialValue(SerialValueFactory.java:100)
>      at org.apache.jackrabbit.rmi.value.SerialValueFactory.makeSerialValueArray(SerialValueFactory.java:77)
>      at org.apache.jackrabbit.rmi.server.ServerRow.getValues(ServerRow.java:58)
> The best solution would be to explicitly handle nulls in SerialValueFactory.makeSerialValue().

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message