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

Bug 339711

Summary: Java Search - Processing JSP Changes Never Completes
Product: [WebTools] WTP Source Editing Reporter: Benjamin Hofstadter <owenkun>
Component: jst.jspAssignee: jst.jsp <jst.jsp-inbox>
Status: RESOLVED FIXED QA Contact: Nick Sandonato <nsand.dev>
Severity: minor    
Priority: P3 CC: daniel_megert, hanriseldon, itewksbu, robert.munteanu, thatnitind
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Fix Patch none

Description Benjamin Hofstadter CLA 2011-03-11 10:44:32 EST
Build Identifier: 20110218-0911

Ever since I moved to Helios SR2 I've been encountering a small, but kind of irritating problem. Specifically, if I perform pretty much any activity that makes use of the search function (doing an explicit search via Search->File, for example, along with performing a reference search) the search will successfully find things, but never complete.

If I look at the Progress tab, it shows the following message: "Java Search - Updating JSP Index: Processing JSP changes since last activation."

At first I thought it needed to perform some manner of indexing, so I actually left it run overnight. It never completed. With each new Eclipse version I create a brand new workspace (Helios SR2 being no exception), but I gave that a try with no luck. I also tried launching Eclipse with the -clean parameter, but that also failed to change things.

Ultimately I can work around it, since I can just switch to the Progress tab and click Stop, but if there's a bug here (or, probably more likely, something I'm doing wrong), I'd love to hear about it.

Reproducible: Always

Steps to Reproduce:
1. Click Search->File
2. Enter search parameters
3. Watch as the "processing JSP changes since last activation" process never completes
Comment 1 Robert Munteanu CLA 2011-03-15 07:50:19 EDT
Seeing this as well with Helios SR2.
Comment 2 Ian Tewksbury CLA 2011-03-18 13:25:37 EDT
Created attachment 191527 [details]
Fix Patch

Attached patch adds in some missing progress.done() calls that should fix this issue.
Comment 3 Ian Tewksbury CLA 2011-03-18 13:28:23 EDT
Comment on attachment 191527 [details]
Fix Patch

I am obsoleting this patch because I am going to fix this in conjunction with bug 340003.
Comment 4 Ian Tewksbury CLA 2011-03-18 14:49:16 EDT
This bug is addressed by the patch for bug 340003.
Note sure what you want to do with this one, dup it against the other?
Comment 5 Nick Sandonato CLA 2011-03-18 16:54:31 EDT
This issue is resolved by Bug 340003. Thanks for your report.