Open GoogleCodeExporter opened 9 years ago
Original comment by ris...@gmail.com
on 24 Apr 2011 at 6:23
Servers is OK. Bug is in application, see attached image and below is the value
of the one of the stop times array. Shows 4 times in mStopTimes array but as
you can see in image, the app only shows 1.
This is the value of 'transitTrip' as expressed on line 548 of
TransitBuddyModel.java
count 7
[0] TransitStop (id=830085305944)
mId "70060" (id=830085334632)
mLocation Coordinate (id=830085503496)
mName ""Wonderland Station - Blue Line"" (id=830085334840)
mStopTimes ArrayList (id=830085558128)
array Object[10] (id=830085586976)
[0] Date (id=830085683968)
milliseconds 1303670940345
[1] Date (id=830085819328)
milliseconds 1303671420345
[2] Date (id=830085831840)
milliseconds 1303671960346
[3] Date (id=830085853648)
milliseconds 1303672440347
[4] Date (id=830085874096)
milliseconds 1303672980347
[5] null
[6] null
[7] null
[8] null
[9] null
modCount 0
size 5
[1] TransitStop (id=830085485632)
[2] TransitStop (id=830085457336)
[3] TransitStop (id=830085142808)
[4] TransitStop (id=830085736472)
[5] TransitStop (id=830085604512)
[6] TransitStop (id=830085394208)
[7] TransitStop (id=830085572440)
[8] TransitStop (id=830085616776)
[9] TransitStop (id=830085152928)
[10] TransitStop (id=830085540880)
[11] null
[12] null
[13] null
[14] null
[15] null
Original comment by ris...@gmail.com
on 24 Apr 2011 at 6:52
Attachments:
Appears to be working better than yesterday but some stops only have 2 times
where other stops have three? The number of ETA stops is set to three on my
emulator. With a local time of 11:26, South Station-Inbound only has two stop
times- 11:38, 11:54 but Downtown Crossing-to Alewife has three. Additionally,
there are two Downtown Crossing stops? See attached image.
Original comment by robert.o...@gmail.com
on 24 Apr 2011 at 11:28
Attachments:
Can you verify in debugger that you are only receiving that set of data? I
just ran the query on the database and the data sets good.
Once in debugging you can right click a watched variable to copy the info to
clipboard for easy pasting into the issue.
Original comment by ris...@gmail.com
on 24 Apr 2011 at 11:35
The duplicate stops makes sense since there's an Ashmont and Braintree trains
but I think we're displaying it incorrectly by showing the stop twice. Here's
an expanded list of some of the stops and their times (See index 12 for the
error)-
array Object[48] (id=830086241624)
[0] TransitStop (id=830084814088)
mId "70094" (id=830086123528)
mLocation Coordinate (id=830085201608)
mName ""Ashmont Station Red Line Inbound"" (id=830085987616)
mStopTimes ArrayList (id=830085180232)
[1] TransitStop (id=830084717432)
mId "70105" (id=830086121800)
mLocation Coordinate (id=830084896288)
mName ""Braintree Station Red Line Platform"" (id=830086120080)
mStopTimes ArrayList (id=830084877928)
[2] TransitStop (id=830085265512)
mId "70104" (id=830085217144)
mLocation Coordinate (id=830084994296)
mName ""Quincy Adams Station - Inbound"" (id=830085165672)
mStopTimes ArrayList (id=830084907152)
[3] TransitStop (id=830084942736)
mId "70092" (id=830084862528)
mLocation Coordinate (id=830085454456)
mName ""Shawmut Station - Inbound"" (id=830084831256)
mStopTimes ArrayList (id=830085411144)
[4] TransitStop (id=830085635704)
mId "70090" (id=830085460464)
mLocation Coordinate (id=830085109624)
mName ""Fields Corner Station - Inbound"" (id=830085173224)
mStopTimes ArrayList (id=830086211824)
[5] TransitStop (id=830084953208)
mId "70102" (id=830086051600)
mLocation Coordinate (id=830085907280)
mName ""Quincy Center Station - Inbound"" (id=830085985368)
mStopTimes ArrayList (id=830085752880)
[6] TransitStop (id=830086028568)
mId "70088" (id=830085875768)
mLocation Coordinate (id=830085701776)
mName ""Savin Hill Station - Inbound"" (id=830085775280)
mStopTimes ArrayList (id=830085649280)
[7] TransitStop (id=830085239536)
mId "70100" (id=830085072168)
mLocation Coordinate (id=830084842752)
mName ""Wollaston Station - Inbound"" (id=830084942992)
mStopTimes ArrayList (id=830086132376)
array Object[10] (id=830086038704)
modCount 0
size 5
[8] TransitStop (id=830085484888)
mId "70086" (id=830085369176)
mLocation Coordinate (id=830085259376)
mName ""JFK/UMASS Ashmont Line Inbound"" (id=830085366672)
mStopTimes ArrayList (id=830085100656)
[9] TransitStop (id=830085348448)
mId "70098" (id=830085116376)
mLocation Coordinate (id=830086122928)
mName ""No Quincy Station - Inbound"" (id=830084969160)
mStopTimes ArrayList (id=830086109544)
[10] TransitStop (id=830085693464)
mId "70084" (id=830085499448)
mLocation Coordinate (id=830085410232)
mName ""Andrew Sq Station - Inbound"" (id=830085453616)
mStopTimes ArrayList (id=830085261040)
[11] TransitStop (id=830085618544)
mId "70096" (id=830085720712)
mLocation Coordinate (id=830085743536)
mName ""JKF/UMASS Braintree - Inbound"" (id=830085721168)
mStopTimes ArrayList (id=830086075688)
array Object[10] (id=830086202048)
modCount 0
size 5
[12] TransitStop (id=830085773872)
mId "70084" (id=830086170216)
mLocation Coordinate (id=830085602008)
mName ""Andrew Sq Station - Inbound"" (id=830086256160)
mStopTimes ArrayList (id=830086036576)
array Object[10] (id=830085278144)
modCount 0
size 2
[13] TransitStop (id=830085669712)
[14] TransitStop (id=830085440952)
[15] TransitStop (id=830085696016)
[16] TransitStop (id=830085927712)
[17] TransitStop (id=830086257776)
[18] TransitStop (id=830086006928)
[19] TransitStop (id=830085284792)
[20] TransitStop (id=830086091704)
[21] TransitStop (id=830085767552)
[22] TransitStop (id=830086167808)
[23] TransitStop (id=830085759104)
[24] TransitStop (id=830086029168)
[25] TransitStop (id=830085131344)
[26] TransitStop (id=830085113264)
[27] TransitStop (id=830084867328)
[28] TransitStop (id=830086046544)
[29] TransitStop (id=830086047200)
[30] TransitStop (id=830086025920)
[31] TransitStop (id=830086044232)
[32] TransitStop (id=830085956672)
[33] null
[34] null
[35] null
[36] null
[37] null
[38] null
[39] null
[40] null
[41] null
[42] null
[43] null
[44] null
[45] null
[46] null
[47] null
Original comment by robert.o...@gmail.com
on 24 Apr 2011 at 11:44
I don't see any duplicate stops.
You are getting 5 times back for most of the stations except Andrew, this is
the confirmed in the database, more than likely it is an issue with the data
set and cannot be fixed unless I just add times.
Original comment by ris...@gmail.com
on 24 Apr 2011 at 11:48
You don't see the Downtown crossing duplicate? Also, the South Station
duplicate is visible too if you look at the top stop that's barely visible.
Virtually every stop for the Alewife trip is duplicated.
Original comment by robert.o...@gmail.com
on 24 Apr 2011 at 11:51
I was just looking at your data set not the application.
Original comment by ris...@gmail.com
on 24 Apr 2011 at 11:53
Now that I am sorting my stop sequence the data set is messed. From Braintree
to Alewife, South Station is sequence 8 but from Ashmont to South Station it is
9, so you see a duplicate there.
Probably will have to change addStop in TransitTrip.java to see if mStops
contains a stop for this name, if so append the stop data to the stop.
Original comment by ris...@gmail.com
on 25 Apr 2011 at 12:00
Original issue reported on code.google.com by
robert.o...@gmail.com
on 23 Apr 2011 at 5:40