Modify ↓
#22282 closed defect (fixed)
Exception when loading Background Image
Reported by: | syncronic | Owned by: | Don-vip |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Plugin geotools | Version: | tested |
Keywords: | template_report | Cc: |
Description
What steps will reproduce the problem?
- In JOSM goto menu Imagery|Import image
- Select the included background image
What is the expected result?
Image is loaded as georeferenced background image
What happens instead?
exception
Please provide any additional information below. Attach a screenshot if possible.
Revision:18531 Build-Date:2022-08-02 12:45:38 Identification: JOSM/1.5 (18531 de) Windows 10 64-Bit OS Build number: Windows 10 Pro 2009 (19043) Memory Usage: 618 MB / 4068 MB (262 MB allocated, but free) Java version: 17.0.4+8-LTS, Azul Systems, Inc., OpenJDK 64-Bit Server VM Look and Feel: com.sun.java.swing.plaf.windows.WindowsLookAndFeel Screen: \Display0 1920×1080 (scaling 1.50×1.50) \Display1 1920×1200 (scaling 1.50×1.50) Maximum Screen Size: 1920×1200 Best cursor sizes: 16×16→48×48, 32×32→48×48 System property file.encoding: Cp1252 System property sun.jnu.encoding: Cp1252 Locale info: de_DE Numbers with default locale: 1234567890 -> 1234567890 VM arguments: [-Djpackage.app-version=1.5.18531, --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] Plugins: + ImportImagePlugin (36013) + apache-commons (36003) + ejml (35924) + geotools (36008) + jackson (36006) + jaxb (35952) + jts (36004) + log4j (36007) Last errors/warnings: - 00000.550 W: extended font config - overriding 'filename.Myanmar_Text=mmrtext.ttf' with 'MMRTEXT.TTF' - 00000.555 W: extended font config - overriding 'filename.Mongolian_Baiti=monbaiti.ttf' with 'MONBAITI.TTF' - 00002.634 E: java.security.KeyStoreException: Windows-ROOT not found. Ursache: java.security.NoSuchAlgorithmException: Windows-ROOT KeyStore not available - 00046.085 E: Handled by bug report queue: java.lang.NoSuchMethodError: 'void org.ejml.dense.row.CommonOps_DDRM.mult(org.ejml.data.DMatrix1Row, org.ejml.data.DMatrix1Row, org.ejml.data.DMatrix1Row)' === REPORTED CRASH DATA === BugReportExceptionHandler#handleException: No data collected. Warning issued by: BugReportExceptionHandler#handleException === STACK TRACE === Thread: AWT-EventQueue-0 (23) of main java.lang.NoSuchMethodError: 'void org.ejml.dense.row.CommonOps_DDRM.mult(org.ejml.data.DMatrix1Row, org.ejml.data.DMatrix1Row, org.ejml.data.DMatrix1Row)' at org.geotools.referencing.operation.matrix.GeneralMatrix.mul(GeneralMatrix.java:885) at org.geotools.referencing.operation.matrix.GeneralMatrix.multiply(GeneralMatrix.java:646) at org.geotools.referencing.datum.DefaultGeodeticDatum.getAffineTransform(DefaultGeodeticDatum.java:311) at org.geotools.referencing.datum.DefaultGeodeticDatum.getAffineTransform(DefaultGeodeticDatum.java:231) at org.geotools.referencing.operation.DefaultCoordinateOperationFactory.createOperationStep(DefaultCoordinateOperationFactory.java:841) at org.geotools.referencing.operation.DefaultCoordinateOperationFactory.findOperationSteps(DefaultCoordinateOperationFactory.java:1008) at org.geotools.referencing.operation.DefaultCoordinateOperationFactory.findOperations(DefaultCoordinateOperationFactory.java:343) at org.geotools.referencing.operation.DefaultCoordinateOperationFactory.createOperation(DefaultCoordinateOperationFactory.java:207) at org.geotools.referencing.operation.AuthorityBackedFactory.validateCandidate(AuthorityBackedFactory.java:246) at org.geotools.referencing.operation.AuthorityBackedFactory.findFromDatabase(AuthorityBackedFactory.java:394) at org.geotools.referencing.operation.DefaultCoordinateOperationFactory.tryDB(DefaultCoordinateOperationFactory.java:1772) at org.geotools.referencing.operation.DefaultCoordinateOperationFactory.findOperationSteps(DefaultCoordinateOperationFactory.java:1004) at org.geotools.referencing.operation.DefaultCoordinateOperationFactory.findOperations(DefaultCoordinateOperationFactory.java:343) at org.geotools.referencing.operation.DefaultCoordinateOperationFactory.createOperation(DefaultCoordinateOperationFactory.java:207) at org.geotools.referencing.operation.BufferedCoordinateOperationFactory.createOperation(BufferedCoordinateOperationFactory.java:232) at org.geotools.coverage.processing.operation.Resampler2D.reproject(Resampler2D.java:469) at org.geotools.coverage.processing.operation.Resample.doOperation(Resample.java:249) at org.geotools.coverage.processing.CoverageProcessor.doOperation(CoverageProcessor.java:564) at org.geotools.coverage.processing.CoverageProcessor.doOperation(CoverageProcessor.java:587) at org.openstreetmap.josm.plugins.ImportImagePlugin.PluginOperations.reprojectCoverage(PluginOperations.java:81) at org.openstreetmap.josm.plugins.ImportImagePlugin.ImageLayer.createImage(ImageLayer.java:94) at org.openstreetmap.josm.plugins.ImportImagePlugin.ImageLayer.<init>(ImageLayer.java:74) at org.openstreetmap.josm.plugins.ImportImagePlugin.LoadImageAction.actionPerformed(LoadImageAction.java:47) at java.desktop/javax.swing.AbstractButton.fireActionPerformed(Unknown Source) at java.desktop/javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source) at java.desktop/javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source) at java.desktop/javax.swing.DefaultButtonModel.setPressed(Unknown Source) at java.desktop/javax.swing.AbstractButton.doClick(Unknown Source) at java.desktop/javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source) at java.desktop/javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source) at java.desktop/java.awt.AWTEventMulticaster.mouseReleased(Unknown Source) at java.desktop/java.awt.Component.processMouseEvent(Unknown Source) at java.desktop/javax.swing.JComponent.processMouseEvent(Unknown Source) at java.desktop/java.awt.Component.processEvent(Unknown Source) at java.desktop/java.awt.Container.processEvent(Unknown Source) at java.desktop/java.awt.Component.dispatchEventImpl(Unknown Source) at java.desktop/java.awt.Container.dispatchEventImpl(Unknown Source) at java.desktop/java.awt.Component.dispatchEvent(Unknown Source) at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source) at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Unknown Source) at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Unknown Source) at java.desktop/java.awt.Container.dispatchEventImpl(Unknown Source) at java.desktop/java.awt.Window.dispatchEventImpl(Unknown Source) at java.desktop/java.awt.Component.dispatchEvent(Unknown Source) at java.desktop/java.awt.EventQueue.dispatchEventImpl(Unknown Source) at java.desktop/java.awt.EventQueue$4.run(Unknown Source) at java.desktop/java.awt.EventQueue$4.run(Unknown Source) at java.base/java.security.AccessController.doPrivileged(Unknown Source) at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) at java.desktop/java.awt.EventQueue$5.run(Unknown Source) at java.desktop/java.awt.EventQueue$5.run(Unknown Source) at java.base/java.security.AccessController.doPrivileged(Unknown Source) at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) at java.desktop/java.awt.EventQueue.dispatchEvent(Unknown Source) at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.desktop/java.awt.EventDispatchThread.run(Unknown Source)
Attachments (3)
Change History (9)
by , 21 months ago
by , 21 months ago
by , 21 months ago
comment:1 by , 21 months ago
comment:2 by , 21 months ago
comment:3 by , 21 months ago
Component: | Plugin importimage → Plugin geotools |
---|---|
Owner: | changed from | to
comment:5 by , 20 months ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Upstream has merged the PR. When they do a release with the fix, I'll update the JOSM plugin.
Note:
See TracTickets
for help on using tickets.
A bit additional info:
Source of the .prj file is ticket #6665 comment 11. At that time the geotools library could not handle
[http://crs.bkg.bund.de/crseu/crs/descrtrans/BeTA/BETA2007.gsb]
which causes a 2m offset im test.png in the ImportImagePlugin. The .prj File avoids that via the towgs84 parameters.
The offset is still there, but should not be scope of this ticket.