[ http://issues.apache.org/jira/browse/JCR-681?page=comments#action_12459471 ] Jukka Zitting commented on JCR-681: -----------------------------------
Merged to 1.2 in revision 488426. > 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.1.1, 1.1, 1.0.1, 1.0, 0.9 > 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
