[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-226?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12648725#action_12648725
 ] 

Mahadev konar commented on ZOOKEEPER-226:
-----------------------------------------

java.lang.NullPointerException
        at org.apache.zookeeper.server.DataNode.copyStat(DataNode.java:99)
        at org.apache.zookeeper.server.DataTree.statNode(DataTree.java:419)
        at org.apache.zookeeper.server.FinalRequestProcessor.processRequest(Fina
lRequestProcessor.java:179)
        at org.apache.zookeeper.server.SyncRequestProcessor.flush(SyncRequestPro
cessor.java:117)
        at org.apache.zookeeper.server.SyncRequestProcessor.run(SyncRequestProce
ssor.java:77)

here is the exception stack trace.

> exists calls fails on server if node has null data
> --------------------------------------------------
>
>                 Key: ZOOKEEPER-226
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-226
>             Project: Zookeeper
>          Issue Type: Bug
>          Components: server
>    Affects Versions: 3.0.0
>            Reporter: Patrick Hunt
>            Assignee: Mahadev konar
>            Priority: Blocker
>             Fix For: 3.0.1, 3.1.0
>
>
> An NPE will be generated on the server (and resulting in client getting 
> MarshallingException) if exists() is called on a node with null data.
> workaround is to create the node with non-null data.
> be sure to update the tests for this case

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

Reply via email to