[metrics-bugs] #31953 [Metrics/Onionoo]: IllegalStateException on fresh instances

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Oct 3 13:41:21 UTC 2019


#31953: IllegalStateException on fresh instances
---------------------------------+--------------------------
     Reporter:  irl              |      Owner:  metrics-team
         Type:  defect           |     Status:  new
     Priority:  High             |  Milestone:
    Component:  Metrics/Onionoo  |    Version:
     Severity:  Normal           |   Keywords:
Actual Points:                   |  Parent ID:  #31659
       Points:                   |   Reviewer:
      Sponsor:                   |
---------------------------------+--------------------------
 I think this could be related to #26711. Running the updater on a fresh
 instance will end with an IllegalStateException:

 {{{
 2019-10-03 13:32:21,831 INFO o.t.m.o.cron.Main:193 Shutting down.
 2019-10-03 13:32:21,831 DEBUG o.t.m.o.u.DescriptorSource:217 Writing parse
 histories for recent descriptors...
 ---
 Exception in thread "main" java.lang.IllegalStateException: Operation is
 not permitted before finishing to read.
         at
 org.torproject.descriptor.impl.DescriptorReaderImpl.getExcludedFiles(DescriptorReaderImpl.java:68)
         at
 org.torproject.metrics.onionoo.updater.DescriptorQueue.writeHistoryFile(DescriptorQueue.java:118)
         at
 org.torproject.metrics.onionoo.updater.DescriptorSource.writeHistoryFiles(DescriptorSource.java:219)
         at
 org.torproject.metrics.onionoo.cron.Main.shutDown(Main.java:195)
         at org.torproject.metrics.onionoo.cron.Main.run(Main.java:130)
         at
 org.torproject.metrics.onionoo.cron.Main.runOrScheduleExecutions(Main.java:102)
         at org.torproject.metrics.onionoo.cron.Main.main(Main.java:34)
 }}}

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/31953>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the metrics-bugs mailing list