Skip to content
Snippets Groups Projects
Closed (moved) handle json reading exception instead of escalating
  • View options
  • handle json reading exception instead of escalating

  • View options
  • Closed (moved) Issue created by iwakeh

    tom ritter reported this error on the metrics-list.

    V, 2016-11-16 16:00:00, 7818/7819 S (100.0%), 7815/7815 E (100.0%)
    V, 2016-11-16 16:00:00, 7784/7785 S (100.0%), 7781/7781 E (100.0%)
    V, 2016-11-16 16:00:00, 7782/7783 S (100.0%), 7778/7779 E (100.0%)
    C, 2016-11-16 16:00:00, 8/8 V (100.0%), 7127/7128 S (100.0%),
    7125/7125 E (100.0%)
    M, 2016-11-16 16:00:00, 7128/7128 M (100.0%)
    2016-11-16 16:06:15,696 ERROR o.t.c.c.CollecTorMain:71 The relaydescs
    module failed: com.google.gson.stream.MalformedJsonException: Use
    JsonReader.setLenient(true) to accept malformed JSON at line 1 column
    17791699
    com.google.gson.JsonSyntaxException:
    com.google.gson.stream.MalformedJsonException: Use
    JsonReader.setLenient(true) to accept malformed JSON at line 1 column
    17791699
        at com.google.gson.Gson.assertFullConsumption(Gson.java:779)
    ~[collector-1.1.0.jar:1.1.0-d9e32d5]
        at com.google.gson.Gson.fromJson(Gson.java:742)
    ~[collector-1.1.0.jar:1.1.0-d9e32d5]
        at org.torproject.collector.relaydescs.ReferenceChecker.readReferencesFile(ReferenceChecker.java:145)
    ~[collector-1.1.0.jar:1.1.0-d9e32d5]
        at org.torproject.collector.relaydescs.ReferenceChecker.check(ReferenceChecker.java:84)
    ~[collector-1.1.0.jar:1.1.0-d9e32d5]

    Linked items ... 0

  • Activity

    • All activity
    • Comments only
    • History only
    • Newest first
    • Oldest first
    Loading Loading Loading Loading Loading Loading Loading Loading Loading Loading