[ 
https://issues.apache.org/jira/browse/NETBEANS-2384?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16814225#comment-16814225
 ] 

Tobias Warneke commented on NETBEANS-2384:
------------------------------------------

Unfortunately, it is not an open project. I copied the pom.xml into a normal 
java maven project and it worked without the exception.

This project is an angular project, which I built using maven, but the minimal 
example does not even this. It stops simply the LOG output and I am getting the 
already given Exception:

here is the Output - Windows contents:

 

------------------------------

--- maven-clean-plugin:2.5:clean (default-clean) @ gm.admin-frontend ---
Deleting D:\work\gajamatrixbox\browser\gm.admin-frontend\target

--- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-no-snapshots) @ 
gm.admin-frontend ---

--- jacoco-maven-plugin:0.7.7.201606060606:prepare-agent (agent) @ 
gm.admin-frontend ---
argLine set to 
-javaagent:D:\\maven_repository\\repository\\org\\jacoco\\org.jacoco.agent\\0.7.7.201606060606\\org.jacoco.agent-0.7.7.201606060606-runtime.jar=destfile=D:\\work\\gajamatrixbox\\browser\\gm.admin-frontend\\target\\jacoco.exec,append=true

--- maven-resources-plugin:2.4.3:resources (default-resources) @ 
gm.admin-frontend ---
Using 'windows-1252' encoding to copy filtered resources.
skip non existing resourceDirectory xxx\src\main\resources

--- maven-compiler-plugin:3.8.0:compile (default-compile) @ gm.admin-frontend 
---
No sources to compile

--- maven-checkstyle-plugin:3.0.0:check (verify-style) @ gm.admin-frontend ---

--- maven-resources-plugin:2.4.3:testResources (default-testResources) @ 
gm.admin-frontend ---
Using 'windows-1252' encoding to copy filtered resources.
skip non existing resourceDirectory xxx\src\test\resources

--- maven-compiler-plugin:3.8.0:testCompile (default-testCompile) @ 
gm.admin-frontend ---
No sources to compile

------------------------------

 

Here it stops with the Exception. Maybe it is recognized as a JavaEE project, 
which was not the case using Netbeans 10. I already switched off the compiler 
plugin. Then the Exception occurs after the resource plugin runs.

 

 

here is the build section of my effective pom. Nothing fancy about it.

------------------------------

<build>
<finalName>gm.admin-frontend-11.1.4</finalName>
<pluginManagement>
<plugins>
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.3</version>
</plugin>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<version>2.2-beta-5</version>
</plugin>
<plugin>
<artifactId>maven-failsafe-plugin</artifactId>
<version>2.22.1</version>
</plugin>
<plugin>
<artifactId>maven-jar-plugin</artifactId>
<version>3.1.0</version>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>buildnumber-maven-plugin</artifactId>
<version>1.4</version>
</plugin>
<plugin>
<artifactId>maven-source-plugin</artifactId>
<version>3.0.1</version>
</plugin>
<plugin>
<artifactId>maven-checkstyle-plugin</artifactId>
<version>2.17</version>
</plugin>
<plugin>
<groupId>com.github.searls</groupId>
<artifactId>jasmine-maven-plugin</artifactId>
<version>1.3.1.5</version>
</plugin>
<plugin>
<groupId>org.glassfish.embedded</groupId>
<artifactId>maven-embedded-glassfish-plugin</artifactId>
<version>5.0</version>
</plugin>
<plugin>
<artifactId>maven-dependency-plugin</artifactId>
<version>3.1.1</version>
</plugin>
<plugin>
<artifactId>maven-release-plugin</artifactId>
<version>2.3.2</version>
</plugin>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.0</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
<encoding>windows-1252</encoding>
</configuration>
</plugin>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.22.1</version>
<configuration>
<forkCount>1</forkCount>
<reuseForks>false</reuseForks>
<argLine>-Djava.net.preferIPv4Stack=true -Xmx1g</argLine>
<systemPropertyVariables>
<java.awt.headless>true</java.awt.headless>
</systemPropertyVariables>
</configuration>
</plugin>
<plugin>
<artifactId>maven-surefire-report-plugin</artifactId>
<version>2.22.1</version>
</plugin>
<plugin>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.10.4</version>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
<configuration>
<additionalparam>-Xdoclint:none</additionalparam>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-site-plugin</artifactId>
<version>3.7</version>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<plugin>
<artifactId>maven-enforcer-plugin</artifactId>
<version>3.0.0-M2</version>
<executions>
<execution>
<id>enforce-no-snapshots</id>
<goals>
<goal>enforce</goal>
</goals>
<configuration>
<rules>
<requireReleaseDeps>
<message>No Snapshots Allowed!</message>
<onlyWhenRelease>true</onlyWhenRelease>
</requireReleaseDeps>
<requireJavaVersion>
<version>1.8.0</version>
</requireJavaVersion>
<banDuplicatePomDependencyVersions />
</rules>
<fail>true</fail>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.22.1</version>
<configuration>
<forkCount>1</forkCount>
<reuseForks>false</reuseForks>
<argLine>-Djava.net.preferIPv4Stack=true -Xmx1g</argLine>
<systemPropertyVariables>
<java.awt.headless>true</java.awt.headless>
</systemPropertyVariables>
</configuration>
</plugin>
<plugin>
<artifactId>maven-failsafe-plugin</artifactId>
<version>2.22.1</version>
<executions>
<execution>
<goals>
<goal>integration-test</goal>
<goal>verify</goal>
</goals>
</execution>
</executions>
<configuration>
<forkCount>1</forkCount>
<reuseForks>false</reuseForks>
</configuration>
</plugin>
<plugin>
<groupId>com.amashchenko.maven.plugin</groupId>
<artifactId>gitflow-maven-plugin</artifactId>
<version>1.11.0</version>
<configuration>
<pushRemote>false</pushRemote>
<mvnExecutable>${M2_HOME}/bin/mvn</mvnExecutable>
<skipTestProject>true</skipTestProject>
<fetchRemote>false</fetchRemote>
<skipFeatureVersion>true</skipFeatureVersion>
</configuration>
</plugin>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.7.7.201606060606</version>
<executions>
<execution>
<id>agent</id>
<goals>
<goal>prepare-agent</goal>
</goals>
</execution>
</executions>
<configuration>
<destFile>D:\work\gajamatrixbox\browser\gm.admin-frontend/target/jacoco.exec</destFile>
<append>true</append>
</configuration>
</plugin>
<plugin>
<artifactId>maven-resources-plugin</artifactId>
<version>2.4.3</version>
<configuration>
<encoding>windows-1252</encoding>
</configuration>
</plugin>
</plugins>
</build>

------------------------------

> multi module maven build stops with exception
> ---------------------------------------------
>
>                 Key: NETBEANS-2384
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-2384
>             Project: NetBeans
>          Issue Type: Bug
>          Components: projects - Maven
>    Affects Versions: 11.0
>            Reporter: Tobias Warneke
>            Priority: Critical
>
> Using Netbeans 10, it works.
>  
>  
> SEVERE [org.openide.util.RequestProcessor]: Error in RequestProcessor 
> org.netbeans.modules.maven.execute.CommandLineOutputHandler$Output
> java.lang.NullPointerException
>  at 
> org.netbeans.modules.maven.api.PluginPropertyUtils.createEvaluator(PluginPropertyUtils.java:511)
>  at 
> org.netbeans.modules.maven.output.TestOutputListenerProvider.processLine(TestOutputListenerProvider.java:127)
>  at 
> org.netbeans.modules.maven.execute.AbstractOutputHandler.processLine(AbstractOutputHandler.java:293)
>  at 
> org.netbeans.modules.maven.execute.CommandLineOutputHandler$Output.run(CommandLineOutputHandler.java:330)
>  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)
> INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: 
> Resolving dependencies took: 56 ms



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
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

Reply via email to