False errors displayed in source code (presentation compiler?)

61 views
Skip to first unread message

Alex Black

unread,
Nov 7, 2011, 11:59:57 AM11/7/11
to Scala IDE User
I'm using Beta 12, and this type of thing happens much less now. But,
it still happens. Any ideas on whats causing this, or suggestions on
how I can debug it, or find the real error?

Screen shot: http://img7.imagebanana.com/img/ljnxrwn5/Selection_009.png

When I took this screenshot I had just completed a clean->build all,
then opened this file. Everything built without any problems.

Thanks,

- Alex

Alex Black

unread,
Nov 7, 2011, 12:02:23 PM11/7/11
to Scala IDE User
Ah, I read the tooltips, and saw:
1. "Presentation compiler crashed while type checking this file:
java.io.FileException: class file needed by Site is missing. reference
value data of package com.snapsort refers to non existing symbol"
(typing out tooltips is no fun)
2. "Multiple markers at this line - object util is not a member of
com.snapsort ..."
3. "not found: value log"

Alex Black

unread,
Nov 7, 2011, 12:05:06 PM11/7/11
to Scala IDE User
I found a bunch of "AT:RangePosition" errors in error log with the
same text, here is one:

(I also found a bunch of "Error during askOption", and one "Exception
thrown while creating override indicators for ImageDispatch.scala",
below)

eclipse.buildId=M20110210-1200
java.version=1.6.0_26
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_CA
Command-line arguments: -os linux -ws gtk -arch x86_64


Error
Mon Nov 07 11:55:53 EST 2011
AT: RangePosition(ImageDispatch.scala, 0, 21, 15002)

java.io.IOException: class file needed by Site is missing.
reference value data of package com.snapsort refers to nonexisting
symbol.
at scala.reflect.generic.UnPickler
$Scan.errorMissingRequirement(UnPickler.scala:842)
at scala.tools.nsc.symtab.classfile.UnPickler
$CompileScan.errorMissingRequirement(UnPickler.scala:38)
at scala.tools.nsc.symtab.classfile.UnPickler
$CompileScan.errorMissingRequirement(UnPickler.scala:23)
at scala.reflect.generic.UnPickler$Scan$$anonfun$readExtSymbol$1$1$
$anonfun$apply$4$$anonfun$apply$5.apply(UnPickler.scala:253)
at scala.reflect.generic.UnPickler$Scan$$anonfun$readExtSymbol$1$1$
$anonfun$apply$4$$anonfun$apply$5.apply(UnPickler.scala:253)
at scala.reflect.generic.Symbols$AbsSymbol.orElse(Symbols.scala:163)
at scala.reflect.generic.UnPickler$Scan$$anonfun$readExtSymbol$1$1$
$anonfun$apply$4.apply(UnPickler.scala:251)
at scala.reflect.generic.UnPickler$Scan$$anonfun$readExtSymbol$1$1$
$anonfun$apply$4.apply(UnPickler.scala:251)
at scala.reflect.generic.Symbols$AbsSymbol.orElse(Symbols.scala:163)
at scala.reflect.generic.UnPickler$Scan$$anonfun$readExtSymbol
$1$1.apply(UnPickler.scala:249)
at scala.reflect.generic.UnPickler$Scan$$anonfun$readExtSymbol
$1$1.apply(UnPickler.scala:249)
at scala.reflect.generic.Symbols$AbsSymbol.orElse(Symbols.scala:163)
at scala.reflect.generic.UnPickler$Scan.readExtSymbol
$1(UnPickler.scala:245)
at scala.reflect.generic.UnPickler$Scan.readSymbol(UnPickler.scala:
261)
at scala.reflect.generic.UnPickler$Scan$$anonfun$readSymbolRef
$1.apply(UnPickler.scala:796)
at scala.reflect.generic.UnPickler$Scan$$anonfun$readSymbolRef
$1.apply(UnPickler.scala:796)
at scala.reflect.generic.UnPickler$Scan.at(UnPickler.scala:192)
at scala.reflect.generic.UnPickler$Scan.readSymbolRef(UnPickler.scala:
796)
at scala.reflect.generic.UnPickler$Scan.readType(UnPickler.scala:351)
at scala.reflect.generic.UnPickler$Scan$$anonfun$readTypeRef
$1.apply(UnPickler.scala:797)
at scala.reflect.generic.UnPickler$Scan$$anonfun$readTypeRef
$1.apply(UnPickler.scala:797)
at scala.reflect.generic.UnPickler$Scan.at(UnPickler.scala:192)
at scala.reflect.generic.UnPickler$Scan.readTypeRef(UnPickler.scala:
797)
at scala.reflect.generic.UnPickler$Scan.readType(UnPickler.scala:361)
at scala.reflect.generic.UnPickler$Scan$$anonfun$readTypeRef
$1.apply(UnPickler.scala:797)
at scala.reflect.generic.UnPickler$Scan$$anonfun$readTypeRef
$1.apply(UnPickler.scala:797)
at scala.reflect.generic.UnPickler$Scan.at(UnPickler.scala:192)
at scala.reflect.generic.UnPickler$Scan.readTypeRef(UnPickler.scala:
797)
at scala.reflect.generic.UnPickler$Scan.readType(UnPickler.scala:382)
at scala.tools.nsc.symtab.classfile.UnPickler$CompileScan$LazyTypeRef$
$anonfun$1.apply(UnPickler.scala:53)
at scala.tools.nsc.symtab.classfile.UnPickler$CompileScan$LazyTypeRef$
$anonfun$1.apply(UnPickler.scala:53)
at scala.reflect.generic.UnPickler$Scan.at(UnPickler.scala:192)
at scala.tools.nsc.symtab.classfile.UnPickler$CompileScan
$LazyTypeRef.complete(UnPickler.scala:53)
at scala.tools.nsc.symtab.classfile.UnPickler$CompileScan
$LazyTypeRef.complete(UnPickler.scala:49)
at scala.tools.nsc.symtab.Symbols$Symbol.info(Symbols.scala:727)
at scala.tools.nsc.symtab.Symbols$Symbol.cookJavaRawInfo(Symbols.scala:
864)
at scala.tools.nsc.typechecker.Infer
$Inferencer.checkAccessible(Infer.scala:285)
at scala.tools.nsc.typechecker.Typers
$Typer.makeAccessible(Typers.scala:524)
at scala.tools.nsc.typechecker.Typers$Typer.typedSelect$1(Typers.scala:
3613)
at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:4165)
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:4271)
at scala.tools.nsc.typechecker.Typers
$Typer.typedQualifier(Typers.scala:4350)
at scala.tools.nsc.typechecker.Typers
$Typer.typedQualifier(Typers.scala:4356)
at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:4144)
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:4271)
at scala.tools.nsc.typechecker.Typers$Typer$$anonfun$typedApply
$1$1.apply(Typers.scala:3353)
at scala.tools.nsc.typechecker.Typers$Typer$$anonfun$typedApply
$1$1.apply(Typers.scala:3353)
at scala.tools.nsc.typechecker.Typers$Typer.silent(Typers.scala:624)
at scala.tools.nsc.typechecker.Typers$Typer.typedApply$1(Typers.scala:
3353)
at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:4104)
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:4271)
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:4344)
at scala.tools.nsc.typechecker.Typers$Typer.computeType(Typers.scala:
4421)
at scala.tools.nsc.typechecker.Namers$Namer.typeSig(Namers.scala:1207)
at scala.tools.nsc.typechecker.Namers$Namer$$anonfun$typeCompleter
$1.apply(Namers.scala:551)
at scala.tools.nsc.typechecker.Namers$Namer$$anonfun$typeCompleter
$1.apply(Namers.scala:549)
at scala.tools.nsc.typechecker.Namers$$anon$1.complete(Namers.scala:
1385)
at scala.tools.nsc.typechecker.Namers$$anon$1.complete(Namers.scala:
1381)
at scala.tools.nsc.symtab.Symbols$Symbol.info(Symbols.scala:727)
at scala.tools.nsc.symtab.Symbols$Symbol.initialize(Symbols.scala:839)
at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:3897)
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:4271)
at scala.tools.nsc.typechecker.Typers$Typer.typedStat$1(Typers.scala:
2100)
at scala.tools.nsc.typechecker.Typers$Typer$$anonfun
$24.apply(Typers.scala:2184)
at scala.tools.nsc.typechecker.Typers$Typer$$anonfun
$24.apply(Typers.scala:2184)
at scala.collection.immutable.List.loop$1(List.scala:117)
at scala.collection.immutable.List.mapConserve(List.scala:133)
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:3951)
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:4271)
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:4344)
at scala.tools.nsc.typechecker.Typers$Typer.typedCase(Typers.scala:
1957)
at scala.tools.nsc.typechecker.Typers$Typer$$anonfun$typedCases
$1.apply(Typers.scala:1975)
at scala.tools.nsc.typechecker.Typers$Typer$$anonfun$typedCases
$1.apply(Typers.scala:1974)
at scala.collection.immutable.List.loop$1(List.scala:117)
at scala.collection.immutable.List.mapConserve(List.scala:133)
at scala.tools.nsc.typechecker.Typers$Typer.typedCases(Typers.scala:
1974)
at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:4003)
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:4271)
at scala.tools.nsc.typechecker.Typers$Typer.typedBlock(Typers.scala:
1920)
at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:3951)
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:4271)
at scala.tools.nsc.typechecker.Typers
$Typer.transformedOrTyped(Typers.scala:4428)
at scala.tools.nsc.typechecker.Typers$Typer.typedDefDef(Typers.scala:
1760)
at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:3919)
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:4271)
at scala.tools.nsc.typechecker.Typers$Typer.typedStat$1(Typers.scala:
2100)
at scala.tools.nsc.typechecker.Typers$Typer$$anonfun
$24.apply(Typers.scala:2184)
at scala.tools.nsc.typechecker.Typers$Typer$$anonfun
$24.apply(Typers.scala:2184)
at scala.collection.immutable.List.loop$1(List.scala:117)
at scala.collection.immutable.List.mapConserve(List.scala:133)
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:3910)
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:4271)
at scala.tools.nsc.typechecker.Typers$Typer.typedStat$1(Typers.scala:
2100)
at scala.tools.nsc.typechecker.Typers$Typer$$anonfun
$24.apply(Typers.scala:2184)
at scala.tools.nsc.typechecker.Typers$Typer$$anonfun
$24.apply(Typers.scala:2184)
at scala.collection.immutable.List.loop$1(List.scala:117)
at scala.collection.immutable.List.mapConserve(List.scala:133)
at scala.tools.nsc.typechecker.Typers$Typer.typedStats(Typers.scala:
2184)
at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:3906)
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:4271)
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:4331)
at scala.tools.nsc.typechecker.Analyzer$typerFactory$$anon
$3.apply(Analyzer.scala:94)
at scala.tools.nsc.Global$GlobalPhase.applyPhase(Global.scala:329)
at scala.tools.nsc.interactive.Global$TyperRun$$anonfun$applyPhase
$1.apply(Global.scala:1031)
at scala.tools.nsc.interactive.Global$TyperRun$$anonfun$applyPhase
$1.apply(Global.scala:1031)
at scala.tools.nsc.symtab.SymbolTable.atPhase(SymbolTable.scala:95)
at scala.tools.nsc.interactive.Global$TyperRun.applyPhase(Global.scala:
1031)
at scala.tools.nsc.interactive.Global$TyperRun.typeCheck(Global.scala:
1024)
at scala.tools.nsc.interactive.Global.scala$tools$nsc$interactive
$Global$$typeCheck(Global.scala:554)
at scala.tools.nsc.interactive.Global$$anonfun$backgroundCompile$5$
$anonfun$apply$6.apply(Global.scala:471)
at scala.tools.nsc.interactive.Global$$anonfun$backgroundCompile
$5.apply(Global.scala:467)
at scala.tools.nsc.interactive.Global$$anonfun$backgroundCompile
$5.apply(Global.scala:467)
at scala.collection.TraversableLike$WithFilter$$anonfun$foreach
$1.apply(TraversableLike.scala:704)
at scala.collection.LinearSeqOptimized
$class.foreach(LinearSeqOptimized.scala:59)
at scala.collection.immutable.List.foreach(List.scala:45)
at scala.collection.TraversableLike
$WithFilter.foreach(TraversableLike.scala:703)
at scala.tools.nsc.interactive.Global.backgroundCompile(Global.scala:
467)
at
scala.tools.nsc.interactive.PresentationCompilerThread.run(PresentationCompilerThread.scala:
25)

Next:

eclipse.buildId=M20110210-1200
java.version=1.6.0_26
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_CA
Command-line arguments: -os linux -ws gtk -arch x86_64


Error
Mon Nov 07 11:55:53 EST 2011
Exception thrown while creating override indicators for
ImageDispatch.scala

java.io.IOException: class file needed by Site is missing.
reference value data of package com.snapsort refers to nonexisting
symbol.
at scala.reflect.generic.UnPickler
$Scan.errorMissingRequirement(UnPickler.scala:842)
at scala.tools.nsc.symtab.classfile.UnPickler
$CompileScan.errorMissingRequirement(UnPickler.scala:38)
at scala.tools.nsc.symtab.classfile.UnPickler
$CompileScan.errorMissingRequirement(UnPickler.scala:23)
at scala.reflect.generic.UnPickler$Scan$$anonfun$readExtSymbol$1$1$
$anonfun$apply$4$$anonfun$apply$5.apply(UnPickler.scala:253)
at scala.reflect.generic.UnPickler$Scan$$anonfun$readExtSymbol$1$1$
$anonfun$apply$4$$anonfun$apply$5.apply(UnPickler.scala:253)
at scala.reflect.generic.Symbols$AbsSymbol.orElse(Symbols.scala:163)
at scala.reflect.generic.UnPickler$Scan$$anonfun$readExtSymbol$1$1$
$anonfun$apply$4.apply(UnPickler.scala:251)
at scala.reflect.generic.UnPickler$Scan$$anonfun$readExtSymbol$1$1$
$anonfun$apply$4.apply(UnPickler.scala:251)
at scala.reflect.generic.Symbols$AbsSymbol.orElse(Symbols.scala:163)
at scala.reflect.generic.UnPickler$Scan$$anonfun$readExtSymbol
$1$1.apply(UnPickler.scala:249)
at scala.reflect.generic.UnPickler$Scan$$anonfun$readExtSymbol
$1$1.apply(UnPickler.scala:249)
at scala.reflect.generic.Symbols$AbsSymbol.orElse(Symbols.scala:163)
at scala.reflect.generic.UnPickler$Scan.readExtSymbol
$1(UnPickler.scala:245)
at scala.reflect.generic.UnPickler$Scan.readSymbol(UnPickler.scala:
261)
at scala.reflect.generic.UnPickler$Scan$$anonfun$readSymbolRef
$1.apply(UnPickler.scala:796)
at scala.reflect.generic.UnPickler$Scan$$anonfun$readSymbolRef
$1.apply(UnPickler.scala:796)
at scala.reflect.generic.UnPickler$Scan.at(UnPickler.scala:192)
at scala.reflect.generic.UnPickler$Scan.readSymbolRef(UnPickler.scala:
796)
at scala.reflect.generic.UnPickler$Scan.readType(UnPickler.scala:351)
at scala.reflect.generic.UnPickler$Scan$$anonfun$readTypeRef
$1.apply(UnPickler.scala:797)
at scala.reflect.generic.UnPickler$Scan$$anonfun$readTypeRef
$1.apply(UnPickler.scala:797)
at scala.reflect.generic.UnPickler$Scan.at(UnPickler.scala:192)
at scala.reflect.generic.UnPickler$Scan.readTypeRef(UnPickler.scala:
797)
at scala.reflect.generic.UnPickler$Scan.readType(UnPickler.scala:361)
at scala.reflect.generic.UnPickler$Scan$$anonfun$readTypeRef
$1.apply(UnPickler.scala:797)
at scala.reflect.generic.UnPickler$Scan$$anonfun$readTypeRef
$1.apply(UnPickler.scala:797)
at scala.reflect.generic.UnPickler$Scan.at(UnPickler.scala:192)
at scala.reflect.generic.UnPickler$Scan.readTypeRef(UnPickler.scala:
797)
at scala.reflect.generic.UnPickler$Scan.readType(UnPickler.scala:382)
at scala.tools.nsc.symtab.classfile.UnPickler$CompileScan$LazyTypeRef$
$anonfun$1.apply(UnPickler.scala:53)
at scala.tools.nsc.symtab.classfile.UnPickler$CompileScan$LazyTypeRef$
$anonfun$1.apply(UnPickler.scala:53)
at scala.reflect.generic.UnPickler$Scan.at(UnPickler.scala:192)
at scala.tools.nsc.symtab.classfile.UnPickler$CompileScan
$LazyTypeRef.complete(UnPickler.scala:53)
at scala.tools.nsc.symtab.classfile.UnPickler$CompileScan
$LazyTypeRef.complete(UnPickler.scala:49)
at scala.tools.nsc.symtab.Symbols$Symbol.info(Symbols.scala:727)
at scala.tools.nsc.symtab.Symbols$Symbol.cookJavaRawInfo(Symbols.scala:
864)
at scala.tools.nsc.typechecker.Infer
$Inferencer.checkAccessible(Infer.scala:285)
at scala.tools.nsc.typechecker.Typers
$Typer.makeAccessible(Typers.scala:524)
at scala.tools.nsc.typechecker.Typers$Typer.typedSelect$1(Typers.scala:
3613)
at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:4165)
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:4271)
at scala.tools.nsc.typechecker.Typers
$Typer.typedQualifier(Typers.scala:4350)
at scala.tools.nsc.typechecker.Typers
$Typer.typedQualifier(Typers.scala:4356)
at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:4144)
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:4271)
at scala.tools.nsc.typechecker.Typers$Typer$$anonfun$typedApply
$1$1.apply(Typers.scala:3353)
at scala.tools.nsc.typechecker.Typers$Typer$$anonfun$typedApply
$1$1.apply(Typers.scala:3353)
at scala.tools.nsc.typechecker.Typers$Typer.silent(Typers.scala:624)
at scala.tools.nsc.typechecker.Typers$Typer.typedApply$1(Typers.scala:
3353)
at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:4104)
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:4271)
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:4344)
at scala.tools.nsc.typechecker.Typers$Typer.computeType(Typers.scala:
4421)
at scala.tools.nsc.typechecker.Namers$Namer.typeSig(Namers.scala:1207)
at scala.tools.nsc.typechecker.Namers$Namer$$anonfun$typeCompleter
$1.apply(Namers.scala:551)
at scala.tools.nsc.typechecker.Namers$Namer$$anonfun$typeCompleter
$1.apply(Namers.scala:549)
at scala.tools.nsc.typechecker.Namers$$anon$1.complete(Namers.scala:
1385)
at scala.tools.nsc.typechecker.Namers$$anon$1.complete(Namers.scala:
1381)
at scala.tools.nsc.symtab.Symbols$Symbol.info(Symbols.scala:727)
at scala.tools.nsc.symtab.Symbols$Symbol.initialize(Symbols.scala:839)
at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:3897)
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:4271)
at scala.tools.nsc.typechecker.Typers$Typer.typedStat$1(Typers.scala:
2100)
at scala.tools.nsc.typechecker.Typers$Typer$$anonfun
$24.apply(Typers.scala:2184)
at scala.tools.nsc.typechecker.Typers$Typer$$anonfun
$24.apply(Typers.scala:2184)
at scala.collection.immutable.List.loop$1(List.scala:117)
at scala.collection.immutable.List.mapConserve(List.scala:133)
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:3951)
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:4271)
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:4344)
at scala.tools.nsc.typechecker.Typers$Typer.typedCase(Typers.scala:
1957)
at scala.tools.nsc.typechecker.Typers$Typer$$anonfun$typedCases
$1.apply(Typers.scala:1975)
at scala.tools.nsc.typechecker.Typers$Typer$$anonfun$typedCases
$1.apply(Typers.scala:1974)
at scala.collection.immutable.List.loop$1(List.scala:117)
at scala.collection.immutable.List.mapConserve(List.scala:133)
at scala.tools.nsc.typechecker.Typers$Typer.typedCases(Typers.scala:
1974)
at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:4003)
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:4271)
at scala.tools.nsc.typechecker.Typers$Typer.typedBlock(Typers.scala:
1920)
at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:3951)
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:4271)
at scala.tools.nsc.typechecker.Typers
$Typer.transformedOrTyped(Typers.scala:4428)
at scala.tools.nsc.typechecker.Typers$Typer.typedDefDef(Typers.scala:
1760)
at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:3919)
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:4271)
at scala.tools.nsc.typechecker.Typers$Typer.typedStat$1(Typers.scala:
2100)
at scala.tools.nsc.typechecker.Typers$Typer$$anonfun
$24.apply(Typers.scala:2184)
at scala.tools.nsc.typechecker.Typers$Typer$$anonfun
$24.apply(Typers.scala:2184)
at scala.collection.immutable.List.loop$1(List.scala:117)
at scala.collection.immutable.List.mapConserve(List.scala:133)
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:3910)
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:4271)
at scala.tools.nsc.typechecker.Typers$Typer.typedStat$1(Typers.scala:
2100)
at scala.tools.nsc.typechecker.Typers$Typer$$anonfun
$24.apply(Typers.scala:2184)
at scala.tools.nsc.typechecker.Typers$Typer$$anonfun
$24.apply(Typers.scala:2184)
at scala.collection.immutable.List.loop$1(List.scala:117)
at scala.collection.immutable.List.mapConserve(List.scala:133)
at scala.tools.nsc.typechecker.Typers$Typer.typedStats(Typers.scala:
2184)
at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:3906)
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:4271)
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:4331)
at scala.tools.nsc.typechecker.Analyzer$typerFactory$$anon
$3.apply(Analyzer.scala:94)
at scala.tools.nsc.Global$GlobalPhase.applyPhase(Global.scala:329)
at scala.tools.nsc.interactive.Global$TyperRun$$anonfun$applyPhase
$1.apply(Global.scala:1031)
at scala.tools.nsc.interactive.Global$TyperRun$$anonfun$applyPhase
$1.apply(Global.scala:1031)
at scala.tools.nsc.symtab.SymbolTable.atPhase(SymbolTable.scala:95)
at scala.tools.nsc.interactive.Global$TyperRun.applyPhase(Global.scala:
1031)
at scala.tools.nsc.interactive.Global$TyperRun.typeCheck(Global.scala:
1024)
at scala.tools.nsc.interactive.Global.scala$tools$nsc$interactive
$Global$$typeCheck(Global.scala:554)
at scala.tools.nsc.interactive.Global$$anonfun$backgroundCompile$5$
$anonfun$apply$6.apply(Global.scala:471)
at scala.tools.nsc.interactive.Global$$anonfun$backgroundCompile
$5.apply(Global.scala:467)
at scala.tools.nsc.interactive.Global$$anonfun$backgroundCompile
$5.apply(Global.scala:467)
at scala.collection.TraversableLike$WithFilter$$anonfun$foreach
$1.apply(TraversableLike.scala:704)
at scala.collection.LinearSeqOptimized
$class.foreach(LinearSeqOptimized.scala:59)
at scala.collection.immutable.List.foreach(List.scala:45)
at scala.collection.TraversableLike
$WithFilter.foreach(TraversableLike.scala:703)
at scala.tools.nsc.interactive.Global.backgroundCompile(Global.scala:
467)
at
scala.tools.nsc.interactive.PresentationCompilerThread.run(PresentationCompilerThread.scala:
25)

Next:

eclipse.buildId=M20110210-1200
java.version=1.6.0_26
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_CA
Command-line arguments: -os linux -ws gtk -arch x86_64


Error
Mon Nov 07 11:56:26 EST 2011
Error during askOption

java.io.IOException: class file needed by UrlWithDomain is missing.
reference value data of package com.snapsort refers to nonexisting
symbol.
at scala.reflect.generic.UnPickler
$Scan.errorMissingRequirement(UnPickler.scala:842)
at scala.tools.nsc.symtab.classfile.UnPickler
$CompileScan.errorMissingRequirement(UnPickler.scala:38)
at scala.tools.nsc.symtab.classfile.UnPickler
$CompileScan.errorMissingRequirement(UnPickler.scala:23)
at scala.reflect.generic.UnPickler$Scan$$anonfun$readExtSymbol$1$1$
$anonfun$apply$4$$anonfun$apply$5.apply(UnPickler.scala:253)
at scala.reflect.generic.UnPickler$Scan$$anonfun$readExtSymbol$1$1$
$anonfun$apply$4$$anonfun$apply$5.apply(UnPickler.scala:253)
at scala.reflect.generic.Symbols$AbsSymbol.orElse(Symbols.scala:163)
at scala.reflect.generic.UnPickler$Scan$$anonfun$readExtSymbol$1$1$
$anonfun$apply$4.apply(UnPickler.scala:251)
at scala.reflect.generic.UnPickler$Scan$$anonfun$readExtSymbol$1$1$
$anonfun$apply$4.apply(UnPickler.scala:251)
at scala.reflect.generic.Symbols$AbsSymbol.orElse(Symbols.scala:163)
at scala.reflect.generic.UnPickler$Scan$$anonfun$readExtSymbol
$1$1.apply(UnPickler.scala:249)
at scala.reflect.generic.UnPickler$Scan$$anonfun$readExtSymbol
$1$1.apply(UnPickler.scala:249)
at scala.reflect.generic.Symbols$AbsSymbol.orElse(Symbols.scala:163)
at scala.reflect.generic.UnPickler$Scan.readExtSymbol
$1(UnPickler.scala:245)
at scala.reflect.generic.UnPickler$Scan.readSymbol(UnPickler.scala:
261)
at scala.reflect.generic.UnPickler$Scan$$anonfun$readSymbolRef
$1.apply(UnPickler.scala:796)
at scala.reflect.generic.UnPickler$Scan$$anonfun$readSymbolRef
$1.apply(UnPickler.scala:796)
at scala.reflect.generic.UnPickler$Scan.at(UnPickler.scala:192)
at scala.reflect.generic.UnPickler$Scan.readSymbolRef(UnPickler.scala:
796)
at scala.reflect.generic.UnPickler$Scan.readType(UnPickler.scala:351)
at scala.reflect.generic.UnPickler$Scan$$anonfun$readTypeRef
$1.apply(UnPickler.scala:797)
at scala.reflect.generic.UnPickler$Scan$$anonfun$readTypeRef
$1.apply(UnPickler.scala:797)
at scala.reflect.generic.UnPickler$Scan.at(UnPickler.scala:192)
at scala.reflect.generic.UnPickler$Scan.readTypeRef(UnPickler.scala:
797)
at scala.reflect.generic.UnPickler$Scan.readType(UnPickler.scala:361)
at scala.reflect.generic.UnPickler$Scan$$anonfun$readTypeRef
$1.apply(UnPickler.scala:797)
at scala.reflect.generic.UnPickler$Scan$$anonfun$readTypeRef
$1.apply(UnPickler.scala:797)
at scala.reflect.generic.UnPickler$Scan.at(UnPickler.scala:192)
at scala.reflect.generic.UnPickler$Scan.readTypeRef(UnPickler.scala:
797)
at scala.reflect.generic.UnPickler$Scan.readType(UnPickler.scala:382)
at scala.tools.nsc.symtab.classfile.UnPickler$CompileScan$LazyTypeRef$
$anonfun$1.apply(UnPickler.scala:53)
at scala.tools.nsc.symtab.classfile.UnPickler$CompileScan$LazyTypeRef$
$anonfun$1.apply(UnPickler.scala:53)
at scala.reflect.generic.UnPickler$Scan.at(UnPickler.scala:192)
at scala.tools.nsc.symtab.classfile.UnPickler$CompileScan
$LazyTypeRef.complete(UnPickler.scala:53)
at scala.tools.nsc.symtab.classfile.UnPickler$CompileScan
$LazyTypeRef.complete(UnPickler.scala:49)
at scala.tools.nsc.symtab.Symbols$Symbol.info(Symbols.scala:727)
at scala.tools.nsc.symtab.Symbols$Symbol.tpe(Symbols.scala:698)
at scala.tools.nsc.symtab.Symbols$Symbol.tpeHK(Symbols.scala:699)
at scala.tools.nsc.symtab.Types$Type.computeMemberType(Types.scala:
571)
at scala.tools.nsc.symtab.Symbols
$MethodSymbol.typeAsMemberOf(Symbols.scala:1853)
at scala.tools.nsc.symtab.Types$Type.memberType(Types.scala:566)
at scala.tools.nsc.symtab.Types$Type.findMember(Types.scala:925)
at scala.tools.nsc.symtab.Types$Type.nonPrivateMembers(Types.scala:
484)
at scala.tools.eclipse.javaelements.ScalaStructureBuilder
$StructureBuilderTraverser$Owner$class.scala$tools$eclipse$javaelements
$ScalaStructureBuilder$StructureBuilderTraverser$Owner$class$
$conflictsIn$1(ScalaStructureBuilder.scala:123)
at scala.tools.eclipse.javaelements.ScalaStructureBuilder
$StructureBuilderTraverser$Owner$class.shouldForward
$1(ScalaStructureBuilder.scala:152)
at scala.tools.eclipse.javaelements.ScalaStructureBuilder
$StructureBuilderTraverser$Owner$$anonfun$addForwarders
$1$1.apply(ScalaStructureBuilder.scala:156)
at scala.tools.eclipse.javaelements.ScalaStructureBuilder
$StructureBuilderTraverser$Owner$$anonfun$addForwarders
$1$1.apply(ScalaStructureBuilder.scala:156)
at scala.collection.TraversableLike$WithFilter$$anonfun$foreach
$1.apply(TraversableLike.scala:704)
at scala.collection.LinearSeqOptimized
$class.foreach(LinearSeqOptimized.scala:59)
at scala.collection.immutable.List.foreach(List.scala:45)
at scala.collection.TraversableLike
$WithFilter.foreach(TraversableLike.scala:703)
at scala.tools.eclipse.javaelements.ScalaStructureBuilder
$StructureBuilderTraverser$Owner$class.addForwarders
$1(ScalaStructureBuilder.scala:156)
at scala.tools.eclipse.javaelements.ScalaStructureBuilder
$StructureBuilderTraverser$Owner$$anonfun$complete
$2.apply(ScalaStructureBuilder.scala:218)
at scala.tools.eclipse.javaelements.ScalaStructureBuilder
$StructureBuilderTraverser$Owner$$anonfun$complete
$2.apply(ScalaStructureBuilder.scala:212)
at scala.collection.mutable.HashMap$$anonfun$foreach
$1.apply(HashMap.scala:93)
at scala.collection.mutable.HashMap$$anonfun$foreach
$1.apply(HashMap.scala:93)
at scala.collection.Iterator$class.foreach(Iterator.scala:660)
at scala.collection.mutable.HashTable$$anon$1.foreach(HashTable.scala:
157)
at scala.collection.mutable.HashTable
$class.foreachEntry(HashTable.scala:190)
at scala.collection.mutable.HashMap.foreachEntry(HashMap.scala:43)
at scala.collection.mutable.HashMap.foreach(HashMap.scala:93)
at scala.tools.eclipse.javaelements.ScalaStructureBuilder
$StructureBuilderTraverser$Owner
$class.complete(ScalaStructureBuilder.scala:212)
at scala.tools.eclipse.javaelements.ScalaStructureBuilder
$StructureBuilderTraverser
$Builder.complete(ScalaStructureBuilder.scala:839)
at scala.tools.eclipse.javaelements.ScalaStructureBuilder
$StructureBuilderTraverser
$TreeTraverser.traverse(ScalaStructureBuilder.scala:913)
at scala.tools.eclipse.javaelements.ScalaStructureBuilder
$StructureBuilderTraverser.traverse(ScalaStructureBuilder.scala:871)
at scala.tools.eclipse.javaelements.ScalaCompilationUnit$$anonfun
$buildStructure$2$$anonfun$apply$4$$anonfun$apply$1.apply$mcV
$sp(ScalaCompilationUnit.scala:77)
at scala.tools.eclipse.javaelements.ScalaCompilationUnit$$anonfun
$buildStructure$2$$anonfun$apply$4$$anonfun$apply
$1.apply(ScalaCompilationUnit.scala:76)
at scala.tools.eclipse.javaelements.ScalaCompilationUnit$$anonfun
$buildStructure$2$$anonfun$apply$4$$anonfun$apply
$1.apply(ScalaCompilationUnit.scala:76)
at scala.tools.nsc.util.InterruptReq.liftedTree1$1(InterruptReq.scala:
20)
at scala.tools.nsc.util.InterruptReq.execute(InterruptReq.scala:19)
at scala.tools.nsc.interactive.Global.pollForWork(Global.scala:329)
at
scala.tools.nsc.interactive.PresentationCompilerThread.run(PresentationCompilerThread.scala:
22)

iulian dragos

unread,
Nov 7, 2011, 1:17:19 PM11/7/11
to scala-i...@googlegroups.com
Do those types come from a dependent project that you just cleaned?
The presentation compiler won't see those types until the binaries are
rebuilt. It should be fixed in the nightly (meaning that the errors
will disappear once the dependent project is correctly rebuilt).

iulian

--
« Je déteste la montagne, ça cache le paysage »
Alphonse Allais

Alex Black

unread,
Nov 7, 2011, 3:31:52 PM11/7/11
to Scala IDE User
My workspace has 5 projects in it, all the projects mentioned are in
the workspace, I had just cleaned and built-all for the entire
workspace, everything was built, and everything built without error.

Any thoughts on the fact that the presentation compiler crashed
(according to the tooltip)?
> > at...
>
> read more »

Alex Black

unread,
Nov 7, 2011, 9:50:01 PM11/7/11
to Scala IDE User
I'm seeing another instance of this. I've just been working away
writing some code, everything compiles no problem at the moment. I
see two false errors in this one file I'm looking at.

Tooltip: "type mismatch; found:
scala.collection.immutable.Range.Inclusive, required: Map[String,
com.snapsort.data.db.PropValueData[_,_]] Error occured in an
application involving default arguments"

whats highlighted is "100 to 200", which indeeds seem to be a range,
and the expected value is indeed the mentioned map. Must be an
implicit or something.
> ...
>
> read more »

iulian dragos

unread,
Nov 8, 2011, 3:50:40 AM11/8/11
to scala-i...@googlegroups.com
On Mon, Nov 7, 2011 at 9:31 PM, Alex Black <al...@alexblack.ca> wrote:
> My workspace has 5 projects in it, all the projects mentioned are in
> the workspace, I had just cleaned and built-all for the entire
> workspace, everything was built, and everything built without error.
>
> Any thoughts on the fact that the presentation compiler crashed
> (according to the tooltip)?

I assume you were editing while the build was going on in the
background? And the 5 projects have dependencies between them.

The crash is 'expected', in the sense that the classpath of the
project has suddenly been altered (the classfiles of dependent
projects were removed), meaning that some references are left in the
air. The message in the exception is pretty explicit: "class file


needed by Site is missing. reference value data of package
com.snapsort refers to nonexisting symbol."

The nightly fixes this by restarting the presentation compiler when
the classpath changes. At the very least, all these errors should
disappear automatically when the build finishes successfully.

cheers,
iulian

--

iulian dragos

unread,
Nov 8, 2011, 3:51:58 AM11/8/11
to scala-i...@googlegroups.com
On Tue, Nov 8, 2011 at 3:50 AM, Alex Black <al...@alexblack.ca> wrote:
> I'm seeing another instance of this.  I've just been working away
> writing some code, everything compiles no problem at the moment.  I
> see two false errors in this one file I'm looking at.
>
> Tooltip: "type mismatch; found:
> scala.collection.immutable.Range.Inclusive, required: Map[String,
> com.snapsort.data.db.PropValueData[_,_]] Error occured in an
> application involving default arguments"
>
> whats highlighted is "100 to 200", which indeeds seem to be a range,
> and the expected value is indeed the mentioned map. Must be an
> implicit or something.

Default arguments are a can of works (for the presentation compiler).
There is a partial fix in the 2.9 nightly, so you could try that one
(or the next release, which will be out very soon).

iulian

--

Alex Black

unread,
Nov 8, 2011, 9:35:58 AM11/8/11
to Scala IDE User
> I assume you were editing while the build was going on in the
> background? And the 5 projects have dependencies between them

The projects do have dependencies between them. Hmm. i can't say for
sure.

However: I didn't do ANY editing. I just opened a file. Its possible
I opened the file while the build was still going. I'll watch for
this.

> The crash is 'expected', in the sense that the classpath of the
> project has suddenly been altered (the classfiles of dependent
> projects were removed), meaning that some references are left in the
> air. The message in the exception is pretty explicit: "class file
> needed by Site is missing. reference value data of package
> com.snapsort refers to nonexisting symbol."
>
> The nightly fixes this by restarting the presentation compiler when
> the classpath changes. At the very least, all these errors should
> disappear automatically when the build finishes successfully.

That sounds great!
> >> > at...
>
> read more »

Alex Black

unread,
Nov 8, 2011, 9:37:27 AM11/8/11
to Scala IDE User
> Default arguments are a can of works (for the presentation compiler).
> There is a partial fix in the 2.9 nightly, so you could try that one
> (or the next release, which will be out very soon).

Sounds promising. These false-errors don't really cause too much
grief, e.g. I get by. I wanted to report them in case people were
under the impression they didn't happen any more etc, they are rather
unslightly. My colleagues describe all the false errors they see as
"Eclipse shitting all over the place" ;)
> >> > > at...
>
> read more »
Reply all
Reply to author
Forward
0 new messages