Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Crash in the build compiler -- error message is null
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  5 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Lavino  
View profile  
 More options Aug 19 2012, 10:59 pm
From: Lavino <arvin0...@gmail.com>
Date: Sun, 19 Aug 2012 19:59:09 -0700 (PDT)
Local: Sun, Aug 19 2012 10:59 pm
Subject: Crash in the build compiler -- error message is null

Hi, I try to run a scala project for akka & redid pub/sub in eclipse , but
when I finished my code, I got this error message in Markers:

The SBT builder crashed while compiling your project. This is a bug in the
Scala compiler or SBT. Check the Erorr Log for details. The error message
is: null

and the Error Log is below:
--------------------------------------------------------------------------- --------------------------------------------------------------------------- -----------
java.lang.Error
at scala.tools.nsc.symtab.SymbolTable.abort(SymbolTable.scala:35)
at scala.tools.nsc.transform.Erasure$Eraser.typed1(Erasure.scala:737)
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:4273)
at
scala.tools.nsc.typechecker.Typers$Typer$$anonfun$typedApply$1$1.apply(Type rs.scala:3355)
at
scala.tools.nsc.typechecker.Typers$Typer$$anonfun$typedApply$1$1.apply(Type rs.scala:3355)
at scala.tools.nsc.typechecker.Typers$Typer.silent(Typers.scala:624)
at scala.tools.nsc.typechecker.Typers$Typer.typedApply$1(Typers.scala:3355)
at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:4106)
at scala.tools.nsc.transform.Erasure$Eraser.typed1(Erasure.scala:731)
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:4273)
at scala.tools.nsc.typechecker.Typers$Typer.typedStat$1(Typers.scala:2100)
at
scala.tools.nsc.typechecker.Typers$Typer$$anonfun$24.apply(Typers.scala:218 4)
at
scala.tools.nsc.typechecker.Typers$Typer$$anonfun$24.apply(Typers.scala:218 4)
at scala.collection.immutable.List.loop$1(List.scala:148)
at scala.collection.immutable.List.mapConserve(List.scala:164)
at scala.tools.nsc.typechecker.Typers$Typer.typedStats(Typers.scala:2184)
at scala.tools.nsc.typechecker.Typers$Typer.typedBlock(Typers.scala:1919)
at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:3953)
at scala.tools.nsc.transform.Erasure$Eraser.typed1(Erasure.scala:731)
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:4273)
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:4346)
at scala.tools.nsc.typechecker.Typers$Typer.typedIf$1(Typers.scala:3160)
at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:3989)
at scala.tools.nsc.transform.Erasure$Eraser.typed1(Erasure.scala:731)
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:4273)
at scala.tools.nsc.typechecker.Typers$Typer.typedBlock(Typers.scala:1920)
at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:3953)
at scala.tools.nsc.transform.Erasure$Eraser.typed1(Erasure.scala:731)
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:4273)
at
scala.tools.nsc.typechecker.Typers$Typer.transformedOrTyped(Typers.scala:44 30)
at scala.tools.nsc.typechecker.Typers$Typer.typedDefDef(Typers.scala:1760)
at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:3921)
at scala.tools.nsc.transform.Erasure$Eraser.typed1(Erasure.scala:731)
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:4273)
at scala.tools.nsc.typechecker.Typers$Typer.typedStat$1(Typers.scala:2100)
at
scala.tools.nsc.typechecker.Typers$Typer$$anonfun$24.apply(Typers.scala:218 4)
at
scala.tools.nsc.typechecker.Typers$Typer$$anonfun$24.apply(Typers.scala:218 4)
at scala.collection.immutable.List.loop$1(List.scala:148)
at scala.collection.immutable.List.mapConserve(List.scala:164)
at scala.tools.nsc.typechecker.Typers$Typer.typedStats(Typers.scala:2184)
at scala.tools.nsc.typechecker.Typers$Typer.typedTemplate(Typers.scala:1512)
at scala.tools.nsc.typechecker.Typers$Typer.typedClassDef(Typers.scala:1278)
at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:3912)
at scala.tools.nsc.transform.Erasure$Eraser.typed1(Erasure.scala:731)
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:4273)
at scala.tools.nsc.typechecker.Typers$Typer.typedStat$1(Typers.scala:2100)
at
scala.tools.nsc.typechecker.Typers$Typer$$anonfun$24.apply(Typers.scala:218 4)
at
scala.tools.nsc.typechecker.Typers$Typer$$anonfun$24.apply(Typers.scala:218 4)
at scala.collection.immutable.List.loop$1(List.scala:148)
at scala.collection.immutable.List.mapConserve(List.scala:164)
at scala.tools.nsc.typechecker.Typers$Typer.typedStats(Typers.scala:2184)
at scala.tools.nsc.typechecker.Typers$Typer.typedBlock(Typers.scala:1919)
at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:3953)
at scala.tools.nsc.transform.Erasure$Eraser.typed1(Erasure.scala:731)
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:4273)
at
scala.tools.nsc.typechecker.Typers$Typer.transformedOrTyped(Typers.scala:44 30)
at scala.tools.nsc.typechecker.Typers$Typer.typedDefDef(Typers.scala:1760)
at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:3921)
at scala.tools.nsc.transform.Erasure$Eraser.typed1(Erasure.scala:731)
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:4273)
at scala.tools.nsc.typechecker.Typers$Typer.typedStat$1(Typers.scala:2100)
at
scala.tools.nsc.typechecker.Typers$Typer$$anonfun$24.apply(Typers.scala:218 4)
at
scala.tools.nsc.typechecker.Typers$Typer$$anonfun$24.apply(Typers.scala:218 4)
at scala.collection.immutable.List.loop$1(List.scala:148)
at scala.collection.immutable.List.mapConserve(List.scala:164)
at scala.tools.nsc.typechecker.Typers$Typer.typedStats(Typers.scala:2184)
at scala.tools.nsc.typechecker.Typers$Typer.typedTemplate(Typers.scala:1512)
at scala.tools.nsc.typechecker.Typers$Typer.typedClassDef(Typers.scala:1278)
at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:3912)
at scala.tools.nsc.transform.Erasure$Eraser.typed1(Erasure.scala:731)
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:4273)
at scala.tools.nsc.typechecker.Typers$Typer.typedStat$1(Typers.scala:2100)
at
scala.tools.nsc.typechecker.Typers$Typer$$anonfun$24.apply(Typers.scala:218 4)
at
scala.tools.nsc.typechecker.Typers$Typer$$anonfun$24.apply(Typers.scala:218 4)
at scala.collection.immutable.List.loop$1(List.scala:148)
at scala.collection.immutable.List.mapConserve(List.scala:164)
at scala.tools.nsc.typechecker.Typers$Typer.typedStats(Typers.scala:2184)
at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:3908)
at scala.tools.nsc.transform.Erasure$Eraser.typed1(Erasure.scala:731)
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:4273)
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:4333)
at
scala.tools.nsc.transform.Erasure$ErasureTransformer$$anonfun$transform$1.a pply(Erasure.scala:1182)
at
scala.tools.nsc.transform.Erasure$ErasureTransformer$$anonfun$transform$1.a pply(Erasure.scala:1177)
at scala.tools.nsc.symtab.SymbolTable.atPhase(SymbolTable.scala:95)
at
scala.tools.nsc.transform.Erasure$ErasureTransformer.transform(Erasure.scal a:1177)
at scala.tools.nsc.ast.Trees$Transformer.transformUnit(Trees.scala:892)
at scala.tools.nsc.transform.Transform$Phase.apply(Transform.scala:30)
at scala.tools.nsc.Global$GlobalPhase.applyPhase(Global.scala:329)
at scala.tools.nsc.Global$GlobalPhase$$anonfun$run$1.apply(Global.scala:297)
at scala.tools.nsc.Global$GlobalPhase$$anonfun$run$1.apply(Global.scala:297)
at scala.collection.Iterator$class.foreach(Iterator.scala:772)
at scala.collection.mutable.ListBuffer$$anon$1.foreach(ListBuffer.scala:318)
at scala.tools.nsc.Global$GlobalPhase.run(Global.scala:297)
at scala.tools.nsc.Global$Run.compileSources(Global.scala:953)
at scala.tools.nsc.Global$Run.compile(Global.scala:1041)
at xsbt.CompilerInterface.run(CompilerInterface.scala:106)
at
scala.tools.eclipse.buildmanager.sbtintegration.ScalaSbtCompiler.compile(Sc alaSbtCompiler.scala:46)
at
scala.tools.eclipse.buildmanager.sbtintegration.AnalysisCompile$$anonfun$6. compileScala$1(AnalysisCompile.scala:94)
at
scala.tools.eclipse.buildmanager.sbtintegration.AnalysisCompile$$anonfun$6. apply(AnalysisCompile.scala:130)
at
scala.tools.eclipse.buildmanager.sbtintegration.AnalysisCompile$$anonfun$6. apply(AnalysisCompile.scala:72)
at sbt.inc.IncrementalCompile$$anonfun$doCompile$1.apply(Compile.scala:21)
at sbt.inc.IncrementalCompile$$anonfun$doCompile$1.apply(Compile.scala:19)
at sbt.inc.Incremental$.cycle(Incremental.scala:33)
at sbt.inc.Incremental$.compile(Incremental.scala:20)
at sbt.inc.IncrementalCompile$.apply(Compile.scala:17)
at
scala.tools.eclipse.buildmanager.sbtintegration.AnalysisCompile.doCompile(A nalysisCompile.scala:148)
at
scala.tools.eclipse.buildmanager.sbtintegration.EclipseSbtBuildManager.runC ompiler(EclipseSbtBuildManager.scala:178)
at
scala.tools.eclipse.buildmanager.sbtintegration.EclipseSbtBuildManager.upda te(EclipseSbtBuildManager.scala:141)
at
scala.tools.eclipse.buildmanager.sbtintegration.EclipseSbtBuildManager.buil d(EclipseSbtBuildManager.scala:241)
at scala.tools.eclipse.ScalaProject.build(ScalaProject.scala:579)
at scala.tools.eclipse.ScalaBuilder.build(ScalaBuilder.scala:114)
at
org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:728)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at
org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java: 199)
at
org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java: 239)
at
org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:292)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at
org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java: 295)
at
org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.j ava:351)
at
org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:374)
at
org.eclipse.core.internal.resources.Workspace.buildInternal(Workspace.java: 513)
at org.eclipse.core.internal.resources.Workspace.build(Workspace.java:422)
at
org.eclipse.ui.actions.GlobalBuildAction$1.run(GlobalBuildAction.java:180)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) ...

read more »


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Lavino  
View profile  
 More options Aug 20 2012, 5:15 am
From: Lavino <arvin0...@gmail.com>
Date: Mon, 20 Aug 2012 02:15:03 -0700 (PDT)
Local: Mon, Aug 20 2012 5:15 am
Subject: Re: Crash in the build compiler -- error message is null

I attend my code here:
https://www.dropbox.com/sh/dp6hu5el96ofv6d/YJaFRKGXIa/Akka_scala_subpub

and the redis client that I used is redisclient_2.9.1-2.4.0.jar which is
include in akka-2.0.2 ( download from akka.io website)


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mirco Dotta  
View profile  
 More options Aug 20 2012, 8:55 am
From: Mirco Dotta <mirco.do...@typesafe.com>
Date: Mon, 20 Aug 2012 14:55:04 +0200
Local: Mon, Aug 20 2012 8:55 am
Subject: Re: [scala-ide-user] Crash in the build compiler -- error message is null

Hi,

You came across this issue with a "lucky" timing, as I've seen the same on one of our projects this
morning :)

The reason in our case was a missing JAR in the Eclipse build path, the compiler spits out a pretty
tremendous error as you have experienced. Below is the ticket related to the issue

        https://scala-ide-portfolio.assembla.com/spaces/scala-ide/tickets/100...

I'm pretty confident you are hitting the same issue.

We need to check it we can fix this in the Scala IDE, but most likely this is something that should be fixed
in the Scala compiler itself.

One more thing, if you are using a nightly for the Scala IDE V2.1, set the logging level to DEBUG [1], do a
full clean/build in the project, open the log and you should be able to identify what classfile the compiler
is not able to find (the error should be something on the line: no symbol for XXX needed by YYY).

Hope this helps.

-- Mirco

[1] http://scala-ide.org/docs/helium/features/logging.html

On Aug 20, 2012, at 4:59 AM, Lavino wrote:

...

read more »


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Lavino  
View profile  
 More options Aug 20 2012, 10:49 am
From: Lavino <arvin0...@gmail.com>
Date: Mon, 20 Aug 2012 07:49:14 -0700 (PDT)
Local: Mon, Aug 20 2012 10:49 am
Subject: Re: [scala-ide-user] Crash in the build compiler -- error message is null

Thank you so much!!!!!

That's exactly what I hit! and I figure it out!! (especial your "one more
thing", that helps me a lot!)

I'm really lucky, haha

Thanks again

Mirco Dotta於 2012年8月20日星期一UTC+8下午8時55分04秒寫道:

...

read more »


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mirco Dotta  
View profile  
 More options Aug 20 2012, 11:19 am
From: Mirco Dotta <mirco.do...@typesafe.com>
Date: Mon, 20 Aug 2012 17:19:23 +0200
Local: Mon, Aug 20 2012 11:19 am
Subject: Re: [scala-ide-user] Crash in the build compiler -- error message is null

Awesome :)

-- Mirco

On Aug 20, 2012, at 4:49 PM, Lavino wrote:

...

read more »


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions Older topic »