[freenet-support] NPEs and other exceptions with 5085

2004-07-23 Thread Nomen Nescio
Java HotSpot(TM) Client VM (build 1.4.2_03-b02, mixed mode) on Linux
2.6.7, Athlon XP.  The IOExceptions are during startup, the others
when the node is running.  There is also a typo in MuxConnectionHandler.java:
'utbound' rather than 'outbound'.
23.07.2004 17:40:34 (freenet.node.rt.NGRoutingTable, main, ERROR): Caught 
java.io.IOException: Value out of range: 450.0 deserializing a NodeEstimator for 
DataObjectRoutingMemory:tcp/x.x.x.x:x, sessions=1, presentations=3, ID=DSA(  
        ), 
version=Fred,0.5,STABLE-1.50,5085:
java.io.IOException: Value out of range: 450.0
at 
freenet.node.rt.BootstrappingDecayingRunningAverage.init(BootstrappingDecayingRunningAverage.java:163)
at 
freenet.node.rt.BootstrappingDecayingRunningAverageFactory.create(BootstrappingDecayingRunningAverageFactory.java:36)
at 
freenet.node.rt.SlidingBucketsKeyspaceEstimator.init(SlidingBucketsKeyspaceEstimator.java:158)
at 
freenet.node.rt.SlidingBucketsKeyspaceEstimatorFactory.createTime(SlidingBucketsKeyspaceEstimatorFactory.java:82)
at freenet.node.rt.StandardNodeEstimator.init(StandardNodeEstimator.java:563)
at 
freenet.node.rt.StandardNodeEstimatorFactory.create(StandardNodeEstimatorFactory.java:95)
at freenet.node.rt.NGRoutingTable.loadEstimators(NGRoutingTable.java:370)
at freenet.node.rt.NGRoutingTable.init(NGRoutingTable.java:187)
at freenet.node.Main.main(Main.java:858)
23.07.2004 17:43:04 (freenet.node.Node, YThread-105, ERROR): Error while receiving 
message freenet.Message: DataRequest @[EMAIL PROTECTED] 
MuxConnectionHandler[conn=[tcp/connection: x.x.x.x:xlocal,[EMAIL PROTECTED], [EMAIL 
PROTECTED], [EMAIL PROTECTED], identity=[DSA(         
 )], sock=[Socket[addr=/x.x.x.x,port=x,localport=x]], 
chan=[java.nio.channels.SocketChannel[connected local=/x.x.x.x:x remote=/x.x.x.x:x]], 
peer=[Peer [DSA(          ) @ x.x.x.x:x 
(1/3)]], utbound=[false]] @ d3e7e8e10e39862c in state [EMAIL PROTECTED] @ 
d3e7e8e10e39862c: java.lang.NullPointerException
java.lang.NullPointerException
at java.math.BigInteger.toString(BigInteger.java:2583)
at java.math.BigInteger.toString(BigInteger.java:2613)
at java.math.BigDecimal.toString(BigDecimal.java:931)
at java.math.BigDecimal.doubleValue(BigDecimal.java:1033)
at 
freenet.node.rt.SlidingBucketsKeyspaceEstimator.interpolate(SlidingBucketsKeyspaceEstimator.java:517)
at 
freenet.node.rt.SlidingBucketsKeyspaceEstimator.guess(SlidingBucketsKeyspaceEstimator.java:490)
at 
freenet.node.rt.SlidingBucketsKeyspaceEstimator.guessTime(SlidingBucketsKeyspaceEstimator.java:371)
at 
freenet.node.rt.StandardNodeEstimator.longEstimate(StandardNodeEstimator.java:861)
at freenet.node.rt.NodeEstimator.longEstimate(NodeEstimator.java:126)
at freenet.node.rt.NGRoutingTable.route(NGRoutingTable.java:661)
at freenet.node.rt.FilterRoutingTable.route(FilterRoutingTable.java:73)
at 
freenet.node.states.request.Pending.receivedRequestInitiator(Pending.java:419)
at 
freenet.node.states.request.DataPending.receivedMessage(DataPending.java:109)
at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at freenet.node.State.received(State.java:143)
at freenet.node.states.FNP.NewDataRequest.received(NewDataRequest.java:52)
at freenet.node.StateChain.received(StateChain.java:177)
at freenet.node.StateChain.received(StateChain.java:61)
at 
freenet.node.StateChainManagingMessageHandler$ChainContainer.run(StateChainManagingMessageHandler.java:332)
at 
freenet.node.StateChainManagingMessageHandler$ChainContainer.received(StateChainManagingMessageHandler.java:285)
at 
freenet.node.StateChainManagingMessageHandler$ChainContainer.access$100(StateChainManagingMessageHandler.java:204)
at 
freenet.node.StateChainManagingMessageHandler.handle(StateChainManagingMessageHandler.java:96)
at freenet.Ticker$Event.run(Ticker.java:323)
at freenet.thread.YThreadFactory$YThread.run(YThreadFactory.java:285)
23.07.2004 17:43:32 (freenet.node.Node, YThread-115, ERROR): Error while receiving 
message freenet.Message: DataRequest @[EMAIL PROTECTED] 
MuxConnectionHandler[conn=[tcp/connection: x.x.x.x:xlocal,[EMAIL PROTECTED], [EMAIL 
PROTECTED], [EMAIL PROTECTED], identity=[DSA(         
 )], sock=[Socket[addr=/x.x.x.x,port=x,localport=x]], 
chan=[java.nio.channels.SocketChannel[connected local=/x.x.x.x:x remote=/x.x.x.x:x]], 
peer=[Peer [DSA(          ) @ x.x.x.x:x 
(1/3)]], 

RE: [freenet-support] NPEs and other exceptions with 5085

2004-07-23 Thread Niklas Bergh
 There is also 
 a typo in MuxConnectionHandler.java: 'utbound' rather than 'outbound'.

Fixed now :)

/N 

___
Support mailing list
[EMAIL PROTECTED]
http://news.gmane.org/gmane.network.freenet.support
Unsubscribe at http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/support
Or mailto:[EMAIL PROTECTED]