[tor-bugs] #19259 [Metrics/Onionoo]: uncaught NFE

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Jun 7 14:05:56 UTC 2016


#19259: uncaught NFE
-----------------------------+-----------------------------------
 Reporter:  iwakeh           |          Owner:  iwakeh
     Type:  defect           |         Status:  needs_information
 Priority:  High             |      Milestone:
Component:  Metrics/Onionoo  |        Version:
 Severity:  Major            |     Resolution:
 Keywords:                   |  Actual Points:
Parent ID:                   |         Points:
 Reviewer:                   |        Sponsor:
-----------------------------+-----------------------------------
Changes (by iwakeh):

 * status:  accepted => needs_information


Comment:

 Before reading through all code and documentation I ask:

 Are the following lines acceptable `WeightsStatus` document lines.
 Currently they pass as such:

 {{{
   private static final String[] correctLines = new String[]{
     "1970-01-02 22:00:00 1970-01-01 23:00:00  "
       + "0.000178279826 0.000261827632 0.000200304932 0.000000000000
 6980.000000000000\n",
     "1970-02-01 22:00:00 1970-02-01 23:00:00  "
       + "-0.000178279826 -0.000261827632 0.000200304932 0.000000000000
 -6980.000000000000\n",
     "1971-01-01 20:00:00 1971-01-01 10:00:00  "
       + "0.000178279826 0.000261827632 0.000200304932 0.000000000000
 6980.000000000000\n"
   };
 }}}

 First line second date before first date, second line negative values,
 third line second time before first time on the same day?

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


More information about the tor-bugs mailing list