Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » Search Type broken on Close Project then Open Project
Search Type broken on Close Project then Open Project [message #508775] Wed, 20 January 2010 04:50 Go to next message
Eclipse UserFriend
Hello,
First of all please excuse me if this forum is not the right one for posting about this potential bug. Embarrassed

A little context first : I have several projects in my workbench (some of which are actually basically the same project but in different SVN branches, at different development stage) and I like to keep only the one on which there are ongoing developments open.
From time to time, when a bug emerges in production I open the project that correspond to the current production version.

Here is the thing though : each time I close a project, whenever I reopen it it breaks the Open Type dialog (CTRL+Shift+T).

When I type in a class, two lines pop up for the reopened project. Instead of just sticking to the package hierarchy, the qualified names are prefixed by bin and java respectively... (bin is my build folder, java is my source folder)

When I try to open the bin.xxx result, the java editor complains that this is not a java file (Could not open the editor: Editor could not be initialized), whereas trying the java.xxx one results in an error message : "Type java.xxx could not be found in project 'p'. Make sure all workspaces ressources are refreshed.".

I've tried to refresh the project, to refresh the whole workspace, to clear and rebuild the project. This occurs even after an Eclipse restart (I believe I've tried a restart with the -clean option at some point, without success).
The only way I've come up with to get rid of the problem is to delete the project from workspace (not from FS) then add it back from FileSystem...

Any idea? Maybe I should open a bugzilla track...
Thanks in advance Smile

[Updated on: Thu, 11 February 2010 06:11] by Moderator

Re: Search Type broken on Close Project then Open Project [message #510319 is a reply to message #508775] Wed, 27 January 2010 03:58 Go to previous messageGo to next message
Eclipse UserFriend
(typo correction) and bump!
any clue? already 170+ views and no reply yet Rolling Eyes
Re: Search Type broken on Close Project then Open Project [message #513800 is a reply to message #508775] Thu, 11 February 2010 06:16 Go to previous message
Eclipse UserFriend
wow ! dunno if it's a forum internal counter error or a search engine's bot infinite loop but I see 4000 views on this thread Very Happy

so! for something more constructive, a way to deal with this problem (or with an Open Type problem where you cannot find some of your classes) could also be to delete all .index files and savedIndexNames.txt file in yourWorkspacePath/.metadata/.plugins/org.eclipse.jdt.core/
I've done that with Eclipse closed (which could be longer that just deleting the project and adding it from path, provided you only have one affected project). Very Happy
Not sure what that would do if Eclipse was running when you delete indexes though...

[Updated on: Thu, 11 February 2010 06:18] by Moderator

Previous Topic:Multi-line Formatting
Next Topic:Remote debugging into Tomcat/Linux/x64 from Win7 x64
Goto Forum:
  


Current Time: Sun Mar 16 14:58:48 EDT 2025

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

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

Back to the top