You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
public interface I {
public classC implements I {}
}
the refined build manager fails with the following stacktrace,
java.lang.Error: no-symbol does not have owner
at scala.tools.nsc.symtab.Symbols$$NoSymbol$$.owner(Symbols.scala:1985)
at scala.tools.nsc.symtab.Symbols$$Symbol.cloneSymbol(Symbols.scala:1042)
at scala.tools.nsc.interactive.RefinedBuildManager$$$$anonfun$$updateDefinitions$$2$$$$anonfun$$apply$$21.apply(RefinedBuildManager.scala:331)
at scala.tools.nsc.interactive.RefinedBuildManager$$$$anonfun$$updateDefinitions$$2$$$$anonfun$$apply$$21.apply(RefinedBuildManager.scala:328)
at scala.collection.TraversableLike$$$$anonfun$$map$$1.apply(TraversableLike.scala:238)
at scala.collection.TraversableLike$$$$anonfun$$map$$1.apply(TraversableLike.scala:238)
at scala.collection.LinearSeqLike$$class.foreach(LinearSeqLike.scala:97)
at scala.collection.immutable.List.foreach(List.scala:46)
at scala.collection.TraversableLike$$class.map(TraversableLike.scala:238)
at scala.collection.immutable.List.map(List.scala:46)
at scala.tools.nsc.interactive.RefinedBuildManager$$$$anonfun$$updateDefinitions$$2.apply(RefinedBuildManager.scala:328)
at scala.tools.nsc.interactive.RefinedBuildManager$$$$anonfun$$updateDefinitions$$2.apply(RefinedBuildManager.scala:327)
at scala.collection.Iterator$$class.foreach(Iterator.scala:582)
at scala.collection.IndexedSeqLike$$Elements.foreach(IndexedSeqLike.scala:47)
at scala.collection.IterableLike$$class.foreach(IterableLike.scala:83)
at scala.collection.immutable.HashSet.foreach(HashSet.scala:36)
at scala.tools.nsc.interactive.RefinedBuildManager.updateDefinitions(RefinedBuildManager.scala:327)
at scala.tools.nsc.interactive.RefinedBuildManager.update0$$1(RefinedBuildManager.scala:180)
at scala.tools.nsc.interactive.RefinedBuildManager.update(RefinedBuildManager.scala:185)
at scala.tools.nsc.interactive.RefinedBuildManager.update(RefinedBuildManager.scala:93)
at scala.tools.eclipse.EclipseBuildManager.build(EclipseBuildManager.scala:120)
at scala.tools.eclipse.ScalaProject.build(ScalaProject.scala:407)
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:522)
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.ui.actions.BuildAction.invokeOperation(BuildAction.java:221)
at org.eclipse.ui.actions.WorkspaceAction.execute(WorkspaceAction.java:162)
at org.eclipse.ui.actions.WorkspaceAction$$2.runInWorkspace(WorkspaceAction.java:483)
at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
in updateDefinitions. It seems that the dependency analyzer is reporting NoSymbol as the definition corresponding to C. Nb. if I is changed to a class with C extending it, then there is no error.
The text was updated successfully, but these errors were encountered:
@hubertp said:
I am guessing that the problem should actually be solved in a different way ( by enabling namers, typers phases for .java files?) but this quick fix is I believe a good temporary solution.
With the following Java source,
the refined build manager fails with the following stacktrace,
in updateDefinitions. It seems that the dependency analyzer is reporting NoSymbol as the definition corresponding to C. Nb. if I is changed to a class with C extending it, then there is no error.
The text was updated successfully, but these errors were encountered: