Modify

Opened 5 years ago

Last modified 5 years ago

#18063 new defect

ImproveOSM requires java.sql.Time, not included in Java >= 10

Reported by: x2yabjv06jl_temp.mailbox.org Owned by: jBeata
Priority: normal Milestone:
Component: Plugin ImproveOsm Version:
Keywords: template_report Cc:

Description

What steps will reproduce the problem?

1.Install ImproveOSM
2.restart

What is the expected result?

Nor error

What happens instead?

Error

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

Relative:URL: ^/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2019-07-10 00:52:47 +0200 (Wed, 10 Jul 2019)
Revision:15238
Build-Date:2019-07-10 01:30:51
URL:https://josm.openstreetmap.de/svn/trunk

Identification: JOSM/1.5 (15238 de) Linux Manjaro Linux
Memory Usage: 425 MB / 2048 MB (99 MB allocated, but free)
Java version: 12.0.2+10, N/A, OpenJDK 64-Bit Server VM
Screen: :0.0 1920x1080
Maximum Screen Size: 1920x1080
VM arguments: [-Dicedtea-web.bin.name=javaws, -Dicedtea-web.bin.location=/usr/share/icedtea-web/bin/javaws]
Dataset consistency test: No problems found

Plugins:
+ CustomizePublicTransportStop (35039)
+ ImproveOsm (173)
+ Mapillary (1.5.18)
+ RoadSigns (UNKNOWN)
+ apache-commons (34908)
+ apache-http (34908)
+ buildings_tools (34982)
+ imagery_offset_db (34908)
+ jna (34908)
+ junctionchecking (34977)
+ openqa (1557250801)
+ turnlanes (34994)
+ utilsplugin2 (34977)

Tagging presets:
+ https://josm.openstreetmap.de/josmfile?page=Presets/LaneAttributes&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Presets/ParkingLanes&zip=1
+ https://raw.githubusercontent.com/yopaseopor/traffic_signs_preset_JOSM/master/DE.zip

Map paint styles:
- https://josm.openstreetmap.de/josmfile?page=Styles/Cycleways&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Styles/Enhanced_Lane_and_Road_Attributes&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/Lane_features&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/Lane_features_ryg&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Styles/MaxspeedIcons&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Styles/ParkingLanes&zip=1

Validator rules:
+ https://josm.openstreetmap.de/josmfile?page=Rules/GermanySpecific&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Rules/MissingWeekdays&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Rules/KeepRight&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Rules/OsmoseValidations&zip=1

Last errors/warnings:
- E: Fehler beim Laden des Bildes 'traffic_signs_presets/ES_tertiary.png'
- W:  Tertiary: Could not get presets icon traffic_signs_presets/ES_tertiary.png
- W: No configuration settings found.  Using hardcoded default values for all pools.
- E: Handled by bug report queue: java.lang.NoClassDefFoundError: java/sql/Time. Ursache: java.lang.ClassNotFoundException: java.sql.Time
- E: Handled by bug report queue: java.lang.NoClassDefFoundError: Could not initialize class org.openstreetmap.josm.plugins.improveosm.ServiceHandler
- E: Handled by bug report queue: java.lang.NoClassDefFoundError: Could not initialize class org.openstreetmap.josm.plugins.improveosm.ServiceHandler
- W: Achtung - <html>JOSM konnte keine Informationen über die folgenden Erweiterungen finden:<ul><li>CustomizePublicTransportStop</li><li>imagery_offset_db</li><li>junctionchecking</li><li>apache-commons</li><li>ImproveOsm</li><li>RoadSigns</li><li>Mapillary</li><li>turnlanes</li><li>utilsplugin2</li><li>openqa</li><li>buildings_tools</li><li>jna</li><li>apache-http</li></ul>Diese Erweiterungen werden nicht geladen.</html>


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

Warning issued by: BugReportExceptionHandler#handleException

=== STACK TRACE ===
Thread: pool-2-thread-2 (109)
java.lang.NoClassDefFoundError: java/sql/Time
	at com.google.gson.Gson.<init>(Gson.java:241)
	at com.google.gson.GsonBuilder.create(GsonBuilder.java:545)
	at org.openstreetmap.josm.plugins.improveosm.service.BaseService.<init>(BaseService.java:37)
	at org.openstreetmap.josm.plugins.improveosm.service.missinggeo.MissingGeometryService.<init>(MissingGeometryService.java:38)
	at org.openstreetmap.josm.plugins.improveosm.ServiceHandler.<init>(ServiceHandler.java:62)
	at org.openstreetmap.josm.plugins.improveosm.ServiceHandler.<clinit>(ServiceHandler.java:48)
	at org.openstreetmap.josm.plugins.improveosm.tread.DirectionOfFlowUpdateThread.searchData(DirectionOfFlowUpdateThread.java:36)
	at org.openstreetmap.josm.plugins.improveosm.tread.UpdateThread.run(UpdateThread.java:57)
	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:835)
Caused by: java.lang.ClassNotFoundException: java.sql.Time
	at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:436)
	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:588)
	at org.openstreetmap.josm.plugins.PluginClassLoader.loadClass(PluginClassLoader.java:73)
	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
	... 11 more

Attachments (0)

Change History (3)

comment:1 by jBeata, 5 years ago

Currently, the ImproveOSM plugin is working with Java 8. We plan to add support for also newer Java versions. Thanks for reporting the issue.

comment:2 by Don-vip, 5 years ago

Summary: ImrpoveOSM errorImrpoveOSM requires java.sql.Time, not included in Java >= 10

comment:3 by Don-vip, 5 years ago

Summary: ImrpoveOSM requires java.sql.Time, not included in Java >= 10ImproveOSM requires java.sql.Time, not included in Java >= 10

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain jBeata.
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from jBeata to the specified user.
Next status will be 'needinfo'. The owner will be changed from jBeata to x2yabjv06jl_temp.mailbox.org.
as duplicate The resolution will be set to duplicate. Next status will be 'closed'. The specified ticket will be cross-referenced with this ticket.
The owner will be changed from jBeata to anonymous. Next status will be 'assigned'.

Add Comment


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