Modify ↓
Opened 3 days ago
#24605 new defect
Loading Ontario lidar-derived DSM imagery as .tiff causes error
| Reported by: | Jean Mullin | Owned by: | team |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Core imagery | Version: | tested |
| Keywords: | template_report | Cc: |
Description
What steps will reproduce the problem?
- Add "Ontario Digital Surface Model (Lidar-Derived)" imagery
- select "none" shading option.
- select .tiff file format
What is the expected result?
Imagery is displayed the same way it is when you select png. My goal was to be able to query the .tiff pixel values to find the elevation values at points I'm interested in.
What happens instead?
I get repeated exceptions. When I ignore the first exception, another one pops up, and so on.
Please provide any additional information below. Attach a screenshot if possible.
The png imagery is visible in this screenshot.

Revision:19439 Build-Date:2025-09-01 09:22:37 Identification: JOSM/1.5 (19439 en_CA) Windows 10 64-Bit OS Build number: Windows 10 Home 22H2 (19045) Memory Usage: 536 MB / 12120 MB (89 MB allocated, but free) Java version: 21.0.8+9-LTS, Azul Systems, Inc., OpenJDK 64-Bit Server VM Look and Feel: com.sun.java.swing.plaf.windows.WindowsLookAndFeel Screen: \Display0 1920x1200x32bpp@60Hz (scaling 1.25×1.25) Maximum Screen Size: 1920×1200 Best cursor sizes: 16×16→32×32, 32×32→32×32 System property file.encoding: UTF-8 System property sun.jnu.encoding: Cp1252 Locale info: en_CA Numbers with default locale: 1234567890 -> 1234567890 VM arguments: [-Djpackage.app-version=1.5.19439, -XX:MaxRAMPercentage=75.0, --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] Dataset consistency test: No problems found Plugins: + PicLayer (270) + urbaneye3d (1.7.0) + utilsplugin2 (36438) Tagging presets: + https://github.com/kendzi/Simple3dBuildingsPreset/releases/download/0.9_2018-05-08/s3db-preset.zip Map paint styles: - https://josm.openstreetmap.de/josmfile?page=Styles/SimpleBuildingTags&zip=1 - https://josm.openstreetmap.de/josmfile?page=Styles/SimpleRoofTags&zip=1 Last errors/warnings: - 00000.542 W: extended font config - overriding 'filename.Malgun_Gothic=malgun.ttf' with 'MALGUN.TTF' - 00000.547 W: extended font config - overriding 'filename.Myanmar_Text=mmrtext.ttf' with 'MMRTEXT.TTF' - 00000.547 W: extended font config - overriding 'filename.Mongolian_Baiti=monbaiti.ttf' with 'MONBAITI.TTF' - 00002.152 E: java.security.KeyStoreException: Windows-ROOT not found. Cause: java.security.NoSuchAlgorithmException: Windows-ROOT KeyStore not available - 00002.534 W: Missing plugin main version in plugin panoramax - 00003.445 W: Missing plugin main version in plugin panoramax - 00026.061 E: Failed to locate image 'reset_camera' - 00112.168 E: Handled by bug report queue: java.lang.ArrayIndexOutOfBoundsException: Index 4894368 out of bounds for length 65536 - 00112.181 E: Handled by bug report queue: java.lang.ArrayIndexOutOfBoundsException: Index 4894368 out of bounds for length 65536 === REPORTED CRASH DATA === BugReportExceptionHandler#handleException: No data collected. Warning issued by: BugReportExceptionHandler#handleException === STACK TRACE === Thread: AWT-EventQueue-0 (37) of main java.lang.ArrayIndexOutOfBoundsException: Index 4894368 out of bounds for length 65536 at java.desktop/java.awt.image.ComponentColorModel.getRGBComponent(Unknown Source) at java.desktop/java.awt.image.ComponentColorModel.getRed(Unknown Source) at java.desktop/java.awt.image.ComponentColorModel.getRGB(Unknown Source) at java.desktop/sun.java2d.loops.OpaqueCopyAnyToArgb.Blit(Unknown Source) at java.desktop/sun.java2d.loops.GraphicsPrimitive.convertFrom(Unknown Source) at java.desktop/sun.java2d.loops.GraphicsPrimitive.convertFrom(Unknown Source) at java.desktop/sun.java2d.loops.MaskBlit$General.MaskBlit(Unknown Source) at java.desktop/sun.java2d.loops.Blit$GeneralMaskBlit.Blit(Unknown Source) at java.desktop/sun.java2d.pipe.DrawImage.blitSurfaceData(Unknown Source) at java.desktop/sun.java2d.pipe.DrawImage.renderImageCopy(Unknown Source) at java.desktop/sun.java2d.pipe.DrawImage.copyImage(Unknown Source) at java.desktop/sun.java2d.pipe.DrawImage.copyImage(Unknown Source) at java.desktop/sun.java2d.pipe.ValidatePipe.copyImage(Unknown Source) at java.desktop/sun.java2d.SunGraphics2D.copyImage(Unknown Source) at java.desktop/sun.java2d.pipe.DrawImage.makeBufferedImage(Unknown Source) at java.desktop/sun.java2d.pipe.DrawImage.renderImageXform(Unknown Source) at java.desktop/sun.java2d.pipe.DrawImage.transformImage(Unknown Source) at java.desktop/sun.java2d.pipe.DrawImage.scaleImage(Unknown Source) at java.desktop/sun.java2d.pipe.DrawImage.scaleImage(Unknown Source) at java.desktop/sun.java2d.pipe.ValidatePipe.scaleImage(Unknown Source) at java.desktop/sun.java2d.SunGraphics2D.drawImage(Unknown Source) at java.desktop/sun.java2d.SunGraphics2D.drawImage(Unknown Source) at org.openstreetmap.josm.gui.layer.AbstractTileSourceLayer.drawImageInside(AbstractTileSourceLayer.java:1043) at org.openstreetmap.josm.gui.layer.AbstractTileSourceLayer.lambda$paintTileImages$2(AbstractTileSourceLayer.java:1081) at org.openstreetmap.josm.gui.layer.AbstractTileSourceLayer$TileSet.visitTilePosition(AbstractTileSourceLayer.java:1391) at org.openstreetmap.josm.gui.layer.AbstractTileSourceLayer$TileSet.lambda$visitTiles$5(AbstractTileSourceLayer.java:1383) at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(Unknown Source) at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(Unknown Source) at java.base/java.util.stream.IntPipeline$1$1.accept(Unknown Source) at java.base/java.util.stream.Streams$RangeIntSpliterator.forEachRemaining(Unknown Source) at java.base/java.util.Spliterator$OfInt.forEachRemaining(Unknown Source) at java.base/java.util.stream.AbstractPipeline.copyInto(Unknown Source) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source) at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(Unknown Source) at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(Unknown Source) at java.base/java.util.stream.AbstractPipeline.evaluate(Unknown Source) at java.base/java.util.stream.ReferencePipeline.forEach(Unknown Source) at java.base/java.util.stream.ReferencePipeline$7$1.accept(Unknown Source) at java.base/java.util.stream.IntPipeline$1$1.accept(Unknown Source) at java.base/java.util.stream.Streams$RangeIntSpliterator.forEachRemaining(Unknown Source) at java.base/java.util.Spliterator$OfInt.forEachRemaining(Unknown Source) at java.base/java.util.stream.AbstractPipeline.copyInto(Unknown Source) at java.base/java.util.stream.ForEachOps$ForEachTask.compute(Unknown Source) at java.base/java.util.concurrent.CountedCompleter.exec(Unknown Source) at java.base/java.util.concurrent.ForkJoinTask.doExec(Unknown Source) at java.base/java.util.concurrent.ForkJoinTask.invoke(Unknown Source) at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateParallel(Unknown Source) at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateParallel(Unknown Source) at java.base/java.util.stream.AbstractPipeline.evaluate(Unknown Source) at java.base/java.util.stream.ReferencePipeline.forEach(Unknown Source) at org.openstreetmap.josm.gui.layer.AbstractTileSourceLayer$TileSet.visitTiles(AbstractTileSourceLayer.java:1383) at org.openstreetmap.josm.gui.layer.AbstractTileSourceLayer.paintTileImages(AbstractTileSourceLayer.java:1054) at org.openstreetmap.josm.gui.layer.AbstractTileSourceLayer.drawInViewArea(AbstractTileSourceLayer.java:1634) at org.openstreetmap.josm.gui.layer.AbstractTileSourceLayer$TileSourcePainter.doPaint(AbstractTileSourceLayer.java:2067) at org.openstreetmap.josm.gui.layer.AbstractTileSourceLayer$TileSourcePainter.paint(AbstractTileSourceLayer.java:2049) at org.openstreetmap.josm.gui.MapView.paintLayer(MapView.java:487) at org.openstreetmap.josm.gui.MapView.drawMapContent(MapView.java:603) at org.openstreetmap.josm.gui.MapView.paint(MapView.java:509) at java.desktop/javax.swing.JComponent.paintChildren(Unknown Source) at java.desktop/javax.swing.JComponent.paint(Unknown Source) at java.desktop/javax.swing.JComponent.paintToOffscreen(Unknown Source) at java.desktop/javax.swing.RepaintManager$PaintManager.paintDoubleBufferedFPScales(Unknown Source) at java.desktop/javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(Unknown Source) at java.desktop/javax.swing.RepaintManager$PaintManager.paint(Unknown Source) at java.desktop/javax.swing.RepaintManager.paint(Unknown Source) at java.desktop/javax.swing.JComponent._paintImmediately(Unknown Source) at java.desktop/javax.swing.JComponent.paintImmediately(Unknown Source) at java.desktop/javax.swing.RepaintManager$4.run(Unknown Source) at java.desktop/javax.swing.RepaintManager$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.desktop/javax.swing.RepaintManager.paintDirtyRegions(Unknown Source) at java.desktop/javax.swing.RepaintManager.paintDirtyRegions(Unknown Source) at java.desktop/javax.swing.RepaintManager.prePaintDirtyRegions(Unknown Source) at java.desktop/javax.swing.RepaintManager$ProcessingRunnable.run(Unknown Source) at java.desktop/java.awt.event.InvocationEvent.dispatch(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.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 (0)
Note:
See TracTickets
for help on using tickets.


