Bug 96827 - Open Type does not show all types
Summary: Open Type does not show all types
Status: CLOSED INVALID
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows XP
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: needinfo
Depends on:
Blocks:
 
Reported: 2005-05-26 12:47 EDT by Howard M. Lewis Ship CLA
Modified: 2009-08-30 02:09 EDT (History)
1 user (show)

See Also:


Attachments
screen shot of problem (81.84 KB, image/png)
2005-05-26 12:47 EDT, Howard M. Lewis Ship CLA
no flags Details
Control-T type hieararchy (82.91 KB, image/png)
2005-05-26 12:51 EDT, Howard M. Lewis Ship CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Howard M. Lewis Ship CLA 2005-05-26 12:47:10 EDT
Since upgrading from 3.1 M6 to 3.1 M7 I noticed that the open type dialog is
omitting many types within my application.  It is scattershot ... I see some of
my project's classes and interfaces, but not all of them.

I've attached a screen shot that shows me editting a class and using the open
type dialog and that class is not present.

I've tried cleaning my project, with no change.

Open resource still finds the files.
Comment 1 Howard M. Lewis Ship CLA 2005-05-26 12:47:58 EDT
Created attachment 21842 [details]
screen shot of problem

I'm editting SpecificationParser, but it doesn't show up in the open type
dialog.
Comment 2 Howard M. Lewis Ship CLA 2005-05-26 12:51:13 EDT
Created attachment 21844 [details]
Control-T  type hieararchy

If I hit ^T, it raises the "special popup" showing the type hierarchy ... so it
seems like the data is in there somewhere, just not available to the open type
dialog?
Comment 3 Dirk Baeumer CLA 2005-05-26 13:06:03 EDT
Howard,

we are aware of a constallation where the search indices are not rebuild on
which the new dialog now relies (see bug 93668).

Can you zip your workspace and provide it so that I can have a look and see if
it is related. Without reproducable steps or the workspace it is hard to find
out what is going wrong (the dialog works for use Eclipse developers ;-)).

Additionally, can you please check the following:

- do you filter types via Preferences->Java->Appearance->Type Filters. If so
  please make sure that the type isn't filtered.

- you can delete the search indices by hand to trigger rebuilding them. To do 
  so shut down eclipse go into  your workspace directory and then into 
  .metadata\.plugins\org.eclipse.jdt.core and delete all files. Restart Eclipse.
  This will rebuild all indices. Does the type show up then ?

Comment 4 Howard M. Lewis Ship CLA 2005-05-27 11:40:14 EDT
My workspace is quite large; zips up to 480 MB.  Can you be more specific about
exactly what you need?

For type filters ... just java.awt.* is being filtered.

I'll trying destroying the indexes later today.

"constallation" ... that's a word I haven't seen in a bug report before!
Comment 5 Dirk Baeumer CLA 2005-05-27 12:02:08 EDT
The problem is that I basically need everything. As soon as we strip something
away it might change things.

"constallation" is a typo and should be constellation ;-).

Alternativly we could do a remote debugging session. Are you behind a fire wall ?


Comment 6 Howard M. Lewis Ship CLA 2005-05-27 14:28:29 EDT
I'm uploading the 480MB file to my web site so that you can take a peek; I'll
update with the URL when it finishes.
Comment 7 Howard M. Lewis Ship CLA 2005-05-27 15:28:31 EDT
Restarting Eclipse after deleting the indicated files appears to have worked.
Comment 8 Dirk Baeumer CLA 2005-05-27 17:26:52 EDT
Howard, 

thanks a lot for uploading the workspace. Can you quickly enumerate the content
of the workspace. Are these apache projects ?
Comment 9 Howard M. Lewis Ship CLA 2005-05-27 18:13:08 EDT
Everything there is either apache projects or something I will eventually open
source.  Some of it is training materials.
Comment 10 Howard M. Lewis Ship CLA 2005-05-27 19:53:10 EDT
OK, you want it ... its at

http://howardlewisship.com/downloads/workspace.tar.gz

it's about 447MB!
Comment 11 Dirk Baeumer CLA 2005-05-30 03:27:52 EDT
Since deleting the index solved the problem this indicates that the problem is
in JDT/Core (looks like the index hasn't been rebuilt correctly).

Moving...
Comment 12 Frederic Fusier CLA 2005-06-08 12:12:49 EDT
Howard,
May you verify if you still get this problem using latest nightly build  (at
least N20050607-0010) or RC2 when it will be available?
There's some fix/improvment in index area which can make this fixed (hopefully...)
Please reopen if it's still there, thx
Comment 13 Howard M. Lewis Ship CLA 2005-06-08 12:42:05 EDT
Can't really verify; I did the deleting of files workaround that forced the
creation of a new index, and have been fine since.
Comment 14 Frederic Fusier CLA 2005-06-08 12:49:33 EDT
That means it works properly now...
So close for now (you still can reopen if you get it again...)
Comment 15 Denis Roy CLA 2009-08-30 02:09:40 EDT
As of now 'LATER' and 'REMIND' resolutions are no longer supported.
Please reopen this bug if it is still valid for you.