Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#9711 closed defect (fixed)

NPE in java.lang.NumberFormatException after updating plugin list

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


I noticed this showing up in the console (no normal bug report message) after updating my copy of JOSM to [6841] tonight. I assume this is because of the change in [6839], since it dealt with the plugin list.

Just thought I would give you guys a heads up about this so it can be fixed. ;)

WARNING: java.lang.NumberFormatException: null
java.lang.NumberFormatException: null
        at java.lang.Integer.parseInt(Unknown Source)
        at java.lang.Integer.parseInt(Unknown Source)
        at org.openstreetmap.josm.plugins.PluginInformation.scanManifest(
        at org.openstreetmap.josm.plugins.PluginInformation.<init>(
        at org.openstreetmap.josm.plugins.PluginListParser.createInfo(
        at org.openstreetmap.josm.plugins.PluginListParser.addPluginInformation(
        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$ Source)
        at Source)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$ Source)
        at Source)
Repository Root:
Build-Date: 2014-02-12 02:35:31
Last Changed Author: Don-vip
Revision: 6841
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last Changed Date: 2014-02-12 00:55:05 +0100 (Wed, 12 Feb 2014)
Last Changed Rev: 6841

Identification: JOSM/1.5 (6841 en) Windows 7 64-Bit
Memory Usage: 222 MB / 1820 MB (163 MB allocated, but free)
Java version: 1.7.0_51, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM
VM arguments: [-Xmx2048M]

Plugin: ImageryCache (30277)
Plugin: OpeningHoursEditor (30235)
Plugin: buildings_tools (30277)
Plugin: measurement (30277)
Plugin: mirrored_download (30197)
Plugin: notes (v0.9.1)
Plugin: osmarender (30277)
Plugin: reverter (30277)
Plugin: turnrestrictions (30277)
Plugin: undelete (30277)
Plugin: utilsplugin2 (30277)

Attachments (0)

Change History (2)

comment:1 Changed 10 years ago by Don-vip

Resolution: fixed
Status: newclosed

In 6843/josm:

fix #9711 - Nicer report of invalid plugins + javadoc

comment:2 Changed 10 years ago by Don-vip

Milestone: 14.02

Unrelated to core changes.

WARNING: Missing plugin main version in plugin TombPlugin

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.