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 189278 - [69cat] NullPointerException at org.netbeans.modules.web.jsf.editor.HtmlSourceTask.run
Summary: [69cat] NullPointerException at org.netbeans.modules.web.jsf.editor.HtmlSourc...
Status: RESOLVED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: JSF (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: Erno Mononen
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-06 16:52 UTC by mco
Modified: 2010-10-15 02:58 UTC (History)
5 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 171793


Attachments
stacktrace (733 bytes, text/plain)
2010-08-06 16:52 UTC, mco
Details

Note You need to log in before you can comment on or make changes to this bug.
Description mco 2010-08-06 16:52:07 UTC
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)
Comment 1 mco 2010-08-06 16:52:11 UTC
Created attachment 101250 [details]
stacktrace
Comment 2 Erno Mononen 2010-10-13 11:22:05 UTC
Taking over Alexey's JSF and Spring issues.
Comment 3 Erno Mononen 2010-10-14 11:00:07 UTC
Should be fixed now in 57d250a39524.
Comment 4 Quality Engineering 2010-10-15 02:58:47 UTC
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