JoshuaKissoon / Kademlia

A Java implementation of Kademlia Routing Protocol and DHT
MIT License
193 stars 73 forks source link

Getting content from reloaded node NullPointerException #9

Closed JoshuaKissoon closed 10 years ago

JoshuaKissoon commented 10 years ago

When we save the state of a Node and reload this state; then searches for content on this node throws a NullPointerException.

Seems to be some issue with missing values in the DHT.

JoshuaKissoon commented 10 years ago

Fixed! The problem was that the Configuration and the Serializer in the DHT was null when the DHT was reloaded from the saved state! Setup a method to re-initialize those! Now it's working all good!