- This topic has 16 replies, 3 voices, and was last updated 19 years, 6 months ago by Riyad Kalla.
-
AuthorPosts
-
Daniel SerodioMemberUsing Eclipse 3.0.1 and MyEclipse 3.8.2+QF2
Eclipse froze, and when I looked at the log file, I found the following:
!SESSION Nov 29, 2004 14:02:12.236 --------------------------------------------- eclipse.buildId=M200409161125 java.version=1.5.0 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US !ENTRY com.genuitec.eclipse.wdt.jsp.debug 1 1 Nov 29, 2004 14:02:12.237 !MESSAGE [javac] Note: Recompile with -Xlint:unchecked for details. [javac] 18 errors !ENTRY com.genuitec.eclipse.wdt.jsp.debug 1 1 Nov 29, 2004 14:02:12.240 !MESSAGE Nov 29, 2004 2:02:12 PM com.genuitec.eclipse.wdt.jsp.jasper.compiler.Compiler ? SEVERE: Javac exception Compile failed; see the compiler error output for details. at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:938) at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:758) at com.genuitec.eclipse.wdt.jsp.jasper.compiler.Compiler.?(Unknown Source) at com.genuitec.eclipse.wdt.jsp.jasper.compiler.Compiler.compile(Unknown Source) at com.genuitec.eclipse.wdt.jsp.jasper.compiler.Compiler.compile(Unknown Source) at com.genuitec.eclipse.wdt.jsp.jasper.driver.MyEclipseJspC.?(Unknown Source) at com.genuitec.eclipse.wdt.jsp.jasper.driver.MyEclipseJspC.parse(Unknown Source) at com.genuitec.eclipse.wdt.jsp.validation.JSPValidator.validate(Unknown Source) at com.genuitec.eclipse.wdt.jsp.validation.ValidateAction$1.run(Unknown Source) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1673) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1693) at com.genuitec.eclipse.wdt.jsp.validation.ValidateAction.validate(Unknown Source) at com.genuitec.eclipse.wdt.jsp.validation.ValidateAction.run(Unknown Source) at com.genuitec.eclipse.wdt.jsp.validation.Validator.validate(Unknown Source) at com.genuitec.eclipse.wdt.jsp.validation.Validator.validateIfNeeded(Unknown Source) at com.genuitec.eclipse.wdt.jsp.validation.Validator.validate(Unknown Source) at com.ibm.etools.validation.ValidatorLauncher.start(Unknown Source) at com.ibm.etools.validate.ValidationOperation.launchValidator(Unknown Source) at com.ibm.etools.validate.ValidationOperation.internalValidate(Unknown Source) at com.ibm.etools.validate.ValidationOperation.validate(Unknown Source) at com.ibm.etools.validate.ValidationOperation.run(Unknown Source) at com.ibm.etools.validate.ValidationBuilder.build(Unknown Source) at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:570) at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:616) at org.eclipse.core.runtime.Platform.run(Platform.java:747) at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:159) at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:251) at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:204) at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:231) at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:616) at org.eclipse.core.runtime.Platform.run(Platform.java:747) at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:234) at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:270) at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:299) at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:155) at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:212) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:66) Nov 29, 2004 2:02:12 PM com.genuitec.eclipse.wdt.jsp.jasper.compiler.Compiler ? SEVERE: Env: Compile: javaFileName=/tmp/myeclipse-jspcc//org/apache/jsp/module/documentacao/menu/user_jsp.java classpath=/opt/jdk1.5.0/jre/lib/rt.jar:/opt/jdk1.5.0/jre/lib/jsse.jar:/opt/jdk1.5.0/jre/lib/jce.jar:/opt/jdk1.5.0/jre/lib/charsets.jar:/opt/jdk1.5.0/jre/lib/ext/dnsns.jar:/opt/jdk1.5.0/jre/lib/ext/sunpkcs11.jar:/opt/jdk1.5.0/jre/lib/ext/sunjce_provider.jar:/opt/jdk1.5.0/jre/lib/ext/localedata.jar:/opt/MyEclipse/eclipse/plugins/com.genuitec.eclipse.j2eedt.core_3.8.2/data/libraryset/1.3/activation.jar:/opt/MyEclipse/eclipse/plugins/com.genuitec.eclipse.j2eedt.core_3.8.2/data/libraryset/1.3/jts.jar:/opt/MyEclipse/eclipse/plugins/com.genuitec.eclipse.j2eedt.core_3.8.2/data/libraryset/1.3/jsse.jar:/opt/MyEclipse/eclipse/plugins/com.genuitec.eclipse.j2eedt.core_3.8.2/data/libraryset/1.3/mail.jar:/opt/MyEclipse/eclipse/plugins/com.genuitec.eclipse.j2eedt.core_3.8.2/data/libraryset/1.3/javax.servlet.jar:/opt/MyEclipse/eclipse/plugins/com.genuitec.eclipse.j2eedt.core_3.8.2/data/libraryset/1.3/jboss-jaas.jar:/opt/MyEclipse/eclipse/plugins/com.genuitec.eclipse.j2eedt.core_3.8.2/data/libraryset/1.3/jboss-j2ee.jar:/home/dserodio/workspace/excelencia/web/WEB-INF/lib/edmsclient.jar:/usr/share/java/jaf-1.0.2/activation.jar:/usr/share/java/BlowfishJ-2.13/blowfishj-2.13.jar:/usr/share/java/commons-dbcp-1.2.1/commons-dbcp-1.2.1.jar:/usr/share/java/commons-fileupload-1.0/commons-fileupload-1.0.jar:/usr/share/java/commons-lang-2.0/commons-lang-2.0.jar:/usr/share/java/commons-pool-1.2/commons-pool-1.2.jar:/usr/share/java/commons-validator-1.0.2/commons-validator.jar:/usr/share/java/javamail-1.3.2/mail.jar:/usr/share/java/jakarta-taglibs-standard-1.1.2/lib/jstl.jar:/usr/share/java/jakarta-taglibs-standard-1.1.2/lib/standard.jar:/usr/share/java/jTDS/jtds-0.9.jar:/usr/share/java/jakarta-log4j-1.2.8/dist/lib/log4j-1.2.8.jar:/usr/share/java/xalan-j_2_6_0/bin/xalan.jar:/opt/jakarta-tomcat-5.0.28/common/lib/servlet-api.jar:/opt/jakarta-tomcat-5.0.28/common/lib/jasper-runtime.jar:/opt/jakarta-tomcat-5.0.28/common/lib/jsp-api.jar:/home/dserodio/workspace/excelencia/web/WEB-INF/classes:/opt/MyEclipse/eclipse/plugins/com.genuitec.eclipse.wdt.jsp.debug_3.8.2/lib/jasper-runtime.jar:/opt/MyEclipse/eclipse/plugins/com.genuitec.eclipse.wdt.jsp.debug_3.8.2/lib/jsp-api.jar cp=/opt/eclipse/startup.jar cp=/opt/jdk1.5.0/jre/lib/rt.jar cp=/opt/jdk1.5.0/jre/lib/jsse.jar cp=/opt/jdk1.5.0/jre/lib/jce.jar cp=/opt/jdk1.5.0/jre/lib/charsets.jar cp=/opt/jdk1.5.0/jre/lib/ext/dnsns.jar cp=/opt/jdk1.5.0/jre/lib/ext/sunpkcs11.jar cp=/opt/jdk1.5.0/jre/lib/ext/sunjce_provider.jar cp=/opt/jdk1.5.0/jre/lib/ext/localedata.jar cp=/opt/MyEclipse/eclipse/plugins/com.genuitec.eclipse.j2eedt.core_3.8.2/data/libraryset/1.3/activation.jar cp=/opt/MyEclipse/eclipse/plugins/com.genuitec.eclipse.j2eedt.core_3.8.2/data/libraryset/1.3/jts.jar cp=/opt/MyEclipse/eclipse/plugins/com.genuitec.eclipse.j2eedt.core_3.8.2/data/libraryset/1.3/jsse.jar cp=/opt/MyEclipse/eclipse/plugins/com.genuitec.eclipse.j2eedt.core_3.8.2/data/libraryset/1.3/mail.jar cp=/opt/MyEclipse/eclipse/plugins/com.genuitec.eclipse.j2eedt.core_3.8.2/data/libraryset/1.3/javax.servlet.jar cp=/opt/MyEclipse/eclipse/plugins/com.genuitec.eclipse.j2eedt.core_3.8.2/data/libraryset/1.3/jboss-jaas.jar cp=/opt/MyEclipse/eclipse/plugins/com.genuitec.eclipse.j2eedt.core_3.8.2/data/libraryset/1.3/jboss-j2ee.jar cp=/home/dserodio/workspace/excelencia/web/WEB-INF/lib/edmsclient.jar cp=/usr/share/java/jaf-1.0.2/activation.jar cp=/usr/share/java/BlowfishJ-2.13/blowfishj-2.13.jar cp=/usr/share/java/commons-dbcp-1.2.1/commons-dbcp-1.2.1.jar cp=/usr/share/java/commons-fileupload-1.0/commons-fileupload-1.0.jar cp=/usr/share/java/commons-lang-2.0/commons-lang-2.0.jar cp=/usr/share/java/commons-pool-1.2/commons-pool-1.2.jar cp=/usr/share/java/commons-validator-1.0.2/commons-validator.jar cp=/usr/share/java/javamail-1.3.2/mail.jar cp=/usr/share/java/jakarta-taglibs-standard-1.1.2/lib/jstl.jar cp=/usr/share/java/jakarta-taglibs-standard-1.1.2/lib/standard.jar cp=/usr/share/java/jTDS/jtds-0.9.jar cp=/usr/share/java/jakarta-log4j-1.2.8/dist/lib/log4j-1.2.8.jar cp=/usr/share/java/xalan-j_2_6_0/bin/xalan.jar cp=/opt/jakarta-tomcat-5.0.28/common/lib/servlet-api.jar cp=/opt/jakarta-tomcat-5.0.28/common/lib/jasper-runtime.jar cp=/opt/jakarta-tomcat-5.0.28/common/lib/jsp-api.jar cp=/home/dserodio/workspace/excelencia/web/WEB-INF/classes cp=/opt/MyEclipse/eclipse/plugins/com.genuitec.eclipse.wdt.jsp.debug_3.8.2/lib/jasper-runtime.jar cp=/opt/MyEclipse/eclipse/plugins/com.genuitec.eclipse.wdt.jsp.debug_3.8.2/lib/jsp-api.jar work dir=/tmp/myeclipse-jspcc extension dir=/opt/jdk1.5.0/jre/lib/ext srcDir=/tmp/myeclipse-jspcc compiler=extJavac include=org/apache/jsp/module/documentacao/menu/user_jsp.java
Riyad KallaMemberIs “javac.exe” in your System PATH (e.g. can you drop to a console window and type ‘javac’ and have something execute?), or are you launching Eclipse using the -vm argument and pointing at a JDK install and not a JRE install? If you aren’t doing either, try one or the other and that should fix the problem of javac failing to run when trying to compile the JSP page.
Daniel SerodioMemberActually, “javac” is able to run, as I can see the in process listing (“ps” in Linux). But the javac process freezes when trying to compile the jsp. If I try to cancel the build (in the Progress view), it waits for this task to cancel forever, until I “kill” the javac process.
After experimenting some more, I found that it hung while “Validating some.jsp”. I removed my .metadata directory, imported my preferences, and it still hung.
The only way I was able to make it not hang it by disabling the “Validation” builder in my project. I also disabled the “J2EEProjectValidator”, since I don’t use any J2EE stuff.
What should I do in order to reenable JSP validation?
Riyad KallaMemberThis sounds a lot like the “crazy JSP indexer” problems we have had and were finally fixed with 3.8.2 + QuickFix 2… what version are you running?
Daniel SerodioMember– System Setup ——————————-
Operating System and version: Linux 2.6.10-rc2
Eclipse version: 3.0.1
Eclipse build id: 200409161125
Fresh Eclipse install (y/n): y
If not, was it upgraded to its current version using the update manager?
Other installed external plugins:
biz.junginger.freemem_1.0.0/
de.jayefem.log4e_0.7.7/
de.jayefem.log4e.help_0.7.7/
de.loskutov.anyedit.AnyEditTools_1.2.0/
jp.azzurri.clay.core_1.0.5/
jp.azzurri.clay.ui_1.0.5/
jp.azzurri.clay.ui.jdbc_1.0.5/
net.sf.commonclipse_1.2.0/
net.sf.fjep.fatjar_0.0.16/
net.sf.nice_0.9.8/
net.sf.versiontree_1.3.0/
org.sourceforge.eclpropfileedit/
org.sourceforge.eclpropfileedit_1.0.5/
org.springframework_1.0.2/
org.springframework.core_1.0.2/
org.springframework.doc.reference_1.0.2/
org.tigris.subversion.subclipse.core_0.9.22/
org.tigris.subversion.subclipse.ui_0.9.22/
Number of plugins in the <eclipse>/plugins directory that begin with org.eclipse.pde.*: 7
MyEclipse version: 3.8.2+QF20041020
Eclipse JDK version: 1.5.0
Application Server JDK version: N/A
Are there any exceptions in the Eclipse log file? See first post– Message Body ——————————-
Riyad KallaMemberSorry, I should have clarified that I need the version off of the Window > Prefs> MyEclipse page.
If you aren’t running QuickFix 2, you can grab it here: http://www.myeclipseide.com/PNphpBB2+file-viewtopic-t-4498.html
Daniel SerodioMemberI am running QuickFix 2:
MyEclipse Version: 3.8.2-QF20041020
Build id: 200410041200-3.8.2-QF20041020
Riyad KallaMemberPlease do me a favor:
1) Redownload Eclipse 3.0.1 SDK
2) Redownload MyEclispe 3.8.2 (and quick fix from link above)
3) Unzip Eclipse to /tmp/eclipse
4) Unzip MyEclipse to /tmp/myeclipse
5) Unzip quickfix ontop of MyEclipse dir
6) Launch /tmp/eclipse/eclipse (create new workspace /tmp/eclipse/workspace)
7) Help > Software Updates > Managen Config > (right click) Add > New Extension, point to /tmp/myeclipse dir, hit OK to restart
8) File > Import > Existing Project (point to your old project that gives you trouble)
9) Project > Clean (this project)Did it rebuild successfully without crashing? If so there might be a plugin incompatibility going on with the extra plugins you have installed.. we can try and investigate after this ‘sanity test’. If there IS a problem I would like ot find out now so I can file it and see if we can sneak it into 3.8.3. or not.
Daniel SerodioMemberI did what you suggested, but it didn’t solve the problem. I selected “Clean project”, it started building, and stopped at 16% (compiling or validating a jsp page).
If I click to Cancel this task, it waits forever until I “killall javac” (in a Linux console). When I kill javac, it continues building, and unfreezes. Now I found this in Eclipse’s log:!ENTRY com.ibm.etools.validation 4 0 Dec 01, 2004 16:27:31.159 !MESSAGE *** ERROR ***: Wed Dec 01 16:27:31 BRST 2004 org.eclipse.core.runtime.OperationCanceledException
Which makes sense, since I killed the compiler.
This is driving me nuts!
Riyad KallaMemberI selected “Clean project”, it started building, and stopped at 16% (compiling or validating a jsp page).
Does it always stop on the same file and/or at the same percentage?
This is driving me nuts!
Believe me, its driving us nuts as well.
Riyad KallaMemberIf the problem persists, can you disable JSP validation and see if that fixes it?
Daniel SerodioMemberThe error doesn’t alway occur at the same percentage (now it’s “looping forever” at 33%, and used to be 16%).
Actually, sometimes I get the “Building workspace” task, which can’t be cancelled except by killing javac, and sometimes Eclipse freezes completely (doesn’t repaint window, etc), and I have to kill Eclipse itself.I was using JDK 1.5.0, now I’m using JDK 1.4.2_06 and the problem is the same. Would a stacktrace for 1.4.2 help?
Yes, disabling JSP validation does fix it.
Riyad KallaMembernow I’m using JDK 1.4.2_06 and the problem is the same. Would a stacktrace for 1.4.2 help?
Yes.
I’m also wondering if this would occur on windows with the same project…. is this project commercial? You would be able to send it, or a subset of it as a project that exhibited this problem to us for testing to we could fix any problems that remain that are stopping you from working?
Daniel SerodioMemberI tried it now, and didn’t happen on Windows, Java 1.5.0. Unfortunately, the project is commercial, so I’ll have to check with my boss if it’s ok to send you some code.
Riyad KallaMemberso I’ll have to check with my boss if it’s ok to send you some code.
We are only interested in the behavior, so if you can mangle the code or refactor it such that it makes no sense that is fine… as long as the crash occurs we can send it to our Linux team and have them pound on it and see what is going on. Without a test case, we will have no idea where to start.
-
AuthorPosts