Modify

Opened 3 years ago

Closed 3 years ago

#5539 closed defect (fixed)

No Plugins after upgrade

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

Description

Update from 3376 -> 3529 (on Gentoo Linux with ebuild from http://bugs.gentoo.org/show_bug.cgi?id=3245599):
I get the following NPE whenever I try download the plugin list. I looks like the Plugin Manifest is suddenly corrupt or incompatible with the new JOSM version:

Build-Date: 2010-10-10 12:14:25
Revision: 3529
Is-Local-Build: true

Identification: JOSM/1.5 (3529 SVN en)
Memory Usage: 105 MB / 880 MB (47 MB allocated, but free)
Java version: 1.6.0_20, Sun Microsystems Inc., Java HotSpot(TM) 64-Bit Server VM
Operating system: Linux

Plugin: Create_grid_of_ways
Plugin: DirectUpload
Plugin: buildings_tools
Plugin: dataimport
Plugin: download_along
Plugin: editgpx
Plugin: measurement
Plugin: multipoly
Plugin: openstreetbugs
Plugin: remotecontrol
Plugin: reverter
Plugin: slippymap
Plugin: undelete
Plugin: validator
Plugin: wayselector
Plugin: wmsplugin

java.lang.NullPointerException

at org.openstreetmap.josm.plugins.PluginInformation.scanManifest(PluginInformation.java:215)
at org.openstreetmap.josm.plugins.PluginInformation.<init>(PluginInformation.java:117)
at org.openstreetmap.josm.plugins.PluginListParser.createInfo(PluginListParser.java:36)
at org.openstreetmap.josm.plugins.PluginListParser.parse(PluginListParser.java:87)
at org.openstreetmap.josm.plugins.ReadLocalPluginInformationTask.processLocalPluginInformationFile(ReadLocalPluginInformationTask.java:171)
at org.openstreetmap.josm.plugins.ReadLocalPluginInformationTask.scanSiteCacheFiles(ReadLocalPluginInformationTask.java:90)
at org.openstreetmap.josm.plugins.ReadLocalPluginInformationTask.scanLocalPluginRepository(ReadLocalPluginInformationTask.java:158)
at org.openstreetmap.josm.plugins.ReadLocalPluginInformationTask.realRun(ReadLocalPluginInformationTask.java:217)
at org.openstreetmap.josm.gui.PleaseWaitRunnable.doRealRun(PleaseWaitRunnable.java:83)
at org.openstreetmap.josm.gui.PleaseWaitRunnable.run(PleaseWaitRunnable.java:129)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)

Attachments (0)

Change History (4)

comment:1 Changed 3 years ago by bastiK

  • Resolution set to fixed
  • Status changed from new to closed

Ignore all exceptions and redownload the plugin list.

comment:2 Changed 3 years ago by Flow

Oh, I tried that before. But it gives me an NPE.
Preferences -> Plugins -> Download list:

Build-Date: 2010-10-10 12:14:25
Revision: 3529
Is-Local-Build: true

Identification: JOSM/1.5 (3529 SVN en)
Memory Usage: 105 MB / 880 MB (73 MB allocated, but free)
Java version: 1.6.0_20, Sun Microsystems Inc., Java HotSpot(TM) 64-Bit Server VM
Operating system: Linux

java.lang.NullPointerException

at org.openstreetmap.josm.plugins.PluginInformation.scanManifest(PluginInformation.java:215)
at org.openstreetmap.josm.plugins.PluginInformation.<init>(PluginInformation.java:117)
at org.openstreetmap.josm.plugins.PluginListParser.createInfo(PluginListParser.java:36)
at org.openstreetmap.josm.plugins.PluginListParser.parse(PluginListParser.java:87)
at org.openstreetmap.josm.plugins.ReadLocalPluginInformationTask.processLocalPluginInformationFile(ReadLocalPluginInformationTask.java:171)
at org.openstreetmap.josm.plugins.ReadLocalPluginInformationTask.scanSiteCacheFiles(ReadLocalPluginInformationTask.java:90)
at org.openstreetmap.josm.plugins.ReadLocalPluginInformationTask.scanLocalPluginRepository(ReadLocalPluginInformationTask.java:158)
at org.openstreetmap.josm.plugins.ReadLocalPluginInformationTask.realRun(ReadLocalPluginInformationTask.java:217)
at org.openstreetmap.josm.gui.PleaseWaitRunnable.doRealRun(PleaseWaitRunnable.java:83)
at org.openstreetmap.josm.gui.PleaseWaitRunnable.run(PleaseWaitRunnable.java:129)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)

comment:3 Changed 3 years ago by Flow

  • Resolution fixed deleted
  • Status changed from closed to reopened

comment:4 Changed 3 years ago by bastiK

  • Resolution set to fixed
  • Status changed from reopened to closed

Right, click cancel when the exception shows up and then redownload the plugin list.

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed .
as The resolution will be set. Next status will be 'closed'.
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.