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 85710 - New Facelets support hangs on daily build
Summary: New Facelets support hangs on daily build
Status: RESOLVED WORKSFORME
Alias: None
Product: obsolete
Classification: Unclassified
Component: Facelets 1.1.x (show other bugs)
Version: 6.x
Hardware: All Windows XP
: P1 blocker (vote)
Assignee: Petr Pisl
URL:
Keywords:
: 85720 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-09-25 19:05 UTC by jfurmankiewicz
Modified: 2013-02-13 10:28 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jfurmankiewicz 2006-09-25 19:05:20 UTC
I just downloaded the latest daily build and the Facelets support for NB:
http://wiki.netbeans.info/wiki/view/FaceletsSupport

One I created a project with Facelets support, I started getting this exception
when restarting the IDE:

java.lang.NullPointerException
	at
org.netbeans.modules.web.core.syntax.JspUtils.getJSPColoringData(JspUtils.java:76)
	at org.netbeans.modules.web.core.syntax.JSPKit.createSyntax(JSPKit.java:107)
	at org.netbeans.editor.BaseDocument.getFreeSyntax(BaseDocument.java:444)
	at org.netbeans.editor.SyntaxSupport.tokenizeText(SyntaxSupport.java:369)
	at
org.netbeans.editor.ext.ExtSyntaxSupport.getTokenChain(ExtSyntaxSupport.java:131)
	at
org.netbeans.modules.web.core.syntax.JspSyntaxSupport.getItemAtOrBefore(JspSyntaxSupport.java:1065)
	at
org.netbeans.modules.web.core.syntax.JspSyntaxSupport.getElementChain(JspSyntaxSupport.java:1116)
	at
org.netbeans.modules.web.core.syntax.folding.JspFoldManager.generateFolds(JspFoldManager.java:197)
	at
org.netbeans.modules.web.core.syntax.folding.JspFoldManager.updateFolds(JspFoldManager.java:384)
	at
org.netbeans.modules.web.core.syntax.folding.JspFoldManager.access$100(JspFoldManager.java:68)
	at
org.netbeans.modules.web.core.syntax.folding.JspFoldManager$1$1.run(JspFoldManager.java:135)
[catch] at java.lang.Thread.run(Thread.java:619)

After this exception, clicking on the default template.xhtml Facelets file hangs
the entire IDE (every time, I've restarted multiple times). The whole IDE
becomes 100% unresponsive, it does not respond to any user action). You can't
even close it, I have to kill it via Task Manager.

NB build 200609, JDK 6.0 beta2, Win XP SP2
Comment 1 Petr Pisl 2006-09-25 22:01:00 UTC
Thanks for trying the preview. Could you write the whole build number? You
forgot the day. 

For me it sounds like P1. 
Comment 2 Petr Pisl 2006-09-25 22:27:34 UTC
Did you try it with new userdir?
Comment 3 Petr Pisl 2006-09-26 10:49:40 UTC
*** Issue 85720 has been marked as a duplicate of this issue. ***
Comment 4 jfurmankiewicz 2006-09-26 13:45:05 UTC
Good news, I deleted my userdir and let NB recreate it. Everything worked fine
after that. Maybe just a note should be added to the download/wiki for Facelets
to let people know to recreate their userdir to avoid this. Good to close from
my end.