Details

Description

ERROR: Processing failed due to a bug in the code. Please report this to jenkinsci-users@googlegroups.com
java.lang.NumberFormatException: Could not parse 21 rc3
at hudson.plugins.android_emulator.util.Utils.parseRevisionString(Utils.java:607)
at hudson.plugins.android_emulator.util.Utils$2.call(Utils.java:192)
at hudson.plugins.android_emulator.util.Utils$2.call(Utils.java:161)
at hudson.remoting.LocalChannel.call(LocalChannel.java:45)
at hudson.plugins.android_emulator.util.Utils.getAndroidSdk(Utils.java:201)
at hudson.plugins.android_emulator.AndroidEmulator.setUp(AndroidEmulator.java:221)
at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:601)
at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:499)
at hudson.model.Run.execute(Run.java:1502)
at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:477)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:236)
project=hudson.maven.MavenModuleSet@1adea76[ZZ-Android-ZorgEnZekerheid-Test MASTER - Production]
project.getModules()=[]
project.getRootModule()=null
FATAL: Could not parse 21 rc3
java.lang.NumberFormatException: Could not parse 21 rc3
at hudson.plugins.android_emulator.util.Utils.parseRevisionString(Utils.java:607)
at hudson.plugins.android_emulator.util.Utils$2.call(Utils.java:192)
at hudson.plugins.android_emulator.util.Utils$2.call(Utils.java:161)
at hudson.remoting.LocalChannel.call(LocalChannel.java:45)
at hudson.plugins.android_emulator.util.Utils.getAndroidSdk(Utils.java:201)
at hudson.plugins.android_emulator.AndroidEmulator.setUp(AndroidEmulator.java:221)
at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:601)
at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:499)
at hudson.model.Run.execute(Run.java:1502)
at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:477)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:236)

Attachments

Activity

We are also seeing this problem after upgrading to the latest Android SDK. We are using v2.3 of the plugin.

The message we see is a little different, though:

FATAL: Could not parse 21 rc4
java.lang.NumberFormatException: Could not parse 21 rc4
at hudson.plugins.android_emulator.util.Utils.parseRevisionString(Utils.java:607)
at hudson.plugins.android_emulator.util.Utils$2.call(Utils.java:192)
at hudson.plugins.android_emulator.util.Utils$2.call(Utils.java:161)

It seems like the problem is in hudson.plugins.android_emulator.util.Utils:

Ryan Campbell
added a comment - 2012-09-12 21:38 - edited We are also seeing this problem after upgrading to the latest Android SDK. We are using v2.3 of the plugin.
The message we see is a little different, though:
FATAL: Could not parse 21 rc4
java.lang.NumberFormatException: Could not parse 21 rc4
at hudson.plugins.android_emulator.util.Utils.parseRevisionString(Utils.java:607)
at hudson.plugins.android_emulator.util.Utils$2.call(Utils.java:192)
at hudson.plugins.android_emulator.util.Utils$2.call(Utils.java:161)
It seems like the problem is in hudson.plugins.android_emulator.util.Utils:
private static final Pattern REVISION = Pattern.compile("(\\d+)(?:\\. d+)
{0,2}
");