I started up a top of tree server and got a few of these:
java.lang.NullPointerException:
at Freenet.SendFailedException.<init>(SendFailedException.java:9)
at Freenet.Message.sendBack(Message.java:278)
at Freenet.message.InsertReply.pReceived(InsertReply.java:33)
at Freenet.Message.received(Message.java:166)
at
Freenet.node.StandardMessageHandler.handle(StandardMessageHandler.java:86)
at Freenet.ConnectionHandler.run(ConnectionHandler.java:95)
So I peeked at SendFailedException.java and changed
9c9
< super("Failed to connect to " + addr.toString());
---
> super("Failed to connect to " + (addr==null? "NULL" :addr.toString()));
I expect that this is probably hiding some other bug having to do with
connections
going away when half-connected or trying to make connections to invalidly
specified
destinations, but I've not got enough of a handle on how things work to truly
debug it.
--pj
_______________________________________________
Freenet-dev mailing list
Freenet-dev at lists.sourceforge.net
http://lists.sourceforge.net/mailman/listinfo/freenet-dev