Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 311311

Summary: JS Editor locks Eclipse when tries to autocomplete something
Product: [WebTools] JSDT Reporter: Sergio Eduardo <sergiowww>
Component: GeneralAssignee: Project Inbox <jsdt.javascript-inbox>
Status: RESOLVED WORKSFORME QA Contact: Nitin Dahyabhai <thatnitind>
Severity: blocker    
Priority: P3 CC: cmjaun, thatnitind
Version: 3.1Keywords: needinfo
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Attachments:
Description Flags
mylyn/context/zip
none
Sample JS File
none
Eclipse File editor with the problem in details
none
Windows Task Manager
none
JS Build Path none

Description Sergio Eduardo CLA 2010-05-02 10:59:14 EDT
The bug happens when Eclipse tries to autocomplete a function. It keeps waiting ever, until I kill the process eclipse.exe
Sometimes it lasts very long time, but it shows autocomplete information...
I've put a project's js folder on JS path.

Thanks!


-- Configuration Details --
Product: Eclipse 1.2.1.20090812-1036 (org.eclipse.epp.package.jee.product)
Installed Features:
 org.eclipse.wst.xml_ui.feature 3.1.1.v200907161031-7H6FM_DxtkM-7aeTHKEBbQqcZOZ2
Comment 1 Sergio Eduardo CLA 2010-05-02 11:03:55 EDT
Created attachment 166734 [details]
mylyn/context/zip

File where the locking occurs
Comment 2 Nitin Dahyabhai CLA 2010-05-03 00:15:13 EDT
The actual file itself is neither attached nor in the attached zip.
Comment 3 Sergio Eduardo CLA 2010-05-03 06:51:39 EDT
Created attachment 166763 [details]
Sample JS File

See the next pictures
Comment 4 Sergio Eduardo CLA 2010-05-03 06:55:55 EDT
Created attachment 166764 [details]
Eclipse File editor with the problem in details
Comment 5 Sergio Eduardo CLA 2010-05-03 06:57:59 EDT
Created attachment 166765 [details]
Windows Task Manager
Comment 6 Chris Jaun CLA 2010-05-04 17:55:15 EDT
I would recommend moving up to a more recent WTP 3.2m7 build. I don't believe this problems occurs there any more.

http://download.eclipse.org/webtools/downloads/drops/R3.2.0/S-3.2.0M7-20100429210436/
Comment 7 Sergio Eduardo CLA 2010-05-05 07:31:25 EDT
Created attachment 167114 [details]
JS Build Path

OK, I think this bug it's related to the libraries I've added to build path... yesterday, I've removed the libraries MSIE, Firefox and the custom js folder shown in picture attached, and the problem stopped happening...
but anyway, I will try the release you've mentioned... thank you a lot!
Comment 8 Chris Jaun CLA 2010-05-05 09:36:16 EDT
Yes, we've had other people report problems with the IE library.

You should have better results with a current build.
Comment 9 Chris Jaun CLA 2010-05-10 18:07:44 EDT
Did using a new build solve your problem?

If so, please resolve this bug or lower severity if there is additional work needed.

Thanks,
Chris
Comment 10 Chris Jaun CLA 2010-05-24 09:59:12 EDT
If problem remains please re-open.