Exception when using bndtools for OSGI
I get the following exception when using bndtools (OSGi support for Eclipse). I just want to add a package to the list of Exported-Packages.
java.lang.Exception
at scala.tools.eclipse.ScalaPlugin.logError(ScalaPlugin.scala:211)
at scala.tools.eclipse.ScalaPresentationCompiler.logError(ScalaPresentationCompiler.scala:128)
at scala.tools.eclipse.javaelements.ScalaMatchLocator$class.MatchLocator(ScalaMatchLocator.scala:42)
at scala.tools.eclipse.ScalaPresentationCompiler.MatchLocator(ScalaPresentationCompiler.scala:24)
at scala.tools.eclipse.javaelements.ScalaMatchLocator$class.MatchLocator(ScalaMatchLocator.scala:29)
at scala.tools.eclipse.ScalaPresentationCompiler.MatchLocator(ScalaPresentationCompiler.scala:24)
at scala.tools.eclipse.javaelements.ScalaCompilationUnit$$anonfun$reportMatches$1$$anonfun$apply$6$$anonfun$apply$2.apply$mcV$sp(ScalaCompilationUnit.scala:141)
at scala.tools.eclipse.javaelements.ScalaCompilationUnit$$anonfun$reportMatches$1$$anonfun$apply$6$$anonfun$apply$2.apply(ScalaCompilationUnit.scala:140)
at scala.tools.eclipse.javaelements.ScalaCompilationUnit$$anonfun$reportMatches$1$$anonfun$apply$6$$anonfun$apply$2.apply(ScalaCompilationUnit.scala:140)
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:248)
at scala.tools.nsc.interactive.PresentationCompilerThread.run(PresentationCompilerThread.scala:19)
java.lang.Exception
at scala.tools.eclipse.ScalaPlugin.logError(ScalaPlugin.scala:211)
at scala.tools.eclipse.ScalaPresentationCompiler.logError(ScalaPresentationCompiler.scala:128)
at scala.tools.eclipse.javaelements.ScalaMatchLocator$class.MatchLocator(ScalaMatchLocator.scala:42)
at scala.tools.eclipse.ScalaPresentationCompiler.MatchLocator(ScalaPresentationCompiler.scala:24)
at scala.tools.eclipse.javaelements.ScalaMatchLocator$class.MatchLocator(ScalaMatchLocator.scala:29)
at scala.tools.eclipse.ScalaPresentationCompiler.MatchLocator(ScalaPresentationCompiler.scala:24)
at scala.tools.eclipse.javaelements.ScalaCompilationUnit$$anonfun$reportMatches$1$$anonfun$apply$6$$anonfun$apply$2.apply$mcV$sp(ScalaCompilationUnit.scala:141)
at scala.tools.eclipse.javaelements.ScalaCompilationUnit$$anonfun$reportMatches$1$$anonfun$apply$6$$anonfun$apply$2.apply(ScalaCompilationUnit.scala:140)
at scala.tools.eclipse.javaelements.ScalaCompilationUnit$$anonfun$reportMatches$1$$anonfun$apply$6$$anonfun$apply$2.apply(ScalaCompilationUnit.scala:140)
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:248)
at scala.tools.nsc.interactive.PresentationCompilerThread.run(PresentationCompilerThread.scala:19)
Leave a comment