Project

General

Profile

Actions

Bug #4687

closed

java.lang.IndexOutOfBoundsException in ChronoSync2013

Added by Edward Lu over 6 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Start date:
07/27/2018
Due date:
% Done:

0%

Estimated time:

Description

I ran into this exception while creating an Android application based on Chronochat-Android (this seems to occur every time a message is exchanged in Chronosync)

07-27 15:13:59.919 12145-12193/com.example.ezl.ndnradiotest E/PendingInterestTable: Error in onTimeout
    java.lang.IndexOutOfBoundsException: Index: 4, Size: 2
        at java.util.ArrayList.get(ArrayList.java:411)
        at net.named_data.jndn.Name.get(Name.java:681)
        at net.named_data.jndn.sync.ChronoSync2013.onTimeout(ChronoSync2013.java:827)
        at net.named_data.jndn.impl.PendingInterestTable$Entry.callTimeout(PendingInterestTable.java:110)
        at net.named_data.jndn.Node.processInterestTimeout(Node.java:541)
        at net.named_data.jndn.Node.access$400(Node.java:50)
        at net.named_data.jndn.Node$4.run(Node.java:586)
        at net.named_data.jndn.impl.DelayedCallTable$Entry.callCallback(DelayedCallTable.java:113)
        at net.named_data.jndn.impl.DelayedCallTable.callTimedOut(DelayedCallTable.java:79)
        at net.named_data.jndn.Node.processEvents(Node.java:369)
        at net.named_data.jndn.Face.processEvents(Face.java:1361)
        at com.example.ezl.ndnradiotest.ChronoSyncService$1.run(ChronoSyncService.java:81)
        at java.lang.Thread.run(Thread.java:761)
Actions

Also available in: Atom PDF