Modify

Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#21815 closed defect (fixed)

Import Image Plugin Coding Error on 18360

Reported by: anonymous Owned by: taylor.smock
Priority: normal Milestone: 22.02
Component: Plugin geotools 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.

Relative:URL: ^/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2022-01-02 21:24:43 +0100 (Sun, 02 Jan 2022)
Revision:18360
Build-Date:2022-01-02 20:26:19
URL:https://josm.openstreetmap.de/svn/trunk

Identification: JOSM/1.5 (18360 en) Mac OS X 10.16
OS Build number: macOS 12.1 (21C52)
Memory Usage: 358 MB / 8192 MB (95 MB allocated, but free)
Java version: 12+33, Oracle Corporation, OpenJDK 64-Bit Server VM
Look and Feel: com.formdev.flatlaf.FlatDarculaLaf
Screen: Display 722488667 1920×1080 (scaling 1.00×1.00) Display 69734662 1792×1120 (scaling 2.00×2.00)
Maximum Screen Size: 1920×1120
Best cursor sizes: 16×16→16×16, 32×32→32×32
System property file.encoding: UTF-8
System property sun.jnu.encoding: UTF-8
Locale info: en_US
Numbers with default locale: 1234567890 -> 1234567890

Plugins:
+ ImportImagePlugin (35893)
+ Mapillary (2.0.0-beta.1)
+ apache-commons (35893)
+ apache-http (35893)
+ buildings_tools (35893)
+ ejml (35893)
+ flatlaf (35862)
+ geotools (35903)
+ graphview (35893)
+ jaxb (35893)
+ jna (35893)
+ jts (35893)
+ log4j (35893)
+ measurement (35893)
+ opendata (35899)
+ osm-obj-info (66)
+ reverter (35893)
+ undelete (35893)
+ utilsplugin2 (35893)

Map paint styles:
- https://josm.openstreetmap.de/josmfile?page=Styles/Coloured_Streets&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/Lane_and_Road_Attributes&zip=1
- https://raw.githubusercontent.com/KaartGroup/Kaart-Styles/master/Kaart-Styles.mapcss
- ${HOME}/Downloads/FB_style.mapcss
- ${HOME}/Downloads/FB_style_FIDO_v1.0.mapcss
- ${HOME}/Downloads/rainbow_roads.mapcss
- ${HOME}/Downloads/FBedits.mapcss
- ${HOME}/Downloads/feature_age_style.mapcss
- ${HOME}/Downloads/feature_owner_style.mapcss
- https://josm.openstreetmap.de/josmfile?page=Styles/MapWithAI&zip=1
- ${HOME}/Downloads/elemstyles_v2.mapcss
+ ${HOME}/Downloads/elemstyles_v2 (1).mapcss

Validator rules:
+ ${HOME}/Downloads/FB_rules5.14.validator.mapcss
+ https://raw.githubusercontent.com/KaartGroup/KaartValidator/master/kaart.clingstone.validator.mapcss

Last errors/warnings:
- 00007.085 E: Skipping to the next rule, because of an error:
- 00007.086 E: org.openstreetmap.josm.gui.mappaint.mapcss.parsergen.ParseException: Encountered " "{" "{ "" at line 18, column 130.
- 00026.184 E: Handled by bug report queue: java.lang.NoClassDefFoundError: it/geosolutions/imageioimpl/plugins/cog/CogSourceSPIProvider. Cause: java.lang.ClassNotFoundException: it.geosolutions.imageioimpl.plugins.cog.CogSourceSPIProvider



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

Warning issued by: BugReportExceptionHandler#handleException

=== STACK TRACE ===
Thread: AWT-EventQueue-0 (29) of main
java.lang.NoClassDefFoundError: it/geosolutions/imageioimpl/plugins/cog/CogSourceSPIProvider
	at org.openstreetmap.josm.plugins.ImportImagePlugin.PluginOperations.readGeoTiff(PluginOperations.java:313)
	at org.openstreetmap.josm.plugins.ImportImagePlugin.PluginOperations.createGridFromFile(PluginOperations.java:109)
	at org.openstreetmap.josm.plugins.ImportImagePlugin.ImageLayer.createImage(ImageLayer.java:94)
	at org.openstreetmap.josm.plugins.ImportImagePlugin.ImageLayer.<init>(ImageLayer.java:78)
	at org.openstreetmap.josm.plugins.ImportImagePlugin.LoadImageAction.actionPerformed(LoadImageAction.java:49)
	at java.desktop/javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1967)
	at java.desktop/javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2308)
	at java.desktop/javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:405)
	at java.desktop/javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:262)
	at java.desktop/javax.swing.AbstractButton.doClick(AbstractButton.java:369)
	at java.desktop/com.apple.laf.ScreenMenuItem.actionPerformed(ScreenMenuItem.java:129)
	at java.desktop/java.awt.MenuItem.processActionEvent(MenuItem.java:690)
	at java.desktop/java.awt.MenuItem.processEvent(MenuItem.java:649)
	at java.desktop/java.awt.MenuComponent.dispatchEventImpl(MenuComponent.java:375)
	at java.desktop/java.awt.MenuComponent.dispatchEvent(MenuComponent.java:363)
	at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:775)
	at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
	at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
	at java.base/java.security.AccessController.doPrivileged(AccessController.java:389)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:95)
	at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:745)
	at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:743)
	at java.base/java.security.AccessController.doPrivileged(AccessController.java:389)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
	at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:742)
	at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
	at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: java.lang.ClassNotFoundException: it.geosolutions.imageioimpl.plugins.cog.CogSourceSPIProvider
	at org.openstreetmap.josm.plugins.PluginClassLoader.loadClass(PluginClassLoader.java:92)
	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
	... 32 more

Attachments (0)

Change History (7)

comment:1 by stoecker, 4 years ago

Component: CorePlugin importimage

comment:2 by taylor.smock, 4 years ago

Component: Plugin importimagePlugin geotools
Owner: changed from team to taylor.smock
Status: newassigned

The required dependency was excluded in geotools. I'm fixing that now (it was excluded since it added 1.6M to the overall size, due to additional dependencies).

comment:3 by taylor.smock, 4 years ago

comment:4 by taylor.smock, 4 years ago

Resolution: fixed
Status: assignedclosed

In 35906/osm:

fix #21815: ClassNotFound CogSourceSPIProvider

comment:5 by taylor.smock, 4 years ago

Milestone: 22.01

comment:6 by taylor.smock, 4 years ago

In 35907/osm:

dist -- see #21815

This adds the missing jar, which was previously
excluded due to not knowing if it was required.

comment:7 by stoecker, 4 years ago

Milestone: 22.0122.02

Milestone renamed

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.