This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 270688 - NullPointerException at org.netbeans.modules.maven.grammar.MavenProjectGrammar.getNodeValue
Summary: NullPointerException at org.netbeans.modules.maven.grammar.MavenProjectGramma...
Status: NEW
Alias: None
Product: projects
Classification: Unclassified
Component: Maven (show other bugs)
Version: 8.2
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Stupka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-05-20 04:49 UTC by rhwood
Modified: 2017-09-24 15:02 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 219206


Attachments
stacktrace (1.29 KB, text/plain)
2017-05-20 04:49 UTC, rhwood
Details
stacktrace (1.29 KB, text/plain)
2017-09-24 15:02 UTC, rhwood
Details

Note You need to log in before you can comment on or make changes to this bug.
Description rhwood 2017-05-20 04:49:36 UTC
Build: NetBeans IDE 8.2 (Build 201609300101)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.102-b14, Java(TM) SE Runtime Environment, 1.8.0_102-b14
OS: Mac OS X

User Comments:
rhwood: Begin editing a pom.xml to add a plugin configuration element. The NetBeans tooltip under the insertion point reads "Downloading..."

GUEST: Attempting to bring up code completion possibly.  Just said downloading...

GUEST: I was filling out a plugin. JAX-WS wsimport

GUEST: I get this error on every character by providing maven metro's plugin wsimport the configuration

GUEST: Was gonna add new line in xml file. Seems to have broken when syntax complete was figuring out what the valid xml elements are




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.maven.grammar.MavenProjectGrammar.getNodeValue(MavenProjectGrammar.java:209)
   at org.netbeans.modules.maven.grammar.MavenProjectGrammar.findArtifactInfo(MavenProjectGrammar.java:198)
   at org.netbeans.modules.maven.grammar.MavenProjectGrammar.findPluginInfo(MavenProjectGrammar.java:247)
   at org.netbeans.modules.maven.grammar.MavenProjectGrammar.getDynamicCompletion(MavenProjectGrammar.java:153)
   at org.netbeans.modules.maven.grammar.spi.AbstractSchemaBasedGrammar.queryElements(AbstractSchemaBasedGrammar.java:319)
   at org.netbeans.modules.xml.text.completion.XMLCompletionQuery.queryElements(XMLCompletionQuery.java:321)
Comment 1 rhwood 2017-05-20 04:49:41 UTC
Created attachment 164357 [details]
stacktrace
Comment 2 rhwood 2017-09-24 15:02:35 UTC
Created attachment 165169 [details]
stacktrace

Attempt to insert XML element into POM.