I was just messing with nodes.config and inadvertantly added A SINGLE BLANK
LINE to the end.
Horrors.

The node emits the following on startup

java.lang.NullPointerException
        at Freenet.node.Node.startNode(Node.java)
        at Freenet.node.Node.main(Node.java)
        at Freenet.node.gui.GUINode.<init>(GUINode.java)
        at Freenet.node.gui.GUINode.main(GUINode.java)


But the node 'keeps running'.  I would kinda expect it to do one of the
following two things:
1.    Stop
2.    Keep going and ignore nodes.config

But no.  In this state, requests and inserts time out:

Freenet Core running on 1167 (build 391)
Authentication timed out
Freenet.ConnectFailedException
        at Freenet.Core.makeConnection(Core.java)
        at Freenet.client.FNPClient$BInstance.prepare(FNPClient.java)
        at Freenet.client.FNPClient$BRequestInstance.prepare(FNPClient.java)
        at Freenet.client.FNPClient$BInstance.run(FNPClient.java)
        at java.lang.Thread.run(Unknown Source)
A fatal exception occured while processing: Freenet.ConnectFailedException
Encountered the following exceptions while attempting to Request:
Freenet.ConnectFailedException
        at Freenet.Core.makeConnection(Core.java)
        at Freenet.client.FNPClient$BInstance.prepare(FNPClient.java)
        at Freenet.client.FNPClient$BRequestInstance.prepare(FNPClient.java)
        at Freenet.client.FNPClient$BInstance.run(FNPClient.java)
        at java.lang.Thread.run(Unknown Source)
State "FAILED" reached.


Also, although on my config, FProxy will start automatically, with the
''corrupted'' nodes.config FProxy isn't started. So, for example, on a
Windows system, everything would look like it's working, but it wouldn't
really be.  Because the node hasn't stopped, hops is a happy smiling bunny,
but the gateway page doesn't load and nuffink werks.


Dave


_______________________________________________
Devl mailing list
Devl at freenetproject.org
http://lists.freenetproject.org/mailman/listinfo/devl

Reply via email to