Modify ↓
#14902 closed defect (invalid)
NoSuchMethodError exception on PBF file load
Reported by: | bagage | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Core | Version: | latest |
Keywords: | template_report | Cc: |
Description
What steps will reproduce the problem?
- Open JOSM
- Open a file
- Select a PBF file (like the one attached)
What is the expected result?
The PBF file is opened.
What happens instead?
An exception is thrown (see stacktrace).
Please provide any additional information below. Attach a screenshot if possible.
Build-Date:2017-06-05 16:02:13 Revision:12318 Is-Local-Build:true Identification: JOSM/1.5 (12318 SVN en) Linux Debian GNU/Linux 9 (stretch) Memory Usage: 632 MB / 1760 MB (337 MB allocated, but free) Java version: 1.8.0_131-8u131-b11-2-b11, Oracle Corporation, OpenJDK 64-Bit Server VM Screen: :0.0 1920x1080 Maximum Screen Size: 1920x1080 Java package: openjdk-8-jre:amd64-8u131-b11-2 Java ATK Wrapper package: libatk-wrapper-java:all-0.33.3-13 Program arguments: [--language=en, ${HOME}/code/osm/cadastre-conflation/josm-init.jos] Dataset consistency test: No problems found Plugins: + AddrInterpolation (33160) + HouseNumberTaggingTool (33160) + OpeningHoursEditor (33185) + PicLayer (33148) + buildings_tools (33004) + conflation (0.5.3) + jts (32699) + pbf (33241) + poly (33004) + rex (26) + terracer (33088) + todo (30000) + utilsplugin2 (33328) Last errors/warnings: - W: No configuration settings found. Using hardcoded default values for all pools. - W: Old style SideButton usage for action org.openstreetmap.josm.plugins.todo.TodoDialog$SelectAction@4f3f7f07 - W: Old style SideButton usage for action org.openstreetmap.josm.plugins.todo.TodoDialog$AddAction@1ba34927 - W: Old style SideButton usage for action org.openstreetmap.josm.plugins.todo.TodoDialog$PassAction@7e735aa0 - W: Old style SideButton usage for action org.openstreetmap.josm.plugins.todo.TodoDialog$MarkAction@26b796b2 - W: Old style SideButton usage for action org.openstreetmap.josm.plugins.todo.TodoDialog$MarkSelectedAction@4fbec18 - E: Handled by bug report queue: java.lang.NoSuchMethodError: org.openstreetmap.josm.gui.layer.OsmDataLayer.getRecentRelations()Ljava/util/ArrayList; === REPORTED CRASH DATA === BugReportExceptionHandler#handleException: No data collected. Warning issued by: BugReportExceptionHandler#handleException === STACK TRACE === Thread: AWT-EventQueue-0 (16) of main java.lang.NoSuchMethodError: org.openstreetmap.josm.gui.layer.OsmDataLayer.getRecentRelations()Ljava/util/ArrayList; at org.openstreetmap.josm.actions.relation.RecentRelationsAction.getRecentRelationsOnActiveLayer(RecentRelationsAction.java:131) at org.openstreetmap.josm.actions.relation.RecentRelationsAction.getLastRelation(RecentRelationsAction.java:77) at org.openstreetmap.josm.actions.relation.RecentRelationsAction.enableArrow(RecentRelationsAction.java:68) at org.openstreetmap.josm.actions.relation.RecentRelationsAction.updateEnabledState(RecentRelationsAction.java:111) at org.openstreetmap.josm.actions.JosmAction$ActiveLayerChangeAdapter.activeOrEditLayerChanged(JosmAction.java:371) at org.openstreetmap.josm.gui.layer.MainLayerManager.fireActiveLayerChange(MainLayerManager.java:238) at org.openstreetmap.josm.gui.layer.MainLayerManager.setActiveLayer(MainLayerManager.java:231) at org.openstreetmap.josm.gui.layer.MainLayerManager.realSetActiveLayer(MainLayerManager.java:220) at org.openstreetmap.josm.gui.layer.MainLayerManager.lambda$setActiveLayer$0(MainLayerManager.java:214) at org.openstreetmap.josm.gui.util.GuiHelper.runInEDTAndWaitWithException(GuiHelper.java:141) at org.openstreetmap.josm.gui.layer.MainLayerManager.setActiveLayer(MainLayerManager.java:214) at org.openstreetmap.josm.gui.layer.MainLayerManager.realAddLayer(MainLayerManager.java:255) at org.openstreetmap.josm.gui.layer.LayerManager.lambda$addLayer$0(LayerManager.java:217) at org.openstreetmap.josm.gui.util.GuiHelper.runInEDTAndWaitWithException(GuiHelper.java:141) at org.openstreetmap.josm.gui.layer.LayerManager.addLayer(LayerManager.java:217) at org.openstreetmap.josm.gui.layer.LayerManager.addLayer(LayerManager.java:206) at org.openstreetmap.josm.io.OsmImporter.lambda$importData$0(OsmImporter.java:96) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756) at java.awt.EventQueue.access$500(EventQueue.java:97) at java.awt.EventQueue$3.run(EventQueue.java:709) at java.awt.EventQueue$3.run(EventQueue.java:703) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80) at java.awt.EventQueue.dispatchEvent(EventQueue.java:726) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:109) at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:184) at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:229) at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:227) at java.security.AccessController.doPrivileged(Native Method) at java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:227) at java.awt.Dialog.show(Dialog.java:1084) at java.awt.Component.show(Component.java:1671) at java.awt.Component.setVisible(Component.java:1623) at java.awt.Window.setVisible(Window.java:1014) at java.awt.Dialog.setVisible(Dialog.java:1005) at org.openstreetmap.josm.gui.progress.PleaseWaitProgressMonitor.lambda$doBeginTask$3(PleaseWaitProgressMonitor.java:206) at org.openstreetmap.josm.gui.progress.PleaseWaitProgressMonitor.lambda$doInEDT$0(PleaseWaitProgressMonitor.java:72) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756) at java.awt.EventQueue.access$500(EventQueue.java:97) at java.awt.EventQueue$3.run(EventQueue.java:709) at java.awt.EventQueue$3.run(EventQueue.java:703) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80) at java.awt.EventQueue.dispatchEvent(EventQueue.java:726) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Attachments (1)
Change History (5)
by , 8 years ago
Attachment: | clerieux-170301.osm.pbf added |
---|
comment:1 by , 8 years ago
My bad I wasn't logged when I created the issue, but this is me (eg bagage) that created the issue.
comment:2 by , 8 years ago
Component: | Plugin pbf → Core |
---|---|
Owner: | changed from | to
Update: this is not related to PBF plugin actually nor any plugin - might be a dev environment issue. I will check it.
comment:3 by , 8 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
As stated it is somehow an issue due to the usage of the github mirror version of JOSM… it works great using SVN repository directly.
comment:4 by , 8 years ago
Reporter: | changed from | to
---|
Note:
See TracTickets
for help on using tickets.
One problematic PBF file