Modify

Opened 2 years ago

Closed 2 years ago

#22507 closed defect (fixed)

NPE in DownloadAdditionalWays.getAdditionalWays

Reported by: anonymous Owned by: taylor.smock
Priority: normal Milestone:
Component: Plugin highwayNameModification 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:18583
Build-Date:2022-11-01 14:35:40

Identification: JOSM/1.5 (18583 ru) Windows 10 64-Bit
OS Build number: Windows 10 Pro 2009 (19045)
Memory Usage: 497 MB / 1528 MB (179 MB allocated, but free)
Java version: 17.0.5+8-LTS, Azul Systems, Inc., OpenJDK 64-Bit Server VM
Look and Feel: com.sun.java.swing.plaf.windows.WindowsLookAndFeel
Screen: \Display0 1440×900 (scaling 1.00×1.00)
Maximum Screen Size: 1440×900
Best cursor sizes: 16×16→32×32, 32×32→32×32
System property file.encoding: Cp1251
System property sun.jnu.encoding: Cp1251
Locale info: ru_RU
Numbers with default locale: 1234567890 -> 1234567890
VM arguments: [-Djpackage.app-version=1.5.18583, --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]
Dataset consistency test: No problems found

Plugins:
+ highwaynamemodification (v0.0.11)

Last errors/warnings:
- 00000.983 W: extended font config - overriding 'filename.Mongolian_Baiti=monbaiti.ttf' with 'MONBAITI.TTF'
- 00003.749 E: java.security.KeyStoreException: Windows-ROOT not found. Причина: java.security.NoSuchAlgorithmException: Windows-ROOT KeyStore not available
- 00400.866 E: Не удалось найти изображение «[[Image(pond.png)]]»
- 00400.900 E: Не удалось найти изображение «[[Image(oil-palm.png)]]»
- 00585.398 E: Не удалось найти изображение «[[Image(pond.png)]]»
- 00585.402 E: Не удалось найти изображение «[[Image(oil-palm.png)]]»
- 01294.675 E: Не удалось найти изображение «[[Image(pond.png)]]»
- 01294.678 E: Не удалось найти изображение «[[Image(oil-palm.png)]]»
- 02297.073 E: Thread main-worker-0 raised java.lang.NullPointerException
- 02297.084 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 (22)
java.lang.NullPointerException
	at java.base/java.util.Objects.requireNonNull(Unknown Source)
	at java.base/java.util.Arrays$ArrayList.<init>(Unknown Source)
	at java.base/java.util.Arrays.asList(Unknown Source)
	at com.kaart.highwaynamemodification.DownloadAdditionalWays.getAdditionalWays(DownloadAdditionalWays.java:119)
	at com.kaart.highwaynamemodification.ModifyWays.run(ModifyWays.java:120)
	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)

=== ADDITIONAL EXCEPTIONS ===
==== Exception at 1668526477841 ====
java.lang.NullPointerException
	at java.base/java.util.Objects.requireNonNull(Unknown Source)
	at java.base/java.util.Arrays$ArrayList.<init>(Unknown Source)
	at java.base/java.util.Arrays.asList(Unknown Source)
	at com.kaart.highwaynamemodification.DownloadAdditionalWays.getAdditionalWays(DownloadAdditionalWays.java:119)
	at com.kaart.highwaynamemodification.ModifyWays.run(ModifyWays.java:120)
	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 skyper, 2 years ago

Component: CorePlugin highwayNameModification
Owner: changed from team to taylor.smock

comment:2 by anonymous, 2 years ago

Resolution: fixed
Status: newclosed
Summary: не запускается модуль highwaynamemodificationNPE in DownloadAdditionalWays.getAdditionalWays

Fixed in v0.0.12.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain taylor.smock.
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.