Modify

Opened 5 weeks ago

Last modified 5 weeks ago

#21370 new defect

IAE: No enum constant org.openstreetmap.josm.plugins.improveosm.entity.Status.NEED_REVIEW

Reported by: anonymous Owned by: jBeata
Priority: normal Milestone:
Component: Plugin ImproveOsm 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: 2021-09-03 03:12:33 +0200 (Fri, 03 Sep 2021)
Build-Date:2021-09-03 01:31:19
Revision:18193
Relative:URL: ^/trunk

Identification: JOSM/1.5 (18193 en) Linux Ubuntu 20.04.2 LTS
Memory Usage: 1242 MB / 3525 MB (635 MB allocated, but free)
Java version: 1.8.0_292-8u292-b10-0ubuntu1~20.04-b10, Private Build, 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_IN
System property file.encoding: UTF-8
System property sun.jnu.encoding: UTF-8
Locale info: en_IN
Numbers with default locale: 1234567890 -> 1234567890
Desktop environment: ubuntu:GNOME
Java package: openjdk-8-jre:amd64-8u292-b10-0ubuntu1~20.04
Java ATK Wrapper package: libatk-wrapper-java:all-0.37.1-1
fonts-noto: fonts-noto:-

Plugins:
+ ImproveOsm (211)
+ KartaView (374)
+ todo (30306)

Last errors/warnings:
- 00007.943 E: Failed to locate image 'preference.png'
- 00008.611 E: Handled by bug report queue: java.lang.IllegalArgumentException: No enum constant org.openstreetmap.josm.plugins.improveosm.entity.Status.NEED_REVIEW



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

Warning issued by: BugReportExceptionHandler#handleException

=== STACK TRACE ===
Thread: pool-2-thread-1 (78)
java.lang.IllegalArgumentException: No enum constant org.openstreetmap.josm.plugins.improveosm.entity.Status.NEED_REVIEW
	at java.lang.Enum.valueOf(Enum.java:238)
	at org.openstreetmap.josm.plugins.improveosm.entity.Status.valueOf(Status.java:16)
	at org.openstreetmap.josm.plugins.improveosm.util.pref.LoadManager.loadStatusFilter(LoadManager.java:184)
	at org.openstreetmap.josm.plugins.improveosm.util.pref.LoadManager.loadOnewayFilter(LoadManager.java:91)
	at org.openstreetmap.josm.plugins.improveosm.util.pref.PreferenceManager.loadOnewayFilter(PreferenceManager.java:193)
	at org.openstreetmap.josm.plugins.improveosm.tread.DirectionOfFlowUpdateThread.searchData(DirectionOfFlowUpdateThread.java:33)
	at org.openstreetmap.josm.plugins.improveosm.tread.UpdateThread.run(UpdateThread.java:48)
	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)

Change History (2)

comment:1 Changed 5 weeks ago by skyper

Component: CorePlugin ImproveOsm
Owner: changed from team to jBeata
Summary: error in adding pluginsIAE: No enum constant org.openstreetmap.josm.plugins.improveosm.entity.Status.NEED_REVIEW

Similar to #14075.
Is this related to recent changes of TextBoxes in core and the plugin needs an update?

comment:2 Changed 5 weeks ago by jBeata

@skyper, this is not related to any JOSM changes. The user filters are saved into JOSM preference files and probably one of them got another value than expected by the status filter. We will add handling for these cases on the plugin side.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain jBeata.
as The resolution will be set.
to The owner will be changed from jBeata to the specified user.
The owner will change to anonymous
as duplicate The resolution will be set to duplicate.The specified ticket will be cross-referenced with this ticket
The owner will be changed from jBeata to anonymous.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.