[ 
https://issues.jenkins-ci.org/browse/JENKINS-7246?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=160866#comment-160866
 ] 

evernat edited comment on JENKINS-7246 at 3/27/12 8:35 PM:
-----------------------------------------------------------

fix is committed in SeleniumhqBuilder.java, revision 40360 (and 40361)

the plugin still needs to be released
                
      was (Author: evernat):
    fix is committed in SeleniumhqBuilder.java, revision 40360

the plugin still needs to be released
                  
> New jre6 requirement : String.isEmpty
> -------------------------------------
>
>                 Key: JENKINS-7246
>                 URL: https://issues.jenkins-ci.org/browse/JENKINS-7246
>             Project: Jenkins
>          Issue Type: Bug
>          Components: seleniumhq
>    Affects Versions: current
>            Reporter: loic_lacombe
>            Assignee: pascal_martin
>
> Hi,
> A selenium build was automatically launched and failed with the following 
> exception :
> FATAL: java.lang.String.isEmpty()Z
> java.lang.NoSuchMethodError: java.lang.String.isEmpty()Z
>       at 
> hudson.plugins.seleniumhq.SeleniumhqBuilder.getOthers(SeleniumhqBuilder.java:290)
>       at 
> hudson.plugins.seleniumhq.SeleniumhqBuilder.perform(SeleniumhqBuilder.java:239)
>       at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
>       at 
> hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:601)
>       at hudson.model.Build$RunnerImpl.build(Build.java:174)
>       at hudson.model.Build$RunnerImpl.doRun(Build.java:138)
>       at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:416)
>       at hudson.model.Run.run(Run.java:1248)
>       at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
>       at hudson.model.ResourceController.execute(ResourceController.java:88)
>       at hudson.model.Executor.run(Executor.java:129)
> The method String.isEmpty does not exist in java 5, the build fails.
> The workaround is to use length() == 0 instead of isEmpty()
> I'll checkout the lastest code asap and post a patch :)
> Cheers

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to