| Summary: | Project validation produces many errors in Error Log and freezes | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] JDT | Reporter: | Victor Homyakov <vkhomyackov> | ||||||
| Component: | UI | Assignee: | JDT-UI-Inbox <jdt-ui-inbox> | ||||||
| Status: | CLOSED DUPLICATE | QA Contact: | |||||||
| Severity: | major | ||||||||
| Priority: | P3 | CC: | daniel_megert, deepakazad, kapildverma, markus.kell.r, mauromol, thatnitind | ||||||
| Version: | 3.7.1 | ||||||||
| Target Milestone: | --- | ||||||||
| Hardware: | PC | ||||||||
| OS: | Linux | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
|
Description
Victor Homyakov
Valid bug, but you should double-check and make sure your web.xml points to valid tag libraries. Not sure about the freezing, though. (In reply to comment #1) > make sure your web.xml points to valid tag libraries. I use servlet 2.5, and web.xml does not contain any taglib declarations - all tag information is taken directly from jars. (In reply to comment #2) > Not sure about the freezing, though. How to get additional info about the cause of freezing/hangup? (In reply to comment #4) > (In reply to comment #2) > > Not sure about the freezing, though. > > How to get additional info about the cause of freezing/hangup? http://wiki.eclipse.org/index.php/How_to_report_a_deadlock Created attachment 204491 [details]
GUI freeze - thread dump 1
Created attachment 204492 [details]
GUI freeze - thread dump 2
Attached two thread dumps while Eclipse was freezed for 2 minutes with "Validating 3%..." progress indicator. I have just updated project from SVN, then project rebuild started automatically, and after that project validation was started. Eclipse: Eclipse Java EE IDE for Web Developers. Version: Indigo Service Release 1 Build id: 20110916-0149 Java: java version "1.6.0_26" Java(TM) SE Runtime Environment (build 1.6.0_26-b03) Java HotSpot(TM) Server VM (build 20.1-b02, mixed mode) Victor, can you confirm which version of the org.eclipse.jst.jsp.core plug-in is installed, as well as whether the workspace and all libraries/jars you're referring to from it are on a local disk (not a mounted network or removable filesystem)? (In reply to comment #9) > which version of the org.eclipse.jst.jsp.core plug-in > is installed org.eclipse.jst.jsp.core_1.2.401.v201108302147.jar 654823 bytes > whether the workspace and all libraries/jars you're > referring to from it are on a local disk (not a mounted network or removable > filesystem)? Eclipse, workspace and all other jars are located on the same local disk, on the same partition (exactly: ~/bin/eclipse-3.7, ~/workspace, ~/.m2/repository). All required libraries are placed either in workspace or in maven local repository. I can see this error while opening any JSP for editing. Even while debugging, if a breakpoint in JSP is hit, this error pops-up. The major problem is that the error message appears more than 20 times and it doesn't go in background till you click Ok. My platform details are: Version: Indigo Release Build id: 20110615-0604 OS: openSuseLinux 11.4 Java: java version "1.6.0_29" Java(TM) SE Runtime Environment (build 1.6.0_29-b11) Java HotSpot(TM) Server VM (build 20.4-b02, mixed mode) Regards, Kapil Both stack dumps show JDT in the UI thread during the freeze. Passing to JDT to see if they know anything about this particular problem. The NPE has been fixed. (In reply to comment #12) > Both stack dumps show JDT in the UI thread during the freeze. Passing to JDT to > see if they know anything about this particular problem. I have not seen this with only JDT installed. Also both stack dumps are different as far as the UI thread is concerned. Feel free to move the bug back if you this with Eclipse Classic SDK or you have more info. Do you have class folders with a lot of .class files on the build path? If yes, then I think the freezing is bug 311212. If you can reproduce the problem, then please try again with a recent 3.8/4.2 build. If you don't see the freezing any more, then this would support us in backporting bug 311212 to 3.7.2. (In reply to comment #14) > Do you have class folders with a lot of .class files on the build path? The largest project has 126 src folders and 812 .java files, build folder with 812 .class files. > If yes, then I think the freezing is bug 311212. Looks similar. > If you can reproduce the problem, then please try again with a recent 3.8/4.2 > build. If you don't see the freezing any more, then this would support us in > backporting bug 311212 to 3.7.2. I've started downloading version 4.2 M3 for Java EE, however installing and checking projects will require some time. (In reply to comment #15) > I've started downloading version 4.2 M3 for Java EE, however installing and > checking projects will require some time. Sorry, I should have been more specific. The fix for bug 311212 has only been released after M3 (on 2011-11-07). You have to wait for M4 (to be declared till next Monday) or take a more recent I-build. (In reply to comment #16) > Sorry, I should have been more specific. The fix for bug 311212 has only been > released after M3 (on 2011-11-07). :( > You have to wait for M4 (to be declared till > next Monday) or take a more recent I-build. Can you make a small patch (or jar with changed class) for Eclipse 3.7? I'll check this in existing Eclipse 3.7.1 installation much faster (just copy jar and restart) than downloading 3.8 + installing needed plugins (also are current versions of m2e and svn plugin compatible with 3.8?) + checking projects from SVN again. (In reply to comment #17) > Can you make a small patch (or jar with changed class) for Eclipse 3.7? I'll > check this in existing Eclipse 3.7.1 installation much faster [..] Here's a patched jdt.ui JAR for 3.7.1: http://dl.dropbox.com/u/9385300/org.eclipse.jdt.ui_3.7.1.r371_v20110824-0800.zip (In reply to comment #18) > Here's a patched jdt.ui JAR for 3.7.1: > http://dl.dropbox.com/u/9385300/org.eclipse.jdt.ui_3.7.1.r371_v20110824-0800.zip Thanks. Downloaded and installed into Eclipse. At the first glance seems a bit more responsive while building/validating projects, but I should work for a while for more correct results. Working for two days. Eclipse is more responsive and not freezing during build/validation process. General impression is better than before this patch. I think Eclipse works better with this patch. I would like to see this patch in 3.7.2. Markus, thanks for taking a look at this! I'm going to pass this back to JDT UI since it seems your patch has helped Victor out. *** This bug has been marked as a duplicate of bug 311212 *** |