Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » JavaServer Faces » Content Assist 100% cpu
Content Assist 100% cpu [message #621236] Thu, 15 April 2010 16:47 Go to next message
Jim Boden is currently offline Jim Boden
Messages: 3
Registered: April 2010
Junior Member
This works great in eclipse 3.3, but starting in 3.4 and 3.5, I see a big problem with trying to do content-assist (ctrl-space) on a jspx page. I've now found a repeatable work-around and break cycle so hopefully someone can help find the issue.

I see this on a project with about medium sized beans. I don't really see it on demo/small beans. So I'm editing a jspx file and get to a place like:

<h:outputText value="#{MyBean.

And right there, I click ctrl-space. Eclipse then pegs at 100% cpu for about 10-20 seconds, then comes back with the list of variables/methods.

Now I close eclipse and edit my faces-config.xml file with a text editor. I then restart eclipse and if I check the log file, I'll see exceptions about the faces-config.xml file resource out of sync. org.eclipse.core.internal.resources.ResourceException.

From here on out, the content-assist / autocomplete works great. If I ever click refresh (F5) on the project/faces file, it will refresh and go back to taking up high cpu.

So something about the exception must stop a type of validation that hangs the content-assist.

Anyone have an idea of what this could be?

Thanks!
Re: Content Assist 100% cpu [message #621242 is a reply to message #621236] Mon, 10 May 2010 13:25 Go to previous message
Raghu Srinivasan is currently offline Raghu Srinivasan
Messages: 265
Registered: July 2009
Senior Member
Thanks for reporting the issue. This is being tracked in the bug, https://bugs.eclipse.org/bugs/show_bug.cgi?id=240091

We will review this for the Helios maintenance release.
-Raghu Srinivasan
Project Lead, JSF Tools Project
--
Raghu Srinivasan,
Project Lead - JSF


Raghu Srinivasan,
Project Lead - JSF
Previous Topic:Content Assist 100% cpu
Next Topic:What's the state of Facelets support in Helios?
Goto Forum:
  


Current Time: Tue Jul 22 03:36:20 EDT 2014

Powered by FUDForum. Page generated in 0.01705 seconds