- About Scala
- Documentation
- Code Examples
- Software
- Scala Developers
malformed Scala signature
Tue, 2009-08-25, 19:51
Hi!
What does this error mean?
// NetBeans Output window, fragment -------------
Compiling 6 source files to /wrk/usr/netbeans/projects/zgs/alog/build/classes
java.lang.RuntimeException: malformed Scala signature of A at 3718; reference value $anonfun of value pool refers to nonexisting symbol.
at scala.tools.nsc.symtab.classfile.UnPickler$UnPickle.errorBadSignature(UnPickler.scala:814)
at scala.tools.nsc.symtab.classfile.UnPickler$UnPickle.scala$tools$nsc$symtab$classfile$UnPickler$UnPickle$$readSymbol(UnPickler.scala:204)
at scala.tools.nsc.symtab.classfile.UnPickler$UnPickle$$anonfun$scala$tools$nsc$symtab$classfile$UnPickler$UnPickle$$readSymbolRef$1.apply(UnPickler.scala:767)
at scala.tools.nsc.symtab.classfile.UnPickler$UnPickle$$anonfun$scala$tools$nsc$symtab$classfile$UnPickler$UnPickle$$readSymbolRef$1.apply(UnPickler.scala:767)
at scala.tools.nsc.symtab.classfile.UnPickler$UnPickle.scala$tools$nsc$symtab$classfile$UnPickler$UnPickle$$at(UnPickler.scala:157)
at scala.tools.nsc.symtab.classfile.UnPickler$UnPickle.scala$tools$nsc$symtab$classfile$UnPickler$UnPickle$$readSymbolRef(UnPickler.scala:767)
at scala.tools.nsc.symtab.classfile.UnPickler$UnPickle.scala$tools$nsc$symtab$classfile$UnPickler$UnPickle$$readSymbol(UnPickler.scala:184)
at scala.tools.nsc.symtab.classfile.UnPickler$UnPickle$$anonfun$scala$tools$nsc$symtab$classfile$UnPickler$UnPickle$$readSymbolRef$1.apply(UnPickler.scala:767)
at scala.tools.nsc.symtab.classfile.UnPickler$UnPickle$$anonfun$scala$tools$nsc$symtab$classfile$UnPickler$UnPickle$$readSymbolRef$1.apply(UnPickler.scala:767)
at scala.tools.nsc.symtab.classfile.UnPickler$UnPickle.scala$tools$nsc$symtab$classfile$UnPickler$UnPickle$$at(UnPickler.scala:157)
at scala.tools.nsc.symtab.classfile.UnPickler$UnPickle.scala$tools$nsc$symtab$classfile$UnPickler$UnPickle$$readSymbolRef(UnPickler.scala:767)
at scala.tools.nsc.symtab.classfile.UnPickler$UnPickle.scala$tools$nsc$symtab$classfile$UnPickler$UnPickle$$readSymbol(UnPickler.scala:218)
at scala.tools.nsc.symtab.classfile.UnPickler$UnPickle$$anonfun$scala$tools$nsc$symtab$classfile$UnPickler$UnPickle$$readSymbolRef$1.apply(UnPickler.scala:767)
at scala.tools.nsc.symtab.classfile.UnPickler$UnPickle$$anonfun$scala$tools$nsc$symtab$classfile$UnPickler$UnPickle$$readSymbolRef$1.apply(UnPickler.scala:767)
at scala.tools.nsc.symtab.classfile.UnPickler$UnPickle.scala$tools$nsc$symtab$classfile$UnPickler$UnPickle$$at(UnPickler.scala:157)
at scala.tools.nsc.symtab.classfile.UnPickler$UnPickle.scala$tools$nsc$symtab$classfile$UnPickler$UnPickle$$readSymbolRef(UnPickler.scala:767)
at scala.tools.nsc.symtab.classfile.UnPickler$UnPickle.scala$tools$nsc$symtab$classfile$UnPickler$UnPickle$$readType(UnPickler.scala:299)
at scala.tools.nsc.symtab.classfile.UnPickler$UnPickle$$anonfun$scala$tools$nsc$symtab$classfile$UnPickler$UnPickle$$readTypeRef$1.apply(UnPickler.scala:768)
at scala.tools.nsc.symtab.classfile.UnPickler$UnPickle$$anonfun$scala$tools$nsc$symtab$classfile$UnPickler$UnPickle$$readTypeRef$1.apply(UnPickler.scala:768)
at scala.tools.nsc.symtab.classfile.UnPickler$UnPickle.scala$tools$nsc$symtab$classfile$UnPickler$UnPickle$$at(UnPickler.scala:157)
at scala.tools.nsc.symtab.classfile.UnPickler$UnPickle.scala$tools$nsc$symtab$classfile$UnPickler$UnPickle$$readTypeRef(UnPickler.scala:768)
at scala.tools.nsc.symtab.classfile.UnPickler$UnPickle.scala$tools$nsc$symtab$classfile$UnPickler$UnPickle$$readType(UnPickler.scala:324)
at scala.tools.nsc.symtab.classfile.UnPickler$UnPickle$LazyTypeRef$$anonfun$33$$anonfun$apply$5.apply(UnPickler.scala:822)
at scala.tools.nsc.symtab.classfile.UnPickler$UnPickle$LazyTypeRef$$anonfun$33$$anonfun$apply$5.apply(UnPickler.scala:822)
at scala.tools.nsc.symtab.classfile.UnPickler$UnPickle.scala$tools$nsc$symtab$classfile$UnPickler$UnPickle$$at(UnPickler.scala:157)
at scala.tools.nsc.symtab.classfile.UnPickler$UnPickle$LazyTypeRef$$anonfun$33.apply(UnPickler.scala:822)
at scala.tools.nsc.symtab.classfile.UnPickler$UnPickle$LazyTypeRef$$anonfun$33.apply(UnPickler.scala:822)
at scala.tools.nsc.Global$$anonfun$7.apply(Global.scala:1001)
at scala.tools.nsc.Global$$anonfun$7.apply(Global.scala:1001)
at scala.tools.nsc.symtab.classfile.UnPickler$UnPickle$LazyTypeRef.complete(UnPickler.scala:822)
at scala.tools.nsc.symtab.Symbols$Symbol.info(Symbols.scala:718)
at scala.tools.nsc.symtab.Symbols$Symbol.tpe(Symbols.scala:698)
at scala.tools.nsc.symtab.Symbols$Symbol.tpeHK(Symbols.scala:853)
at scala.tools.nsc.symtab.Types$Type.memberType(Types.scala:440)
at scala.tools.nsc.typechecker.Infer$Inferencer.checkAccessible(Infer.scala:390)
at scala.tools.nsc.typechecker.Typers$Typer.makeAccessible(Typers.scala:603)
at scala.tools.nsc.typechecker.Typers$Typer.typedSelect$1(Typers.scala:3222)
at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:3651)
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:3732)
at scala.tools.nsc.typechecker.Typers$Typer.typedQualifier(Typers.scala:3797)
at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:3649)
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:3732)
at scala.tools.nsc.typechecker.Typers$Typer$$anonfun$typedApply$1$1.apply(Typers.scala:3023)
at scala.tools.nsc.typechecker.Typers$Typer$$anonfun$typedApply$1$1.apply(Typers.scala:3023)
at scala.tools.nsc.typechecker.Typers$Typer.silent(Typers.scala:696)
at scala.tools.nsc.typechecker.Typers$Typer.typedApply$1(Typers.scala:3023)
at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:3627)
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:3732)
at scala.tools.nsc.typechecker.Typers$Typer.typedBlock(Typers.scala:1620)
at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:3486)
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:3732)
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:3788)
at scala.tools.nsc.typechecker.Typers$Typer.typedCase(Typers.scala:1641)
at scala.tools.nsc.typechecker.Typers$Typer$$anonfun$typedCases$1.apply(Typers.scala:1661)
at scala.tools.nsc.typechecker.Typers$Typer$$anonfun$typedCases$1.apply(Typers.scala:1659)
at scala.collection.immutable.List.loop$2(List.scala:123)
at scala.collection.immutable.List.mapConserve(List.scala:140)
at scala.tools.nsc.typechecker.Typers$Typer.typedCases(Typers.scala:1659)
at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:3543)
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:3732)
at scala.tools.nsc.typechecker.Typers$Typer.typedBlock(Typers.scala:1620)
at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:3486)
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:3732)
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:3788)
at scala.tools.nsc.typechecker.Typers$Typer.computeType(Typers.scala:3839)
at scala.tools.nsc.typechecker.Namers$Namer.methodSig(Namers.scala:914)
at scala.tools.nsc.typechecker.Namers$Namer.typeSig(Namers.scala:1126)
at scala.tools.nsc.typechecker.Namers$Namer$$anonfun$typeCompleter$1.apply(Namers.scala:509)
at scala.tools.nsc.typechecker.Namers$Namer$$anonfun$typeCompleter$1.apply(Namers.scala:507)
at scala.tools.nsc.typechecker.Namers$$anon$1.complete(Namers.scala:1284)
at scala.tools.nsc.symtab.Symbols$Symbol.info(Symbols.scala:718)
at scala.tools.nsc.symtab.Symbols$Symbol.initialize(Symbols.scala:827)
at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:3448)
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:3732)
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:3777)
at scala.tools.nsc.typechecker.Typers$Typer.typedStat$1(Typers.scala:1793)
at scala.tools.nsc.typechecker.Typers$Typer$$anonfun$21.apply(Typers.scala:1850)
at scala.tools.nsc.typechecker.Typers$Typer$$anonfun$21.apply(Typers.scala:1850)
at scala.collection.immutable.List.loop$2(List.scala:123)
at scala.collection.immutable.List.mapConserve(List.scala:140)
at scala.collection.immutable.List.loop$2(List.scala:127)
at scala.collection.immutable.List.mapConserve(List.scala:140)
at scala.collection.immutable.List.loop$2(List.scala:127)
at scala.collection.immutable.List.mapConserve(List.scala:140)
at scala.collection.immutable.List.loop$2(List.scala:127)
at scala.collection.immutable.List.mapConserve(List.scala:140)
at scala.collection.immutable.List.loop$2(List.scala:127)
at scala.collection.immutable.List.mapConserve(List.scala:140)
at scala.tools.nsc.typechecker.Typers$Typer.typedStats(Typers.scala:1850)
at scala.tools.nsc.typechecker.Typers$Typer.typedTemplate(Typers.scala:1371)
at scala.tools.nsc.typechecker.Typers$Typer.typedClassDef(Typers.scala:1211)
at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:3459)
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:3732)
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:3777)
at scala.tools.nsc.typechecker.Typers$Typer.typedStat$1(Typers.scala:1793)
at scala.tools.nsc.typechecker.Typers$Typer$$anonfun$21.apply(Typers.scala:1850)
at scala.tools.nsc.typechecker.Typers$Typer$$anonfun$21.apply(Typers.scala:1850)
at scala.collection.immutable.List.loop$2(List.scala:123)
at scala.collection.immutable.List.mapConserve(List.scala:140)
at scala.collection.immutable.List.loop$2(List.scala:127)
at scala.collection.immutable.List.mapConserve(List.scala:140)
at scala.collection.immutable.List.loop$2(List.scala:127)
at scala.collection.immutable.List.mapConserve(List.scala:140)
at scala.collection.immutable.List.loop$2(List.scala:127)
at scala.collection.immutable.List.mapConserve(List.scala:140)
at scala.collection.immutable.List.loop$2(List.scala:127)
at scala.collection.immutable.List.mapConserve(List.scala:140)
at scala.collection.immutable.List.loop$2(List.scala:127)
at scala.collection.immutable.List.mapConserve(List.scala:140)
at scala.tools.nsc.typechecker.Typers$Typer.typedStats(Typers.scala:1850)
at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:3455)
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:3732)
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:3777)
at scala.tools.nsc.typechecker.Analyzer$typerFactory$$anon$2.apply(Analyzer.scala:57)
at scala.tools.nsc.Global$GlobalPhase.applyPhase(Global.scala:329)
at scala.tools.nsc.typechecker.Analyzer$typerFactory$$anon$2$$anonfun$run$1.apply(Analyzer.scala:51)
at scala.tools.nsc.typechecker.Analyzer$typerFactory$$anon$2$$anonfun$run$1.apply(Analyzer.scala:51)
at scala.collection.Iterator$class.foreach(Iterator.scala:503)
at scala.collection.mutable.ListBuffer$$anon$1.foreach(ListBuffer.scala:280)
at scala.tools.nsc.typechecker.Analyzer$typerFactory$$anon$2.run(Analyzer.scala:51)
at scala.tools.nsc.Global$Run.compileSources(Global.scala:805)
at scala.tools.nsc.Global$Run.compile(Global.scala:888)
at scala.tools.nsc.StandardCompileServer.session(CompileServer.scala:125)
at scala.tools.util.SocketServer$$anonfun$doSession$1.apply(SocketServer.scala:70)
at scala.tools.util.SocketServer$$anonfun$doSession$1.apply(SocketServer.scala:70)
at scala.util.DynamicVariable.withValue(DynamicVariable.scala:73)
at scala.Console$.withOut(Console.scala:84)
at scala.Console$.withOut(Console.scala:102)
at scala.tools.util.SocketServer.doSession(SocketServer.scala:70)
at scala.tools.util.SocketServer.run(SocketServer.scala:89)
at scala.tools.nsc.StandardCompileServer.main(CompileServer.scala:157)
at scala.tools.nsc.CompileServer.main(CompileServer.scala)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at scala.util.ScalaClassLoader$$anonfun$run$1.apply(ClassLoader.scala:54)
at scala.util.ScalaClassLoader$class.asContext(ClassLoader.scala:21)
at scala.util.URLClassLoader.asContext(ClassLoader.scala:58)
at scala.util.ScalaClassLoader$class.run(ClassLoader.scala:54)
at scala.util.URLClassLoader.run(ClassLoader.scala:58)
at scala.tools.nsc.ObjectRunner$.run(ObjectRunner.scala:33)
at scala.tools.nsc.MainGenericRunner$.main(MainGenericRunner.scala:138)
at scala.tools.nsc.MainGenericRunner.main(MainGenericRunner.scala)
error: fatal error (server aborted): malformed Scala signature of A at 3718; reference value $anonfun of value pool refers to nonexisting symbol.
one error found
Thu, 2009-08-27, 01:07
#2
Sat, 2009-08-29, 23:57
#3
Re: malformed Scala signature
I have tried to prepare short test case to reproduce this error, but was not
lucky. Can anybody just guess this or that direction where to dig?
Theoretically, which circumstances can result in such stack trace?
//----------------------------------------------
java.lang.RuntimeException: malformed Scala signature of A at 3718;
reference value $anonfun of value pool refers to nonexisting symbol.
at
scala.tools.nsc.symtab.classfile.UnPickler$UnPickle.errorBadSignature(UnPickler.scala:814)
at
scala.tools.nsc.symtab.classfile.UnPickler$UnPickle.scala$tools$nsc$symtab$classfile$UnPickler$UnPickle$$readSymbol(UnPickler.scala:204)
at
scala.tools.nsc.symtab.classfile.UnPickler$UnPickle$$anonfun$scala$tools$nsc$symtab$classfile$UnPickler$UnPickle$$readSymbolRef$1.apply(UnPickler.scala:767)
at
scala.tools.nsc.symtab.classfile.UnPickler$UnPickle$$anonfun$scala$tools$nsc$symtab$classfile$UnPickler$UnPickle$$readSymbolRef$1.apply(UnPickler.scala:767)
at
scala.tools.nsc.symtab.classfile.UnPickler$UnPickle.scala$tools$nsc$symtab$classfile$UnPickler$UnPickle$$at(UnPickler.scala:157)
at
scala.tools.nsc.symtab.classfile.UnPickler$UnPickle.scala$tools$nsc$symtab$classfile$UnPickler$UnPickle$$readSymbolRef(UnPickler.scala:767)
at
scala.tools.nsc.symtab.classfile.UnPickler$UnPickle.scala$tools$nsc$symtab$classfile$UnPickler$UnPickle$$readSymbol(UnPickler.scala:184)
at
scala.tools.nsc.symtab.classfile.UnPickler$UnPickle$$anonfun$scala$tools$nsc$symtab$classfile$UnPickler$UnPickle$$readSymbolRef$1.apply(UnPickler.scala:767)
at
scala.tools.nsc.symtab.classfile.UnPickler$UnPickle$$anonfun$scala$tools$nsc$symtab$classfile$UnPickler$UnPickle$$readSymbolRef$1.apply(UnPickler.scala:767)
at
scala.tools.nsc.symtab.classfile.UnPickler$UnPickle.scala$tools$nsc$symtab$classfile$UnPickler$UnPickle$$at(UnPickler.scala:157)
at
scala.tools.nsc.symtab.classfile.UnPickler$UnPickle.scala$tools$nsc$symtab$classfile$UnPickler$UnPickle$$readSymbolRef(UnPickler.scala:767)
at
scala.tools.nsc.symtab.classfile.UnPickler$UnPickle.scala$tools$nsc$symtab$classfile$UnPickler$UnPickle$$readSymbol(UnPickler.scala:218)
at
scala.tools.nsc.symtab.classfile.UnPickler$UnPickle$$anonfun$scala$tools$nsc$symtab$classfile$UnPickler$UnPickle$$readSymbolRef$1.apply(UnPickler.scala:767)
at
scala.tools.nsc.symtab.classfile.UnPickler$UnPickle$$anonfun$scala$tools$nsc$symtab$classfile$UnPickler$UnPickle$$readSymbolRef$1.apply(UnPickler.scala:767)
at
scala.tools.nsc.symtab.classfile.UnPickler$UnPickle.scala$tools$nsc$symtab$classfile$UnPickler$UnPickle$$at(UnPickler.scala:157)
at
scala.tools.nsc.symtab.classfile.UnPickler$UnPickle.scala$tools$nsc$symtab$classfile$UnPickler$UnPickle$$readSymbolRef(UnPickler.scala:767)
at
scala.tools.nsc.symtab.classfile.UnPickler$UnPickle.scala$tools$nsc$symtab$classfile$UnPickler$UnPickle$$readType(UnPickler.scala:299)
at
scala.tools.nsc.symtab.classfile.UnPickler$UnPickle$$anonfun$scala$tools$nsc$symtab$classfile$UnPickler$UnPickle$$readTypeRef$1.apply(UnPickler.scala:768)
at
scala.tools.nsc.symtab.classfile.UnPickler$UnPickle$$anonfun$scala$tools$nsc$symtab$classfile$UnPickler$UnPickle$$readTypeRef$1.apply(UnPickler.scala:768)
at
scala.tools.nsc.symtab.classfile.UnPickler$UnPickle.scala$tools$nsc$symtab$classfile$UnPickler$UnPickle$$at(UnPickler.scala:157)
at
scala.tools.nsc.symtab.classfile.UnPickler$UnPickle.scala$tools$nsc$symtab$classfile$UnPickler$UnPickle$$readTypeRef(UnPickler.scala:768)
at
scala.tools.nsc.symtab.classfile.UnPickler$UnPickle.scala$tools$nsc$symtab$classfile$UnPickler$UnPickle$$readType(UnPickler.scala:324)
at
scala.tools.nsc.symtab.classfile.UnPickler$UnPickle$LazyTypeRef$$anonfun$33$$anonfun$apply$5.apply(UnPickler.scala:822)
at
scala.tools.nsc.symtab.classfile.UnPickler$UnPickle$LazyTypeRef$$anonfun$33$$anonfun$apply$5.apply(UnPickler.scala:822)
at
scala.tools.nsc.symtab.classfile.UnPickler$UnPickle.scala$tools$nsc$symtab$classfile$UnPickler$UnPickle$$at(UnPickler.scala:157)
at
scala.tools.nsc.symtab.classfile.UnPickler$UnPickle$LazyTypeRef$$anonfun$33.apply(UnPickler.scala:822)
at
scala.tools.nsc.symtab.classfile.UnPickler$UnPickle$LazyTypeRef$$anonfun$33.apply(UnPickler.scala:822)
at scala.tools.nsc.Global$$anonfun$7.apply(Global.scala:1001)
at scala.tools.nsc.Global$$anonfun$7.apply(Global.scala:1001)
at
scala.tools.nsc.symtab.classfile.UnPickler$UnPickle$LazyTypeRef.complete(UnPickler.scala:822)
at scala.tools.nsc.symtab.Symbols$Symbol.info(Symbols.scala:718)
at scala.tools.nsc.symtab.Symbols$Symbol.tpe(Symbols.scala:698)
at scala.tools.nsc.symtab.Symbols$Symbol.tpeHK(Symbols.scala:853)
at scala.tools.nsc.symtab.Types$Type.memberType(Types.scala:440)
at
scala.tools.nsc.typechecker.Infer$Inferencer.checkAccessible(Infer.scala:390)
at
scala.tools.nsc.typechecker.Typers$Typer.makeAccessible(Typers.scala:605)
at
scala.tools.nsc.typechecker.Typers$Typer.typedSelect$1(Typers.scala:3224)
at
scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:3653)
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:3734)
at
scala.tools.nsc.typechecker.Typers$Typer.typedQualifier(Typers.scala:3801)
at
scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:3651)
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:3734)
at
scala.tools.nsc.typechecker.Typers$Typer$$anonfun$typedApply$1$1.apply(Typers.scala:3025)
at
scala.tools.nsc.typechecker.Typers$Typer$$anonfun$typedApply$1$1.apply(Typers.scala:3025)
at scala.tools.nsc.typechecker.Typers$Typer.silent(Typers.scala:698)
at
scala.tools.nsc.typechecker.Typers$Typer.typedApply$1(Typers.scala:3025)
at
scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:3629)
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:3734)
at
scala.tools.nsc.typechecker.Typers$Typer.typedBlock(Typers.scala:1622)
at
scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:3488)
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:3734)
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:3792)
at
scala.tools.nsc.typechecker.Typers$Typer.typedCase(Typers.scala:1643)
at
scala.tools.nsc.typechecker.Typers$Typer$$anonfun$typedCases$1.apply(Typers.scala:1663)
at
scala.tools.nsc.typechecker.Typers$Typer$$anonfun$typedCases$1.apply(Typers.scala:1661)
at scala.collection.immutable.List.loop$2(List.scala:123)
at scala.collection.immutable.List.mapConserve(List.scala:140)
at
scala.tools.nsc.typechecker.Typers$Typer.typedCases(Typers.scala:1661)
at
scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:3545)
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:3734)
at
scala.tools.nsc.typechecker.Typers$Typer.typedBlock(Typers.scala:1622)
at
scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:3488)
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:3734)
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:3792)
at
scala.tools.nsc.typechecker.Typers$Typer.computeType(Typers.scala:3843)
at
scala.tools.nsc.typechecker.Namers$Namer.methodSig(Namers.scala:914)
at
scala.tools.nsc.typechecker.Namers$Namer.typeSig(Namers.scala:1126)
at
scala.tools.nsc.typechecker.Namers$Namer$$anonfun$typeCompleter$1.apply(Namers.scala:509)
at
scala.tools.nsc.typechecker.Namers$Namer$$anonfun$typeCompleter$1.apply(Namers.scala:507)
at
scala.tools.nsc.typechecker.Namers$$anon$1.complete(Namers.scala:1284)
at scala.tools.nsc.symtab.Symbols$Symbol.info(Symbols.scala:718)
at
scala.tools.nsc.symtab.Symbols$Symbol.initialize(Symbols.scala:827)
at
scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:3450)
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:3734)
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:3779)
at
scala.tools.nsc.typechecker.Typers$Typer.typedStat$1(Typers.scala:1795)
at
scala.tools.nsc.typechecker.Typers$Typer$$anonfun$20.apply(Typers.scala:1852)
at
scala.tools.nsc.typechecker.Typers$Typer$$anonfun$20.apply(Typers.scala:1852)
at scala.collection.immutable.List.loop$2(List.scala:123)
at scala.collection.immutable.List.mapConserve(List.scala:140)
at scala.collection.immutable.List.loop$2(List.scala:127)
at scala.collection.immutable.List.mapConserve(List.scala:140)
at scala.collection.immutable.List.loop$2(List.scala:127)
at scala.collection.immutable.List.mapConserve(List.scala:140)
at scala.collection.immutable.List.loop$2(List.scala:127)
at scala.collection.immutable.List.mapConserve(List.scala:140)
at scala.collection.immutable.List.loop$2(List.scala:127)
at scala.collection.immutable.List.mapConserve(List.scala:140)
at
scala.tools.nsc.typechecker.Typers$Typer.typedStats(Typers.scala:1852)
at
scala.tools.nsc.typechecker.Typers$Typer.typedTemplate(Typers.scala:1373)
at
scala.tools.nsc.typechecker.Typers$Typer.typedClassDef(Typers.scala:1213)
at
scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:3461)
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:3734)
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:3779)
at
scala.tools.nsc.typechecker.Typers$Typer.typedStat$1(Typers.scala:1795)
at
scala.tools.nsc.typechecker.Typers$Typer$$anonfun$20.apply(Typers.scala:1852)
at
scala.tools.nsc.typechecker.Typers$Typer$$anonfun$20.apply(Typers.scala:1852)
at scala.collection.immutable.List.loop$2(List.scala:123)
at scala.collection.immutable.List.mapConserve(List.scala:140)
at scala.collection.immutable.List.loop$2(List.scala:127)
at scala.collection.immutable.List.mapConserve(List.scala:140)
at scala.collection.immutable.List.loop$2(List.scala:127)
at scala.collection.immutable.List.mapConserve(List.scala:140)
at scala.collection.immutable.List.loop$2(List.scala:127)
at scala.collection.immutable.List.mapConserve(List.scala:140)
at scala.collection.immutable.List.loop$2(List.scala:127)
at scala.collection.immutable.List.mapConserve(List.scala:140)
at scala.collection.immutable.List.loop$2(List.scala:127)
at scala.collection.immutable.List.mapConserve(List.scala:140)
at
scala.tools.nsc.typechecker.Typers$Typer.typedStats(Typers.scala:1852)
at
scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:3457)
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:3734)
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:3779)
at
scala.tools.nsc.typechecker.Analyzer$typerFactory$$anon$2.apply(Analyzer.scala:57)
at scala.tools.nsc.Global$GlobalPhase.applyPhase(Global.scala:329)
at
scala.tools.nsc.typechecker.Analyzer$typerFactory$$anon$2$$anonfun$run$1.apply(Analyzer.scala:51)
at
scala.tools.nsc.typechecker.Analyzer$typerFactory$$anon$2$$anonfun$run$1.apply(Analyzer.scala:51)
at scala.collection.Iterator$class.foreach(Iterator.scala:503)
at
scala.collection.mutable.ListBuffer$$anon$1.foreach(ListBuffer.scala:280)
at
scala.tools.nsc.typechecker.Analyzer$typerFactory$$anon$2.run(Analyzer.scala:51)
at scala.tools.nsc.Global$Run.compileSources(Global.scala:805)
at scala.tools.nsc.Global$Run.compile(Global.scala:888)
at
scala.tools.nsc.StandardCompileServer.session(CompileServer.scala:125)
at
scala.tools.util.SocketServer$$anonfun$doSession$1.apply(SocketServer.scala:70)
at
scala.tools.util.SocketServer$$anonfun$doSession$1.apply(SocketServer.scala:70)
at scala.util.DynamicVariable.withValue(DynamicVariable.scala:73)
at scala.Console$.withOut(Console.scala:84)
at scala.Console$.withOut(Console.scala:102)
at scala.tools.util.SocketServer.doSession(SocketServer.scala:70)
at scala.tools.util.SocketServer.run(SocketServer.scala:89)
at
scala.tools.nsc.StandardCompileServer.main(CompileServer.scala:157)
at scala.tools.nsc.CompileServer.main(CompileServer.scala)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
scala.util.ScalaClassLoader$$anonfun$run$1.apply(ClassLoader.scala:54)
at scala.util.ScalaClassLoader$class.asContext(ClassLoader.scala:21)
at scala.util.URLClassLoader.asContext(ClassLoader.scala:58)
at scala.util.ScalaClassLoader$class.run(ClassLoader.scala:54)
at scala.util.URLClassLoader.run(ClassLoader.scala:58)
at scala.tools.nsc.ObjectRunner$.run(ObjectRunner.scala:33)
at
scala.tools.nsc.MainGenericRunner$.main(MainGenericRunner.scala:138)
at scala.tools.nsc.MainGenericRunner.main(MainGenericRunner.scala)
Sun, 2009-08-30, 00:07
#4
Re: malformed Scala signature
On Sat, Aug 29, 2009 at 03:53:26PM -0700, Andrew Gaydenko wrote:
> I have tried to prepare short test case to reproduce this error, but
> was not lucky. Can anybody just guess this or that direction where to
> dig? Theoretically, which circumstances can result in such stack
> trace?
In general that is #373737:
http://lampsvn.epfl.ch/trac/scala/ticket/715
...which is fixed in trunk. It has been suggested that if anything
warrants another 2.7.x release, it's this, but I do not know what if any
plans exist along those lines.
Sun, 2009-08-30, 00:37
#5
Re: malformed Scala signature
On Sunday 30 August 2009 02:58:05 Paul Phillips wrote:
> On Sat, Aug 29, 2009 at 03:53:26PM -0700, Andrew Gaydenko wrote:
> > I have tried to prepare short test case to reproduce this error, but
> > was not lucky. Can anybody just guess this or that direction where to
> > dig? Theoretically, which circumstances can result in such stack
> > trace?
>
> In general that is #373737:
>
> http://lampsvn.epfl.ch/trac/scala/ticket/715
>
> ...which is fixed in trunk. It has been suggested that if anything
> warrants another 2.7.x release, it's this, but I do not know what if any
> plans exist along those lines.
Paul,
It's magic, but your answer was sufficient to catch the problem, thanks!
//--
The issue detailes are not appropriate for this mailing list (they are
Netbeans plugin development related), but for interested - ones are here:
http://blogtrader.net/dcaoyuan/entry/scala_plugin_for_netbeans_rewrite2
Thu, 2009-09-03, 00:27
#6
Re: malformed Scala signature
On Sunday 30 August 2009 03:33:05 Andrew Gaydenko wrote:
> On Sunday 30 August 2009 02:58:05 Paul Phillips wrote:
> > On Sat, Aug 29, 2009 at 03:53:26PM -0700, Andrew Gaydenko wrote:
> > > I have tried to prepare short test case to reproduce this error, but
> > > was not lucky. Can anybody just guess this or that direction where to
> > > dig? Theoretically, which circumstances can result in such stack
> > > trace?
> >
> > In general that is #373737:
> >
> > http://lampsvn.epfl.ch/trac/scala/ticket/715
> >
> > ...which is fixed in trunk. It has been suggested that if anything
> > warrants another 2.7.x release, it's this, but I do not know what if any
> > plans exist along those lines.
>
> Paul,
>
> It's magic, but your answer was sufficient to catch the problem, thanks!
(Scala r18634 is in use at the moment)
Unfortunately, malformed signature is back (life is full of side effects,
grr..). I have prepared short test ant project (zip attached, 300 byte of
Scala and 40 light lines of ant). Will anybody with trunk in hand find a
minute to reproduce (or not) the error? Steps:
1. SCALA_HOME environment var is supposed to be set
2. Inside a project dir:
ant clean compile
3. Edit src/B.scala - say, add empty line
4. Now compile only:
ant compile
5. java.lang.RuntimeException: malformed Scala signature of A at 639
Thu, 2009-09-03, 01:37
#7
Re: malformed Scala signature
On Thu, Sep 03, 2009 at 03:26:13AM +0400, Andrew Gaydenko wrote:
> (Scala r18634 is in use at the moment)
>
> Unfortunately, malformed signature is back (life is full of side
> effects, grr..). I have prepared short test ant project (zip attached,
> 300 byte of Scala and 40 light lines of ant). Will anybody with trunk
> in hand find a minute to reproduce (or not) the error? Steps:
I can reproduce it. Here is an email I sent to internals July 14th: I
received no responses but for whatever reason I stopped seeing the
problem, at least with that frequency. I knew I would get that error
even after trivial changes but I'm impressed that adding a blank line is
enough (that's what I did to reproduce on your project.)
From paulp@improving.org Tue Jul 14 08:48:02 2009
Date: Tue, 14 Jul 2009 08:48:02 -0700
From: Paul Phillips
To: scala-internals@listes.epfl.ch
Subject: "malformed Scala signature of ByteCode ..."
Are others getting build failures like this:
quick.scalap:
[scalacfork] Compiling 5 files to /scala/trunk/build/quick/classes/scalap
[scalacfork] Exception in thread "main" java.lang.RuntimeException: malformed Scala signature of ByteCode at 4179; reference value other of method orElse refers to nonexisting symbol.
[scalacfork] at scala.tools.nsc.symtab.classfile.UnPickler$UnPickle.errorBadSignature(UnPickler.scala:797)
[scalacfork] at scala.tools.nsc.symtab.classfile.UnPickler$UnPickle.scala$tools$nsc$symtab$classfile$UnPickler$UnPickle$$readSymbol(UnPickler.scala:187)
[...]
with an annoyingly high frequency? I end up having to blow away
build/quick/classes/scalap whenver I do anything the least bit
disruptive (like say going backward a couple svn revisions and
rebuilding without enduring the full 11 minute rebuild.)
I believe the much increased frequency of this specific scalap failure
arrived with r18149:
Author: ilyas
Date: Mon Jun 29 16:09:59 2009 +0000
scalap changed to treat named parameters and package objects
If anyone knows a strategy for dealing with this it'd be great. I have
gotten perhaps overly used to it ("overly" because maybe if it were
worse I'd be forced to work on the build system) but it makes me a
little ill to think of how much time I spend each day on build-related
busywork.
Thu, 2009-09-03, 01:57
#8
Re: malformed Scala signature
On Thursday 03 September 2009 04:28:11 Paul Phillips wrote:
> On Thu, Sep 03, 2009 at 03:26:13AM +0400, Andrew Gaydenko wrote:
> > (Scala r18634 is in use at the moment)
> >
> > Unfortunately, malformed signature is back (life is full of side
> > effects, grr..). I have prepared short test ant project (zip attached,
> > 300 byte of Scala and 40 light lines of ant). Will anybody with trunk
> > in hand find a minute to reproduce (or not) the error? Steps:
>
> I can reproduce it. Here is an email I sent to internals July 14th: I
> received no responses but for whatever reason I stopped seeing the
> problem, at least with that frequency. I knew I would get that error
> even after trivial changes but I'm impressed that adding a blank line is
> enough (that's what I did to reproduce on your project.)
Will such short test case can be useful? Don't know what I can do more, as
have done the best I can (multi-hours reducing 300KB to 300B :-)).
The thing is, the issue is a show stopper for me (taking in mind
existing projects) in using last Caoyuan's results in his developing of NB
Scala plugin (the situation is especially sad taking in mind Caoyuan's
incredible speed of writing - "find usage" is already commited in, "rename
refactoring" is the next...).
>
> >From paulp@improving.org Tue Jul 14 08:48:02 2009
>
> Date: Tue, 14 Jul 2009 08:48:02 -0700
> From: Paul Phillips
> To: scala-internals@listes.epfl.ch
> Subject: "malformed Scala signature of ByteCode ..."
>
> Are others getting build failures like this:
>
> quick.scalap:
> [scalacfork] Compiling 5 files to /scala/trunk/build/quick/classes/scalap
> [scalacfork] Exception in thread "main" java.lang.RuntimeException:
> malformed Scala signature of ByteCode at 4179; reference value other of
> method orElse refers to nonexisting symbol. [scalacfork] at
> scala.tools.nsc.symtab.classfile.UnPickler$UnPickle.errorBadSignature(UnPi
> ckler.scala:797) [scalacfork] at
> scala.tools.nsc.symtab.classfile.UnPickler$UnPickle.scala$tools$nsc$symtab
> $classfile$UnPickler$UnPickle$$readSymbol(UnPickler.scala:187) [...]
>
> with an annoyingly high frequency? I end up having to blow away
> build/quick/classes/scalap whenver I do anything the least bit
> disruptive (like say going backward a couple svn revisions and
> rebuilding without enduring the full 11 minute rebuild.)
>
> I believe the much increased frequency of this specific scalap failure
> arrived with r18149:
>
> Author: ilyas
> Date: Mon Jun 29 16:09:59 2009 +0000
>
> scalap changed to treat named parameters and package objects
>
> If anyone knows a strategy for dealing with this it'd be great. I have
> gotten perhaps overly used to it ("overly" because maybe if it were
> worse I'd be forced to work on the build system) but it makes me a
> little ill to think of how much time I spend each day on build-related
> busywork.
>
Thu, 2009-09-03, 02:07
#9
Re: malformed Scala signature
On Thu, Sep 03, 2009 at 04:53:44AM +0400, Andrew Gaydenko wrote:
> Will such short test case can be useful? Don't know what I can do
> more, as have done the best I can
It is definitely useful, there is just too much for me to do. If you
can open a ticket it'll at least make sure that I don't forget.
Thu, 2009-09-03, 02:17
#10
Re: malformed Scala signature
On Thursday 03 September 2009 04:56:53 Paul Phillips wrote:
> It is definitely useful, there is just too much for me to do. If you
> can open a ticket it'll at least make sure that I don't forget.
You are building current trunk NetBeans Scala plugin using scala-2.7.x?
To build current scala plugin, you need to clear $SCALA_HOME. 2.8.0 's
scala-library.jar and scala-compiler.jar are all bundled in libs.scala
module, you do not need to care about it. But, after build
successfully, you should set back $SCALA_HOME to point to a
Scala-2.8.0 snapshot.
I got things a bit hard, because I patched scala's compiler lib a bit.
On Wed, Aug 26, 2009 at 2:51 AM, Andrew Gaydenko wrote:
> Hi!
>
> What does this error mean?
>
> // NetBeans Output window, fragment -------------
> Compiling 6 source files to /wrk/usr/netbeans/projects/zgs/alog/build/classes
> java.lang.RuntimeException: malformed Scala signature of A at 3718; reference value $anonfun of value pool refers to nonexisting symbol.
> at scala.tools.nsc.symtab.classfile.UnPickler$UnPickle.errorBadSignature(UnPickler.scala:814)
> at scala.tools.nsc.symtab.classfile.UnPickler$UnPickle.scala$tools$nsc$symtab$classfile$UnPickler$UnPickle$$readSymbol(UnPickler.scala:204)
> at scala.tools.nsc.symtab.classfile.UnPickler$UnPickle$$anonfun$scala$tools$nsc$symtab$classfile$UnPickler$UnPickle$$readSymbolRef$1.apply(UnPickler.scala:767)
> at scala.tools.nsc.symtab.classfile.UnPickler$UnPickle$$anonfun$scala$tools$nsc$symtab$classfile$UnPickler$UnPickle$$readSymbolRef$1.apply(UnPickler.scala:767)
> at scala.tools.nsc.symtab.classfile.UnPickler$UnPickle.scala$tools$nsc$symtab$classfile$UnPickler$UnPickle$$at(UnPickler.scala:157)
> at scala.tools.nsc.symtab.classfile.UnPickler$UnPickle.scala$tools$nsc$symtab$classfile$UnPickler$UnPickle$$readSymbolRef(UnPickler.scala:767)
> at scala.tools.nsc.symtab.classfile.UnPickler$UnPickle.scala$tools$nsc$symtab$classfile$UnPickler$UnPickle$$readSymbol(UnPickler.scala:184)
> at scala.tools.nsc.symtab.classfile.UnPickler$UnPickle$$anonfun$scala$tools$nsc$symtab$classfile$UnPickler$UnPickle$$readSymbolRef$1.apply(UnPickler.scala:767)
> at scala.tools.nsc.symtab.classfile.UnPickler$UnPickle$$anonfun$scala$tools$nsc$symtab$classfile$UnPickler$UnPickle$$readSymbolRef$1.apply(UnPickler.scala:767)
> at scala.tools.nsc.symtab.classfile.UnPickler$UnPickle.scala$tools$nsc$symtab$classfile$UnPickler$UnPickle$$at(UnPickler.scala:157)
> at scala.tools.nsc.symtab.classfile.UnPickler$UnPickle.scala$tools$nsc$symtab$classfile$UnPickler$UnPickle$$readSymbolRef(UnPickler.scala:767)
> at scala.tools.nsc.symtab.classfile.UnPickler$UnPickle.scala$tools$nsc$symtab$classfile$UnPickler$UnPickle$$readSymbol(UnPickler.scala:218)
> at scala.tools.nsc.symtab.classfile.UnPickler$UnPickle$$anonfun$scala$tools$nsc$symtab$classfile$UnPickler$UnPickle$$readSymbolRef$1.apply(UnPickler.scala:767)
> at scala.tools.nsc.symtab.classfile.UnPickler$UnPickle$$anonfun$scala$tools$nsc$symtab$classfile$UnPickler$UnPickle$$readSymbolRef$1.apply(UnPickler.scala:767)
> at scala.tools.nsc.symtab.classfile.UnPickler$UnPickle.scala$tools$nsc$symtab$classfile$UnPickler$UnPickle$$at(UnPickler.scala:157)
> at scala.tools.nsc.symtab.classfile.UnPickler$UnPickle.scala$tools$nsc$symtab$classfile$UnPickler$UnPickle$$readSymbolRef(UnPickler.scala:767)
> at scala.tools.nsc.symtab.classfile.UnPickler$UnPickle.scala$tools$nsc$symtab$classfile$UnPickler$UnPickle$$readType(UnPickler.scala:299)
> at scala.tools.nsc.symtab.classfile.UnPickler$UnPickle$$anonfun$scala$tools$nsc$symtab$classfile$UnPickler$UnPickle$$readTypeRef$1.apply(UnPickler.scala:768)
> at scala.tools.nsc.symtab.classfile.UnPickler$UnPickle$$anonfun$scala$tools$nsc$symtab$classfile$UnPickler$UnPickle$$readTypeRef$1.apply(UnPickler.scala:768)
> at scala.tools.nsc.symtab.classfile.UnPickler$UnPickle.scala$tools$nsc$symtab$classfile$UnPickler$UnPickle$$at(UnPickler.scala:157)
> at scala.tools.nsc.symtab.classfile.UnPickler$UnPickle.scala$tools$nsc$symtab$classfile$UnPickler$UnPickle$$readTypeRef(UnPickler.scala:768)
> at scala.tools.nsc.symtab.classfile.UnPickler$UnPickle.scala$tools$nsc$symtab$classfile$UnPickler$UnPickle$$readType(UnPickler.scala:324)
> at scala.tools.nsc.symtab.classfile.UnPickler$UnPickle$LazyTypeRef$$anonfun$33$$anonfun$apply$5.apply(UnPickler.scala:822)
> at scala.tools.nsc.symtab.classfile.UnPickler$UnPickle$LazyTypeRef$$anonfun$33$$anonfun$apply$5.apply(UnPickler.scala:822)
> at scala.tools.nsc.symtab.classfile.UnPickler$UnPickle.scala$tools$nsc$symtab$classfile$UnPickler$UnPickle$$at(UnPickler.scala:157)
> at scala.tools.nsc.symtab.classfile.UnPickler$UnPickle$LazyTypeRef$$anonfun$33.apply(UnPickler.scala:822)
> at scala.tools.nsc.symtab.classfile.UnPickler$UnPickle$LazyTypeRef$$anonfun$33.apply(UnPickler.scala:822)
> at scala.tools.nsc.Global$$anonfun$7.apply(Global.scala:1001)
> at scala.tools.nsc.Global$$anonfun$7.apply(Global.scala:1001)
> at scala.tools.nsc.symtab.classfile.UnPickler$UnPickle$LazyTypeRef.complete(UnPickler.scala:822)
> at scala.tools.nsc.symtab.Symbols$Symbol.info(Symbols.scala:718)
> at scala.tools.nsc.symtab.Symbols$Symbol.tpe(Symbols.scala:698)
> at scala.tools.nsc.symtab.Symbols$Symbol.tpeHK(Symbols.scala:853)
> at scala.tools.nsc.symtab.Types$Type.memberType(Types.scala:440)
> at scala.tools.nsc.typechecker.Infer$Inferencer.checkAccessible(Infer.scala:390)
> at scala.tools.nsc.typechecker.Typers$Typer.makeAccessible(Typers.scala:603)
> at scala.tools.nsc.typechecker.Typers$Typer.typedSelect$1(Typers.scala:3222)
> at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:3651)
> at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:3732)
> at scala.tools.nsc.typechecker.Typers$Typer.typedQualifier(Typers.scala:3797)
> at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:3649)
> at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:3732)
> at scala.tools.nsc.typechecker.Typers$Typer$$anonfun$typedApply$1$1.apply(Typers.scala:3023)
> at scala.tools.nsc.typechecker.Typers$Typer$$anonfun$typedApply$1$1.apply(Typers.scala:3023)
> at scala.tools.nsc.typechecker.Typers$Typer.silent(Typers.scala:696)
> at scala.tools.nsc.typechecker.Typers$Typer.typedApply$1(Typers.scala:3023)
> at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:3627)
> at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:3732)
> at scala.tools.nsc.typechecker.Typers$Typer.typedBlock(Typers.scala:1620)
> at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:3486)
> at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:3732)
> at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:3788)
> at scala.tools.nsc.typechecker.Typers$Typer.typedCase(Typers.scala:1641)
> at scala.tools.nsc.typechecker.Typers$Typer$$anonfun$typedCases$1.apply(Typers.scala:1661)
> at scala.tools.nsc.typechecker.Typers$Typer$$anonfun$typedCases$1.apply(Typers.scala:1659)
> at scala.collection.immutable.List.loop$2(List.scala:123)
> at scala.collection.immutable.List.mapConserve(List.scala:140)
> at scala.tools.nsc.typechecker.Typers$Typer.typedCases(Typers.scala:1659)
> at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:3543)
> at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:3732)
> at scala.tools.nsc.typechecker.Typers$Typer.typedBlock(Typers.scala:1620)
> at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:3486)
> at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:3732)
> at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:3788)
> at scala.tools.nsc.typechecker.Typers$Typer.computeType(Typers.scala:3839)
> at scala.tools.nsc.typechecker.Namers$Namer.methodSig(Namers.scala:914)
> at scala.tools.nsc.typechecker.Namers$Namer.typeSig(Namers.scala:1126)
> at scala.tools.nsc.typechecker.Namers$Namer$$anonfun$typeCompleter$1.apply(Namers.scala:509)
> at scala.tools.nsc.typechecker.Namers$Namer$$anonfun$typeCompleter$1.apply(Namers.scala:507)
> at scala.tools.nsc.typechecker.Namers$$anon$1.complete(Namers.scala:1284)
> at scala.tools.nsc.symtab.Symbols$Symbol.info(Symbols.scala:718)
> at scala.tools.nsc.symtab.Symbols$Symbol.initialize(Symbols.scala:827)
> at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:3448)
> at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:3732)
> at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:3777)
> at scala.tools.nsc.typechecker.Typers$Typer.typedStat$1(Typers.scala:1793)
> at scala.tools.nsc.typechecker.Typers$Typer$$anonfun$21.apply(Typers.scala:1850)
> at scala.tools.nsc.typechecker.Typers$Typer$$anonfun$21.apply(Typers.scala:1850)
> at scala.collection.immutable.List.loop$2(List.scala:123)
> at scala.collection.immutable.List.mapConserve(List.scala:140)
> at scala.collection.immutable.List.loop$2(List.scala:127)
> at scala.collection.immutable.List.mapConserve(List.scala:140)
> at scala.collection.immutable.List.loop$2(List.scala:127)
> at scala.collection.immutable.List.mapConserve(List.scala:140)
> at scala.collection.immutable.List.loop$2(List.scala:127)
> at scala.collection.immutable.List.mapConserve(List.scala:140)
> at scala.collection.immutable.List.loop$2(List.scala:127)
> at scala.collection.immutable.List.mapConserve(List.scala:140)
> at scala.tools.nsc.typechecker.Typers$Typer.typedStats(Typers.scala:1850)
> at scala.tools.nsc.typechecker.Typers$Typer.typedTemplate(Typers.scala:1371)
> at scala.tools.nsc.typechecker.Typers$Typer.typedClassDef(Typers.scala:1211)
> at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:3459)
> at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:3732)
> at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:3777)
> at scala.tools.nsc.typechecker.Typers$Typer.typedStat$1(Typers.scala:1793)
> at scala.tools.nsc.typechecker.Typers$Typer$$anonfun$21.apply(Typers.scala:1850)
> at scala.tools.nsc.typechecker.Typers$Typer$$anonfun$21.apply(Typers.scala:1850)
> at scala.collection.immutable.List.loop$2(List.scala:123)
> at scala.collection.immutable.List.mapConserve(List.scala:140)
> at scala.collection.immutable.List.loop$2(List.scala:127)
> at scala.collection.immutable.List.mapConserve(List.scala:140)
> at scala.collection.immutable.List.loop$2(List.scala:127)
> at scala.collection.immutable.List.mapConserve(List.scala:140)
> at scala.collection.immutable.List.loop$2(List.scala:127)
> at scala.collection.immutable.List.mapConserve(List.scala:140)
> at scala.collection.immutable.List.loop$2(List.scala:127)
> at scala.collection.immutable.List.mapConserve(List.scala:140)
> at scala.collection.immutable.List.loop$2(List.scala:127)
> at scala.collection.immutable.List.mapConserve(List.scala:140)
> at scala.tools.nsc.typechecker.Typers$Typer.typedStats(Typers.scala:1850)
> at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:3455)
> at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:3732)
> at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:3777)
> at scala.tools.nsc.typechecker.Analyzer$typerFactory$$anon$2.apply(Analyzer.scala:57)
> at scala.tools.nsc.Global$GlobalPhase.applyPhase(Global.scala:329)
> at scala.tools.nsc.typechecker.Analyzer$typerFactory$$anon$2$$anonfun$run$1.apply(Analyzer.scala:51)
> at scala.tools.nsc.typechecker.Analyzer$typerFactory$$anon$2$$anonfun$run$1.apply(Analyzer.scala:51)
> at scala.collection.Iterator$class.foreach(Iterator.scala:503)
> at scala.collection.mutable.ListBuffer$$anon$1.foreach(ListBuffer.scala:280)
> at scala.tools.nsc.typechecker.Analyzer$typerFactory$$anon$2.run(Analyzer.scala:51)
> at scala.tools.nsc.Global$Run.compileSources(Global.scala:805)
> at scala.tools.nsc.Global$Run.compile(Global.scala:888)
> at scala.tools.nsc.StandardCompileServer.session(CompileServer.scala:125)
> at scala.tools.util.SocketServer$$anonfun$doSession$1.apply(SocketServer.scala:70)
> at scala.tools.util.SocketServer$$anonfun$doSession$1.apply(SocketServer.scala:70)
> at scala.util.DynamicVariable.withValue(DynamicVariable.scala:73)
> at scala.Console$.withOut(Console.scala:84)
> at scala.Console$.withOut(Console.scala:102)
> at scala.tools.util.SocketServer.doSession(SocketServer.scala:70)
> at scala.tools.util.SocketServer.run(SocketServer.scala:89)
> at scala.tools.nsc.StandardCompileServer.main(CompileServer.scala:157)
> at scala.tools.nsc.CompileServer.main(CompileServer.scala)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at scala.util.ScalaClassLoader$$anonfun$run$1.apply(ClassLoader.scala:54)
> at scala.util.ScalaClassLoader$class.asContext(ClassLoader.scala:21)
> at scala.util.URLClassLoader.asContext(ClassLoader.scala:58)
> at scala.util.ScalaClassLoader$class.run(ClassLoader.scala:54)
> at scala.util.URLClassLoader.run(ClassLoader.scala:58)
> at scala.tools.nsc.ObjectRunner$.run(ObjectRunner.scala:33)
> at scala.tools.nsc.MainGenericRunner$.main(MainGenericRunner.scala:138)
> at scala.tools.nsc.MainGenericRunner.main(MainGenericRunner.scala)
> error: fatal error (server aborted): malformed Scala signature of A at 3718; reference value $anonfun of value pool refers to nonexisting symbol.
> one error found
>