![]() |
|
|
|
|
Issue Type:
|
Bug
|
|
Assignee:
|
Rob Petti
|
|
Components:
|
perforce-plugin |
|
Created:
|
06/Feb/15 4:48 PM
|
|
Description:
|
This is new in 1.3.33. I have downgraded to 1.3.29 to avoid the issue on my end.
The bug appears to be caused by the new date parsing. Intermittently, changes will throw the following exception and fail our builds:
Caught exception communicating with perforce. Failed to retrieve changelist.
at com.tek42.perforce.parse.ChangelistBuilder.build(ChangelistBuilder.java:254)
at com.tek42.perforce.parse.Changes.getChangelist(Changes.java:69)
at com.tek42.perforce.parse.Changes.getChangelistsFromNumbers(Changes.java:431)
at hudson.plugins.perforce.PerforceSCM.checkout(PerforceSCM.java:1073)
at hudson.model.AbstractProject.checkout(AbstractProject.java:1257)
at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:622)
at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:528)
at hudson.model.Run.execute(Run.java:1745)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:89)
at hudson.model.Executor.run(Executor.java:240)
Caused by: java.lang.NumberFormatException: For input string: ""
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
at java.lang.Long.parseLong(Long.java:453)
at java.lang.Long.parseLong(Long.java:483)
at java.text.DigitList.getLong(DigitList.java:194)
at java.text.DecimalFormat.parse(DecimalFormat.java:1316)
at java.text.SimpleDateFormat.subParse(SimpleDateFormat.java:2088)
at java.text.SimpleDateFormat.parse(SimpleDateFormat.java:1455)
at java.text.DateFormat.parse(DateFormat.java:355)
at com.tek42.perforce.parse.ChangelistBuilder.parseDateWithTimezone(ChangelistBuilder.java:286)
at com.tek42.perforce.parse.ChangelistBuilder.build(ChangelistBuilder.java:109)
... 11 more
|
|
Environment:
|
Jenkins 1.580.3, perforce-plugin 1.3.33
|
|
Project:
|
Jenkins
|
|
Priority:
|
Critical
|
|
Reporter:
|
Nicolas Desjardins
|
|
|
|
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
|
--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
[email protected].
For more options, visit
https://groups.google.com/d/optout.