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 92401 - Exception when invoking autocompletion
Summary: Exception when invoking autocompletion
Status: VERIFIED FIXED
Alias: None
Product: soa
Classification: Unclassified
Component: BPEL (show other bugs)
Version: 5.x
Hardware: All All
: P2 blocker (vote)
Assignee: Denis Anisimov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-12 08:25 UTC by Mikhail Kondratyev
Modified: 2007-02-19 13:05 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 Mikhail Kondratyev 2007-01-12 08:25:06 UTC
Steps to reproduce:
 - open a BPEL process in source editor
 - place cursor somewhere in the middle of the opening process tag
 - press Ctrl+Space
Exception will be thrown:
java.lang.AssertionError
	at org.netbeans.modules.bpel.core.grammar.DOMUtils.setBpwsPrefix(DOMUtils.java:259)
	at
org.netbeans.modules.bpel.core.grammar.DOMUtils.createParentChildrenMap(DOMUtils.java:139)
	at
org.netbeans.modules.bpel.core.grammar.BpelGrammarQuery.createMapping(BpelGrammarQuery.java:399)
	at
org.netbeans.modules.bpel.core.grammar.BpelGrammarQuery.getElementNames(BpelGrammarQuery.java:370)
	at
org.netbeans.modules.bpel.core.grammar.BpelGrammarQuery.getAppropriateElements(BpelGrammarQuery.java:300)
	at
org.netbeans.modules.bpel.core.grammar.BpelGrammarQuery.queryElements(BpelGrammarQuery.java:63)
	at
org.netbeans.modules.xml.text.completion.XMLCompletionQuery.queryElements(XMLCompletionQuery.java:299)
	at
org.netbeans.modules.xml.text.completion.XMLCompletionQuery.query(XMLCompletionQuery.java:119)
	at
org.netbeans.modules.xml.text.completion.XMLCompletionProvider.queryImpl(XMLCompletionProvider.java:105)
	at
org.netbeans.modules.xml.text.completion.XMLCompletionProvider.access$100(XMLCompletionProvider.java:51)
	at
org.netbeans.modules.xml.text.completion.XMLCompletionProvider$Query.doQuery(XMLCompletionProvider.java:87)
	at
org.netbeans.modules.xml.text.completion.XMLCompletionProvider$AbstractQuery.query(XMLCompletionProvider.java:123)
	at
org.netbeans.spi.editor.completion.support.AsyncCompletionTask.run(AsyncCompletionTask.java:195)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:499)
[catch] at
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:932)
Comment 1 Sergey Lunegov 2007-01-29 17:06:04 UTC
Denis, please evaulate is it still reproducible ?
Comment 2 Denis Anisimov 2007-01-30 13:05:26 UTC
I replace old impl for code completion with new one.
So this exception now is absent.
Comment 3 Mikhail Kondratyev 2007-02-19 13:05:19 UTC
Verified