You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by GitBox <gi...@apache.org> on 2022/06/17 12:18:33 UTC
[GitHub] [netbeans] icojb25 opened a new issue, #4238: Gradle "Failed to notify build listener" project load error
icojb25 opened a new issue, #4238:
URL: https://github.com/apache/netbeans/issues/4238
### Apache NetBeans version
Apache NetBeans 14
### What happened
We have a few projects which use older Gradle versions via wrappers. When migrating to NB14, it was required to run priming builds for the Gradle projects, but these failed where the Gradle version was older (4.10.2).
The output for the priming build says the above Gradle error:
"Cannot load project: Failed to notify build listener: org/gradle/api/plugins/JavaPlatformPlugin"
and the project does not load.
### How to reproduce
All the builds work fine in NB13, using the same Gradle config in Options, and on the same Netbeans JDK (Zulu JDK 11).
1) Try to open a project which has a gradle wrapper set to use 4.10.2
Gradle options in NB are:
1) Default version 7.3
2) Prefer to use Gradle wrapper: Yes
The build runs fine when run from the cmdline using: gradlew.bat build
Netbeans is running on JDK 11 but the project is configured with JDK 1.8. I am able to run the project fine from the cmdline.
### Did this work correctly in an earlier version?
Apache NetBeans 13
### Operating System
Windows 10
### JDK
(Netbeans zulu11.54.25-ca-jdk11.0.14.1-win_x64) (Project Oracle Java JDK 1.8-201)
### Apache NetBeans packaging
Apache NetBeans provided installer
### Anything else
Product Version: Apache NetBeans IDE 14
Java: 11.0.14.1; OpenJDK 64-Bit Server VM 11.0.14.1+1-LTS
Runtime: OpenJDK Runtime Environment 11.0.14.1+1-LTS
System: Windows 10 version 10.0 running on amd64; Cp1252; en_NZ (nb)
User directory: C:\Users\bergh\AppData\Roaming\NetBeans\14
Cache directory: C:\Users\bergh\AppData\Local\NetBeans\Cache\14
### Are you willing to submit a pull request?
No
### Code of Conduct
Yes
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[GitHub] [netbeans] icojb25 commented on issue #4238: Gradle "Failed to notify build listener" project load error
Posted by GitBox <gi...@apache.org>.
icojb25 commented on issue #4238:
URL: https://github.com/apache/netbeans/issues/4238#issuecomment-1181514429
hi @lkishalmi ,
going through the logs again, this is what else i could find:
INFO [org.netbeans.modules.gradle.loaders.GradleProjectLoaderImpl]: Load aiming EVALUATED for Unloaded Gradle Project: GradleFiles[projectDir=C:\Development\XXXX, rootDir=C:\Development\XXXX]
INFO [org.netbeans.modules.gradle.cache.AbstractDiskCache]: Could no load project info from C:\Development\XXXX\.gradle\nb-cache\XXXX-1465935982\project-info.ser due to: org.netbeans.modules.gradle.cache.ProjectInfoDiskCache$QualifiedProjectInfo; local class incompatible: stream classdesc serialVersionUID = 9088435742567939040, local class serialVersionUID = 4254210475832644110
INFO [org.netbeans.modules.gradle.loaders.GradleProjectLoaderImpl]: Load aiming FULL for Gradle: XXXX[FALLBACK]
INFO [org.netbeans.modules.gradle.execute.GradleDistributionProviderImpl]: Gradle Distribution for Gradle: XXXX[FALLBACK] is GradleDistribution{gradleUserHome=C:\Users\bergh\.gradle, distributionDir=C:\Users\bergh\.gradle\wrapper\dists\gradle-4.10.2-bin\cghg6c4gf4vkiutgsab8yrnwv\gradle-4.10.2, distributionURI=https://services.gradle.org/distributions/gradle-4.10.2-bin.zip, version=Gradle 4.10.2}
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[GitHub] [netbeans] lkishalmi commented on issue #4238: Gradle "Failed to notify build listener" project load error
Posted by GitBox <gi...@apache.org>.
lkishalmi commented on issue #4238:
URL: https://github.com/apache/netbeans/issues/4238#issuecomment-1160521682
What does the IDE log say?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[GitHub] [netbeans] icojb25 commented on issue #4238: Gradle "Failed to notify build listener" project load error
Posted by GitBox <gi...@apache.org>.
icojb25 commented on issue #4238:
URL: https://github.com/apache/netbeans/issues/4238#issuecomment-1160544724
INFO [org.netbeans.modules.gradle.loaders.GradleProjectLoaderImpl]: Load aiming EVALUATED for Unloaded Gradle Project: GradleFiles[projectDir=C:\Development\XXXX, rootDir=C:\Development\XXXX]
INFO [org.netbeans.ui.metrics.vcs]: USG_VCS_CLIENT
INFO [org.netbeans.modules.gradle.cache.AbstractDiskCache]: Could no load project info from C:\Development\XXXX\.gradle\nb-cache\XXXX-1465935982\project-info.ser due to: org.netbeans.modules.gradle.cache.ProjectInfoDiskCache$QualifiedProjectInfo; local class incompatible: stream classdesc serialVersionUID = 9088435742567939040, local class serialVersionUID = 4254210475832644110
INFO [org.netbeans.modules.gradle.loaders.GradleProjectLoaderImpl]: Load aiming FULL for Gradle: XXXX[FALLBACK]
INFO [org.netbeans.modules.gradle.execute.GradleDistributionProviderImpl]: Gradle Distribution for Gradle: XXXX[FALLBACK] is GradleDistribution{gradleUserHome=C:\Users\.gradle, distributionDir=C:\Users\.gradle\wrapper\dists\gradle-4.10.2-bin\cghg6c4gf4vkiutgsab8yrnwv\gradle-4.10.2, distributionURI=https://services.gradle.org/distributions/gradle-4.10.2-bin.zip, version=Gradle 4.10.2}
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[GitHub] [netbeans] lkishalmi commented on issue #4238: Gradle "Failed to notify build listener" project load error
Posted by GitBox <gi...@apache.org>.
lkishalmi commented on issue #4238:
URL: https://github.com/apache/netbeans/issues/4238#issuecomment-1160546074
Anything below these?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists