Opened 13 years ago

Closed 13 years ago

Last modified 12 years ago

#6214 closed defect (invalid)

Plugins handling broken in 4021?

Reported by: dpaleino Owned by: team
Priority: major Milestone:
Component: Plugin Version: tested
Keywords: Cc:


Upgrading from 3966 to 4021 today, I start JOSM and:

java.lang.ArrayIndexOutOfBoundsException: 1

at org.openstreetmap.josm.plugins.PluginListParser.parse(
at org.openstreetmap.josm.plugins.ReadLocalPluginInformationTask.processLocalPluginInformationFile(
at org.openstreetmap.josm.plugins.ReadLocalPluginInformationTask.scanSiteCacheFiles(
at org.openstreetmap.josm.plugins.ReadLocalPluginInformationTask.scanLocalPluginRepository(
at org.openstreetmap.josm.plugins.ReadLocalPluginInformationTask.realRun(
at org.openstreetmap.josm.gui.PleaseWaitRunnable.doRealRun(
at java.util.concurrent.Executors$
at java.util.concurrent.FutureTask$Sync.innerRun(
at java.util.concurrent.ThreadPoolExecutor.runWorker(
at java.util.concurrent.ThreadPoolExecutor$

At the first run after the upgrade, it asked to update plugins, and failed. Now, when going to the plugin tab, and clicking "Download list", it fails as well, with a similar OutOfBounds exception like above.

I'm marking it as major, because it broke *all* the plugins I had installed.

Thank you,

Attachments (0)

Change History (4)

comment:1 Changed 13 years ago by dpaleino

I must say, moving .josm out of the way "solves" the message at startup, but the "Download plugin list" shows the same message. I suspect something is wrong when parsing , but everything seems fine to me. Also, there are no differences in org.openstreetmap.josm.plugins.* from 3966 to 4021, so I'm really out of ideas.

Thank you.

comment:2 Changed 13 years ago by dpaleino

Resolution: invalid
Status: newclosed


I was right, the problem was in parsing of . However, I had my VPN active, which garbled that file during download (my proxy believed it was spam, or the like). Shutting the VPN down, and re-downloading the plugins list, fixed everything.

Marking the bug as invalid. However, it would be best to give a meaningful error message when the pluginsfile is not readable/parsable (~/.josm/plugins/


comment:3 Changed 13 years ago by stoecker

In [4024/josm]:

see #6214 - better errormessage

comment:4 Changed 12 years ago by stoecker

Ticket #5655 has been marked as a duplicate of this ticket.

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.

Add Comment

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

Note: See TracTickets for help on using tickets.