{"action":"created","issue":{"url":"https://api.github.com/repos/CUTR-at-USF/gtfs-osm-sync/issues/20","repository_url":"https://api.github.com/repos/CUTR-at-USF/gtfs-osm-sync","labels_url":"https://api.github.com/repos/CUTR-at-USF/gtfs-osm-sync/issues/20/labels{/name}","comments_url":"https://api.github.com/repos/CUTR-at-USF/gtfs-osm-sync/issues/20/comments","events_url":"https://api.github.com/repos/CUTR-at-USF/gtfs-osm-sync/issues/20/events","html_url":"https://github.com/CUTR-at-USF/gtfs-osm-sync/issues/20","id":109233841,"number":20,"title":"NullPointerException when loading GTFS data","user":{"login":"ingsoc79","id":544680,"avatar_url":"https://avatars.githubusercontent.com/u/544680?v=3","gravatar_id":"","url":"https://api.github.com/users/ingsoc79","html_url":"https://github.com/ingsoc79","followers_url":"https://api.github.com/users/ingsoc79/followers","following_url":"https://api.github.com/users/ingsoc79/following{/other_user}","gists_url":"https://api.github.com/users/ingsoc79/gists{/gist_id}","starred_url":"https://api.github.com/users/ingsoc79/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ingsoc79/subscriptions","organizations_url":"https://api.github.com/users/ingsoc79/orgs","repos_url":"https://api.github.com/users/ingsoc79/repos","events_url":"https://api.github.com/users/ingsoc79/events{/privacy}","received_events_url":"https://api.github.com/users/ingsoc79/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/CUTR-at-USF/gtfs-osm-sync/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-10-01T05:42:28Z","updated_at":"2016-02-04T06:58:14Z","closed_at":"2016-02-04T03:52:10Z","body":"I'm experiencing a NullPointerException crash when attempting to load the GTFS data at http://developer.onebusaway.org/tmp/sound/gtfs/modified/1_gtfs.zip\r\n\r\nI'm running the latest version (commit e845826ad4a75506462ecfa00420fb497fff63e0), built with Maven 3.3.3 using Homebrew on OS X.  \r\n\r\nThe import seems to progress until nearly finished, then crashes.  Here's the full output, starting from the beginning:\r\n>java -jar gtfs-osm-sync-1.0-SNAPSHOT-jar-with-dependencies.jar \r\n\r\n>Error reading in default operators: /Users/nick/dev/gtfs-osm-sync/GO_Sync/target/operators.csv (No such file or directory)\r\nMetro Transit\r\n{gtfs_stop_timezone=5, transport:zone=4}\r\nLon, Lat format = -122.51072900000001,47.185114      -121.781835,47.936364999999995\r\nInitializing...\r\nConnecting http://api.openstreetmap.org/api/0.6/capabilities/ using method GET 1\r\nResponse Code: 200\r\nResponse Message: OK\r\nEnd response\r\n<union><query type='node'><has-kv k='highway' v='bus_stop'/><bbox-query w='-122.51072900000001' e='-121.781835' s='47.185114' n='47.936364999999995'/></query><query type='node'><has-kv k='public_transport' v='platform'/><bbox-query w='-122.51072900000001' e='-121.781835' s='47.185114' n='47.936364999999995'/></query><query type='node'><has-kv k='public_transport' v='station'/><bbox-query w='-122.51072900000001' e='-121.781835' s='47.185114' n='47.936364999999995'/></query><query type='node'><has-kv k='amenity' v='bus_station'/><bbox-query w='-122.51072900000001' e='-121.781835' s='47.185114' n='47.936364999999995'/></query></union><print mode=\"meta\"/>\r\nConnecting http://overpass-api.de/api/interpreter using method POST 1\r\nResponse Code: 200\r\nResponse Message: OK\r\nEnd response\r\nConnecting http://api.openstreetmap.fr/xapi?relation[route=bus][bbox=-122.51072900000001,47.185114,-121.781835,47.936364999999995] using method GET 1\r\nResponse Code: 200\r\nResponse Message: OK\r\nEnd response\r\ntags = 1055\r\nExisting Nodes = 1055\r\nNew Nodes = 7811\r\nreportkeys 2335reportIDs 0\r\n[Justin R, rambudo, sctrojan79, Paul McCombs, pluton_od, eulochon, dangerouslee, SuzanneH, compdude, stevea, Anthony Bloesch, rgreinho, mfagan, djdune, Ceema, Anton Lavrov, Ethan O'Connor, AlexRu, chalen, kilpatjr, KTyler, Debbie Bull, genegladden, Peaceray, todrobbins, chricycle, WernerP, tkedt, lloyd5, stephbu, rosvicl, jrwats, michael0x2a, zephyr, Drewguy12345, oleksii, BlackCatsOnly, LHT, emorye, marylynne, lukobe, roadgeek99, STBrenden, Omnific, bdp, andrewpmk, NebbyPal, sir-mapalot, Steve, smithmikeg, Skybunny, Robert Whittaker, rubillionaire, Ballard OpenStreetMap, avs5221, naanastoudt, WesM, joelotz, OSMF Redaction Account, duongle215, Berjoh, VictorA, seattlefyi, osmanon31459, >LAND, Ivan Komarov, Casiotone, ulfl, jBellevue, morganvenable, samely, Caesura, Oli-Wan, gonzoramos, ktula, Yehoshua, VeloBusDriver, wilsoncd35, Djido, bibi6, Falcon Darkstar Momot, PCS, Daniel Szwalkiewicz, cohort, wheelmap_visitor, sunshine98103, Natfoot, WecWec, jeffmeyer, Marat Turaev, Glassman, Wim L, tjbenator, goldfndr, GNW312, jtreuting, GITNE, Beau Gunderson, Brian(J), akims, Heptazane, Robert Gash, xStreetKingx, arisphinx]\r\nrelation tags = 29\r\ntags = 29\r\nThere are 35 in total!\r\nDone...!!\r\nGTFSstops 7811 report7811upload7797modify948delete0\r\nException in thread \"AWT-EventQueue-0\" java.lang.NullPointerException\r\n\tat javax.swing.ImageIcon.<init>(ImageIcon.java:217)\r\n\tat edu.usf.cutr.go_sync.gui.ReportViewer.initComponents(ReportViewer.java:1589)\r\n\tat edu.usf.cutr.go_sync.gui.ReportViewer.<init>(ReportViewer.java:427)\r\n\tat edu.usf.cutr.go_sync.task.CompareData.generateReport(CompareData.java:812)\r\n\tat edu.usf.cutr.go_sync.task.CompareData.done(CompareData.java:803)\r\n\tat javax.swing.SwingWorker$5.run(SwingWorker.java:737)\r\n\tat javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.run(SwingWorker.java:832)\r\n\tat sun.swing.AccumulativeRunnable.run(AccumulativeRunnable.java:112)\r\n\tat javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.actionPerformed(SwingWorker.java:842)\r\n\tat javax.swing.Timer.fireActionPerformed(Timer.java:313)\r\n\tat javax.swing.Timer$DoPostEvent.run(Timer.java:245)\r\n\tat java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)\r\n\tat java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)\r\n\tat java.awt.EventQueue.access$500(EventQueue.java:97)\r\n\tat java.awt.EventQueue$3.run(EventQueue.java:709)\r\n\tat java.awt.EventQueue$3.run(EventQueue.java:703)\r\n\tat java.security.AccessController.doPrivileged(Native Method)\r\n\tat java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)\r\n\tat java.awt.EventQueue.dispatchEvent(EventQueue.java:726)\r\n\tat java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)\r\n\tat java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)\r\n\tat java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)\r\n\tat java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)\r\n\tat java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)\r\n\tat java.awt.EventDispatchThread.run(EventDispatchThread.java:82)\r\n\r\nLet me know if you need any more info."},"comment":{"url":"https://api.github.com/repos/CUTR-at-USF/gtfs-osm-sync/issues/comments/179677858","html_url":"https://github.com/CUTR-at-USF/gtfs-osm-sync/issues/20#issuecomment-179677858","issue_url":"https://api.github.com/repos/CUTR-at-USF/gtfs-osm-sync/issues/20","id":179677858,"user":{"login":"ingsoc79","id":544680,"avatar_url":"https://avatars.githubusercontent.com/u/544680?v=3","gravatar_id":"","url":"https://api.github.com/users/ingsoc79","html_url":"https://github.com/ingsoc79","followers_url":"https://api.github.com/users/ingsoc79/followers","following_url":"https://api.github.com/users/ingsoc79/following{/other_user}","gists_url":"https://api.github.com/users/ingsoc79/gists{/gist_id}","starred_url":"https://api.github.com/users/ingsoc79/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ingsoc79/subscriptions","organizations_url":"https://api.github.com/users/ingsoc79/orgs","repos_url":"https://api.github.com/users/ingsoc79/repos","events_url":"https://api.github.com/users/ingsoc79/events{/privacy}","received_events_url":"https://api.github.com/users/ingsoc79/received_events","type":"User","site_admin":false},"created_at":"2016-02-04T06:58:14Z","updated_at":"2016-02-04T06:58:14Z","body":"Thanks for the heads up – I ran the jar with dependencies using the v1.0.0-SNAPSHOT tag and it crashed again with the following stack trace:\r\n\r\n```\r\n$ java -jar gtfs-osm-sync-1.0-SNAPSHOT-jar-with-dependencies.jar\r\n....\r\n....\r\nException in thread \"AWT-EventQueue-0\" java.lang.NullPointerException\r\n\tat javax.swing.ImageIcon.<init>(ImageIcon.java:217)\r\n\tat edu.usf.cutr.go_sync.gui.ReportViewer.initComponents(ReportViewer.java:1589)\r\n\tat edu.usf.cutr.go_sync.gui.ReportViewer.<init>(ReportViewer.java:427)\r\n\tat edu.usf.cutr.go_sync.task.CompareData.generateReport(CompareData.java:812)\r\n\tat edu.usf.cutr.go_sync.task.CompareData.done(CompareData.java:803)\r\n\tat javax.swing.SwingWorker$5.run(SwingWorker.java:737)\r\n\tat javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.run(SwingWorker.java:832)\r\n\tat sun.swing.AccumulativeRunnable.run(AccumulativeRunnable.java:112)\r\n\tat javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.actionPerformed(SwingWorker.java:842)\r\n\tat javax.swing.Timer.fireActionPerformed(Timer.java:313)\r\n\tat javax.swing.Timer$DoPostEvent.run(Timer.java:245)\r\n\tat java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)\r\n\tat java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)\r\n\tat java.awt.EventQueue.access$500(EventQueue.java:97)\r\n\tat java.awt.EventQueue$3.run(EventQueue.java:709)\r\n\tat java.awt.EventQueue$3.run(EventQueue.java:703)\r\n\tat java.security.AccessController.doPrivileged(Native Method)\r\n\tat java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)\r\n\tat java.awt.EventQueue.dispatchEvent(EventQueue.java:726)\r\n\tat java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)\r\n\tat java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)\r\n\tat java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)\r\n\tat java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)\r\n\tat java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)\r\n\tat java.awt.EventDispatchThread.run(EventDispatchThread.java:82)\r\n```\r\nHowever, it seems to be working fine when I ran it on master.  So whatever changes weren't merged into v1.0.0-SNAPSHOT seem to have done it – nice work!\r\n"}}