brooklyn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <>
Subject [jira] [Commented] (BROOKLYN-449) Intermittent NoClassDefFoundError (org.codehaus.groovy.runtime.InvokerHelper) invoking effector
Date Mon, 29 May 2017 11:36:04 GMT


ASF GitHub Bot commented on BROOKLYN-449:

GitHub user aledsage opened a pull request:

    Remove GroovyJavaMethods.* usage

    Motivated by @duncangrant encountering more problems like that in,
but this time when it tried to call `DslComponent` which called `GroovyJavaMethods.truth`.
    Now the only use of `GroovyJavaMethods` are:
    * If we genuinely have a Groovy-specific object, such as a `Closure` 
    * `AbstractAggregatingEnricher` constructor uses `GroovyJavaMethods.castToPredicate()`
(but that code is all deprecated since 0.7.0, so should just be deleted - assuming it is never
mentioned in anyone's persisted state?!)
    These changes will change the semantics of our `attributeWhenReady` etc very slightly,
for people taking advantage of the more unusual groovy'isms.
    The difference between `GroovyJavaMethods.truth` and `JavaGroovyEquivalents.groovyTruth()`
is that the former also handles "matchers" and classes with an asBoolean method (see
    However, we deprecated all the groovy support in 0.11.0, so I think it's fine to make
these changes now.

You can merge this pull request into a Git repository by running:

    $ git pull remove-groovy-usage

Alternatively you can review and apply these changes as the patch at:

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #706
commit c52cb126c6efa64a1093efca423245b6ee9d8e52
Author: Aled Sage <>
Date:   2017-05-29T11:27:10Z

    Remove GroovyJavaMethods.* usage


> Intermittent NoClassDefFoundError (org.codehaus.groovy.runtime.InvokerHelper) invoking
> -----------------------------------------------------------------------------------------------
>                 Key: BROOKLYN-449
>                 URL:
>             Project: Brooklyn
>          Issue Type: Bug
>            Reporter: Duncan Grant
>         Attachments: amp.debug.log,, karaf.log, karaf output
> I've seen the following error occasionally during redis deployment.  Most of the time
it seems to work.
> java.lang.NoClassDefFoundError: Could not initialize class org.codehaus.groovy.runtime.InvokerHelper
> I'm deploying using the
> Sorry - the logs are in kibana and I don't know how to export them.

This message was sent by Atlassian JIRA

View raw message