Getting "Failed to notify profile listener" in Gradle userguide build

classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Getting "Failed to notify profile listener" in Gradle userguide build

KARR, DAVID
I've been making iterative changes in the userguide.  When I finish making some changes, I run "gradle docs:userguide" and let it finish.  I've been doing this numerous times in the last week or so, with no real issue.

Today I just noticed that all of my build attempts are failing with "Failed to notify profile listener".  The root cause in the stacktrace is:
-----------------
Caused by: java.lang.NoSuchMethodError: org.gradle.profile.BuildProfile.getElapsedProjectsConfiguration()J
        at com.gradleware.monitoring.plugin.EventFactory.buildExecutionEvent(EventFactory.java:69)
        at com.gradleware.monitoring.plugin.AnalyticsProfileListener.buildFinished(AnalyticsProfileListener.java:17)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35)
        at org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
        at org.gradle.listener.BroadcastDispatch.dispatch(BroadcastDispatch.java:83)
-------------------

This appears to be similar to this: http://gradle.1045684.n5.nabble.com/Failed-to-notify-output-event-listener-td3383443.html .

Although the build says it's failing, it is producing the final PDF seemingly correctly.  I'm guessing this failure has something to do with notifying some listener that the build completed.

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Getting "Failed to notify profile listener" in Gradle userguide build

Perryn Fowler
Sorry that is probably my fault - if you 'git pull --rebase' it should be fixed?
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Getting "Failed to notify profile listener" in Gradle userguide build

Perryn Fowler
Except of course you would be working on a fork, so you would need to do something like this https://help.github.com/articles/syncing-a-fork

Failing that you can temporarily comment out line 121 (apply from: "gradle/analytics.gradle") in build gradle


On Tue, Jul 15, 2014 at 8:58 AM, Perryn Fowler <[hidden email]> wrote:
Sorry that is probably my fault - if you 'git pull --rebase' it should be fixed?

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Getting "Failed to notify profile listener" in Gradle userguide build

Perryn Fowler
actually give me a few mins and I can probably fix it my end


On Tue, Jul 15, 2014 at 9:05 AM, Perryn Fowler <[hidden email]> wrote:
Except of course you would be working on a fork, so you would need to do something like this https://help.github.com/articles/syncing-a-fork

Failing that you can temporarily comment out line 121 (apply from: "gradle/analytics.gradle") in build gradle


On Tue, Jul 15, 2014 at 8:58 AM, Perryn Fowler <[hidden email]> wrote:
Sorry that is probably my fault - if you 'git pull --rebase' it should be fixed?


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Getting "Failed to notify profile listener" in Gradle userguide build

Perryn Fowler
Ok building now using the '--refresh-dependencies' flag


On Tue, Jul 15, 2014 at 9:14 AM, Perryn Fowler <[hidden email]> wrote:
actually give me a few mins and I can probably fix it my end


On Tue, Jul 15, 2014 at 9:05 AM, Perryn Fowler <[hidden email]> wrote:
Except of course you would be working on a fork, so you would need to do something like this https://help.github.com/articles/syncing-a-fork

Failing that you can temporarily comment out line 121 (apply from: "gradle/analytics.gradle") in build gradle


On Tue, Jul 15, 2014 at 8:58 AM, Perryn Fowler <[hidden email]> wrote:
Sorry that is probably my fault - if you 'git pull --rebase' it should be fixed?



Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Getting "Failed to notify profile listener" in Gradle userguide build

Perryn Fowler
sigh. That was meant to say

"Ok TRY building now using  the '--refresh-dependencies' flag"


On Tue, Jul 15, 2014 at 9:20 AM, Perryn Fowler <[hidden email]> wrote:
Ok building now using the '--refresh-dependencies' flag


On Tue, Jul 15, 2014 at 9:14 AM, Perryn Fowler <[hidden email]> wrote:
actually give me a few mins and I can probably fix it my end


On Tue, Jul 15, 2014 at 9:05 AM, Perryn Fowler <[hidden email]> wrote:
Except of course you would be working on a fork, so you would need to do something like this https://help.github.com/articles/syncing-a-fork

Failing that you can temporarily comment out line 121 (apply from: "gradle/analytics.gradle") in build gradle


On Tue, Jul 15, 2014 at 8:58 AM, Perryn Fowler <[hidden email]> wrote:
Sorry that is probably my fault - if you 'git pull --rebase' it should be fixed?




Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

RE: Getting "Failed to notify profile listener" in Gradle userguide build

KARR, DAVID

Ok, that fixed it.  Would you mind elaborating on this?  What was the root cause that you resolved?

 

From: Perryn Fowler [mailto:[hidden email]]
Sent: Monday, July 14, 2014 5:33 PM
To: [hidden email]
Subject: Re: [gradle-dev] Getting "Failed to notify profile listener" in Gradle userguide build

 

sigh. That was meant to say

 

"Ok TRY building now using  the '--refresh-dependencies' flag"

 

On Tue, Jul 15, 2014 at 9:20 AM, Perryn Fowler <[hidden email]> wrote:

Ok building now using the '--refresh-dependencies' flag

 

On Tue, Jul 15, 2014 at 9:14 AM, Perryn Fowler <[hidden email]> wrote:

actually give me a few mins and I can probably fix it my end

 

On Tue, Jul 15, 2014 at 9:05 AM, Perryn Fowler <[hidden email]> wrote:

Except of course you would be working on a fork, so you would need to do something like this https://help.github.com/articles/syncing-a-fork

 

Failing that you can temporarily comment out line 121 (apply from: "gradle/analytics.gradle") in build gradle

 

On Tue, Jul 15, 2014 at 8:58 AM, Perryn Fowler <[hidden email]> wrote:

Sorry that is probably my fault - if you 'git pull --rebase' it should be fixed?

 

 

 

 

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Getting "Failed to notify profile listener" in Gradle userguide build

Perryn Fowler
I'm developing a plugin that the gradle build uses. I (somewhat foolishly) had the build set to pick up the latest version of the plugin. I recently made some changes to the plugin and some changes to gradle-core to support it, but because you are working on a fork of gradle you picked up the new version of the plugin, but not the changes to core.

So yeah, sorry about that :/




On Tue, Jul 15, 2014 at 10:38 AM, KARR, DAVID <[hidden email]> wrote:

Ok, that fixed it.  Would you mind elaborating on this?  What was the root cause that you resolved?

 

From: Perryn Fowler [mailto:[hidden email]]
Sent: Monday, July 14, 2014 5:33 PM
To: [hidden email]
Subject: Re: [gradle-dev] Getting "Failed to notify profile listener" in Gradle userguide build

 

sigh. That was meant to say

 

"Ok TRY building now using  the '--refresh-dependencies' flag"

 

On Tue, Jul 15, 2014 at 9:20 AM, Perryn Fowler <[hidden email]> wrote:

Ok building now using the '--refresh-dependencies' flag

 

On Tue, Jul 15, 2014 at 9:14 AM, Perryn Fowler <[hidden email]> wrote:

actually give me a few mins and I can probably fix it my end

 

On Tue, Jul 15, 2014 at 9:05 AM, Perryn Fowler <[hidden email]> wrote:

Except of course you would be working on a fork, so you would need to do something like this https://help.github.com/articles/syncing-a-fork

 

Failing that you can temporarily comment out line 121 (apply from: "gradle/analytics.gradle") in build gradle

 

On Tue, Jul 15, 2014 at 8:58 AM, Perryn Fowler <[hidden email]> wrote:

Sorry that is probably my fault - if you 'git pull --rebase' it should be fixed?

 

 

 

 


Loading...