Failure in presentation compiler seems to cause eclipse to hang
I get the following exception on a semi regular bases. Eclipse stops responding and I have to force quit. The Presentation error is common the exceptions before hand vary.
I am running:
OS X 10.6.6
Java
java version "1.6.0_22"
Java(TM) SE Runtime Environment (build 1.6.0_22-b04-307-10M3261)
Java HotSpot(TM) 64-Bit Server VM (build 17.1-b03-307, mixed mode)
eclipse-SDK-3.5.2-macosx-cocoa-x86_64 - Build id: M20100211-1343
plugins
Dummy SDT feature for upgrade 2.8.0.scala-ide-upgrade ch.epfl.lamp.sdt.feature.group
Dummy weaving feature for upgrade 1.6.4.scala-ide-upgrade org.eclipse.contribution.weaving.feature.group
Eclipse SDK 3.5.2.M20100211-1343 org.eclipse.sdk.ide
JDT Weaving for Scala 1.0.0.201103042357 org.scala-ide.sdt.weaving.feature.feature.group
Scala IDE for Eclipse 1.0.0.201103042357 org.scala-ide.sdt.feature.feature.group
eclipse.ini has been updated with -Xmx2048m
Cheers
Jono
I am running:
OS X 10.6.6
Java
java version "1.6.0_22"
Java(TM) SE Runtime Environment (build 1.6.0_22-b04-307-10M3261)
Java HotSpot(TM) 64-Bit Server VM (build 17.1-b03-307, mixed mode)
eclipse-SDK-3.5.2-macosx-cocoa-x86_64 - Build id: M20100211-1343
plugins
Dummy SDT feature for upgrade 2.8.0.scala-ide-upgrade ch.epfl.lamp.sdt.feature.group
Dummy weaving feature for upgrade 1.6.4.scala-ide-upgrade org.eclipse.contribution.weaving.feature.group
Eclipse SDK 3.5.2.M20100211-1343 org.eclipse.sdk.ide
JDT Weaving for Scala 1.0.0.201103042357 org.scala-ide.sdt.weaving.feature.feature.group
Scala IDE for Eclipse 1.0.0.201103042357 org.scala-ide.sdt.feature.feature.group
eclipse.ini has been updated with -Xmx2048m
Cheers
Jono
Leave a comment
on 2011-03-08 00:57 *
By Jonathan Ferguson
Here is another stack trace
!ENTRY org.scala-ide.sdt.core 4 4 2011-03-08 16:49:15.347
!MESSAGE Failure in presentation compiler
!STACK 0
java.lang.InterruptedException
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:485)
at scala.tools.nsc.interactive.Response.liftedTree1$1(Response.scala:52)
at scala.tools.nsc.interactive.Response.get(Response.scala:51)
at scala.tools.eclipse.ScalaPresentationCompiler$CachedCompilerResult$$anon$3.<init>(ScalaPresentationCompiler.scala:75)
at scala.tools.eclipse.ScalaPresentationCompiler$CachedCompilerResult.create(ScalaPresentationCompiler.scala:67)
at scala.tools.eclipse.ScalaPresentationCompiler$CachedCompilerResult.create(ScalaPresentationCompiler.scala:64)
at scala.tools.eclipse.util.Cached$class.apply(Cached.scala:44)
at scala.tools.eclipse.ScalaPresentationCompiler$CachedCompilerResult.apply(ScalaPresentationCompiler.scala:64)
at scala.tools.eclipse.ScalaPresentationCompiler.withCompilerResult(ScalaPresentationCompiler.scala:99)
at scala.tools.eclipse.ScalaProject$$anonfun$withCompilerResult$1.apply(ScalaProject.scala:367)
at scala.tools.eclipse.ScalaProject$$anonfun$withCompilerResult$1.apply(ScalaProject.scala:366)
at scala.tools.eclipse.util.Cached$$anonfun$apply$1.apply$mcV$sp(Cached.scala:22)
at scala.tools.eclipse.util.Cached$$anonfun$apply$1.apply(Cached.scala:21)
at scala.tools.eclipse.util.Cached$$anonfun$apply$1.apply(Cached.scala:21)
at scala.tools.eclipse.util.Cached$class.locked(Cached.scala:83)
at scala.tools.eclipse.util.Cached$class.apply(Cached.scala:20)
at scala.tools.eclipse.ScalaProject$$anon$1.apply(ScalaProject.scala:40)
at scala.tools.eclipse.ScalaProject.withPresentationCompiler(ScalaProject.scala:362)
at scala.tools.eclipse.ScalaProject.withCompilerResult(ScalaProject.scala:366)
at scala.tools.eclipse.javaelements.ScalaCompilationUnit$class.withCompilerResult(ScalaCompilationUnit.scala:58)
at scala.tools.eclipse.javaelements.ScalaSourceFile.withCompilerResult(ScalaSourceFile.scala:40)
at scala.tools.eclipse.javaelements.ScalaSelectionEngine.select(ScalaSelectionEngine.scala:44)
at scala.tools.eclipse.javaelements.ScalaCompilationUnit$class.codeSelect(ScalaCompilationUnit.scala:144)
at scala.tools.eclipse.javaelements.ScalaSourceFile.codeSelect(ScalaSourceFile.scala:40)
at scala.tools.eclipse.javaelements.ScalaSourceFile.codeSelect(ScalaSourceFile.scala:70)
at org.eclipse.jdt.internal.core.CompilationUnit.codeSelect_aroundBody0(CompilationUnit.java:371)
at org.eclipse.jdt.internal.core.CompilationUnit.codeSelect_aroundBody1$advice(CompilationUnit.java:314)
at org.eclipse.jdt.internal.core.CompilationUnit.codeSelect(CompilationUnit.java:1)
at org.eclipse.jdt.internal.ui.text.java.hover.AbstractJavaEditorTextHover.getJavaElementsAt(AbstractJavaEditorTextHover.java:115)
at org.eclipse.jdt.internal.ui.text.java.hover.JavaSourceHover.getHoverInfo(JavaSourceHover.java:53)
at org.eclipse.jdt.internal.ui.text.java.hover.AbstractJavaEditorTextHover.getHoverInfo2(AbstractJavaEditorTextHover.java:85)
at org.eclipse.jdt.internal.ui.text.java.hover.BestMatchHover.getHoverInfo2(BestMatchHover.java:129)
at org.eclipse.jdt.internal.ui.text.java.hover.JavaEditorTextHoverProxy.getHoverInfo2(JavaEditorTextHoverProxy.java:82)
at org.eclipse.jface.text.TextViewerHoverManager$4.run(TextViewerHoverManager.java:166)
!ENTRY org.scala-ide.sdt.core 4 4 2011-03-08 16:49:15.347
!MESSAGE Failure in presentation compiler
!STACK 0
java.lang.InterruptedException
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:485)
at scala.tools.nsc.interactive.Response.liftedTree1$1(Response.scala:52)
at scala.tools.nsc.interactive.Response.get(Response.scala:51)
at scala.tools.eclipse.ScalaPresentationCompiler$CachedCompilerResult$$anon$3.<init>(ScalaPresentationCompiler.scala:75)
at scala.tools.eclipse.ScalaPresentationCompiler$CachedCompilerResult.create(ScalaPresentationCompiler.scala:67)
at scala.tools.eclipse.ScalaPresentationCompiler$CachedCompilerResult.create(ScalaPresentationCompiler.scala:64)
at scala.tools.eclipse.util.Cached$class.apply(Cached.scala:44)
at scala.tools.eclipse.ScalaPresentationCompiler$CachedCompilerResult.apply(ScalaPresentationCompiler.scala:64)
at scala.tools.eclipse.ScalaPresentationCompiler.withCompilerResult(ScalaPresentationCompiler.scala:99)
at scala.tools.eclipse.ScalaProject$$anonfun$withCompilerResult$1.apply(ScalaProject.scala:367)
at scala.tools.eclipse.ScalaProject$$anonfun$withCompilerResult$1.apply(ScalaProject.scala:366)
at scala.tools.eclipse.util.Cached$$anonfun$apply$1.apply$mcV$sp(Cached.scala:22)
at scala.tools.eclipse.util.Cached$$anonfun$apply$1.apply(Cached.scala:21)
at scala.tools.eclipse.util.Cached$$anonfun$apply$1.apply(Cached.scala:21)
at scala.tools.eclipse.util.Cached$class.locked(Cached.scala:83)
at scala.tools.eclipse.util.Cached$class.apply(Cached.scala:20)
at scala.tools.eclipse.ScalaProject$$anon$1.apply(ScalaProject.scala:40)
at scala.tools.eclipse.ScalaProject.withPresentationCompiler(ScalaProject.scala:362)
at scala.tools.eclipse.ScalaProject.withCompilerResult(ScalaProject.scala:366)
at scala.tools.eclipse.javaelements.ScalaCompilationUnit$class.withCompilerResult(ScalaCompilationUnit.scala:58)
at scala.tools.eclipse.javaelements.ScalaSourceFile.withCompilerResult(ScalaSourceFile.scala:40)
at scala.tools.eclipse.javaelements.ScalaSelectionEngine.select(ScalaSelectionEngine.scala:44)
at scala.tools.eclipse.javaelements.ScalaCompilationUnit$class.codeSelect(ScalaCompilationUnit.scala:144)
at scala.tools.eclipse.javaelements.ScalaSourceFile.codeSelect(ScalaSourceFile.scala:40)
at scala.tools.eclipse.javaelements.ScalaSourceFile.codeSelect(ScalaSourceFile.scala:70)
at org.eclipse.jdt.internal.core.CompilationUnit.codeSelect_aroundBody0(CompilationUnit.java:371)
at org.eclipse.jdt.internal.core.CompilationUnit.codeSelect_aroundBody1$advice(CompilationUnit.java:314)
at org.eclipse.jdt.internal.core.CompilationUnit.codeSelect(CompilationUnit.java:1)
at org.eclipse.jdt.internal.ui.text.java.hover.AbstractJavaEditorTextHover.getJavaElementsAt(AbstractJavaEditorTextHover.java:115)
at org.eclipse.jdt.internal.ui.text.java.hover.JavaSourceHover.getHoverInfo(JavaSourceHover.java:53)
at org.eclipse.jdt.internal.ui.text.java.hover.AbstractJavaEditorTextHover.getHoverInfo2(AbstractJavaEditorTextHover.java:85)
at org.eclipse.jdt.internal.ui.text.java.hover.BestMatchHover.getHoverInfo2(BestMatchHover.java:129)
at org.eclipse.jdt.internal.ui.text.java.hover.JavaEditorTextHoverProxy.getHoverInfo2(JavaEditorTextHoverProxy.java:82)
at org.eclipse.jface.text.TextViewerHoverManager$4.run(TextViewerHoverManager.java:166)
on 2011-03-08 00:58 *
By Jonathan Ferguson
Sorry, I forgot to say I was editing a multiline comment at the time.
Jono
Jono
on 2011-03-08 03:43 *
By David Bernard
Assigned to changed from login to David Bernard
Status changed from New to Accepted
Can you give a try to milestones (this freeze should be fix)
update-site http://download.scala-ide.org/update-1.0.0-milestones-2.8.1.final
update-site http://download.scala-ide.org/update-1.0.0-milestones-2.8.1.final
on 2011-03-09 18:04 *
By Jonathan Ferguson
Installed, I'll let you know how it goes.
Cheers
Jono
Cheers
Jono
Updating tickets (#1000199, #1000200, #1000201, #1000204, #1000205, #1000209, #1000210, #1000211, #1000212, #1000215, #1000217, #1000218, #1000220, #1000222, #1000226, #1000227, #1000228, #1000230, #1000231, #1000232, #1000233, #1000235, #1000236, #1000237, #1000239, #1000240, #1000241, #1000242, #1000243, #1000244, #1000248, #1000249, #1000252, #1000253, #1000254, #1000255, #1000256, #1000258, #1000259, #1000032, #1000059, #1000062, #1000163, #1000197, #1000216, #1000221, #1000224, #1000121, #1000175, #1000219, #1000251, #1000069, #1000195, #1000213, #1000223, #1000006, #1000021, #1000038, #1000048, #1000051, #1000052, #1000075, #1000103, #1000109, #1000115, #1000119, #1000156, #1000186, #1000207, #1000238, #1000262, #1000263, #380, #389, #683, #1238, #1331, #1635, #1645, #1715, #1729, #1744, #1783, #1839, #1869, #1885, #1890, #1902, #1918, #1919, #1924, #1925, #1946, #1964, #1991, #2131, #2233, #2342, #2348, #2408)
The problem has not been reported again since the last comment.
No additional info from reporter.
No reproducible test case is available.
Closing this ticket as it cannot be used to improve Scala IDE anymore.
Please reopen with additional information if you still see the problem.
No additional info from reporter.
No reproducible test case is available.
Closing this ticket as it cannot be used to improve Scala IDE anymore.
Please reopen with additional information if you still see the problem.