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.
This bug was originally marked as duplicate of bug 168847, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related. Build: NetBeans IDE Dev (Build 201007090001) VM: Java HotSpot(TM) 64-Bit Server VM, 17.0-b16, Java(TM) SE Runtime Environment, 1.6.0_21-b06 OS: Windows 7 User Comments: kawazu428: opening an html file (with error annotations?) after restarting the ide. johnsonlau: Editing HTML file. kawazu428: opening an html file (with error annotations?) after restarting the ide. mco: Opening jsf 2.0 facelet with icefaces 2.0 alpha framework and plugins installed dstrupl: Opened profiling snapshot. Closed the snapshot and a .php file got back focus. I had to close the PHP file in order to get rid of repeated NPEs. kawazu428: opening an html file (with error annotations?) after restarting the ide. julianop: I'm just open the index.php file for de AirAlliance PHP sample ! GUEST: opening a php file containing html and javascript code. no editing possible. kawazu428: ... after posting from an html template, this error appears each time I try to enter the html editor... kawazu428: pasted from an html template? Stacktrace: java.lang.NullPointerException at org.netbeans.modules.web.jsf.editor.HtmlSourceTask.run(HtmlSourceTask.java:145) at org.netbeans.modules.web.jsf.editor.HtmlSourceTask.run(HtmlSourceTask.java:69) at org.netbeans.modules.parsing.impl.TaskProcessor$CompilationJob.run(TaskProcessor.java:667) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138)
Created attachment 101250 [details] stacktrace
Taking over Alexey's JSF and Spring issues.
Should be fixed now in 57d250a39524.
Integrated into 'main-golden', will be available in build *201010150000* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/57d250a39524 User: Erno Mononen <emononen@netbeans.org> Log: #189278 - [69cat] NullPointerException at org.netbeans.modules.web.jsf.editor.HtmlSourceTask.run