Modify ↓
Opened 4 years ago
Last modified 4 years ago
#21392 new defect
IAE: Width and height cannot be <= 0 at ImageWarp.warp
| Reported by: | anonymous | Owned by: | team |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Core imagery | Version: | tested |
| Keywords: | template_report warp | Cc: |
Description (last modified by )
What steps will reproduce the problem?
- crashed when switching tile layers
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: 2021-09-03 03:12:33 +0200 (Fri, 03 Sep 2021) Revision:18193 Build-Date:2021-09-03 01:31:19 URL:https://josm.openstreetmap.de/svn/trunk Identification: JOSM/1.5 (18193 pl) Windows 10 64-Bit OS Build number: Windows 10 Home 2009 (19042) Memory Usage: 2288 MB / 4054 MB (684 MB allocated, but free) Java version: 11.0.10+9-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.00×1.00) Maximum Screen Size: 1920×1080 Best cursor sizes: 16×16→32×32, 32×32→32×32 System property file.encoding: Cp1250 System property sun.jnu.encoding: Cp1250 Locale info: pl_PL Numbers with default locale: 1234567890 -> 1234567890 VM arguments: [-Dicedtea-web.bin.location=%UserProfile%\AppData\Local\Programs\OpenWebStart\javaws, -Djava.util.Arrays.useLegacyMergeSort=true, --add-exports=jdk.deploy/com.sun.deploy.config=ALL-UNNAMED, --add-opens=java.desktop/javax.swing.text.html=ALL-UNNAMED, --add-reads=java.naming=ALL-UNNAMED,java.desktop, --add-exports=java.base/sun.security.action=ALL-UNNAMED,java.desktop, --add-reads=java.base=ALL-UNNAMED,java.desktop, --add-exports=java.naming/com.sun.jndi.toolkit.url=ALL-UNNAMED,java.desktop, --add-opens=java.base/jdk.internal.loader=ALL-UNNAMED, --add-exports=java.desktop/com.apple.eawt=ALL-UNNAMED, --add-exports=java.desktop/sun.awt=ALL-UNNAMED,java.desktop, --add-opens=java.base/jdk.internal.ref=ALL-UNNAMED, --add-exports=java.base/sun.security.validator=ALL-UNNAMED,java.desktop, --add-exports=java.desktop/com.sun.imageio.plugins.jpeg=ALL-UNNAMED, --add-exports=java.base/sun.net.www.protocol.jar=ALL-UNNAMED,java.desktop, --add-exports=java.base/jdk.internal.util.jar=ALL-UNNAMED,java.desktop, --add-opens=java.prefs/java.util.prefs=ALL-UNNAMED, --add-exports=java.base/com.sun.net.ssl.internal.ssl=ALL-UNNAMED,java.desktop, --add-exports=javafx.graphics/com.sun.javafx.application=ALL-UNNAMED, --add-modules=java.scripting,java.sql,javafx.controls,javafx.media,javafx.swing,javafx.web, --add-exports=java.desktop/sun.awt.X11=ALL-UNNAMED,java.desktop, --add-exports=java.desktop/sun.applet=ALL-UNNAMED,java.desktop,jdk.jsobject, --add-exports=java.base/sun.net.www.protocol.http=ALL-UNNAMED,java.desktop, --add-opens=java.base/java.lang=ALL-UNNAMED, --add-exports=java.base/sun.security.util=ALL-UNNAMED,java.desktop, --add-exports=java.desktop/com.sun.imageio.spi=ALL-UNNAMED, --add-reads=java.desktop=ALL-UNNAMED,java.naming, --add-opens=java.base/java.nio=ALL-UNNAMED, --add-exports=java.base/sun.security.x509=ALL-UNNAMED,java.desktop, --add-opens=java.desktop/javax.imageio.spi=ALL-UNNAMED, --add-exports=java.desktop/javax.jnlp=ALL-UNNAMED,java.desktop, --add-exports=java.base/sun.security.provider=ALL-UNNAMED,java.desktop] Dataset consistency test: No problems found Plugins: + ImproveWay (32) + PicLayer (1.0.1) + ShapeTools (1240) + apache-commons (35524) + areaselector (368) + austriaaddresshelper (1597341117) + buildings_tools (35756) + contourmerge (v0.1.8) + ejml (35458) + geotools (35458) + gridify (1606242219) + indoor_sweepline (35795) + jaxb (35543) + jts (35458) + log4j (35458) + merge-overlap (35640) + opendata (35803) + reltoolbox (35640) + shrinkwrap (v1.0.4) + splinex (35718) + tageditor (35640) + turnrestrictions (35640) + utilsplugin2 (35792) Map paint styles: + https://josm.openstreetmap.de/josmfile?page=Styles/HiDPISupport&zip=1 - https://josm.openstreetmap.de/josmfile?page=Styles/NewHighwayColors&zip=1 - https://josm.openstreetmap.de/josmfile?page=Styles/Modified&zip=1 - <josm.pref>\styles\sit.mapcss - https://josm.openstreetmap.de/josmfile?page=Styles/iD&zip=1 + c:\dokumenty\osm\<user.name>.mapcss - C:\DOKUMENTY\OSM\big-landuses.mapcss - C:\DOKUMENTY\OSM\surface.mapcss Last errors/warnings: - 00000.490 W: extended font config - overriding 'filename.Myanmar_Text=mmrtext.ttf' with 'MMRTEXT.TTF' - 00000.491 W: extended font config - overriding 'filename.Mongolian_Baiti=monbaiti.ttf' with 'MONBAITI.TTF' - 00004.495 W: Unable to request certificate of https://grca.nat.gov.tw - 00133.988 W: java.net.SocketException: Unexpected end of file from server. Przyczyna: java.net.SocketException: Unexpected end of file from server - 03977.085 E: Handled by bug report queue: java.lang.IllegalArgumentException: Width (1379396801) and height (-1863302510) cannot be <= 0 === REPORTED CRASH DATA === ReprojectionTile#transform: - targetDim: java.awt.Dimension[width=1379396801,height=-1863302510] - key: 2/1/0@Czeskie CUZK:KM - projCurrent: PUWG 1992 (Polska) - projServer: ETRS89 - pbServer: ProjectionBounds[5.6843418860808015E-14,-90.00000000000006,180.0000000000001,90.0] BugReportExceptionHandler#handleException: No data collected. Warning issued by: BugReportExceptionHandler#handleException === STACK TRACE === Thread: WMS-downloader-2 (163) java.lang.IllegalArgumentException: Width (1379396801) and height (-1863302510) cannot be <= 0 at java.desktop/java.awt.image.DirectColorModel.createCompatibleWritableRaster(DirectColorModel.java:1016) at java.desktop/java.awt.image.BufferedImage.<init>(BufferedImage.java:333) at org.openstreetmap.josm.tools.ImageWarp.warp(ImageWarp.java:153) at org.openstreetmap.josm.gui.layer.imagery.ReprojectionTile.transform(ReprojectionTile.java:194) at org.openstreetmap.josm.gui.layer.imagery.ReprojectionTile.setImage(ReprojectionTile.java:105) at org.openstreetmap.gui.jmapviewer.Tile.loadImage(Tile.java:247) at org.openstreetmap.josm.gui.layer.imagery.ReprojectionTile.loadImage(ReprojectionTile.java:96) at org.openstreetmap.josm.data.imagery.TMSCachedTileLoaderJob.tryLoadTileImage(TMSCachedTileLoaderJob.java:328) at org.openstreetmap.josm.data.imagery.TMSCachedTileLoaderJob.loadingFinished(TMSCachedTileLoaderJob.java:210) at org.openstreetmap.josm.data.cache.JCSCachedTileLoaderJob.finishLoading(JCSCachedTileLoaderJob.java:265) at org.openstreetmap.josm.data.cache.JCSCachedTileLoaderJob.run(JCSCachedTileLoaderJob.java:234) 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)
Attachments (0)
Change History (3)
comment:1 by , 4 years ago
| Component: | Core → Core imagery |
|---|
comment:2 by , 4 years ago
| Description: | modified (diff) |
|---|---|
| Keywords: | warp added |
| Summary: | crashed when switching tile layers → IAE: Width and height cannot be <= 0 at ImageWarp.warp |
comment:3 by , 4 years ago
Note:
See TracTickets
for help on using tickets.



In 18244/josm: