Modify ↓
Opened 18 hours ago
Last modified 10 hours ago
#24217 new defect
BUG
Reported by: | anonymous | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Core geojson | 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.
Revision:19342 Build-Date:2025-03-01 10:11:58 Identification: JOSM/1.5 (19342 zh_TW) Windows 11 64-Bit OS Build number: Windows 10 Home 24H2 (26100) Memory Usage: 408 MB / 6016 MB (90 MB allocated, but free) Java version: 21.0.6+7-LTS, Azul Systems, Inc., OpenJDK 64-Bit Server VM Look and Feel: com.sun.java.swing.plaf.windows.WindowsLookAndFeel Screen: \Display0 2256x1504x32bpp@60Hz (scaling 1.50×1.50) \Display1 1080x1920x32bpp@60Hz (scaling 1.00×1.00) \Display2 1920x1080x32bpp@60Hz (scaling 1.00×1.00) Maximum Screen Size: 2256×1920 Best cursor sizes: 16×16→48×48, 32×32→48×48 System property file.encoding: UTF-8 System property sun.jnu.encoding: MS950 Locale info: zh_TW Numbers with default locale: 1234567890 -> 1234567890 VM arguments: [-Djpackage.app-version=1.5.19342, -XX:MaxRAMPercentage=75.0, --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: + ImportImagePlugin (36387) + PicLayer (265) + apache-commons (36379) + ejml (36379) + geotools (36384) + importvec (36379) + jackson (36387) + jaxb (36379) + jts (36379) + lexxpluss (1.1.0) + measurement (36374) + pdfimport (36379) Last errors/warnings: - 00015.448 W: 無法掃描檔案 apache-commons.jar.new 的插件資訊,跳過。 - 00022.596 W: java.util.zip.ZipException: zip END header not found - 00022.598 W: PluginException: : org.openstreetmap.josm.plugins.PluginException: 無效的 JAR 檔案 <josm.pref>\plugins\apache-commons.jar.new - 00022.599 W: 無法掃描檔案 apache-commons.jar.new 的插件資訊,跳過。 - 00023.453 W: 更新外掛程式 - 你已經更新了 JOSM 軟體。 為了避免問題也應該更新外掛程式。 是否立即更新? - 00101.311 W: java.util.zip.ZipException: zip END header not found - 00101.311 W: PluginException: : org.openstreetmap.josm.plugins.PluginException: 無效的 JAR 檔案 <josm.pref>\plugins\apache-commons.jar.new - 00101.311 W: 無法掃描檔案 apache-commons.jar.new 的插件資訊,跳過。 - 00201.581 E: Handled by bug report queue: java.lang.ClassCastException: Cannot cast org.eclipse.parsson.JsonNumberImpl$JsonBigDecimalNumber to jakarta.json.JsonArray - 00227.999 E: Handled by bug report queue: java.lang.ClassCastException: Cannot cast org.eclipse.parsson.JsonNumberImpl$JsonBigDecimalNumber to jakarta.json.JsonArray === REPORTED CRASH DATA === BugReportExceptionHandler#handleException: No data collected. Warning issued by: BugReportExceptionHandler#handleException === STACK TRACE === Thread: main-worker-0 (39) of main java.lang.ClassCastException: Cannot cast org.eclipse.parsson.JsonNumberImpl$JsonBigDecimalNumber to jakarta.json.JsonArray at java.base/java.lang.Class.cast(Unknown Source) at jakarta.json.JsonValue.asJsonArray(JsonValue.java:129) at org.openstreetmap.josm.io.GeoJSONReader.lambda$createWay$10(GeoJSONReader.java:342) at java.base/java.util.stream.ReferencePipeline$3$1.accept(Unknown Source) at java.base/java.util.Iterator.forEachRemaining(Unknown Source) at java.base/java.util.Spliterators$IteratorSpliterator.forEachRemaining(Unknown Source) at java.base/java.util.stream.AbstractPipeline.copyInto(Unknown Source) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source) at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(Unknown Source) at java.base/java.util.stream.AbstractPipeline.evaluate(Unknown Source) at java.base/java.util.stream.ReferencePipeline.collect(Unknown Source) at org.openstreetmap.josm.io.GeoJSONReader.createWay(GeoJSONReader.java:343) at org.openstreetmap.josm.io.GeoJSONReader.parsePolygon(GeoJSONReader.java:299) at org.openstreetmap.josm.io.GeoJSONReader.parseGeometry(GeoJSONReader.java:228) at org.openstreetmap.josm.io.GeoJSONReader.parseFeature(GeoJSONReader.java:164) at java.base/java.util.stream.ReferencePipeline$3$1.accept(Unknown Source) at java.base/java.util.stream.ReferencePipeline$3$1.accept(Unknown Source) at java.base/java.util.stream.ReferencePipeline$2$1.accept(Unknown Source) at java.base/java.util.Iterator.forEachRemaining(Unknown Source) at java.base/java.util.Spliterators$IteratorSpliterator.forEachRemaining(Unknown Source) at java.base/java.util.stream.AbstractPipeline.copyInto(Unknown Source) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source) at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(Unknown Source) at java.base/java.util.stream.AbstractPipeline.evaluate(Unknown Source) at java.base/java.util.stream.ReferencePipeline.collect(Unknown Source) at org.openstreetmap.josm.io.GeoJSONReader.parseFeatureCollection(GeoJSONReader.java:149) at org.openstreetmap.josm.io.GeoJSONReader.parseRoot(GeoJSONReader.java:100) at org.openstreetmap.josm.io.GeoJSONReader.parse(GeoJSONReader.java:87) at org.openstreetmap.josm.io.GeoJSONReader.doParseDataSet(GeoJSONReader.java:471) at org.openstreetmap.josm.io.GeoJSONReader.parseDataSet(GeoJSONReader.java:536) at org.openstreetmap.josm.gui.io.importexport.GeoJSONImporter.parseDataSet(GeoJSONImporter.java:36) 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:426) at org.openstreetmap.josm.actions.OpenFileAction$OpenFileTask.realRun(OpenFileAction.java:354) 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 (2)
comment:1 by , 10 hours ago
Component: | Core → Core geojson |
---|
comment:2 by , 10 hours ago
Note:
See TracTickets
for help on using tickets.
Possible duplicate of #20929.