cbm64chris opened a new issue #3675:
URL: https://github.com/apache/netbeans/issues/3675
### Apache NetBeans version
Apache NetBeans 13 release candidate
### What happened
When the maven option of -T is configured in a multi-module reactor, in my
example in the ```.mvn/maven.config```, the output window loses track of the
folding and this throws;
```
java.lang.NullPointerException: Cannot invoke
"org.openide.windows.FoldHandle.silentStartFold(boolean)" because
"parentProject.foldHandle" is null
at
org.netbeans.modules.maven.execute.cmd.ExecutionEventObject$Tree.startFold(ExecutionEventObject.java:179)
at
org.netbeans.modules.maven.execute.CommandLineOutputHandler$Output.run(CommandLineOutputHandler.java:352)
at
org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418)
at
org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278)
[catch] at
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)
```
The build continues in the background but the output is stalled.
I am using a maven pom that contains significant number of plugins that are
run for each member module.
### How to reproduce
* Create a multi-module reactor
* Configure to build in parallel
* Run using Clean & Build control
### Did this work correctly in an earlier version?
No
### Operating System
Mac OS X version 12.2.1 running on x86_64
### JDK
OpenJDK Runtime Environment 17.0.2+8-LTS
### Apache NetBeans packaging
Apache NetBeans provided installer
### Anything else
_No response_
### Are you willing to submit a pull request?
_No response_
### 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: [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