stops building with UnsupportedOperationException: Position.point
Migrated from http://lampsvn.epfl.ch/trac/scala/ticket/3329
Reporter hotzen
Running: Scala Eclipse Plugin 2.8.0.r21625-b20100420035357
Eclipse suddenly refuses building with attached Exception.
I have already done a full clean, /bin is empty, no errors on project. Files are compiling fine with scalac via commandline (scala-28 RC and newest nightly scala-2.8.0.r21625-b20100420020155)
Reporter hotzen
Running: Scala Eclipse Plugin 2.8.0.r21625-b20100420035357
Eclipse suddenly refuses building with attached Exception.
I have already done a full clean, /bin is empty, no errors on project. Files are compiling fine with scalac via commandline (scala-28 RC and newest nightly scala-2.8.0.r21625-b20100420020155)
java.lang.UnsupportedOperationException: Position.point
at scala.tools.nsc.util.Position$class.point(Position.scala:89)
at scala.tools.nsc.util.NoPosition$.point(Position.scala:194)
at scala.tools.nsc.util.Position$class.startOrPoint(Position.scala:86)
at scala.tools.nsc.util.NoPosition$.startOrPoint(Position.scala:194)
at scala.tools.nsc.ast.parser.Parsers$Parser$$anonfun$compilationUnit$1.apply(Parsers.scala:2680)
at scala.tools.nsc.ast.parser.Parsers$Parser$$anonfun$compilationUnit$1.apply(Parsers.scala:2641)
at scala.tools.nsc.ast.parser.Parsers$Parser.checkNoEscapingPlaceholders(Parsers.scala:199)
at scala.tools.nsc.ast.parser.Parsers$Parser.compilationUnit(Parsers.scala:2641)
at scala.tools.nsc.ast.parser.Parsers$Parser.parse(Parsers.scala:176)
at scala.tools.nsc.ast.parser.Parsers$UnitParser.smartParse(Parsers.scala:103)
at scala.tools.nsc.ast.parser.SyntaxAnalyzer$ParserPhase.apply(SyntaxAnalyzer.scala:26)
at scala.tools.nsc.Global$GlobalPhase$$anonfun$applyPhase$1.apply(Global.scala:272)
at scala.tools.nsc.Global$GlobalPhase$$anonfun$applyPhase$1.apply(Global.scala:272)
at scala.tools.nsc.reporters.Reporter.withSource(Reporter.scala:49)
at scala.tools.nsc.Global$GlobalPhase.applyPhase(Global.scala:272)
at scala.tools.nsc.Global$GlobalPhase$$anonfun$run$1.apply(Global.scala:248)
at scala.tools.nsc.Global$GlobalPhase$$anonfun$run$1.apply(Global.scala:248)
at scala.collection.Iterator$class.foreach(Iterator.scala:627)
at scala.collection.mutable.ListBuffer$$anon$1.foreach(ListBuffer.scala:305)
at scala.tools.nsc.Global$GlobalPhase.run(Global.scala:248)
at scala.tools.nsc.Global$Run.compileSources(Global.scala:729)
at scala.tools.nsc.Global$Run.compileFiles(Global.scala:800)
at scala.tools.nsc.interactive.RefinedBuildManager.update0$1(RefinedBuildManager.scala:127)
at scala.tools.nsc.interactive.RefinedBuildManager.update(RefinedBuildManager.scala:186)
at scala.tools.nsc.interactive.RefinedBuildManager.update(RefinedBuildManager.scala:93)
at scala.tools.eclipse.EclipseBuildManager.build(EclipseBuildManager.scala:119)
at scala.tools.eclipse.ScalaProject.build(ScalaProject.scala:421)
at scala.tools.eclipse.ScalaBuilder.build(ScalaBuilder.scala:87)
at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:627)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:170)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:201)
at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:253)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:256)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:218)
at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:360)
at org.eclipse.core.internal.resources.Project$1.run(Project.java:523)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1800)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1782)
at org.eclipse.core.internal.resources.Project.internalBuild(Project.java:502)
at org.eclipse.core.internal.resources.Project.build(Project.java:94)
at org.eclipse.debug.core.model.LaunchConfigurationDelegate$1.run(LaunchConfigurationDelegate.java:423)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1800)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1782)
at org.eclipse.debug.core.model.LaunchConfigurationDelegate.buildProjects(LaunchConfigurationDelegate.java:430)
at org.eclipse.debug.core.model.LaunchConfigurationDelegate.buildForLaunch(LaunchConfigurationDelegate.java:126)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:821)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:703)
at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:866)
at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1069)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
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)