You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "John McDonnell (JIRA)" <ji...@apache.org> on 2017/11/16 23:43:00 UTC

[jira] [Commented] (NETBEANS-37) NPE while pasting an XML stanza in pom.xml

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

John McDonnell commented on NETBEANS-37:
----------------------------------------

I think this is related to: https://lists.apache.org/thread.html/f7636b1e4cd3c375f2ed0256acd254c933209b472cff50cad0f972ab@%3Cdev.netbeans.apache.org%3E

During the donation some XSD's were removed, and this is probably why 
    return getClass().getResourceAsStream("/org/netbeans/modules/maven/grammar/maven-4.0.0.xsd"); //NOI18N
is null

> NPE while pasting an XML stanza in pom.xml
> ------------------------------------------
>
>                 Key: NETBEANS-37
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-37
>             Project: NetBeans
>          Issue Type: Bug
>          Components: projects - Maven
>    Affects Versions: 9.0
>         Environment: Windows 7
>            Reporter: Jean-François El Fouly
>
> I was editing the POM of a simple project, generated online by Spring Boot, with only web, tomcat and thymeleaf features.
> Since I plan to add some AWS features, I tried to copy this stanza (from cloud.spring.io) at the end of the <dependencies> section. BTW, this stanza is syntactically correct from the XML point of view but incorrect for Maven since it lacks version information.
> <dependency>
>     <groupId>org.springframework.cloud</groupId>
>     <artifactId>spring-cloud-aws-context</artifactId>
>     <version>{spring-cloud-version}</version>
>   </dependency>
> This immediately caused an exception, and made the "Report problem" appear.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)