Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » JavaServer Faces » Content Assist 100% cpu(Content Assist 100% cpu)
Content Assist 100% cpu [message #527637] Thu, 15 April 2010 20:47 Go to next message
Jim Boden is currently offline Jim BodenFriend
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 #532654 is a reply to message #527637] Mon, 10 May 2010 17:25 Go to previous message
Raghu Srinivasan is currently offline Raghu SrinivasanFriend
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
Previous Topic:Eclipse POJO Wizards
Next Topic:Content Assist 100% cpu
Goto Forum:
  


Current Time: Fri Dec 19 08:08:30 GMT 2014

Powered by FUDForum. Page generated in 0.02367 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software