Opened 10 years ago

Closed 10 years ago

#10267 closed defect (fixed)

Non-functional decoding of JPEG imagery in Czech Republic

Reported by: chrabros Owned by: team
Priority: normal Milestone: 14.07
Component: Core imagery Version: latest
Keywords: JPEG decoding Cc:

Description (last modified by Don-vip)

JOSM is not able to display WMS imagery of the Czech Republic since some time ago.
I am not sure since which JOSM version this is, maybe it was related to switch to newer Java.
It seems to affect only Windows version as Linux users do not have this isssue.

It seems that JOSM is not able to decode JPEG properly. When the WMS is switched to PNG it works (but the image is worse so it is not a real work around).

Internet browser is able to decode the WMS link without any problems.

Can you please look into it and fix it?

Here is the example WMS link and error message:
INFO: Grabbing WMS (attempt 4),49.2568705,14.2960236,49.2579330

ERROR: javax.imageio.IIOException: Inconsistent metadata read from stream
javax.imageio.IIOException: Inconsistent metadata read from stream
        at com.sun.imageio.plugins.jpeg.JPEGMetadata.<init>(Unknown Source)
        at com.sun.imageio.plugins.jpeg.JPEGImageReader.getImageMetadata(Unknown Source)
        at Source)

Attachments (0)

Change History (3)

comment:1 by Don-vip, 10 years ago

Description: modified (diff)
Milestone: 14.07

comment:2 by Don-vip, 10 years ago

In 7312/josm:

see #10267 - display HTML error page sent by WMS server when applicable

comment:3 by Don-vip, 10 years ago

Resolution: fixed
Status: newclosed

In 7313/josm:

fix #10267 - WMS robustness against JPEG files with invalid metadata (according to Java at least)

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment

E-mail address and name can be saved in the Preferences .
Note: See TracTickets for help on using tickets.