java.lang.AssertionError

assertion failed: Race condition detected: You are running a presentation compiler method outside the PC thread.[phase: <no phase>] Please file a ticket with the current stack trace at https: //www.assembla.com/spaces/scala-ide/support/tickets

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web11

  • via GitHub by dragos
    ,
  • Stack trace

    • java.lang.AssertionError: assertion failed: Race condition detected: You are running a presentation compiler method outside the PC thread.[phase: <no phase>] Please file a ticket with the current stack trace at https: //www.assembla.com/spaces/scala-ide/support/tickets at scala.tools.nsc.interactive.Global.assertCorrectThread(Global.scala:535) at scala.reflect.internal.Symbols$Symbol.rawInfo(Symbols.scala:1559) at org.scalaide.ui.internal.editor.decorators.bynameparams.CallByNameParamAtCreationPresenter$traverser$2$.referencesByNameParam(CallByNameParamAtCreationPresenter.scala:66) at org.scalaide.ui.internal.editor.decorators.bynameparams.CallByNameParamAtCreationPresenter$traverser$2$.isByNameParam(CallByNameParamAtCreationPresenter.scala:56) at org.scalaide.ui.internal.editor.decorators.bynameparams.CallByNameParamAtCreationPresenter$traverser$2$$anonfun$1.apply(CallByNameParamAtCreationPresenter.scala:80) at org.scalaide.ui.internal.editor.decorators.bynameparams.CallByNameParamAtCreationPresenter$traverser$2$$anonfun$1.apply(CallByNameParamAtCreationPresenter.scala:79) at scala.collection.TraversableLike$WithFilter$$anonfun$map$2.apply(TraversableLike.scala:728) at scala.collection.immutable.List.foreach(List.scala:381) at scala.collection.TraversableLike$WithFilter.map(TraversableLike.scala:727) at org.scalaide.ui.internal.editor.decorators.bynameparams.CallByNameParamAtCreationPresenter$traverser$2$.processArgs(CallByNameParamAtCreationPresenter.scala:81) at org.scalaide.ui.internal.editor.decorators.bynameparams.CallByNameParamAtCreationPresenter$traverser$2$.traverse(CallByNameParamAtCreationPresenter.scala:44) at org.scalaide.ui.internal.editor.decorators.bynameparams.CallByNameParamAtCreationPresenter$traverser$2$.traverse(CallByNameParamAtCreationPresenter.scala:39) at scala.reflect.api.Trees$Traverser.traverseTrees(Trees.scala:2484) at scala.reflect.internal.Trees$class.traverseComponents$1(Trees.scala:1234) at scala.reflect.internal.Trees$class.itraverse(Trees.scala:1330) at scala.reflect.internal.SymbolTable.itraverse(SymbolTable.scala:16) at scala.reflect.internal.SymbolTable.itraverse(SymbolTable.scala:16) at scala.reflect.api.Trees$Traverser.traverse(Trees.scala:2475) at org.scalaide.ui.internal.editor.decorators.bynameparams.CallByNameParamAtCreationPresenter$traverser$2$.traverse(CallByNameParamAtCreationPresenter.scala:48) at org.scalaide.ui.internal.editor.decorators.bynameparams.CallByNameParamAtCreationPresenter$traverser$2$.traverse(CallByNameParamAtCreationPresenter.scala:39) at scala.reflect.internal.Trees$$anonfun$traverseMemberDef$1$1.apply$mcV$sp(Trees.scala:1215) at scala.reflect.api.Trees$Traverser.atOwner(Trees.scala:2507) at scala.reflect.internal.Trees$class.traverseMemberDef$1(Trees.scala:1203) at scala.reflect.internal.Trees$class.itraverse(Trees.scala:1328) at scala.reflect.internal.SymbolTable.itraverse(SymbolTable.scala:16) at scala.reflect.internal.SymbolTable.itraverse(SymbolTable.scala:16) at scala.reflect.api.Trees$Traverser.traverse(Trees.scala:2475) at org.scalaide.ui.internal.editor.decorators.bynameparams.CallByNameParamAtCreationPresenter$traverser$2$.traverse(CallByNameParamAtCreationPresenter.scala:48) at org.scalaide.ui.internal.editor.decorators.bynameparams.CallByNameParamAtCreationPresenter$traverser$2$.traverse(CallByNameParamAtCreationPresenter.scala:39) at scala.reflect.api.Trees$Traverser$$anonfun$traverseStats$1$$anonfun$apply$1.apply$mcV$sp(Trees.scala:2498) at scala.reflect.api.Trees$Traverser.atOwner(Trees.scala:2507) at scala.reflect.api.Trees$Traverser.traverseStats(Trees.scala:2497) at scala.reflect.internal.Trees$class.traverseComponents$1(Trees.scala:1232) at scala.reflect.internal.Trees$class.itraverse(Trees.scala:1330) at scala.reflect.internal.SymbolTable.itraverse(SymbolTable.scala:16) at scala.reflect.internal.SymbolTable.itraverse(SymbolTable.scala:16) at scala.reflect.api.Trees$Traverser.traverse(Trees.scala:2475) at org.scalaide.ui.internal.editor.decorators.bynameparams.CallByNameParamAtCreationPresenter$traverser$2$.traverse(CallByNameParamAtCreationPresenter.scala:48) at org.scalaide.ui.internal.editor.decorators.bynameparams.CallByNameParamAtCreationPresenter$traverser$2$.traverse(CallByNameParamAtCreationPresenter.scala:39) at scala.reflect.internal.Trees$$anonfun$traverseMemberDef$1$1.apply$mcV$sp(Trees.scala:1207) at scala.reflect.api.Trees$Traverser.atOwner(Trees.scala:2507) at scala.reflect.internal.Trees$class.traverseMemberDef$1(Trees.scala:1203) at scala.reflect.internal.Trees$class.itraverse(Trees.scala:1328) at scala.reflect.internal.SymbolTable.itraverse(SymbolTable.scala:16) at scala.reflect.internal.SymbolTable.itraverse(SymbolTable.scala:16) at scala.reflect.api.Trees$Traverser.traverse(Trees.scala:2475) at org.scalaide.ui.internal.editor.decorators.bynameparams.CallByNameParamAtCreationPresenter$traverser$2$.traverse(CallByNameParamAtCreationPresenter.scala:48) at org.scalaide.ui.internal.editor.decorators.bynameparams.CallByNameParamAtCreationPresenter$traverser$2$.traverse(CallByNameParamAtCreationPresenter.scala:39) at scala.reflect.api.Trees$Traverser$$anonfun$traverseStats$1$$anonfun$apply$1.apply$mcV$sp(Trees.scala:2498) at scala.reflect.api.Trees$Traverser.atOwner(Trees.scala:2507) at scala.reflect.api.Trees$Traverser.traverseStats(Trees.scala:2497) at scala.reflect.internal.Trees$class.traverseComponents$1(Trees.scala:1232) at scala.reflect.internal.Trees$class.itraverse(Trees.scala:1330) at scala.reflect.internal.SymbolTable.itraverse(SymbolTable.scala:16) at scala.reflect.internal.SymbolTable.itraverse(SymbolTable.scala:16) at scala.reflect.api.Trees$Traverser.traverse(Trees.scala:2475) at org.scalaide.ui.internal.editor.decorators.bynameparams.CallByNameParamAtCreationPresenter$traverser$2$.traverse(CallByNameParamAtCreationPresenter.scala:48) at org.scalaide.ui.internal.editor.decorators.bynameparams.CallByNameParamAtCreationPresenter$traverser$2$.traverse(CallByNameParamAtCreationPresenter.scala:39) at scala.reflect.internal.Trees$$anonfun$traverseMemberDef$1$1.apply$mcV$sp(Trees.scala:1208) at scala.reflect.api.Trees$Traverser.atOwner(Trees.scala:2507) at scala.reflect.internal.Trees$class.traverseMemberDef$1(Trees.scala:1203) at scala.reflect.internal.Trees$class.itraverse(Trees.scala:1327) at scala.reflect.internal.SymbolTable.itraverse(SymbolTable.scala:16) at scala.reflect.internal.SymbolTable.itraverse(SymbolTable.scala:16) at scala.reflect.api.Trees$Traverser.traverse(Trees.scala:2475) at org.scalaide.ui.internal.editor.decorators.bynameparams.CallByNameParamAtCreationPresenter$traverser$2$.traverse(CallByNameParamAtCreationPresenter.scala:48) at org.scalaide.ui.internal.editor.decorators.bynameparams.CallByNameParamAtCreationPresenter$traverser$2$.traverse(CallByNameParamAtCreationPresenter.scala:39) at scala.reflect.api.Trees$Traverser$$anonfun$traverseStats$1$$anonfun$apply$1.apply$mcV$sp(Trees.scala:2498) at scala.reflect.api.Trees$Traverser.atOwner(Trees.scala:2507) at scala.reflect.api.Trees$Traverser.traverseStats(Trees.scala:2497) at scala.reflect.internal.Trees$class.itraverse(Trees.scala:1326) at scala.reflect.internal.SymbolTable.itraverse(SymbolTable.scala:16) at scala.reflect.internal.SymbolTable.itraverse(SymbolTable.scala:16) at scala.reflect.api.Trees$Traverser.traverse(Trees.scala:2475) at org.scalaide.ui.internal.editor.decorators.bynameparams.CallByNameParamAtCreationPresenter$traverser$2$.traverse(CallByNameParamAtCreationPresenter.scala:48) at org.scalaide.ui.internal.editor.decorators.bynameparams.CallByNameParamAtCreationPresenter$traverser$2$.traverse(CallByNameParamAtCreationPresenter.scala:39) at scala.reflect.api.Trees$Traverser$$anonfun$traverseStats$1$$anonfun$apply$1.apply$mcV$sp(Trees.scala:2498) at scala.reflect.api.Trees$Traverser.atOwner(Trees.scala:2507) at scala.reflect.api.Trees$Traverser.traverseStats(Trees.scala:2497) at scala.reflect.internal.Trees$class.itraverse(Trees.scala:1326) at scala.reflect.internal.SymbolTable.itraverse(SymbolTable.scala:16) at scala.reflect.internal.SymbolTable.itraverse(SymbolTable.scala:16) at scala.reflect.api.Trees$Traverser.traverse(Trees.scala:2475) at org.scalaide.ui.internal.editor.decorators.bynameparams.CallByNameParamAtCreationPresenter$traverser$2$.traverse(CallByNameParamAtCreationPresenter.scala:48) at org.scalaide.ui.internal.editor.decorators.bynameparams.CallByNameParamAtCreationPresenter$.findByNameParamCreations$1(CallByNameParamAtCreationPresenter.scala:112) at org.scalaide.ui.internal.editor.decorators.bynameparams.CallByNameParamAtCreationPresenter$.findByNameParamCreations(CallByNameParamAtCreationPresenter.scala:117) at org.scalaide.ui.internal.editor.decorators.bynameparams.CallByNameParamAtCreationPresenter.findAll(CallByNameParamAtCreationPresenter.scala:22) at org.scalaide.ui.internal.editor.decorators.BaseSemanticAction$$anonfun$apply$1.findAnnotations$1(BaseSemanticAction.scala:118) at org.scalaide.ui.internal.editor.decorators.BaseSemanticAction$$anonfun$apply$1.apply(BaseSemanticAction.scala:126) at org.scalaide.ui.internal.editor.decorators.BaseSemanticAction$$anonfun$apply$1.apply(BaseSemanticAction.scala:112) at org.scalaide.core.internal.compiler.PresentationCompilerProxy$$anonfun$internal$1.apply(PresentationCompilerProxy.scala:105) at org.scalaide.core.internal.compiler.PresentationCompilerProxy$$anonfun$internal$1.apply(PresentationCompilerProxy.scala:104) at scala.Option.flatMap(Option.scala:171) at org.scalaide.core.internal.compiler.PresentationCompilerProxy.internal(PresentationCompilerProxy.scala:104) at org.scalaide.ui.internal.editor.decorators.BaseSemanticAction.apply(BaseSemanticAction.scala:112) at org.scalaide.ui.internal.editor.ScalaSourceFileEditor$$anon$5$$anonfun$reconciled$1$$anonfun$apply$1.apply$mcV$sp(ScalaSourceFileEditor.scala:117) at org.scalaide.ui.internal.editor.ScalaSourceFileEditor$$anon$5$$anonfun$reconciled$1$$anonfun$apply$1.apply(ScalaSourceFileEditor.scala:117) at org.scalaide.ui.internal.editor.ScalaSourceFileEditor$$anon$5$$anonfun$reconciled$1$$anonfun$apply$1.apply(ScalaSourceFileEditor.scala:117) at org.scalaide.util.eclipse.EclipseUtils$$anon$3.run(EclipseUtils.scala:216) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.scalaide.util.eclipse.EclipseUtils$.withSafeRunner(EclipseUtils.scala:212) at org.scalaide.ui.internal.editor.ScalaSourceFileEditor$$anon$5$$anonfun$reconciled$1.apply(ScalaSourceFileEditor.scala:116) at org.scalaide.ui.internal.editor.ScalaSourceFileEditor$$anon$5$$anonfun$reconciled$1.apply(ScalaSourceFileEditor.scala:115) at scala.collection.mutable.ArraySeq.foreach(ArraySeq.scala:74) at org.scalaide.ui.internal.editor.ScalaSourceFileEditor$$anon$5.reconciled(ScalaSourceFileEditor.scala:115) at org.scalaide.ui.internal.editor.ScalaSourceFileEditor$ReconcilingListeners$$anonfun$reconciled$2.apply(ScalaSourceFileEditor.scala:422) at org.scalaide.ui.internal.editor.ScalaSourceFileEditor$ReconcilingListeners$$anonfun$reconciled$2.apply(ScalaSourceFileEditor.scala:422) at scala.collection.immutable.List.foreach(List.scala:381) at org.scalaide.ui.internal.editor.ScalaSourceFileEditor$ReconcilingListeners.reconciled(ScalaSourceFileEditor.scala:422) at org.scalaide.ui.internal.editor.ScalaSourceFileEditor.reconciled(ScalaSourceFileEditor.scala:399) at org.scalaide.ui.internal.reconciliation.ScalaReconcilingStrategy$$anonfun$reconcile$3.apply(ScalaReconcilingStrategy.scala:58) at org.scalaide.ui.internal.reconciliation.ScalaReconcilingStrategy$$anonfun$reconcile$3.apply(ScalaReconcilingStrategy.scala:58) at scala.Option.foreach(Option.scala:257) at org.scalaide.ui.internal.reconciliation.ScalaReconcilingStrategy.reconcile(ScalaReconcilingStrategy.scala:58) at org.eclipse.jdt.internal.ui.text.CompositeReconcilingStrategy.reconcile(CompositeReconcilingStrategy.java:86) at org.eclipse.jface.text.reconciler.MonoReconciler.process(MonoReconciler.java:77) at org.eclipse.jface.text.reconciler.AbstractReconciler$BackgroundThread.run(AbstractReconciler.java:206)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    We couldn't find other users who have seen this exception.