facebook

Java Search does not work after first time

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #269655 Reply

    NShwu
    Member

    Hi,

    I have been using Eclipse for years and have recently switched to use MyEclipse5.1.1 GA release.

    When I tried to do Java Search for class reference or any kind, in a specified Working set or in the work space, it always launches the “JSP Search” page instead of “Java Search”, and fails to find the references.

    However, if I exit MyEclipse and restart, the java search works in the first try, and then the same problem occurs in any subsequent attempts.

    Could you please kindly provide advice on how to trouble shot this problem? The IDE is unworkable without the Java Search.

    Best Regards,
    Huan

    #269665

    Loyal Water
    Member

    Hi Huan,
    Have you tried cleaning your workspace ? I suggest you try restarting MyEclipse using the -clean command line argument.

    Incase that doesn’t help, can you post the information from MyEclipse > Installation Summary > Installation Details here for me?

    #269677

    NShwu
    Member

    Hi Nipun,

    Thank you very much for prompt reply.

    After restarting MyEclipse with -clean, the problem is still there. The very first time when I do Java Search, it will index the java files, find the references, then it starts “JSP Search” which index the jsp files. After that, with any Java Search attempt, it just launches the “JSP Search”, and find no reference.

    Here is the info you have requested:

    *** Date:
    Wednesday, May 2, 2007 2:44:04 o’clock PM PDT

    ** System properties:
    OS=Windows2003
    OS version=5.2
    Java version=1.5.0_06

    *** MyEclipse details:
    MyEclipse Enterprise Workbench
    Version: 5.1.1 GA
    Build id: 20070302-5.1.1-GA

    *** Eclipse details:
    MyEclipse Enterprise Workbench

    Version: 5.1.1 GA
    Build id: 20070302-5.1.1-GA

    Eclipse Platform

    Version: 3.2.2.r322_v20070119-RQghndJN8IM0MsK
    Build id: M20070212-1330

    Eclipse RCP

    Version: 3.2.2.r322_v20070104-8pcviKVqd8J7C1U
    Build id: M20070212-1330

    Eclipse Java Development Tools

    Version: 3.2.2.r322_v20070104-R4CR0Znkvtfjv9-
    Build id: M20070212-1330

    Eclipse Project SDK

    Version: 3.2.2.r322_v20070104-dCGKm0Ln38lm-8s
    Build id: M20070212-1330

    Eclipse Graphical Editing Framework

    Version: 3.2.2.v20070208
    Build id: 20070208-1315

    Eclipse startup command=-os
    win32
    -ws
    win32
    -arch
    x86
    -launcher
    C:\Program Files\MyEclipse 5.1.1 GA\eclipse\eclipse.exe
    -name
    Eclipse
    -showsplash
    600
    -exitdata
    13a0_ec
    -clean
    -vm
    C:\WINDOWS\system32\javaw.exe

    Many thanks again for your help,
    Huan

    #269680

    NShwu
    Member

    Does anyone know how to disable the “JSP Search” in MyExclipse?

    Any suggestion would be greatly appreciated.

    Hwu

    #269697

    Riyad Kalla
    Member

    Hwu,
    Do you mean you actually have a “JSP Search” tab on the search menu? MyEclipse doesn’t contribute one… I’m not sure why you are seeing this:

    Attachments:
    You must be logged in to view attached files.
    #269715

    NShwu
    Member

    I do not see “JSP Search” tab in the Search menu. But I do see “JSP Search” as the title of the search progress popup window (attach bmp below), and it’s looking through the JSP indexes.

    After restarting MyEclipse, the first time when I do Java Search, the popup window title shows “Java Search” first (attach bmp below), after finishing indexing the java files and found the reference, the popup window title then changes to “JSP Search” and starts JSP indexing.

    If I then do the same Java Search again, the popup window only shows “JSP Search”, and do not display the references in the Search View.

    I don’t understand why it would triger the JSP indexing, and restart MyEclipse with -clean doesn’t seem to help.

    Maybe it’s a bug in 5.1.1GA, and I should try another version of the MyEclipse?

    Looking forward to your advice,
    Hwu

    #269720

    NShwu
    Member

    I am sorry for the bad image links, but I can’t seem to find a place to upload/attach the images.

    Hwu

    #269724

    Loyal Water
    Member

    Can you send Riyad a pm with the images.

    #269762

    NShwu
    Member

    Hi Riyad,

    I hope you have recieved the images I’ve sent to you. Any idea?

    I have created a brand new work space and import my projects. The Java Search now works every time, But there is always the “JSP Search” popup window showing up after every Java Search, and it takes a long time to finish.

    Best Regards,
    Hwu

    #269769

    Riyad Kalla
    Member

    Hwu,
    Thank you for the screenshots. I took a look and this is a side effect of the JSP Indexer contributing to the search process. I have filed a request to be able to turn this off in a future release.

    #269772

    NShwu
    Member

    Many thanks Riyad for looking into this.

    If I have to live with it by using MyEclipse5.1.1GA, I’d like to switch to a previous version that is more stable and does not have this side effect. Which version do you recommend?

    Regards,
    Hwu

    #269773

    Riyad Kalla
    Member

    Hwu,
    I have a hard time suggesting older releases because we make so many advancements in each release… honestly I would wait for our 5.5 GA release late next week and try it and see if the situation is any better. If it’s not, then I believe we had a 5.0.1 release you could use.

Viewing 12 posts - 1 through 12 (of 12 total)
Reply To: Java Search does not work after first time

You must be logged in to post in the forum log in