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)
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???).
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.