Opened 5 years ago

Last modified 5 years ago

#19746 closed defect

Tried to change from Mercator to UTM projection and crashed — at Initial Version

Reported by: anonymous Owned by: team
Priority: normal Milestone:
Component: Core imagery Version:
Keywords: template_report projection Cc:

Description

What steps will reproduce the problem?

What is the expected result?

Tried to change from Mercator projection to UTM

What happens instead?

JOSM crashed

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

URL:https://josm.openstreetmap.de/svn/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2020-07-30 12:44:04 +0200 (Thu, 30 Jul 2020)
Build-Date:2020-07-31 01:30:49
Revision:16812
Relative:URL: ^/trunk

Identification: JOSM/1.5 (16812 en_GB) Windows 10 64-Bit
OS Build number: Windows 10 Pro 1903 (18362)
Memory Usage: 879 MB / 1820 MB (455 MB allocated, but free)
Java version: 1.8.0_261-b12, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM
Look and Feel: com.sun.java.swing.plaf.windows.WindowsLookAndFeel
Screen: \Display0 1920x1080 (scaling 1.0x1.0)
Maximum Screen Size: 1920x1080
Best cursor sizes: 16x16 -> 32x32, 32x32 -> 32x32
VM arguments: [-Djava.security.manager, -Djava.security.policy=file:<java.home>\lib\security\javaws.policy, -DtrustProxy=true, -Djnlpx.home=<java.home>\bin, -Djnlpx.origFilenameArg=%UserProfile%\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\56\1ee8cfb8-2b831b30, -Djnlpx.remove=false, -Djava.util.Arrays.useLegacyMergeSort=true, -Djnlpx.heapsize=NULL,2048m, -Djnlpx.splashport=63999, -Djnlp.application.href=https://josm.openstreetmap.de/download/josm.jnlp, -Djnlpx.jvm=<java.home>\bin\javaw.exe]
Dataset consistency test: No problems found

Plugins:
+ FastDraw (35499)
+ Mapillary (1.5.24)
+ alignways (35474)
+ apache-commons (35524)
+ apache-http (35092)
+ geochat (35405)
+ imagery_offset_db (35405)
+ javafx-windows (35458)
+ jna (35092)
+ measurement (35405)
+ poly (35248)
+ turnrestrictions (35515)
+ wms-turbo-challenge2 (35248)

Last errors/warnings:
- E: Handled by bug report queue: java.lang.IllegalArgumentException: Width (-790) and height (-787) cannot be <= 0
- E: Handled by bug report queue: java.lang.IllegalArgumentException: Width (-790) and height (-787) cannot be <= 0
- E: Handled by bug report queue: java.lang.IllegalArgumentException: Width (-790) and height (-787) cannot be <= 0
- E: Handled by bug report queue: java.lang.IllegalArgumentException: Width (-790) and height (-786) cannot be <= 0
- E: Handled by bug report queue: java.lang.IllegalArgumentException: Width (-790) and height (-787) cannot be <= 0
- W: Too many errors. Dropping ReportedException [thread=Thread[WMS-downloader-48,5,javawsApplicationThreadGroup], exception=java.lang.IllegalArgumentException: Width (-790) and height (-787) cannot be <= 0, methodWarningFrom=BugReportExceptionHandler#handleException]
- E: Handled by bug report queue: java.lang.IllegalArgumentException: Width (-790) and height (-787) cannot be <= 0
- W: Too many errors. Dropping ReportedException [thread=Thread[WMS-downloader-49,5,javawsApplicationThreadGroup], exception=java.lang.IllegalArgumentException: Width (-790) and height (-787) cannot be <= 0, methodWarningFrom=BugReportExceptionHandler#handleException]
- E: Handled by bug report queue: java.lang.IllegalArgumentException: Width (-789) and height (-786) cannot be <= 0
- E: Handled by bug report queue: java.lang.IllegalArgumentException: Width (-791) and height (-787) cannot be <= 0


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

Warning issued by: BugReportExceptionHandler#handleException

=== STACK TRACE ===
Thread: WMS-downloader-8 (185)
java.lang.IllegalArgumentException: Width (-393) and height (-392) cannot be <= 0
	at java.awt.image.DirectColorModel.createCompatibleWritableRaster(Unknown Source)
	at java.awt.image.BufferedImage.<init>(Unknown Source)
	at org.openstreetmap.josm.tools.ImageWarp.warp(ImageWarp.java:153)
	at org.openstreetmap.josm.gui.layer.imagery.ReprojectionTile.transform(ReprojectionTile.java:171)
	at org.openstreetmap.josm.gui.layer.imagery.ReprojectionTile.setImage(ReprojectionTile.java:82)
	at org.openstreetmap.gui.jmapviewer.Tile.loadImage(Tile.java:247)
	at org.openstreetmap.josm.data.imagery.TMSCachedTileLoaderJob.tryLoadTileImage(TMSCachedTileLoaderJob.java:297)
	at org.openstreetmap.josm.data.imagery.TMSCachedTileLoaderJob.loadingFinished(TMSCachedTileLoaderJob.java:183)
	at org.openstreetmap.josm.data.cache.JCSCachedTileLoaderJob.finishLoading(JCSCachedTileLoaderJob.java:258)
	at org.openstreetmap.josm.data.cache.JCSCachedTileLoaderJob.run(JCSCachedTileLoaderJob.java:227)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)

Change History (0)

Note: See TracTickets for help on using tickets.