You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by GitBox <gi...@apache.org> on 2022/12/22 13:43:08 UTC

[GitHub] [maven-mvnd] IvanSmurygin opened a new issue, #759: NullPointerException

IvanSmurygin opened a new issue, #759:
URL: https://github.com/apache/maven-mvnd/issues/759

   Hello! I use mvnd with some multimodule project (around 30 dependent modules), during the build the next exception is thrown
   
   ```
   [ERROR] Internal error: java.lang.NullPointerException -> [Help 1]
   org.apache.maven.InternalErrorException: Internal error: java.lang.NullPointerException
   	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:120)
   	at org.apache.maven.cli.DaemonMavenCli.execute(DaemonMavenCli.java:687)
   	at org.apache.maven.cli.DaemonMavenCli.doMain(DaemonMavenCli.java:239)
   	at org.apache.maven.cli.DaemonMavenCli.main(DaemonMavenCli.java:215)
   	at org.mvndaemon.mvnd.daemon.Server.handle(Server.java:572)
   	at org.mvndaemon.mvnd.daemon.Server.client(Server.java:256)
   	at org.mvndaemon.mvnd.daemon.Server.accept(Server.java:224)
   	at java.base/java.lang.Thread.run(Thread.java:829)
   Caused by: java.lang.NullPointerException: null
   	at java.base/java.util.Objects.requireNonNull(Objects.java:221)
   	at com.gradle.maven.a.a.c.h.a(SourceFile:86)
   	at com.gradle.maven.internal.GradleEnterpriseLifecycleManager.afterSessionEnd(SourceFile:137)
   	at org.apache.maven.DefaultMaven.afterSessionEnd(DefaultMaven.java:354)
   	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
   	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:192)
   	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:105)
   	... 7 common frames omitted
   [ERROR]
   [ERROR] Re-run Maven using the -X switch to enable full debug logging.
   [ERROR]
   [ERROR] For more information about the errors and possible solutions, please read the following articles:
   [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/InternalErrorException
   ```
   
   ```
   mvnd -version
   mvnd 0.8.2 darwin-amd64 native client (2bba2d6a4d3a5012ddf9f1f42a22784cad4011e3)
   Terminal: org.jline.terminal.impl.PosixSysTerminal with pty org.jline.terminal.impl.jansi.osx.OsXNativePty
   [WARN] Failed to initialize spy com.gradle.maven.internal.GradleEnterpriseLifecycleManager: build operation notification valve already started
   Apache Maven 3.8.6 (84538c9988a25aec085021c365c560670ad80f63)
   Maven home: /usr/local/Cellar/mvnd/0.8.2/libexec/mvn
   Java version: 11.0.16.1, vendor: Homebrew, runtime: /usr/local/Cellar/openjdk@11/11.0.16.1/libexec/openjdk.jdk/Contents/Home
   Default locale: en_DE, platform encoding: UTF-8
   OS name: "mac os x", version: "12.6.2", arch: "x86_64", family: "mac"
   ```


-- 
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: issues-unsubscribe@maven.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [maven-mvnd] mthmulders commented on issue #759: NullPointerException

Posted by GitBox <gi...@apache.org>.
mthmulders commented on issue #759:
URL: https://github.com/apache/maven-mvnd/issues/759#issuecomment-1363299539

   @marcphilipp, could this be an issue in the Gradle Enterprise Maven extension? In #725, I saw you posted a note that the Gradle team is currently working on making the extension compatible with the Maven Daemon.


-- 
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: issues-unsubscribe@maven.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [maven-mvnd] gnodet commented on issue #759: NullPointerException

Posted by "gnodet (via GitHub)" <gi...@apache.org>.
gnodet commented on issue #759:
URL: https://github.com/apache/maven-mvnd/issues/759#issuecomment-1466802613

   I'm going to close that one, as this is the responsibility of the Gradle extension's team.


-- 
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: issues-unsubscribe@maven.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [maven-mvnd] marcphilipp commented on issue #759: NullPointerException

Posted by GitBox <gi...@apache.org>.
marcphilipp commented on issue #759:
URL: https://github.com/apache/maven-mvnd/issues/759#issuecomment-1367263736

   Yes, the Gradle Enterprise Maven extension is not yet compatible with the Maven Daemon but we're working on it and there should soon be a compatible release.


-- 
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: issues-unsubscribe@maven.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [maven-mvnd] gnodet closed issue #759: NullPointerException

Posted by "gnodet (via GitHub)" <gi...@apache.org>.
gnodet closed issue #759: NullPointerException
URL: https://github.com/apache/maven-mvnd/issues/759


-- 
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: issues-unsubscribe@maven.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org