[JIRA] (JENKINS-56283) Shelve project plugin failed to parse timestamp from archive name

7 views
Skip to first unread message

xpyct707@mail.ru (JIRA)

unread,
Feb 26, 2019, 5:47:02 AM2/26/19
to jenkinsc...@googlegroups.com
Sergey Ryazantsev created an issue
 
Jenkins / Bug JENKINS-56283
Shelve project plugin failed to parse timestamp from archive name
Issue Type: Bug Bug
Assignee: Pierre Beitz
Components: shelve-project-plugin
Created: 2019-02-26 10:46
Priority: Minor Minor
Reporter: Sergey Ryazantsev

Hello team,

While parsing job archive name like "job_name-1522136806296 (2).zip" , the plugin crashes with:

04:13:14 java.lang.NumberFormatException: For input string: "1522136806296 (2)"
04:13:14 at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
04:13:14 at java.lang.Long.parseLong(Long.java:441)
04:13:14 at java.lang.Long.valueOf(Long.java:540)
04:13:14 at org.jvnet.hudson.plugins.shelveproject.ShelvedProjectsAction.getShelvedProjectFromArchive(ShelvedProjectsAction.java:99)
04:13:14 at org.jvnet.hudson.plugins.shelveproject.ShelvedProjectsAction.getShelvedProjects(ShelvedProjectsAction.java:74)

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

pibeitz@gmail.com (JIRA)

unread,
May 19, 2019, 10:47:02 AM5/19/19
to jenkinsc...@googlegroups.com
Pierre Beitz commented on Bug JENKINS-56283
 
Re: Shelve project plugin failed to parse timestamp from archive name

Sergey Ryazantsev The provided stack doesn't match the latest plugin release, could you please try reproducing on this release? 

 

pibeitz@gmail.com (JIRA)

unread,
May 19, 2019, 10:51:01 AM5/19/19
to jenkinsc...@googlegroups.com

Sergey Ryazantsev nevermind my latest comment. I found the guilty code, it's some legacy code for pre v2 shelved projects. What I don't explain if why you end up with this (2) in the filename, the plugin is not supposed to do that. Was the shelvedProjects folder somehow changed (copied, moved etc???).

Could you please list the files in it?

pibeitz@gmail.com (JIRA)

unread,
Jun 9, 2019, 9:43:02 AM6/9/19
to jenkinsc...@googlegroups.com
Pierre Beitz closed an issue as Cannot Reproduce
 
Change By: Pierre Beitz
Status: Open Closed
Resolution: Cannot Reproduce

pibeitz@gmail.com (JIRA)

unread,
Jun 9, 2019, 9:43:02 AM6/9/19
to jenkinsc...@googlegroups.com
 
Re: Shelve project plugin failed to parse timestamp from archive name

Closing as not reproducible. My current analysis is still that the archive file was somehow duplicated (by the OS?). If you have a use case, please reopen.

Reply all
Reply to author
Forward
0 new messages