#1 RuntimeException when creating a local chord network.

1.0.1
closed-fixed
2
2014-07-19
2006-06-22
No

When I create a new chord network, randomly appears
the follow error:

create -names mypeer0
Creating new chord network.
- Endpoint for Node of type NodeImpl, id = 19 with url
oclocal://mypeer0/created.
- [ThreadEndpoint for node Node of type NodeImpl, id =
19 with name mypeer0 and URL oclocal://mypeer0/]
initialised.
- acceptEntries() called.
oc > - Nothing to stabilize, as successor is null
- fixFingers tries to get finger for key 19
- I appear to be the only node in the network, so I am
my own successor; return reference on me: 19
- Adding new reference 19 3F
- Trying to use local node Node of type NodeImpl, id =
19 with references. This is not possible.If you see
this Exception contact the developers!
java.lang.RuntimeException: Trying to use local node
Node of type NodeImpl, id = 19 with references. This
is not possible.If you see this Exception contact the
developers!
at
de.uniba.wiai.lspi.chord.service.impl.References.checkIfProxy(References.java:537)
at
de.uniba.wiai.lspi.chord.service.impl.References.addReference(References.java:251)
at
de.uniba.wiai.lspi.chord.service.impl.FixFingerTask.run(FixFingerTask.java:120)
at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417)
at
java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:280)
at
java.util.concurrent.FutureTask.runAndReset(FutureTask.java:135)
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:65)
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:142)
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:166)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
at java.lang.Thread.run(Thread.java:595)
- Exception caught in FixFingerTask! From now on,
periodic maintenance tasks are not executed any more!
java.lang.RuntimeException: Trying to use local node
Node of type NodeImpl, id = 19 with references. This
is not possible.If you see this Exception contact the
developers!
at
de.uniba.wiai.lspi.chord.service.impl.References.checkIfProxy(References.java:537)
at
de.uniba.wiai.lspi.chord.service.impl.References.addReference(References.java:251)
at
de.uniba.wiai.lspi.chord.service.impl.FixFingerTask.run(FixFingerTask.java:120)
at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417)
at
java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:280)
at
java.util.concurrent.FutureTask.runAndReset(FutureTask.java:135)
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:65)
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:142)
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:166)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
at java.lang.Thread.run(Thread.java:595)
- Check predecessor method has been invoked.
- Nothing to check, as predecessor is null
- Nothing to stabilize, as successor is null
- fixFingers tries to get finger for key 19
- I appear to be the only node in the network, so I am
my own successor; return reference on me: 19
- Adding new reference 19 3F
- Trying to use local node Node of type NodeImpl, id =
19 with references. This is not possible.If you see
this Exception contact the developers!
java.lang.RuntimeException: Trying to use local node
Node of type NodeImpl, id = 19 with references. This
is not possible.If you see this Exception contact the
developers!
at
de.uniba.wiai.lspi.chord.service.impl.References.checkIfProxy(References.java:537)
at
de.uniba.wiai.lspi.chord.service.impl.References.addReference(References.java:251)
at
de.uniba.wiai.lspi.chord.service.impl.FixFingerTask.run(FixFingerTask.java:120)
at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417)
at
java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:280)
at
java.util.concurrent.FutureTask.runAndReset(FutureTask.java:135)
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:65)
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:142)
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:166)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
at java.lang.Thread.run(Thread.java:595)
- Exception caught in FixFingerTask! From now on,
periodic maintenance tasks are not executed any more!
java.lang.RuntimeException: Trying to use local node
Node of type NodeImpl, id = 19 with references. This
is not possible.If you see this Exception contact the
developers!
at
de.uniba.wiai.lspi.chord.service.impl.References.checkIfProxy(References.java:537)
at
de.uniba.wiai.lspi.chord.service.impl.References.addReference(References.java:251)
at
de.uniba.wiai.lspi.chord.service.impl.FixFingerTask.run(FixFingerTask.java:120)
at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417)
at
java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:280)
at
java.util.concurrent.FutureTask.runAndReset(FutureTask.java:135)
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:65)
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:142)
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:166)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
at java.lang.Thread.run(Thread.java:595)
- Check predecessor method has been invoked.
- Nothing to check, as predecessor is null
- Nothing to stabilize, as successor is null
- fixFingers tries to get finger for key 19
- I appear to be the only node in the network, so I am
my own successor; return reference on me: 19
- Adding new reference 19 3F
- Trying to use local node Node of type NodeImpl, id =
19 with references. This is not possible.If you see
this Exception contact the developers!
java.lang.RuntimeException: Trying to use local node
Node of type NodeImpl, id = 19 with references. This
is not possible.If you see this Exception contact the
developers!
at
de.uniba.wiai.lspi.chord.service.impl.References.checkIfProxy(References.java:537)
at
de.uniba.wiai.lspi.chord.service.impl.References.addReference(References.java:251)
at
de.uniba.wiai.lspi.chord.service.impl.FixFingerTask.run(FixFingerTask.java:120)
at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417)
at
java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:280)
at
java.util.concurrent.FutureTask.runAndReset(FutureTask.java:135)
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:65)
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:142)
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:166)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
at java.lang.Thread.run(Thread.java:595)
- Exception caught in FixFingerTask! From now on,
periodic maintenance tasks are not executed any more!
java.lang.RuntimeException: Trying to use local node
Node of type NodeImpl, id = 19 with references. This
is not possible.If you see this Exception contact the
developers!
at
de.uniba.wiai.lspi.chord.service.impl.References.checkIfProxy(References.java:537)
at
de.uniba.wiai.lspi.chord.service.impl.References.addReference(References.java:251)
at
de.uniba.wiai.lspi.chord.service.impl.FixFingerTask.run(FixFingerTask.java:120)
at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417)
at
java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:280)
at
java.util.concurrent.FutureTask.runAndReset(FutureTask.java:135)
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:65)
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:142)
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:166)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
at java.lang.Thread.run(Thread.java:595)

Discussion

  • Sven Kaffille

    Sven Kaffille - 2006-06-22
    • assigned_to: nobody --> skaffille
     
  • Sven Kaffille

    Sven Kaffille - 2006-06-22

    Logged In: YES
    user_id=1435049

    This exception does not prevent Open Chord from functioning
    correctly. Therefore it can be ignored.

    If you want to get rid of this exception, you can use the
    attached zip file, which contains new versions of the files
    affected by this bug. The zip file contains the build and
    src directories of Open Chord.

    sven

     
  • Sven Kaffille

    Sven Kaffille - 2006-06-22
    • priority: 5 --> 2
    • status: open --> open-fixed
     
  • Sven Kaffille

    Sven Kaffille - 2006-06-22
    • status: open-fixed --> closed-fixed
     
  • Sven Kaffille

    Sven Kaffille - 2007-01-05

    Logged In: YES
    user_id=1435049
    Originator: YES

    The file with the bug fix has been moved to the download section.

    sven

     
  • Sven Kaffille

    Sven Kaffille - 2007-01-05
    • status: closed-fixed --> open-fixed
     
  • Sven Kaffille

    Sven Kaffille - 2007-01-12
    • status: open-fixed --> closed-fixed
     

Log in to post a comment.