Modify ↓
#17209 closed defect (fixed)
Can't use pbf plugin after update to latest josm
| Reported by: | anonymous | Owned by: | team |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Plugin pbf | Version: | |
| Keywords: | template_report | Cc: |
Description
What steps will reproduce the problem?
What is the expected result?
What happens instead?
Please provide any additional information below. Attach a screenshot if possible.
URL:https://josm.openstreetmap.de/svn/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2018-12-31 15:09:58 +0100 (Mon, 31 Dec 2018)
Build-Date:2018-12-31 14:24:10
Revision:14620
Relative:URL: ^/trunk
Identification: JOSM/1.5 (14620 en) Mac OS X 10.13.6
OS Build number: Mac OS X 10.13.6 (17G65)
Memory Usage: 642 MB / 1820 MB (303 MB allocated, but free)
Java version: 1.8.0_192-b12, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM
Screen: Display 724066896 1920x1080, Display 724042575 1920x1080
Maximum Screen Size: 1920x1080
VM arguments: [-Djava.library.path=/Applications/JOSM.app/Contents/MacOS, -DLibraryDirectory=${HOME}/Library, -DDocumentsDirectory=${HOME}/Documents, -DApplicationSupportDirectory=${HOME}/Library/Application Support, -DCachesDirectory=${HOME}/Library/Caches, -DSandboxEnabled=false, -Dapple.laf.useScreenMenuBar=true, -Dcom.apple.macos.use-file-dialog-packages=true, -Dcom.apple.macos.useScreenMenuBar=true, -Dcom.apple.mrj.application.apple.menu.about.name=JOSM, -Dcom.apple.smallTabs=true]
Plugins:
+ pbf (34826)
Last errors/warnings:
- W: java.net.ConnectException: Connection refused (Connection refused)
- W: Already here java.net.ConnectException: Connection refused (Connection refused)
- W: java.net.ConnectException: Connection refused (Connection refused)
- W: Already here java.net.ConnectException: Connection refused (Connection refused)
- W: Already here java.net.ConnectException: Connection refused (Connection refused)
- E: Error initializing test ApiCapabilitiesTest:
- W: No configuration settings found. Using hardcoded default values for all pools.
- E: Invalid Bounds: Bounds[0.0,0.0,0.0,0.0]
- E: Handled by bug report queue: java.lang.IllegalAccessError: tried to access method org.openstreetmap.josm.io.AbstractReader.buildPrimitive(Lorg/openstreetmap/josm/data/osm/PrimitiveData;)Lorg/openstreetmap/josm/data/osm/OsmPrimitive; from class org.openstreetmap.josm.plugins.pbf.io.PbfReader
- W: Warning - <html>JOSM could not find information about the following plugin:<ul><li>pbf</li></ul>The plugin is not going to be loaded.</html>
OSM API: http://localhost:8080/osm/latest/api/
=== REPORTED CRASH DATA ===
BugReportExceptionHandler#handleException:
No data collected.
Warning issued by: BugReportExceptionHandler#handleException
=== STACK TRACE ===
Thread: main-worker-0 (43) of main
java.lang.IllegalAccessError: tried to access method org.openstreetmap.josm.io.AbstractReader.buildPrimitive(Lorg/openstreetmap/josm/data/osm/PrimitiveData;)Lorg/openstreetmap/josm/data/osm/OsmPrimitive; from class org.openstreetmap.josm.plugins.pbf.io.PbfReader
at org.openstreetmap.josm.plugins.pbf.io.PbfReader.access$200(PbfReader.java:49)
at org.openstreetmap.josm.plugins.pbf.io.PbfReader$PbfParser.parseDense(PbfReader.java:187)
at crosby.binary.BinaryParser.parse(BinaryParser.java:124)
at crosby.binary.BinaryParser.handleBlock(BinaryParser.java:68)
at crosby.binary.file.FileBlock.process(FileBlock.java:135)
at crosby.binary.file.BlockInputStream.process(BlockInputStream.java:34)
at org.openstreetmap.josm.plugins.pbf.io.PbfReader.parse(PbfReader.java:348)
at org.openstreetmap.josm.plugins.pbf.io.PbfReader.doParseDataSet(PbfReader.java:331)
at org.openstreetmap.josm.plugins.pbf.io.PbfReader.parseDataSet(PbfReader.java:321)
at org.openstreetmap.josm.plugins.pbf.io.PbfImporter.parseDataSet(PbfImporter.java:30)
at org.openstreetmap.josm.gui.io.importexport.OsmImporter.loadLayer(OsmImporter.java:120)
at org.openstreetmap.josm.gui.io.importexport.OsmImporter.importData(OsmImporter.java:97)
at org.openstreetmap.josm.gui.io.importexport.OsmImporter.importData(OsmImporter.java:82)
at org.openstreetmap.josm.gui.io.importexport.FileImporter.importDataHandleExceptions(FileImporter.java:95)
at org.openstreetmap.josm.actions.OpenFileAction$OpenFileTask.importData(OpenFileAction.java:367)
at org.openstreetmap.josm.actions.OpenFileAction$OpenFileTask.realRun(OpenFileAction.java:319)
at org.openstreetmap.josm.gui.PleaseWaitRunnable.doRealRun(PleaseWaitRunnable.java:95)
at org.openstreetmap.josm.gui.PleaseWaitRunnable.run(PleaseWaitRunnable.java:143)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Attachments (0)
Note:
See TracTickets
for help on using tickets.



Ah, sorry, forgot that the plugin requires a newer version of JOSM. See #14545.
Please stop JOSM, remove pbf.jar from the plugins directory and try again. Maybe you have to install the pbf plugin again.