Modify

#23146 closed defect (duplicate)

PBF files not opening

Reported by: amrit.im@… Owned by: Don-vip
Priority: critical Milestone:
Component: Plugin pbf Version:
Keywords: template_report Cc:

Description

What steps will reproduce the problem?

  1. Install pdf plugin
  2. Download pbf file from HOT export
  3. Load pbf in JOSM

What is the expected result?

Data display in Screen

What happens instead?

Message saying Unexpected error occured, This is always a coding problem.

Please provide any additional information below. Attach a screenshot if possible.

Revision:18700
Build-Date:2023-04-04 06:19:35

Identification: JOSM/1.5 (18700 en) Windows 11 64-Bit
OS Build number: Windows 10 Pro 2009 (22621)
Memory Usage: 630 MB / 4048 MB (412 MB allocated, but free)
Java version: 17.0.6+10-LTS, Azul Systems, Inc., OpenJDK 64-Bit Server VM
Look and Feel: com.sun.java.swing.plaf.windows.WindowsLookAndFeel
Screen: \Display0 1920×1080 (scaling 1.25×1.25) \Display1 1920×1080 (scaling 1.50×1.50)
Maximum Screen Size: 1920×1080
Best cursor sizes: 16×16→32×32, 32×32→32×32
System property file.encoding: Cp1252
System property sun.jnu.encoding: Cp1252
Locale info: en_US
Numbers with default locale: 1234567890 -> 1234567890
VM arguments: [-Djpackage.app-version=1.5.18700, --add-modules=java.scripting,java.sql,javafx.controls,javafx.media,javafx.swing,javafx.web, --add-exports=java.base/sun.security.action=ALL-UNNAMED, --add-exports=java.desktop/com.sun.imageio.plugins.jpeg=ALL-UNNAMED, --add-exports=java.desktop/com.sun.imageio.spi=ALL-UNNAMED, --add-opens=java.base/java.lang=ALL-UNNAMED, --add-opens=java.base/java.nio=ALL-UNNAMED, --add-opens=java.base/jdk.internal.loader=ALL-UNNAMED, --add-opens=java.base/jdk.internal.ref=ALL-UNNAMED, --add-opens=java.desktop/javax.imageio.spi=ALL-UNNAMED, --add-opens=java.desktop/javax.swing.text.html=ALL-UNNAMED, --add-opens=java.prefs/java.util.prefs=ALL-UNNAMED, -Djpackage.app-path=%UserProfile%\AppData\Local\JOSM\JOSM.exe]

Plugins:
+ FastDraw (36097)
+ apache-commons (36034)
+ apache-http (35924)
+ buildings_tools (36097)
+ ejml (35924)
+ geotools (36068)
+ jackson (36034)
+ jaxb (35952)
+ jna (36005)
+ jts (36004)
+ mapwithai (807)
+ markseen (14)
+ measurement (36097)
+ opendata (36097)
+ pbf (36034)
+ utilsplugin2 (36097)

Map paint styles:
+ https://github.com/bastik/mapcss-tools/raw/osm/mapnik2mapcss/osm-results/mapnik.zip
- https://josm.openstreetmap.de/josmfile?page=Styles/MapWithAI&zip=1
- D:\imbyom mirror\portableapps with settings\Obsidian\LYT Kit 6\work\Projects\Shrisha Thesis\Variable width by zoom and width value.mapcss
- D:\shrisha\osmosnimki-maps.mapcss

Last errors/warnings:
- 00000.970 W: extended font config - overriding 'filename.Myanmar_Text=mmrtext.ttf' with 'MMRTEXT.TTF'
- 00000.976 W: extended font config - overriding 'filename.Mongolian_Baiti=monbaiti.ttf' with 'MONBAITI.TTF'
- 00002.110 E: java.security.KeyStoreException: Windows-ROOT not found. Cause: java.security.NoSuchAlgorithmException: Windows-ROOT KeyStore not available
- 00012.596 W: Failed to load Mappaint styles from 'D:\shrisha\osmosnimki-maps.mapcss'. Exception was: java.lang.IllegalArgumentException: Unknown MapCSS base selector line
- 00012.597 E: java.lang.IllegalArgumentException: Unknown MapCSS base selector line
- 00041.593 E: Handled by bug report queue: java.lang.NullPointerException: Cannot invoke "org.openstreetmap.josm.data.osm.BBox.getMin()" because the return value of "org.openstreetmap.josm.data.osm.pbf.HeaderBlock.bbox()" is null



=== REPORTED CRASH DATA ===
BugReportExceptionHandler#handleException:
No data collected.

Warning issued by: BugReportExceptionHandler#handleException

=== STACK TRACE ===
Thread: main-worker-0 (22) of main
java.lang.NullPointerException: Cannot invoke "org.openstreetmap.josm.data.osm.BBox.getMin()" because the return value of "org.openstreetmap.josm.data.osm.pbf.HeaderBlock.bbox()" is null
	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(Unknown Source)
	at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.base/java.lang.Thread.run(Unknown Source)

Attachments (0)

Change History (1)

comment:1 by GerdP, 20 months ago

Resolution: duplicate
Status: newclosed

Closed as duplicate of #22868.
Please update JOSM, this action no longer involves the pbf plugin.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Don-vip.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.