Modify ↓
Opened 9 years ago
Closed 7 years ago
#13696 closed defect (fixed)
NPE at GTFSImporterDialog.setGTFSStopTableModel
Reported by: | Owned by: | roland.olbricht | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Plugin public_transport | Version: | |
Keywords: | template_report | Cc: |
Description
What steps will reproduce the problem?
I am looking for a way to import some public transport stop positions from the french STIF
OpenData service.
- Go to https://opendata.stif.info/explore/dataset/offre-horaires-tc-gtfs-idf/table/
- Download stif_gtfs.zip
- Extract the stops.txt
- With the 'public_transport' plugin open the stops.txt file
What is the expected result?
I don't know exactly, it's the first time I try this function.
I even expected an OutOfMemoryError from the size of the file.
What happens instead?
NullPointerException.
Please provide any additional information below. Attach a screenshot if possible.
URL:http://josm.openstreetmap.de/svn/trunk Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b Last:Changed Date: 2016-09-06 00:16:07 +0200 (Tue, 06 Sep 2016) Build-Date:2016-09-05 22:21:00 Revision:10966 Relative:URL: ^/trunk Identification: JOSM/1.5 (10966 fr) Windows 10 64-Bit Memory Usage: 1092 MB / 3616 MB (146 MB allocated, but free) Java version: 1.8.0_102-b14, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM Screen: \Display0 1920x1080 Maximum Screen Size: 1920x1080 VM arguments: [-Djava.security.manager, -Djava.security.policy=file:<java.home>\lib\security\javaws.policy, -DtrustProxy=true, -Djnlpx.home=<java.home>\bin, -Djnlpx.origFilenameArg=%UserProfile%\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\56\1ee8cfb8-14cb3775, -Djnlpx.remove=false, -Djava.util.Arrays.useLegacyMergeSort=true, -Djnlpx.splashport=60134, -Djnlp.application.href=https://josm.openstreetmap.de/download/josm.jnlp, -Djnlpx.jvm=<java.home>\bin\javaw.exe, -Djnlpx.vmargs=LURqYXZhLnV0aWwuQXJyYXlzLnVzZUxlZ2FjeU1lcmdlU29ydD10cnVlAC1Eam5scC5hcHBsaWNhdGlvbi5ocmVmPWh0dHBzOi8vam9zbS5vcGVuc3RyZWV0bWFwLmRlL2Rvd25sb2FkL2pvc20uam5scAA=] Dataset consistency test: No problems found Plugins: + BuildingGeneralization (1010) + DirectDownload (32699) + PicLayer (32796) + ShapeTools (1220) + buildings_tools (32944) + cadastre-fr (32950) + ejml (32680) + geotools (32813) + imagery_offset_db (32796) + imageryadjust (32699) + jts (32699) + public_transport (32796) + public_transport_layer (32817) + rasterfilters (32877) + routes (32842) + utilsplugin2 (32815) Last errors/warnings: - W: Old style SideButton usage for action org.openstreetmap.josm.plugins.rasterfilters.actions.ShowLayerFiltersDialog@4a2eba62 - E: java.lang.NullPointerException === REPORTED CRASH DATA === BugReportExceptionHandler#handleException: No data collected. Warning issued by: BugReportExceptionHandler#handleException === STACK TRACE === Thread: AWT-EventQueue-2 (38) of javawsApplicationThreadGroup java.lang.NullPointerException at public_transport.GTFSImporterDialog.setGTFSStopTableModel(GTFSImporterDialog.java:340) at public_transport.GTFSImporterAction.refreshData(GTFSImporterAction.java:203) at public_transport.GTFSImporterAction.actionPerformed(GTFSImporterAction.java:98) at javax.swing.AbstractButton.fireActionPerformed(Unknown Source) at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source) at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source) at javax.swing.DefaultButtonModel.setPressed(Unknown Source) at javax.swing.AbstractButton.doClick(Unknown Source) at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source) at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source) at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source) at java.awt.Component.processMouseEvent(Unknown Source) at javax.swing.JComponent.processMouseEvent(Unknown Source) at java.awt.Component.processEvent(Unknown Source) at java.awt.Container.processEvent(Unknown Source) at java.awt.Component.dispatchEventImpl(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Window.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.EventQueue.dispatchEventImpl(Unknown Source) at java.awt.EventQueue.access$500(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) at java.awt.EventQueue$4.run(Unknown Source) at java.awt.EventQueue$4.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source)
Attachments (1)
Change History (4)
by , 9 years ago
Attachment: | stops.txt.zip added |
---|
comment:1 by , 8 years ago
Summary: | NullPointerException with 'public_transport' plugin when importing stops.txt from STIF → NPE with 'public_transport' plugin when importing stops.txt from STIF |
---|
comment:2 by , 8 years ago
Summary: | NPE with 'public_transport' plugin when importing stops.txt from STIF → NPE at GTFSImporterDialog.setGTFSStopTableModel |
---|
Note:
See TracTickets
for help on using tickets.
The stops.txt file