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 269160 - Exception while completing artifactId in POM editor
Summary: Exception while completing artifactId in POM editor
Status: RESOLVED WORKSFORME
Alias: None
Product: xml
Classification: Unclassified
Component: Text-Edit (show other bugs)
Version: 8.2
Hardware: PC Linux
: P3 normal (vote)
Assignee: Svata Dedic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-11-29 10:59 UTC by AlexFalappa
Modified: 2017-02-22 17:01 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description AlexFalappa 2016-11-29 10:59:20 UTC
While invoking completion within <artifactId> tag in the maven pom editor of a NetBeans IDE guest istance launched from a NetBeans host instance I got on the output window the following exception stack trace.

The completion afterwards recovered and worked.

INFO [org.netbeans.spi.lexer.MutableTextInput]: !!WARNING!! Missing READ-LOCK when accessing TokenHierarchy: input-source:org.netbeans.modules.editor.NbEditorDocument@45c3e8b8, mimeType='text/x-maven-pom+xml', kitClass=null, length=2165, version=3, file=org.netbeans.modules.maven.grammar.POMDataObject@455d148c[/home/afalappa/Sviluppo/nb81-prjdir/demo1/pom.xml@d0154b6a:677c77fa]
java.lang.Exception
	at org.netbeans.lib.lexer.TokenHierarchyOperation.ensureReadLocked(TokenHierarchyOperation.java:406)
	at org.netbeans.lib.lexer.TokenHierarchyOperation.tokenSequence(TokenHierarchyOperation.java:431)
	at org.netbeans.lib.lexer.TokenHierarchyOperation.tokenSequence(TokenHierarchyOperation.java:427)
	at org.netbeans.api.lexer.TokenHierarchy.tokenSequence(TokenHierarchy.java:186)
	at org.netbeans.modules.xml.text.completion.XMLCompletionQuery.shouldCloseTag(XMLCompletionQuery.java:468)
	at org.netbeans.modules.xml.text.completion.XMLCompletionQuery.queryValues(XMLCompletionQuery.java:351)
	at org.netbeans.modules.xml.text.completion.XMLCompletionQuery.query(XMLCompletionQuery.java:127)
	at org.netbeans.modules.xml.text.completion.XMLCompletionProvider$Query.query(XMLCompletionProvider.java:124)
	at org.netbeans.spi.editor.completion.support.AsyncCompletionTask.run(AsyncCompletionTask.java:223)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1443)
	at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:68)
	at org.openide.util.lookup.Lookups.executeWith(Lookups.java:303)
	at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2058)
Comment 1 Tomas Stupka 2017-02-22 17:01:47 UTC
could not reproduce with NetBeans build 20170221-111f1ab05253
feel free to reopen if this still occurs with a current build