facebook

Hangs on editing JSPs

💡
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 Archived
  2.  > 
  3. Bugs
Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #225616 Reply

    hanma0
    Member

    Eclipse reproducibly hangs when editing the uri-attribute of a taglib-directive inside JSPs when they have the following form:

    <%@ taglib uri=”http://jakarta.apache.org/struts/tags-tiles&#8221; prefix=”tiles” %>

    My guess is that the JSP plugin tries to look up the listed uri and fails, but only after the standard tcp/ip-timeout.

    myeclipse version: 3.8.4+QF2 BetaFor3.1
    Eclipse version: 3.1.0, Build id: 200412162000

    #225678

    Riyad Kalla
    Member

    Eclipse reproducibly hangs when editing the uri-attribute of a taglib-directive inside JSPs when they have the following form:

    If you mean “hangs up for an extended period of time before allowing you to type again” we are aware of the problem, and yes you are correct as to why it is happening. I will file this as a reminder that we need to introduce a reparse delay to minimize this “freezing” effect.

    #225954

    Chris.d
    Member

    My JSPs do not include the above tag, but I’ve had 5 times over the last 1.5 weeks (after upgrading to 3.8.4) when Eclipse refuses all key presses, Ctrl-S still works, but things like Ctrl-V/Ctrl-C pop up a dialog box about an unsupported operation. I’ve only had patient to wait for a couple minutes, but a quit/restart Eclipse at least temporarily eliminates the problem.

    This has happened while editing JSPs, but usually after a Ctrl-C in one JSP, switch to another JSP and before my Ctrl-V. One symptom seems to be that the Javascript is in all black text instead of being interpreted for keywords.

    Mine isn’t reproducible, though, just random. 3 times in one afternoon was very frustrating though.

    #225956

    Riyad Kalla
    Member

    Chris,
    I will look into this behavior later today, I will try many copy-pastes between JSP pages. Also if you are doing copy pastes between <script> code blocks and Javasciprt, this MIGHT be the catalyst for the problem…

    #225963

    Chris.d
    Member

    Definitely from Javascript block in file1 to Javascript block in file2.

    #225965

    Riyad Kalla
    Member

    Can you paste a sample JSP page that you use so I can use it and try and reproduce the problem more effectively? Be sure to wrap it in code blocks (use the code button below).

    #226090

    Chris.d
    Member

    If you are talking to me, I don’t think I can for the following reasons:

      The JSPs I’m working with are 780+ lines long
      The Javascript section alone are 290+ lines long
      They are for a contract for an intranet site for a private company
      They include extensive custom TagLib tags

    So the code itself for the 2 JSPs I’ve had the problems with would mean I post over 1500+ lines. That and it hasn’t been reliably reproducible for me. (Hmm [ list ] doesn’t tag each line with a number or anything…)

    #226097

    Riyad Kalla
    Member

    Chris.d,
    If you can share a small subset of the project (With 1 page that exhibits the problem) can you export the project using File > Export > ZIP and email it to support@genuitec.com ATTN Riyad with a link to this forum so we know why we are getting the file?

    #226130

    Chris.d
    Member

    Sorry, no can do. I checked and am told that it is proprietary so I can’t let even 1 page go public, even if it is only to your company.

    #226132

    Riyad Kalla
    Member

    Chris, no worries, I will throw something together later this week and use it as a sample page to try and reproduce this. If I find problems I’ll file them in our internal ssytem so they will get fixed.

Viewing 10 posts - 1 through 10 (of 10 total)
Reply To: Hangs on editing JSPs

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