Yaytay opened a new issue, #5825: URL: https://github.com/apache/netbeans/issues/5825
### Apache NetBeans version Apache NetBeans 17 ### What happened When building a parent pom (specifically from this commit https://github.com/Yaytay/query-engine/commit/ce55e83ade5cbf8ccbb4a9eb3a1a828449037653) NetBeans hits a NullPointerException and then fails to output anything further in the Output window. The build seems to complete, but with no output. ### How to reproduce Clone https://github.com/Yaytay/query-engine/commit/ce55e83ade5cbf8ccbb4a9eb3a1a828449037653, open in NetBeans and try to build the parent project. The problem seems to relate to NetBeans hooking the surefire output. The build completes successfully if run outside of NetBeans. [messages.log](https://github.com/apache/netbeans/files/11230498/messages.log) This is an extract of the parent pom: ```xml <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>uk.co.spudsoft</groupId> <artifactId>query-engine-parent</artifactId> <version>0.0.0</version> <name>SpudSoft Query Engine - Parent</name> <packaging>pom</packaging> <modules> <module>query-engine</module> <module>query-engine-design-mode</module> </modules> <licenses> <license> <name>General Public License 3.0</name> <url>https://opensource.org/licenses/GPL-3.0</url> </license> </licenses> <developers> <developer> <id>yaytay</id> <name>Jim Talbut</name> <email>jim-vertx-resteasy-helpers @ spudsoft.co.uk</email> </developer> </developers> <scm> <connection>scm:[email protected]:Yaytay/query-engine.git</connection> <developerConnection>scm:[email protected]:Yaytay/query-engine.git</developerConnection> <url>https://github.com/Yaytay/vertx-resteasy-helpers.git</url> </scm> <build> <pluginManagement> <plugins> ... <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <version>3.0.0</version> <configuration> <forkCount>${fork.count}</forkCount> <reuseForks>true</reuseForks> <argLine>@{argLine} -Dfile.encoding=UTF-8 -XX:+UnlockExperimentalVMOptions -XX:+UseJVMCICompiler --module-path=${compiler.dir} --upgrade-module-path=${compiler.dir}</argLine> <systemProperties> <rows.in.testdb>${rows.in.testdb}</rows.in.testdb> </systemProperties> <trimStackTrace>false</trimStackTrace> <excludes> <exclude>**/sandbox/**</exclude> </excludes> </configuration> </plugin> ... </plugins> </pluginManagement> </build> </project>``` ### Did this work correctly in an earlier version? No / Don't know ### Operating System Windows 11 ### JDK Azul Zulu 19 ### Apache NetBeans packaging Apache NetBeans provided installer ### Anything else Every time the parent project is built. ### Are you willing to submit a pull request? No -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
