Modify

Opened 11 years ago

Closed 11 years ago

Last modified 11 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:

Description

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(PluginInformation.java:216)
        at org.openstreetmap.josm.plugins.PluginInformation.<init>(PluginInformation.java:127)
        at org.openstreetmap.josm.plugins.PluginListParser.createInfo(PluginListParser.java:38)
        at org.openstreetmap.josm.plugins.PluginListParser.addPluginInformation(PluginListParser.java:96)
        at org.openstreetmap.josm.plugins.PluginListParser.parse(PluginListParser.java:77)
        at org.openstreetmap.josm.plugins.ReadLocalPluginInformationTask.processLocalPluginInformationFile(ReadLocalPluginInformationTask.java:178)
        at org.openstreetmap.josm.plugins.ReadLocalPluginInformationTask.scanSiteCacheFiles(ReadLocalPluginInformationTask.java:91)
        at org.openstreetmap.josm.plugins.ReadLocalPluginInformationTask.scanLocalPluginRepository(ReadLocalPluginInformationTask.java:165)
        at org.openstreetmap.josm.plugins.ReadLocalPluginInformationTask.realRun(ReadLocalPluginInformationTask.java:220)
        at org.openstreetmap.josm.gui.PleaseWaitRunnable.doRealRun(PleaseWaitRunnable.java:82)
        at org.openstreetmap.josm.gui.PleaseWaitRunnable.run(PleaseWaitRunnable.java:150)
        at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
        at java.util.concurrent.FutureTask.run(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)
Repository Root: http://josm.openstreetmap.de/svn
Build-Date: 2014-02-12 02:35:31
Last Changed Author: Don-vip
Revision: 6841
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
URL: http://josm.openstreetmap.de/svn/trunk
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 by Don-vip, 11 years ago

Resolution: fixed
Status: newclosed

In 6843/josm:

fix #9711 - Nicer report of invalid plugins + javadoc

comment:2 by Don-vip, 11 years ago

Milestone: 14.02

Unrelated to core changes.

WARNING: Missing plugin main version in plugin TombPlugin

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.