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
Depends on:
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

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

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

   at org.netbeans.modules.maven.grammar.MavenProjectGrammar.getNodeValue(
   at org.netbeans.modules.maven.grammar.MavenProjectGrammar.findArtifactInfo(
   at org.netbeans.modules.maven.grammar.MavenProjectGrammar.findPluginInfo(
   at org.netbeans.modules.maven.grammar.MavenProjectGrammar.getDynamicCompletion(
   at org.netbeans.modules.maven.grammar.spi.AbstractSchemaBasedGrammar.queryElements(
   at org.netbeans.modules.xml.text.completion.XMLCompletionQuery.queryElements(
Comment 1 rhwood 2017-05-20 04:49:41 UTC
Created attachment 164357 [details]
Comment 2 rhwood 2017-09-24 15:02:35 UTC
Created attachment 165169 [details]

Attempt to insert XML element into POM.