Modify

Opened 2 months ago

Last modified 2 months ago

#18629 new defect

Scoutsigns: ClassNotFoundException: java.sql.Time

Reported by: Zian Owned by: jBeata
Priority: normal Milestone:
Component: Plugin scoutsigns Version:
Keywords: template_report java11 Cc:

Description

What steps will reproduce the problem?

  1. Start JOSM
  2. Use the OSM website remote control to download a region.

What is the expected result?

An area should be downloaded.

What happens instead?

JOSM crashes.

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

Relative:URL: ^/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2020-01-02 22:34:59 +0100 (Thu, 02 Jan 2020)
Revision:15628
Build-Date:2020-01-02 21:52:31
URL:https://josm.openstreetmap.de/svn/trunk

Identification: JOSM/1.5 (15628 en) Windows 10 64-Bit
OS Build number: Windows 10 Pro 1903 (18362)
Memory Usage: 512 MB / 2048 MB (87 MB allocated, but free)
Java version: 11.0.5+10-LTS, Azul Systems, Inc., OpenJDK 64-Bit Server VM
Screen: \Display0 1080x1920, \Display1 2560x1440
Maximum Screen Size: 2560x1920
VM arguments: [--add-reads=java.base=ALL-UNNAMED,java.desktop, --add-reads=java.desktop=ALL-UNNAMED,java.naming, --add-reads=java.naming=ALL-UNNAMED,java.desktop, --add-exports=java.desktop/sun.awt=ALL-UNNAMED,java.desktop, --add-exports=java.desktop/javax.jnlp=ALL-UNNAMED,java.desktop, --add-exports=java.base/com.sun.net.ssl.internal.ssl=ALL-UNNAMED,java.desktop, --add-exports=java.base/sun.net.www.protocol.jar=ALL-UNNAMED,java.desktop, --add-exports=java.base/sun.security.action=ALL-UNNAMED,java.desktop, --add-exports=java.base/sun.security.provider=ALL-UNNAMED,java.desktop, --add-exports=java.base/sun.security.util=ALL-UNNAMED,java.desktop, --add-exports=java.base/sun.security.validator=ALL-UNNAMED,java.desktop, --add-exports=java.base/sun.security.x509=ALL-UNNAMED,java.desktop, --add-exports=java.base/jdk.internal.util.jar=ALL-UNNAMED,java.desktop, --add-exports=java.base/sun.net.www.protocol.http=ALL-UNNAMED,java.desktop, --add-exports=java.desktop/sun.awt.X11=ALL-UNNAMED,java.desktop, --add-exports=java.desktop/sun.applet=ALL-UNNAMED,java.desktop, --add-exports=java.desktop/sun.applet=ALL-UNNAMED,jdk.jsobject, --add-exports=java.naming/com.sun.jndi.toolkit.url=ALL-UNNAMED,java.desktop]
Dataset consistency test: No problems found

Plugins:
+ ElevationProfile (35248)
+ ImproveOsm (191)
+ InfoMode (35248)
+ Mapillary (1.5.20)
+ OpeningHoursEditor (35250)
+ apache-commons (35092)
+ apache-http (35092)
+ buildings_tools (35248)
+ imagery_offset_db (35248)
+ jna (35092)
+ measurement (35248)
+ reverter (35248)
+ scoutsigns (157)
+ turnlanes (35248)

Map paint styles:
+ https://josm.openstreetmap.de/josmfile?page=Styles/Lane_and_Road_Attributes&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Styles/MaxspeedIcons&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Styles/PublicTransportV2&zip=1

Last errors/warnings:
- W: No configuration settings found.  Using hardcoded default values for all pools.
- E: Handled by bug report queue: java.lang.NoClassDefFoundError: java/sql/Time. Cause: java.lang.ClassNotFoundException: java.sql.Time
- W: Warning - <html>JOSM could not find information about the following plugins:<ul><li>imagery_offset_db</li><li>InfoMode</li><li>apache-commons</li><li>ElevationProfile</li><li>ImproveOsm</li><li>Mapillary</li><li>turnlanes</li><li>reverter</li><li>measurement</li><li>scoutsigns</li><li>OpeningHoursEditor</li><li>buildings_tools</li><li>jna</li><li>apache-http</li></ul>The plugins are not going to be loaded.</html>


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

Warning issued by: BugReportExceptionHandler#handleException

=== STACK TRACE ===
Thread: pool-5-thread-1 (91)
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.scoutsigns.service.FcdSignService.<init>(FcdSignService.java:50)
	at org.openstreetmap.josm.plugins.scoutsigns.service.ServiceHandler.<init>(ServiceHandler.java:42)
	at org.openstreetmap.josm.plugins.scoutsigns.service.ServiceHandler.<clinit>(ServiceHandler.java:31)
	at org.openstreetmap.josm.plugins.scoutsigns.ScoutSignsPlugin$UpdateThread.run(ScoutSignsPlugin.java:331)
	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:834)
Caused by: java.lang.ClassNotFoundException: java.sql.Time
	at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:471)
	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)
	... 9 more

Attachments (0)

Change History (2)

comment:1 Changed 2 months ago by Don-vip

Component: CorePlugin scoutsigns
Keywords: java11 added
Owner: changed from team to jBeata

comment:2 Changed 2 months ago by Don-vip

Summary: JOSM Crashes with OpenWebStartScoutsigns: ClassNotFoundException: java.sql.Time

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 Zian
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.