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 201304212301) VM: Java HotSpot(TM) 64-Bit Server VM, 23.21-b01, Java(TM) SE Runtime Environment, 1.7.0_21-b12 OS: Mac OS X User Comments: GUEST: Endless project scanning for my Webproject athompson: switched java editor tabs Stacktrace: java.lang.NullPointerException at org.netbeans.modules.html.editor.lib.api.SyntaxAnalyzerResult$ElementContentFilter.shouldBeFiltered(SyntaxAnalyzerResult.java:728) at org.netbeans.modules.html.editor.lib.api.SyntaxAnalyzerResult$ElementContentFilter.getMasks(SyntaxAnalyzerResult.java:686) at org.netbeans.modules.html.editor.lib.api.SyntaxAnalyzerResult.findMaskedAreas(SyntaxAnalyzerResult.java:481) at org.netbeans.modules.html.editor.lib.api.SyntaxAnalyzerResult.getMaskedAreas(SyntaxAnalyzerResult.java:456) at org.netbeans.modules.html.editor.api.gsf.HtmlParserResult.getErrorsFromValidatorService(HtmlParserResult.java:275) at org.netbeans.modules.html.editor.api.gsf.HtmlParserResult.getValidationResults(HtmlParserResult.java:262)
Created attachment 133681 [details] stacktrace
Created attachment 133766 [details] stacktrace Exceptions occurs on opening JSF project xhtml file
Created attachment 133843 [details] stacktrace In HTML file, I selected all content using Ctrl+A and pasted _source code_ of [1] from clipboard [1] http://bugzilla-attachments-228528.netbeans.org/bugzilla/attachment.cgi?id=133479
This bug already has 5 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=200129
To reproduce: - open HTML file http://bugzilla-attachments-228528.netbeans.org/bugzilla/attachment.cgi?id=133479 in IDE and click anywhere => one click, one exception The problem is missing doctype, once I added <!doctype html>, it was OK. This should be fixed for 7.4 as it could make editor unusable.
Created attachment 133911 [details] stacktrace fjava.lang.NullPointerException at org.netbeans.modules.html.editor.lib.api.SyntaxAnalyzerResult$ElementContentFilter.shouldBeFiltered(SyntaxAnalyzerResult.java:728) at org.netbeans.modules.html.editor.lib.api.SyntaxAnalyzerResult$ElementContentFilter.getMasks(SyntaxAnalyzerResult.java:686) at org.netbeans.modules.html.editor.lib.api.SyntaxAnalyzerResult.findMaskedAreas(SyntaxAnalyzerResult.java:481) at org.netbeans.modules.html.editor.lib.api.SyntaxAnalyzerResult.getMaskedAreas(SyntaxAnalyzerResult.java:456) at org.netbeans.modules.html.editor.api.gsf.HtmlParserResult.getErrorsFromValidatorService(HtmlParserResult.java:275) at org.netbeans.modules.html.editor.api.gsf.HtmlParserResult.getValidationResults(HtmlParserResult.java:262) at org.netbeans.modules.html.editor.api.gsf.HtmlParserResult.getDiagnostics(HtmlParserResult.java:251) at org.netbeans.modules.html.editor.hints.HtmlRuleContext.<init>(HtmlRuleContext.java:84) at org.netbeans.modules.html.editor.hints.HtmlHintsProvi
Created attachment 133925 [details] stacktrace open phpproject (mediawiki)
fixed in web-main#02e4dc0a5524
*** Bug 228996 has been marked as a duplicate of this bug. ***
Integrated into 'main-golden', will be available in build *201305021042* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/02e4dc0a5524 User: Marek Fukala <mfukala@netbeans.org> Log: #228867 - NullPointerException at org.netbeans.modules.html.editor.lib.api.SyntaxAnalyzerResult$ElementContentFilter.shouldBeFiltered
yup (i think)