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.
Build: NetBeans IDE Dev (Build 201107300600) VM: Java HotSpot(TM) 64-Bit Server VM, 20.1-b02, Java(TM) SE Runtime Environment, 1.6.0_26-b50 OS: Windows 7 User Comments: GUEST: after writing: xmlns:f="", I've done ctl+space betwen "" GUEST: add to <ui:composition xmlns="http://www.w3.org/1999/xhtml" GUEST: ctlr+space on html completion in xhtml page (JSF) GUEST: adding new xmlns entry for jsf2 GUEST: completion in html tag (for obtain attribute) in jsf page (xhtml) Stacktrace: java.lang.NullPointerException at org.netbeans.modules.web.jsf.editor.JsfHtmlExtension.getUriForPrefix(JsfHtmlExtension.java:313) at org.netbeans.modules.web.jsf.editor.JsfHtmlExtension.completeAttributes(JsfHtmlExtension.java:347) at org.netbeans.modules.html.editor.completion.HtmlCompletionQuery.query(HtmlCompletionQuery.java:472) at org.netbeans.modules.html.editor.completion.HtmlCompletionQuery$1.run(HtmlCompletionQuery.java:137) at org.netbeans.editor.BaseDocument.render(BaseDocument.java:1422) at org.netbeans.modules.html.editor.completion.HtmlCompletionQuery.run(HtmlCompletionQuery.java:129)
Created attachment 110155 [details] stacktrace
This bug already has 10 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=177944
Created attachment 110444 [details] stacktrace I was typing HTML in a facelets file
Created attachment 110445 [details] stacktrace I was typing: "<div c" then I pressed ctrl-space to get code completion (expecting it to complete "class" attribute). Instead I got this exception. This is a facelets template.
Created attachment 110539 [details] stacktrace
Created attachment 110540 [details] stacktrace pressing Ctrl-Space in "<div >" just before the ">"
fixed in web-main#e532842b86ec
Integrated into 'main-golden' Changeset: http://hg.netbeans.org/main-golden/rev/e532842b86ec User: Marek Fukala <mfukala@netbeans.org> Log: #201243 - NullPointerException at org.netbeans.modules.web.jsf.editor.JsfHtmlExtension.getUriForPrefix