Scala 2.10.X

Currently not working

Tested with Scala 2.10.2 & NV 7.3.1 and still doesn't work, due to http://statistics.netbeans.org/analytics/detail.do?id=196106, which has 76 duplicate reports. Current status of this project seems to be that it has been abandoned by the author - a showstopper bug and a repo that hasn't had a commit in over 5 months (https://github.com/dcaoyuan/nbscala)

MissingRequirementException

Hi. I installed these plugins, and I get an exception at the bottom of the IDE. I'm using JDK 1.7_11, and Scala 2.10.1

scala.reflect.internal.MissingRequirementError: object scala.beans.BeanInfo in compiler mirror not found.
at scala.reflect.internal.MissingRequirementError$.signal(MissingRequirementError.scala:16)
at scala.reflect.internal.MissingRequirementError$.notFound(MissingRequirementError.scala:17)
at scala.reflect.internal.Mirrors$RootsBase$$anonfun$getModuleOrClass$3.apply(Mirrors.scala:49)
at scala.reflect.internal.Mirrors$RootsBase$$anonfun$getModuleOrClass$3.apply(Mirrors.scala:49)
at scala.reflect.internal.Symbols$Symbol.orElse(Symbols.scala:2220)
at scala.reflect.internal.Mirrors$RootsBase.getModuleOrClass(Mirrors.scala:48)
at scala.reflect.internal.Mirrors$RootsBase.getModuleOrClass(Mirrors.scala:40)
at scala.reflect.internal.Mirrors$RootsBase.getModuleOrClass(Mirrors.scala:61)
at scala.reflect.internal.Mirrors$RootsBase.getClassByName(Mirrors.scala:99)
at scala.reflect.internal.Mirrors$RootsBase.getRequiredClass(Mirrors.scala:102)
at scala.tools.nsc.backend.jvm.GenASM$AsmPhase.(GenASM.scala:42)
at scala.tools.nsc.backend.jvm.GenASM.newPhase(GenASM.scala:33)
at scala.tools.nsc.Global$Run$$anonfun$27.apply(Global.scala:1310)
at scala.tools.nsc.Global$Run$$anonfun$27.apply(Global.scala:1310)
at scala.collection.LinearSeqOptimized$class.foldLeft(LinearSeqOptimized.scala:111)
at scala.collection.immutable.List.foldLeft(List.scala:84)
at scala.tools.nsc.Global$Run.(Global.scala:1310)
at scala.tools.nsc.interactive.Global$TyperRun.(Global.scala:1140)
at scala.tools.nsc.interactive.Global.newTyperRun(Global.scala:1163)
at scala.tools.nsc.interactive.Global.(Global.scala:198)
at org.netbeans.modules.scala.core.interactive.Global.(Global.scala:13)
at org.netbeans.modules.scala.core.ScalaGlobal.(ScalaGlobal.scala:94)
at org.netbeans.modules.scala.core.ScalaGlobal$.getGlobal(ScalaGlobal.scala:461)
at org.netbeans.modules.scala.core.ScalaParserResult.(ScalaParserResult.scala:58)
at org.netbeans.modules.scala.core.ScalaParserResult$.apply(ScalaParserResult.scala:194)
at org.netbeans.modules.scala.core.ScalaParser.parse(ScalaParser.scala:112)
at org.netbeans.modules.parsing.impl.TaskProcessor.callParse(TaskProcessor.java:596)
at org.netbeans.modules.parsing.impl.SourceCache.getResult(SourceCache.java:236)
[catch] at org.netbeans.modules.parsing.impl.TaskProcessor$CompilationJob.run(TaskProcessor.java:718)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)

This is the only Scala environment listed in the Scala Platforms for NetBeans. This is in a mixed java/scala Maven project, and I do know that the scala dependency is using an older version of Scala. Would that have any impact on the version of Scala picked up by the IDE/Plugin?

Parse Exception and Go to Declaration

Hi,
Running NB 7.3 under jdk6-u43-b01 64 bit, produced the exception below when invoking the info popup via Ctrl hand-pointer on a scala type or def in the editor with the exception of AnyRef. I managed to circumvent this by aggregating all the source in the scala src folder into a single jar!

Also the Go to Declaration no longer functions either via the Ctrl left-click or the right-click popup menu or Ctrl+B, which it used to for both java and scala declarations in the 9.x versions of the plugin, the current result is an inhibitory audible "java beep". I guess it feels like a path problem of some sort? I'm sure none of the above is intentional, any help would be much appreciated.

java.lang.NullPointerException
at org.netbeans.modules.scala.core.ScalaSourceFile.hashCode(ScalaSourceFile.scala:123)
at java.util.concurrent.ConcurrentHashMap.remove(ConcurrentHashMap.java:922)
at org.netbeans.modules.scala.core.ScalaGlobal.askForSemantic(ScalaGlobal.scala:181)
at org.netbeans.modules.scala.core.element.ScalaElements$ScalaElement.load(ScalaElements.scala:245)
at org.netbeans.modules.scala.core.element.ScalaElements$ScalaElement.getOffset(ScalaElements.scala:181)
at org.netbeans.modules.scala.editor.ScalaDeclarationFinder.findDeclaration(ScalaDeclarationFinder.scala:128)
at org.netbeans.modules.csl.editor.hyperlink.GoToSupport$2.run(GoToSupport.java:170)
at org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:584)
at org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:155)
at org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:139)
at org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:201)
at org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:198)
at org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:176)
at org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:360)
at org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:74)
at org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:198)
Caused: org.netbeans.modules.parsing.spi.ParseException
at org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:206)
at org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:106)
[catch] at org.netbeans.modules.csl.editor.hyperlink.GoToSupport.perform(GoToSupport.java:144)
at org.netbeans.modules.csl.editor.hyperlink.GoToSupport.getGoToElementTooltip(GoToSupport.java:102)
at org.netbeans.modules.csl.editor.hyperlink.GsfHyperlinkProvider.getTooltipText(GsfHyperlinkProvider.java:85)
at org.netbeans.lib.editor.hyperlink.HyperlinkOperation$TooltipResolver.getValue(HyperlinkOperation.java:508)
at org.netbeans.lib.editor.hyperlink.HyperlinkOperation$TooltipResolver.getValue(HyperlinkOperation.java:495)
at org.netbeans.modules.editor.NbToolTip$Request.getTooltipFromHighlightingLayers(NbToolTip.java:445)
at org.netbeans.modules.editor.NbToolTip$Request.resolveTooltipText(NbToolTip.java:433)
at org.netbeans.modules.editor.NbToolTip$Request.run(NbToolTip.java:369)
at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1454)
at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2048

Re: Repackaged

Repackaged

Plugin structure invalid

Hi,
when you package NBM files into a ZIP, please put them in the root folder, do not create a sub-folder (you've placed them into a "netbeans_site" folder).
Could you repackage your plugin and submit it again for validation ? Thx.