Modify

Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#8191 closed defect (fixed)

(too long) timeout at missing styles

Reported by: malenki Owned by: team
Priority: normal Milestone:
Component: Core Version: latest
Keywords: Cc:

Description

Today JOSM got stuck at loading background settings using the most recent version down to r5516.
Due to JOSM outputting

Download redirected to 'http://maps.tilusnet.com/cgi-sys/suspendedpage.cgi'

I could hunt that behaviour down to this entry in the preferences.xml (which most probably was put there by the Mappaint-Styles-plugin):

    <map>
      <tag key='title' value='JOSM internal, no labels'/>
      <tag key='active' value='false'/>
      <tag key='ptoken' value='standard without labels'/>
      <tag key='url' value='http://maps.tilusnet.com/josmdata/elemstyles_nolabels.xml'/>
    </map>

After removing this lines JOSM started normally.
A test showed that after two minutes JOSM would start with the codeblock above not being removed.

I'd suggest to shorten the timeout of remote elements being used in JOSM if that is possible. There won't be many people waiting two minutes for JOSM to start...

Attachments (0)

Change History (3)

comment:1 by Don-vip, 11 years ago

Resolution: fixed
Status: newclosed

In 5580/josm:

fix #8191 - Do not load external DTDs when reading (supposed) XML files. When reading W3C XHTML DTD (in case of invalid served XML file), this causes JOSM to hang two minutes.

comment:2 by malenki, 11 years ago

Thanks for the quick fix!

comment:3 by Don-vip, 11 years ago

You're welcome. Thanks for the investigation you have made, it was really helpful. If there were star banners for the best explained tickets, I would give you one :D

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. 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.