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.

Bug 179021 - [68cat] scala.tools.nsc.MissingRequirementError: class scala.Array not found.
Summary: [68cat] scala.tools.nsc.MissingRequirementError: class scala.Array not found.
Status: NEW
Alias: None
Product: contrib
Classification: Unclassified
Component: Scala (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: _ dcaoyuan
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-24 07:45 UTC by neilg
Modified: 2012-01-29 21:52 UTC (History)
11 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 163900


Attachments
stacktrace (2.05 KB, text/plain)
2009-12-24 07:45 UTC, neilg
Details
stacktrace (2.05 KB, text/plain)
2009-12-26 02:16 UTC, neilg
Details

Note You need to log in before you can comment on or make changes to this bug.
Description neilg 2009-12-24 07:45:48 UTC
This bug was originally marked as duplicate of bug 174462, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 6.8 (Build 200912041610)
VM: Java HotSpot(TM) 64-Bit Server VM, 14.1-b02, Java(TM) SE Runtime Environment, 1.6.0_15-b03
OS: Linux, 2.6.31-16-generic, amd64

User Comments:
neilg: hit ctrl-space for completion of an import statement in a scala file

atsykholyas: I have a scala class extending JFrame. JFrame is not imported. 
I've written:
"setDef"
and clicked Ctrl+Space (to complete statement into "setDefaultCloseOperation()").

yardus: package scalaapplication1

object Main {
  def Li<invoke code completion here>
  /**
   * @param args the command line arguments
   */
  def main(args: Array[String]) :Unit = {
    println("Hello, world!")
  }

}

neilg: Pressed ctrl-space for completion

hellochar: opening code completion for a method that doesn't exist

GUEST: tried to use autocomplete on an import: scala.actors.Actor



Stacktrace: 
scala.tools.nsc.MissingRequirementError: class scala.Array not found.
   at scala.tools.nsc.symtab.Definitions$definitions$.getModuleOrClass(Definitions.java:499)
   at scala.tools.nsc.symtab.Definitions$definitions$.getClass(Definitions.java:457)
   at scala.tools.nsc.symtab.Definitions$definitions$.ArrayClass(Definitions.java:212)
   at scala.tools.nsc.backend.icode.TypeKinds$REFERENCE.<init>(TypeKinds.java:258)
   at scala.tools.nsc.backend.icode.GenICode$ICodePhase.<init>(GenICode.java:53)
   at scala.tools.nsc.backend.icode.GenICode.newPhase(GenICode.java:41)
Comment 1 neilg 2009-12-24 07:45:53 UTC
Created attachment 92907 [details]
stacktrace
Comment 2 neilg 2009-12-26 02:16:39 UTC
Created attachment 92924 [details]
stacktrace
Comment 3 Exceptions Reporter 2009-12-26 02:16:53 UTC
This bug already has 10 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=163900