java.lang.NumberFormatException: For input string: "1970-01-17T05:02:10+0200 +0200"


Samebug tips3

Java does not handle IPv6 nameservers before 1.8.0_60. Upgrade to the latest JVM.


5 months ago

This is a bug in Wise, updating to v4.10 seems to solve the problem.


5 months ago
Expert tip

Solutions on the web4064

Solution icon of jenkins
via Jenkins JIRA by Moosh Ben, 1 year ago
For input string: "1970-01-17T05:02:10+0200 +0200"

Solution icon of jenkins
via Jenkins JIRA by Moosh Ben, 1 year ago
For input string: "1970-01-17T05:02:10+0200 +0200"

Solution icon of jenkins
via Jenkins JIRA by Bao Xiaopan(Bob), 1 year ago
For input string: "1970-01-17T11:02:12+0800 +0800"

Solution icon of jenkins
via Jenkins JIRA by Bao Xiaopan(Bob), 1 year ago
For input string: "1970-01-17T11:02:12+0800 +0800"

Solution icon of jenkins
via Jenkins JIRA by uwodi, 1 year ago
For input string: "1970-01-16T21:55:36-0500 -0500"

Solution icon of web
For input string: "1970-01-17T04:06:46+0100 +0100"

Solution icon of jenkins
via Jenkins JIRA by Henrik Gustafsson, 1 year ago
For input string: "1970-01-17T04:06:46+0100 +0100"

Solution icon of jenkins
via Jenkins JIRA by uwodi, 1 year ago
For input string: "1970-01-16T21:55:36-0500 -0500"

Solution icon of jenkins
via Jenkins JIRA by Henrik Gustafsson, 1 year ago
For input string: "1970-01-17T04:06:46+0100 +0100"

Solution icon of github
For input string: "Thu, 01 Jan 1970 00:00:04 GMT"

Stack trace

java.lang.NumberFormatException: For input string: "1970-01-17T05:02:10+0200 +0200"
	at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
	at java.lang.Long.parseLong(Long.java:441)
	at java.lang.Long.parseLong(Long.java:483)
	at hudson.plugins.git.GitChangeSet.getTimestamp(GitChangeSet.java:194)
	at hudson.plugins.git.GitChangeSet$getTimestamp.call(Unknown Source)
	at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:112)
	at Script1$_run_closure1.doCall(Script1.groovy:23)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:601)
	at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
	at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)
	at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:272)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:903)
	at groovy.lang.Closure.call(Closure.java:415)
	at groovy.lang.Closure.call(Closure.java:428)
	at org.codehaus.groovy.runtime.DefaultGroovyMethods.each(DefaultGroovyMethods.java:1379)
	at org.codehaus.groovy.runtime.DefaultGroovyMethods.each(DefaultGroovyMethods.java:1351)
	at org.codehaus.groovy.runtime.dgm$170.invoke(Unknown Source)
	at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite$PojoMetaMethodSiteNoUnwrapNoCoerce.invoke(PojoMetaMethodSite.java:271)
	at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:53)
	at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116)
	at Script1.run(Script1.groovy:20)
	at groovy.lang.GroovyShell.evaluate(GroovyShell.java:650)
	at groovy.lang.GroovyShell.evaluate(GroovyShell.java:636)
	at hudson.plugins.groovy.SystemGroovy.perform(SystemGroovy.java:82)
	at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
	at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:784)
	at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.build(MavenModuleSetBuild.java:899)
	at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:666)
	at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:565)
	at hudson.model.Run.execute(Run.java:1670)
	at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:519)
	at hudson.model.ResourceController.execute(ResourceController.java:88)
	at hudson.model.Executor.run(Executor.java:231)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

31 times, 3 months ago
Samebug visitor profile picture
Unknown user
2 times, 6 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
68 times, 1 year ago
220 more bugmates