[JIRA] Created: (HUDSON-5440) Use of java.lang.String.isEmpty() (Java 1.6)

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

[JIRA] Created: (HUDSON-5440) Use of java.lang.String.isEmpty() (Java 1.6)

Hudson issues mailing list
Use of java.lang.String.isEmpty() (Java 1.6)
--------------------------------------------

                 Key: HUDSON-5440
                 URL: http://issues.hudson-ci.org/browse/HUDSON-5440
             Project: Hudson
          Issue Type: Bug
          Components: emma
    Affects Versions: current
         Environment: Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_12-b04)

            Reporter: lbrinkmann
            Assignee: kohsuke


The Plugin seems to use Java 1.6 Methods

FATAL: java.lang.String.isEmpty()Z
java.lang.NoSuchMethodError: java.lang.String.isEmpty()Z
        at hudson.plugins.emma.EmmaPublisher.perform(EmmaPublisher.java:105)
        at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36)
        at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:582)
        at hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:563)
        at hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:550)
        at hudson.model.Build$RunnerImpl.post2(Build.java:152)
        at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:528)
        at hudson.model.Run.run(Run.java:1221)
        at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
        at hudson.model.ResourceController.execute(ResourceController.java:88)
        at hudson.model.Executor.run(Executor.java:122)


--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.hudson-ci.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[JIRA] Updated: (HUDSON-5440) Use of java.lang.String.isEmpty() (Java 1.6)

Hudson issues mailing list

     [ http://issues.hudson-ci.org/browse/HUDSON-5440?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

lbrinkmann updated HUDSON-5440:
-------------------------------

    Description:
The Plugin seems to use Java 1.6 Methods

FATAL: java.lang.String.isEmpty()Z
java.lang.NoSuchMethodError: java.lang.String.isEmpty()Z
        at hudson.plugins.emma.EmmaPublisher.perform(EmmaPublisher.java:105)
        at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36)
        at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:582)
        at hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:563)
        at hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:550)
        at hudson.model.Build$RunnerImpl.post2(Build.java:152)
        at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:528)
        at hudson.model.Run.run(Run.java:1221)
        at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
        at hudson.model.ResourceController.execute(ResourceController.java:88)
        at hudson.model.Executor.run(Executor.java:122)


Not sure whether this should be considered a bug but it prevents our Hudson from successfull building and others have the same problem:
http://wiki.hudson-ci.org/display/HUDSON/Emma+Plugin?focusedCommentId=42469455#comment-42469455


  was:
The Plugin seems to use Java 1.6 Methods

FATAL: java.lang.String.isEmpty()Z
java.lang.NoSuchMethodError: java.lang.String.isEmpty()Z
        at hudson.plugins.emma.EmmaPublisher.perform(EmmaPublisher.java:105)
        at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36)
        at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:582)
        at hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:563)
        at hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:550)
        at hudson.model.Build$RunnerImpl.post2(Build.java:152)
        at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:528)
        at hudson.model.Run.run(Run.java:1221)
        at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
        at hudson.model.ResourceController.execute(ResourceController.java:88)
        at hudson.model.Executor.run(Executor.java:122)



> Use of java.lang.String.isEmpty() (Java 1.6)
> --------------------------------------------
>
>                 Key: HUDSON-5440
>                 URL: http://issues.hudson-ci.org/browse/HUDSON-5440
>             Project: Hudson
>          Issue Type: Bug
>          Components: emma
>    Affects Versions: current
>         Environment: Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_12-b04)
>            Reporter: lbrinkmann
>            Assignee: kohsuke
>
> The Plugin seems to use Java 1.6 Methods
> FATAL: java.lang.String.isEmpty()Z
> java.lang.NoSuchMethodError: java.lang.String.isEmpty()Z
> at hudson.plugins.emma.EmmaPublisher.perform(EmmaPublisher.java:105)
> at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36)
> at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:582)
> at hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:563)
> at hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:550)
> at hudson.model.Build$RunnerImpl.post2(Build.java:152)
> at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:528)
> at hudson.model.Run.run(Run.java:1221)
> at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
> at hudson.model.ResourceController.execute(ResourceController.java:88)
> at hudson.model.Executor.run(Executor.java:122)
> Not sure whether this should be considered a bug but it prevents our Hudson from successfull building and others have the same problem:
> http://wiki.hudson-ci.org/display/HUDSON/Emma+Plugin?focusedCommentId=42469455#comment-42469455

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.hudson-ci.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[JIRA] Assigned: (HUDSON-5440) Use of java.lang.String.isEmpty() (Java 1.6)

Hudson issues mailing list
In reply to this post by Hudson issues mailing list

     [ http://issues.hudson-ci.org/browse/HUDSON-5440?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

lbrinkmann reassigned HUDSON-5440:
----------------------------------

    Assignee:     (was: kohsuke)

> Use of java.lang.String.isEmpty() (Java 1.6)
> --------------------------------------------
>
>                 Key: HUDSON-5440
>                 URL: http://issues.hudson-ci.org/browse/HUDSON-5440
>             Project: Hudson
>          Issue Type: Bug
>          Components: emma
>    Affects Versions: current
>         Environment: Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_12-b04)
>            Reporter: lbrinkmann
>
> The Plugin seems to use Java 1.6 Methods
> FATAL: java.lang.String.isEmpty()Z
> java.lang.NoSuchMethodError: java.lang.String.isEmpty()Z
> at hudson.plugins.emma.EmmaPublisher.perform(EmmaPublisher.java:105)
> at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36)
> at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:582)
> at hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:563)
> at hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:550)
> at hudson.model.Build$RunnerImpl.post2(Build.java:152)
> at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:528)
> at hudson.model.Run.run(Run.java:1221)
> at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
> at hudson.model.ResourceController.execute(ResourceController.java:88)
> at hudson.model.Executor.run(Executor.java:122)
> Not sure whether this should be considered a bug but it prevents our Hudson from successfull building and others have the same problem:
> http://wiki.hudson-ci.org/display/HUDSON/Emma+Plugin?focusedCommentId=42469455#comment-42469455

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.hudson-ci.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[JIRA] Commented: (HUDSON-5440) Use of java.lang.String.isEmpty() (Java 1.6)

Hudson issues mailing list
In reply to this post by Hudson issues mailing list

    [ http://issues.hudson-ci.org/browse/HUDSON-5440?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=136167#action_136167 ]

himanshuhv commented on HUDSON-5440:
------------------------------------

The workaround for the time-being is to de-select the plugin from hudson. This should remove the problem with the failing builds.

The other solution could be to use JDK 1.6 in the hudson job (haven't tried it), but it may fix the problem. Use this only, if you are fine with your code to be tested against JDK1.6.

> Use of java.lang.String.isEmpty() (Java 1.6)
> --------------------------------------------
>
>                 Key: HUDSON-5440
>                 URL: http://issues.hudson-ci.org/browse/HUDSON-5440
>             Project: Hudson
>          Issue Type: Bug
>          Components: emma
>    Affects Versions: current
>         Environment: Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_12-b04)
>            Reporter: lbrinkmann
>
> The Plugin seems to use Java 1.6 Methods
> FATAL: java.lang.String.isEmpty()Z
> java.lang.NoSuchMethodError: java.lang.String.isEmpty()Z
> at hudson.plugins.emma.EmmaPublisher.perform(EmmaPublisher.java:105)
> at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36)
> at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:582)
> at hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:563)
> at hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:550)
> at hudson.model.Build$RunnerImpl.post2(Build.java:152)
> at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:528)
> at hudson.model.Run.run(Run.java:1221)
> at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
> at hudson.model.ResourceController.execute(ResourceController.java:88)
> at hudson.model.Executor.run(Executor.java:122)
> Not sure whether this should be considered a bug but it prevents our Hudson from successfull building and others have the same problem:
> http://wiki.hudson-ci.org/display/HUDSON/Emma+Plugin?focusedCommentId=42469455#comment-42469455

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.hudson-ci.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[JIRA] Assigned: (HUDSON-5440) Use of java.lang.String.isEmpty() (Java 1.6)

Hudson issues mailing list
In reply to this post by Hudson issues mailing list

     [ http://issues.hudson-ci.org/browse/HUDSON-5440?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

mdonohue reassigned HUDSON-5440:
--------------------------------

    Assignee: mdonohue

> Use of java.lang.String.isEmpty() (Java 1.6)
> --------------------------------------------
>
>                 Key: HUDSON-5440
>                 URL: http://issues.hudson-ci.org/browse/HUDSON-5440
>             Project: Hudson
>          Issue Type: Bug
>          Components: emma
>    Affects Versions: current
>         Environment: Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_12-b04)
>            Reporter: lbrinkmann
>            Assignee: mdonohue
>
> The Plugin seems to use Java 1.6 Methods
> FATAL: java.lang.String.isEmpty()Z
> java.lang.NoSuchMethodError: java.lang.String.isEmpty()Z
> at hudson.plugins.emma.EmmaPublisher.perform(EmmaPublisher.java:105)
> at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36)
> at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:582)
> at hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:563)
> at hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:550)
> at hudson.model.Build$RunnerImpl.post2(Build.java:152)
> at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:528)
> at hudson.model.Run.run(Run.java:1221)
> at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
> at hudson.model.ResourceController.execute(ResourceController.java:88)
> at hudson.model.Executor.run(Executor.java:122)
> Not sure whether this should be considered a bug but it prevents our Hudson from successfull building and others have the same problem:
> http://wiki.hudson-ci.org/display/HUDSON/Emma+Plugin?focusedCommentId=42469455#comment-42469455

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.hudson-ci.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[JIRA] Resolved: (HUDSON-5440) Use of java.lang.String.isEmpty() (Java 1.6)

Hudson issues mailing list
In reply to this post by Hudson issues mailing list

     [ http://issues.hudson-ci.org/browse/HUDSON-5440?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

mdonohue resolved HUDSON-5440.
------------------------------

    Resolution: Fixed

I've just remove the isEmpty() call, and released version 1.12 of the plugin.   I'm having difficulty with my account on the wiki, so if someone could update the changelog to include a link to this issue as fixed in 1.12, that would be helpful.

> Use of java.lang.String.isEmpty() (Java 1.6)
> --------------------------------------------
>
>                 Key: HUDSON-5440
>                 URL: http://issues.hudson-ci.org/browse/HUDSON-5440
>             Project: Hudson
>          Issue Type: Bug
>          Components: emma
>    Affects Versions: current
>         Environment: Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_12-b04)
>            Reporter: lbrinkmann
>            Assignee: mdonohue
>
> The Plugin seems to use Java 1.6 Methods
> FATAL: java.lang.String.isEmpty()Z
> java.lang.NoSuchMethodError: java.lang.String.isEmpty()Z
> at hudson.plugins.emma.EmmaPublisher.perform(EmmaPublisher.java:105)
> at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36)
> at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:582)
> at hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:563)
> at hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:550)
> at hudson.model.Build$RunnerImpl.post2(Build.java:152)
> at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:528)
> at hudson.model.Run.run(Run.java:1221)
> at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
> at hudson.model.ResourceController.execute(ResourceController.java:88)
> at hudson.model.Executor.run(Executor.java:122)
> Not sure whether this should be considered a bug but it prevents our Hudson from successfull building and others have the same problem:
> http://wiki.hudson-ci.org/display/HUDSON/Emma+Plugin?focusedCommentId=42469455#comment-42469455

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.hudson-ci.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]