Modify ↓
Opened 2 years ago
Closed 2 years ago
#22885 closed defect (duplicate)
Exception occured when loading a pbf
Reported by: | papab | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Core | Version: | |
Keywords: | template_report | Cc: |
Description
What steps will reproduce the problem?
- Load a pbf file. I closed JOSM, and repeated the error. I've tried several osm.pbf files with the same result. I've loaded these files before with no issue with an older version of JOSM.
Please provide any additional information below. Attach a screenshot if possible.
Relative:URL: ^/trunk Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b Last:Changed Date: 2023-03-30 16:51:36 +0200 (Thu, 30 Mar 2023) Revision:18700 Build-Date:2023-03-31 01:30:56 URL:https://josm.openstreetmap.de/svn/trunk Identification: JOSM/1.5 (18700 en) Linux Ubuntu 22.04.2 LTS Memory Usage: 502 MB / 2048 MB (155 MB allocated, but free) Java version: 11.0.18+10-post-Ubuntu-0ubuntu122.04, Ubuntu, OpenJDK 64-Bit Server VM Look and Feel: javax.swing.plaf.metal.MetalLookAndFeel Screen: :0.0 1920×1080 (scaling 1.00×1.00) Maximum Screen Size: 1920×1080 Best cursor sizes: 16×16→16×16, 32×32→32×32 Environment variable LANG: en_US.UTF-8 System property file.encoding: UTF-8 System property sun.jnu.encoding: UTF-8 Locale info: en_US Numbers with default locale: 1234567890 -> 1234567890 Desktop environment: XFCE Java package: openjdk-11-jre:amd64-11.0.18+10-0ubuntu1~22.04 Java ATK Wrapper package: libatk-wrapper-java:all-0.38.0-5build1 libcommons-compress-java: libcommons-compress-java:all-1.21-1 libcommons-logging-java: libcommons-logging-java:all-1.2-2 fonts-noto: fonts-noto:all-20201225-1build1 Plugins: + ImportImagePlugin (36013) + apache-commons (36034) + buildings_tools (36011) + changeset-viewer (0.0.6) + easypresets (1623509627) + ejml (35924) + geotools (36068) + jackson (36034) + jaxb (35952) + jts (36004) + log4j (36034) + merge-overlap (35893) + opendata (36072) + pbf (36034) + pdfimport (35976) + reverter (36043) + utilsplugin2 (36011) Tagging presets: + <josm.userdata>/EasyPresets.xml Map paint styles: + https://github.com/bastik/mapcss-tools/raw/osm/mapnik2mapcss/osm-results/mapnik.zip - https://josm.openstreetmap.de/josmfile?page=Styles/Admin_Boundaries&zip=1 Last errors/warnings: - 00016.598 E: Handled by bug report queue: java.lang.NullPointerException === REPORTED CRASH DATA === BugReportExceptionHandler#handleException: No data collected. Warning issued by: BugReportExceptionHandler#handleException === STACK TRACE === Thread: main-worker-0 (19) of main java.lang.NullPointerException at org.openstreetmap.josm.io.OsmPbfReader.parseDataBlock(OsmPbfReader.java:339) at org.openstreetmap.josm.io.OsmPbfReader.parse(OsmPbfReader.java:116) at org.openstreetmap.josm.io.AbstractReader.doParseDataSet(AbstractReader.java:329) at org.openstreetmap.josm.io.AbstractReader.doParseDataSet(AbstractReader.java:304) at org.openstreetmap.josm.io.OsmPbfReader.doParseDataSet(OsmPbfReader.java:85) at org.openstreetmap.josm.io.OsmPbfReader.parseDataSet(OsmPbfReader.java:80) at org.openstreetmap.josm.gui.io.importexport.OsmPbfImporter.parseDataSet(OsmPbfImporter.java:44) at org.openstreetmap.josm.gui.io.importexport.OsmImporter.loadLayer(OsmImporter.java:121) 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:103) at org.openstreetmap.josm.actions.OpenFileAction$OpenFileTask.importData(OpenFileAction.java:401) at org.openstreetmap.josm.actions.OpenFileAction$OpenFileTask.realRun(OpenFileAction.java:350) at org.openstreetmap.josm.gui.PleaseWaitRunnable.doRealRun(PleaseWaitRunnable.java:94) at org.openstreetmap.josm.gui.PleaseWaitRunnable.run(PleaseWaitRunnable.java:142) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at java.base/java.lang.Thread.run(Thread.java:829)
Attachments (0)
Change History (2)
comment:1 by , 2 years ago
comment:2 by , 2 years ago
Resolution: | → duplicate |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
I tried a few other versions, josm-snapshot-18693 works. 18697 doesn't, it fails with the same error.