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

Martin Schaaf commented on ZOOKEEPER-77:
----------------------------------------

I can confirm that the reason is a null path. if I set the path to a default 
string in case it is null the NPE is gone.

> NPE in jute toCSVString code
> ----------------------------
>
>                 Key: ZOOKEEPER-77
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-77
>             Project: Zookeeper
>          Issue Type: Bug
>          Components: jute
>            Reporter: Patrick Hunt
>            Assignee: Benjamin Reed
>             Fix For: 3.0.0
>
>
> As reported by user:
> From: Martin Schaaf <[EMAIL PROTECTED]>
> List-Id: <zookeeper-user.lists.sourceforge.net>
> FYI today I found this NPE in the logs. After this Exception an Error  
> event was thrown.
> java.lang.NullPointerException
>       at com.yahoo.jute.Utils.toCSVString(Utils.java:128)
>       at com.yahoo.jute.CsvOutputArchive.writeString(CsvOutputArchive.java: 
> 95)
>       at com.yahoo.zookeeper.proto.WatcherEvent.toString(WatcherEvent.java: 
> 60)
>       at net.sf.katta.zk.ZKClient.process(ZKClient.java:404)
>       at com.yahoo.zookeeper.ClientCnxn$EventThread.run(ClientCnxn.java:264)

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