| Summary: | Rename Field causes freeze during "Waiting for JSP Index Manager" step | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [WebTools] WTP Source Editing | Reporter: | Balázs Bessenyei <h143570> | ||||||
| Component: | jst.jsp | Assignee: | jst.jsp <jst.jsp-inbox> | ||||||
| Status: | RESOLVED NOT_ECLIPSE | QA Contact: | Nick Sandonato <nsand.dev> | ||||||
| Severity: | major | ||||||||
| Priority: | P3 | CC: | developer, thatnitind | ||||||
| Version: | unspecified | ||||||||
| Target Milestone: | --- | ||||||||
| Hardware: | PC | ||||||||
| OS: | Windows 7 | ||||||||
| URL: | https://jira.springsource.org/browse/IDE-1206 | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
|
Description
Balázs Bessenyei
It appears that the Change Method signature is also effected. The freeze occurs "Creating workspace modifications..." I would queues that all method type refactoring suffers from this. Thanks for your bug report. Could you please attach a stackdump of when this is occurring? Thanks. Created attachment 197556 [details]
Stacktrace
Please find the stack trace attached after the problem occurred. I will attach the stack trace after canceling the operation, separately.
Further investigation reveled that it only occurs when an another Dynamic Web Project is open as well.
I have 3 projects, 2 of them are Dynamic Web Projects and 1 Java projects. Both DWP depends on the Java. When I want to refactor a method in one of them the previously mentioned problem occurs.
If I close the other one the modification succeeds.
Looking at the Stack Trace it seems that IO related. According to W7 Resource Monitor, there are no disk activities from Eclipse and Javaw processes. Also there are no global disc activity around the project files either.
According to Task Manager there is a ~10% CPU activity related to Eclipse, but the UI is almost completely frozen.
Created attachment 197557 [details]
Stackdump After Cancel
In the mean time I have upgraded to 20110602-0820 Hi, Thank you very much for the thread dumps. Based on the information in them, I'm inclined to think that this may not be Eclipse. The one thread in particular, where the Spring refactoring participant is involved shows that the workspace lock is held. This can cause something like the JSP Index Manager to block waiting for that lock to be released. (In reply to comment #6) > Hi, > > Thank you very much for the thread dumps. Based on the information in them, I'm > inclined to think that this may not be Eclipse. The one thread in particular, > where the Spring refactoring participant is involved shows that the workspace > lock is held. This can cause something like the JSP Index Manager to block > waiting for that lock to be released. Yes, according to the stack trace, I`m leaning towards that it is actually Spring IDE`s fault. Since the first thread`s Stacktrace is IO related. It hit me that I have enabled Preferences / Spring / "Use non locking classloaders" option. After un-checking it the problem seems to be solved. Although it took Eclipse a several minutes to make the first refactoring. The standard Eclipse installation does not contain the org.apache.xbean.classloader package. So it is definitely Spring IDE or maybe Apache XBean. Thanks for the help. I will open a bug in their system. The related bug report ID in Spring system is IDE-1206. Probably Spring IDE related issue, raised against Spring IDE; the relavant bug id is in the previous comment. (In reply to comment #9) > Probably Spring IDE related issue, raised against Spring IDE; the relavant bug > id is in the previous comment. You can put a URL leading to it in the URL field--might help others who run into the same problem. (In reply to comment #10) > (In reply to comment #9) > > Probably Spring IDE related issue, raised against Spring IDE; the relavant bug > > id is in the previous comment. > > You can put a URL leading to it in the URL field--might help others who run > into the same problem. I didn`t know about this. Thanks for adding it. I actually get the same behaviour with Kepler (only difference was I renamed the class rather than a field). |