This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Build: NetBeans IDE 6.8 (Build 200912041610) VM: Java HotSpot(TM) Client VM, 16.3-b01, Java(TM) SE Runtime Environment, 1.6.0_20-b02 OS: Windows XP User Comments: GUEST: Clicking the green "run" button in the toolbar sanjay_dasgupta: I am using the Scala plug-in, but it is failing to import any classes from the 3rd-party regular expression library from http://www.brics.dk/~amoeller/automaton/automaton.jar The import statement is "import dk.brics.automaton._" This line compiles correctly outside the IDE, but the IDE always underlines it in red with the error "value brics in not a member of package dk" Stacktrace: java.lang.IllegalArgumentException at org.netbeans.modules.scala.core.ScalaSourceUtil$.getMainClasses(ScalaSourceUtil.java:669) at org.netbeans.modules.scala.core.ScalaSourceUtil$.getMainClassesAsJavaCollection(ScalaSourceUtil.java:715) at org.netbeans.modules.scala.core.ScalaSourceUtil$$anonfun$getMainClassesAsJavaCollection$2.apply(ScalaSourceUtil.java:728) at org.netbeans.modules.scala.core.ScalaSourceUtil$$anonfun$getMainClassesAsJavaCollection$2.apply(ScalaSourceUtil.java:727) at scala.collection.IndexedSeqOptimized$class.foreach(IndexedSeqOptimized.java:35) at scala.collection.mutable.ArrayOps.foreach(ArrayOps.java:35)
Created attachment 98424 [details] stacktrace
This bug already has 5 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=168610
Created attachment 101953 [details] stacktrace Attempting to run a Scala program.