Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Search engine
Search engine [message #260618] Mon, 15 June 2009 10:01 Go to next message
Julien Manankiandrianana is currently offline Julien ManankiandriananaFriend
Messages: 37
Registered: July 2009
Member
Hello everyone,

I'm searching java elements projects locate in the workspace using the
Eclipse search engine and I'm experiencing some problems.

For projects with a lot of matches, the search is working only when the
Eclipse Test Application with the minimum number of features : Only my
plug-ins plus the required ones.

When the Eclipse Test Application is launched with all the available
plug-ins, it seems like the search begins but then nothing happens.

I've already experienced this behavior because some try/catch blocks in
static function were too long.

This is very difficult for me to tell you more as I have no idea of when
the problem occurs, I'm seeking people that have already had this problem
and know some tips that could help me find and solve this problem.

Thanks in advance,

Julien
Re: Search engine [message #260648 is a reply to message #260618] Tue, 16 June 2009 15:40 Go to previous messageGo to next message
Frederic Fusier is currently offline Frederic FusierFriend
Messages: 147
Registered: July 2009
Senior Member
Julien M. wrote:
> Hello everyone,
>
> I'm searching java elements projects locate in the workspace using the
> Eclipse search engine and I'm experiencing some problems.
>
> For projects with a lot of matches, the search is working only when the
> Eclipse Test Application with the minimum number of features : Only my
> plug-ins plus the required ones.
>
Could you show us the part of your code which calls the Search Engine?

> When the Eclipse Test Application is launched with all the available
> plug-ins, it seems like the search begins but then nothing happens.
>
Really strange, more plug-ins should not make the Search Engine stop
working. Are you sure the Search Engine is called in this case?
What do you mean by: "it seems that the search begins"?

> I've already experienced this behavior because some try/catch blocks in
> static function were too long.
>
I do not understand this point at all. Do you mean that when matches
are encountered in huge try/catch block, the Search Engine is hanging?

> This is very difficult for me to tell you more as I have no idea of when
> the problem occurs, I'm seeking people that have already had this
> problem and know some tips that could help me find and solve this problem.
>
> Thanks in advance,
>
> Julien
>
Re: Search engine [message #260667 is a reply to message #260648] Wed, 17 June 2009 07:45 Go to previous message
Julien Manankiandrianana is currently offline Julien ManankiandriananaFriend
Messages: 37
Registered: July 2009
Member
It's alright I found what was wrong, some NullPointerExceptions were
thrown during the search but the casual Eclipse Test Application didn't
display it. I noticed it in debug mode.

The exceptions were caught by org.eclipse.runtime.SafeRunner which may be
the reason why the search wasn't interrupted with a very poor Eclipse Test
Application.

Julien
Previous Topic:Specifying source location for libraries
Next Topic:galileo - Type mismatch: cannot convert ...
Goto Forum:
  


Current Time: Sun Oct 06 16:19:57 GMT 2024

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

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

Back to the top