|
From: Patrick H. <ph...@gm...> - 2008-04-25 18:58:15
|
Is there a bug already on this? If not please create one with enough
detail to track it down. (example would be great)
Thanks,
Patrick
Ted Dunning wrote:
>
> I had this same issue.
>
> The real problem is that there should be a real error message in an
> IllegalArgument exception that is generated by the client code. Doing
> the round trip and causing an exception on the server is bad juju.
>
>
> On 4/25/08 10:01 AM, "Patrick Hunt" <ph...@gm...> wrote:
>
> I looked at the underlying code of the stack trace you provided.
> Looks like "path" in the watch event is null. Could this be
> possible? I don't think zk should allow users to create null path
> nodes - please enter a bug - a reproduceable test case would be great.
>
> Patrick
>
> On Thu, Apr 24, 2008 at 3:14 PM, Stefan Groschupf <sg...@10...> wrote:
>
> Hi,
> I'm running into a strange NPE.
> I basically have a watch object
> public void process(WatcherEvent event) {
> System.out.println("watch: " + event);
> }
>
> Starting up some of my tests show following stack in my logs:
>
> 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 java.lang.String.valueOf(String.java:2615)
> at java.lang.StringBuilder.append(StringBuilder.java:116)
> at net.sf.katta.ZKClient.process(ZKClient.java:41)
> at
> com.yahoo.zookeeper.ClientCnxn$EventThread.run(ClientCnxn.java:253)
>
> Is that a known problem, I couldn't found a bug report?
>
> Thanks.
> Stefan
>
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 101tec Inc.
> Menlo Park, California, USA
> http://www.101tec.com
>
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
> Don't miss this year's exciting event. There's still time to
> save $100.
> Use priority code J8TL2D2.
> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
> _______________________________________________
> Zookeeper-user mailing list
> Zoo...@li...
> https://lists.sourceforge.net/lists/listinfo/zookeeper-user
>
>
> ------------------------------------------------------------------------
> -------------------------------------------------------------------------
> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
> Don't miss this year's exciting event. There's still time to save $100.
> Use priority code J8TL2D2.
> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
> ------------------------------------------------------------------------
> _______________________________________________
> Zookeeper-user mailing list
> Zoo...@li...
> https://lists.sourceforge.net/lists/listinfo/zookeeper-user
>
>
|