You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At the first time running ./gradlew clean, the CSV file is correctly generated (with headers turned off). Turning headers on and running it again causes an exception and makes the build fail.
java.lang.NumberFormatException: For input string: "timestamp"
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
at java.lang.Long.parseLong(Long.java:589)
at java.lang.Long.valueOf(Long.java:803)
at java_lang_Long$valueOf$0.call(UnknownSource)
at net.rdrei.android.buildtimetracker.reporters.CSVSummaryReporter$_printReport_closure2.doCall(CSVSummaryReporter.groovy:48)
at sun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethod)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:93)
at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:294)
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1027)
at groovy.lang.Closure.call(Closure.java:414)
at org.codehaus.groovy.runtime.DefaultGroovyMethods.callClosureForMapEntry(DefaultGroovyMethods.java:5226)
at org.codehaus.groovy.runtime.DefaultGroovyMethods.collectEntries(DefaultGroovyMethods.java:3489)
The text was updated successfully, but these errors were encountered:
julioz
changed the title
NumberFormatException on build
NumberFormatException while parsing String as Long
Apr 17, 2017
Just added the plugin to my project to check how it works. Followed the guidelines suggested by the documentation.
My config:
Using
"net.rdrei.android.buildtimetracker:gradle-plugin:0.9.+"
At the first time running
./gradlew clean
, the CSV file is correctly generated (with headers turned off). Turning headers on and running it again causes an exception and makes the build fail.The text was updated successfully, but these errors were encountered: