Modify

Opened 7 months ago

Closed 7 months ago

#17645 closed defect (fixed)

IAE: Width (0) and height (16) cannot be <= 0

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

Description (last modified by Don-vip)

What steps will reproduce the problem?

  1. Fehler bei erstem Start nach Installation

What is the expected result?

What happens instead?

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

Build-Date:2018-12-12 14:44:47
Revision:14066
Is-Local-Build:true

Identification: JOSM/1.5 (14066 SVN de) Linux Fedora 29 (Twenty Nine)
Memory Usage: 682 MB / 7145 MB (435 MB allocated, but free)
Java version: 1.8.0_201-b09, Oracle Corporation, OpenJDK 64-Bit Server VM
Screen: :0.0 1920x1080
Maximum Screen Size: 1920x1080
Java package: java-1.8.0-openjdk:x86_64-1.8.0.201.b09

Last errors/warnings:
- W:  Volleyball: Could not get presets icon presets/sport/volleyball.svg
- E: Fehler beim Laden des Bildes 'presets/sport/billiards.svg'
- W:  Billiards: Could not get presets icon presets/sport/billiards.svg
- E: Fehler beim Laden des Bildes 'presets/misc/pipeline_marker.svg'
- W:  Pipeline Marker: Could not get presets icon presets/misc/pipeline_marker.svg
- E: Fehler beim Laden des Bildes 'presets/shop/kiosk.svg'
- W:  Kiosk: Could not get presets icon presets/shop/kiosk.svg
- E: Fehler beim Laden des Bildes 'presets/shop/lottery.svg'
- W:  Bookmaker: Could not get presets icon presets/shop/lottery.svg
- E: Handled by bug report queue: java.lang.IllegalArgumentException: Width (0) and height (16) cannot be <= 0


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

Warning issued by: BugReportExceptionHandler#handleException

=== STACK TRACE ===
Thread: AWT-EventQueue-0 (17) of main
java.lang.IllegalArgumentException: Width (0) and height (16) cannot be <= 0
	at java.awt.image.DirectColorModel.createCompatibleWritableRaster(DirectColorModel.java:1016)
	at java.awt.image.BufferedImage.<init>(BufferedImage.java:333)
	at org.openstreetmap.josm.tools.ImageProvider.createImageFromSvg(ImageProvider.java:1590)
	at org.openstreetmap.josm.tools.ImageResource.getImageIcon(ImageResource.java:163)
	at org.openstreetmap.josm.tools.ImageResource.getImageIconBounded(ImageResource.java:276)
	at org.openstreetmap.josm.tools.ImageResource.getImageIconBounded(ImageResource.java:229)
	at org.openstreetmap.josm.tools.ImageResource.attachImageIcon(ImageResource.java:104)
	at org.openstreetmap.josm.gui.tagging.presets.TaggingPreset.lambda$null$0(TaggingPreset.java:223)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
	at java.awt.EventQueue.access$500(EventQueue.java:97)
	at java.awt.EventQueue$3.run(EventQueue.java:709)
	at java.awt.EventQueue$3.run(EventQueue.java:703)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

Attachments (0)

Change History (3)

comment:1 Changed 7 months ago by Don-vip

Description: modified (diff)
Summary: Fehler bei erstem Start nach InstallationIAE: Width (0) and height (16) cannot be <= 0

comment:2 Changed 7 months ago by Don-vip

Milestone: 19.04

comment:3 Changed 7 months ago by Don-vip

Resolution: fixed
Status: newclosed

In 15029/josm:

fix #17645 - robustness to invalid preset icons

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.