cornercorner
FeaturesPluginsPlatformDocs & SupportCommunityPartners

Bug 194537 - [70cat] NullPointerException at org.netbeans.editor.ext.html.parser.api.AstNode.getNameWithoutPrefix (edit)
:
Status: RESOLVED FIXED (edit)
:
:
:
: (vote)
:
Assigned To:

:

: (edit)
:
:
: (edit)
: (edit)
  Show dependency treegraph
 
Reported: 2011-01-20 17:11 by
Modified: 2011-01-22 06:10 (History)

2 users (edit)


:


Attachments
stacktrace (1.97 KB, text/plain)
2011-01-20 17:11, host
Details


:

Status:
of <missing bug number> (edit)

Collapse All Comments - Expand All Comments
Description From 2011-01-20 17:11:53
Build: NetBeans IDE Dev (Build 201101180000)
VM: Java HotSpot(TM) 64-Bit Server VM, 17.1-b03-307, Java(TM) SE Runtime
Environment, 1.6.0_22-b04-307-10M3261
OS: Mac OS X
 
Stacktrace: 
java.lang.NullPointerException
   at
org.netbeans.editor.ext.html.parser.api.AstNode.getNameWithoutPrefix(AstNode.java:371)
   at
org.netbeans.modules.html.editor.completion.HtmlCompletionQuery.query(HtmlCompletionQuery.java:418)
   at
org.netbeans.modules.html.editor.completion.HtmlCompletionQuery$1.run(HtmlCompletionQuery.java:133)
   at org.netbeans.editor.BaseDocument.render(BaseDocument.java:1419)
   at
org.netbeans.modules.html.editor.completion.HtmlCompletionQuery.run(HtmlCompletionQuery.java:125)
   at
org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:154)
------- Comment #1 From 2011-01-20 17:11:58 -------
Created an attachment (id=105205) [details] 
stacktrace
------- Comment #2 From 2011-01-21 11:59:00 -------
I'm unable to fix the source of the problem given the current information. I've
added some diagnostic to the code and will close the issue. One the same NPE is
thrown from the newer build the issue will be reopened by the exception
reporter.
 
Of course if anyone is able to reproduce please give me some steps to reproduce
and possibly the necessary html file. Thanks for understanding.
 
web-main#bf3aa22c5b30
------- Comment #3 From 2011-01-22 06:10:26 -------
Integrated into 'main-golden', will be available in build *201101220001* on
http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/bf3aa22c5b30 
User: Marek Fukala <mfukala@netbeans.org>
Log: #194537 - diagnostic for [70cat] NullPointerException at
org.netbeans.editor.ext.html.parser.api.AstNode.getNameWithoutPrefi