Error window when working with lift-record files
I am getting the Error window during working with Scalaide -> An internal error occurred during: "Compute launch button tooltip".
I have found out that this error only occurs, when scalaide is trying to work with files which are actually using entities from lift-record package.
Here is the short stacktrace
java.lang.Error: T in trait PValueHolder cannot be instantiated from net.liftweb.util.PValueHolder[T]
at scala.tools.nsc.symtab.SymbolTable.abort(SymbolTable.scala:33)
at scala.tools.nsc.symtab.Types$AsSeenFromMap.throwError$1(Types.scala:3177)
at scala.tools.nsc.symtab.Types$AsSeenFromMap.instParam$1(Types.scala:3180)
at scala.tools.nsc.symtab.Types$AsSeenFromMap.toInstance$1(Types.scala:3191)
at scala.tools.nsc.symtab.Types$AsSeenFromMap.apply(Types.scala:3207)
at scala.tools.nsc.symtab.Types$Type.asSeenFrom(Types.scala:507)
at scala.tools.nsc.symtab.Types$TypeRef.transform(Types.scala:1619)
at scala.tools.nsc.symtab.Types$TypeRef.normalize0(Types.scala:1732)
at scala.tools.nsc.symtab.Types$TypeRef.normalize(Types.scala:1764)
at scala.tools.nsc.symtab.Definitions$definitions$.isFunctionType(Definitions.scala:341)
at scala.tools.nsc.symtab.Types$TypeRef.safeToString(Types.scala:1828)
at scala.reflect.generic.Types$AbsType.toString(Types.scala:27)
at scala.tools.eclipse.javaelements.ScalaStructureBuilder$StructureBuilderTraverser$TypeOwner$class.addType(ScalaStructureBuilder.scala:482)
at scala.tools.eclipse.javaelements.ScalaStructureBuilder$StructureBuilderTraverser$Builder.addType(ScalaStructureBuilder.scala:727)
at scala.tools.eclipse.javaelements.ScalaStructureBuilder$StructureBuilderTraverser.traverse(ScalaStructureBuilder.scala:787)
I have found out that this error only occurs, when scalaide is trying to work with files which are actually using entities from lift-record package.
Here is the short stacktrace
java.lang.Error: T in trait PValueHolder cannot be instantiated from net.liftweb.util.PValueHolder[T]
at scala.tools.nsc.symtab.SymbolTable.abort(SymbolTable.scala:33)
at scala.tools.nsc.symtab.Types$AsSeenFromMap.throwError$1(Types.scala:3177)
at scala.tools.nsc.symtab.Types$AsSeenFromMap.instParam$1(Types.scala:3180)
at scala.tools.nsc.symtab.Types$AsSeenFromMap.toInstance$1(Types.scala:3191)
at scala.tools.nsc.symtab.Types$AsSeenFromMap.apply(Types.scala:3207)
at scala.tools.nsc.symtab.Types$Type.asSeenFrom(Types.scala:507)
at scala.tools.nsc.symtab.Types$TypeRef.transform(Types.scala:1619)
at scala.tools.nsc.symtab.Types$TypeRef.normalize0(Types.scala:1732)
at scala.tools.nsc.symtab.Types$TypeRef.normalize(Types.scala:1764)
at scala.tools.nsc.symtab.Definitions$definitions$.isFunctionType(Definitions.scala:341)
at scala.tools.nsc.symtab.Types$TypeRef.safeToString(Types.scala:1828)
at scala.reflect.generic.Types$AbsType.toString(Types.scala:27)
at scala.tools.eclipse.javaelements.ScalaStructureBuilder$StructureBuilderTraverser$TypeOwner$class.addType(ScalaStructureBuilder.scala:482)
at scala.tools.eclipse.javaelements.ScalaStructureBuilder$StructureBuilderTraverser$Builder.addType(ScalaStructureBuilder.scala:727)
at scala.tools.eclipse.javaelements.ScalaStructureBuilder$StructureBuilderTraverser.traverse(ScalaStructureBuilder.scala:787)
Leave a comment
Updating tickets (#3255, #3262, #3271, #3277, #3279, #3287, #3313, #3317, #3318, #3320, #3329, #1000000, #1000002, #1000004, #1000005, #1000007, #1000011, #1000013, #1000018, #1000019, #1000020, #1000022, #1000023, #1000024, #1000025, #1000026, #1000028, #1000031, #1000033, #1000034, #1000037, #1000039, #1000040, #1000041, #1000057, #1000058, #1000060, #1000061, #1000063, #1000064, #1000065, #1000067, #1000070, #1000073, #1000076, #1000080, #1000082, #1000083, #1000084, #1000085, #1000087, #1000088, #1000089, #1000090, #1000092, #1000093, #1000094, #1000095, #1000097, #1000102, #1000104, #1000106, #1000108, #1000110, #1000111, #1000116, #1000124, #1000126, #1000127, #1000129, #1000132, #1000133, #1000136, #1000139, #1000143, #1000144, #1000145, #1000148, #1000149, #1000152, #1000154, #1000155, #1000157, #1000158, #1000159, #1000161, #1000169, #1000170, #1000172, #1000174, #1000176, #1000178, #1000179, #1000183, #1000185, #1000188, #1000189, #1000192, #1000196, #1000198)
I added relations to a couple of tickets that I think are just different symptoms of this same bug. I din't want to set as duplicate though, but when this one is fixed I'll bet #1000514 and #1000517 can be closed as well.
It shows itself as an error in SymbolTable when using a pattern very common in both lift-record and lift-mapper. It pops up in both launch button tooltip as well as spontaniously when working with code. Often the presentation compiler hangs and I have to clean.
It shows itself as an error in SymbolTable when using a pattern very common in both lift-record and lift-mapper. It pops up in both launch button tooltip as well as spontaniously when working with code. Often the presentation compiler hangs and I have to clean.