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 7.4 (Build 201310111528) VM: Java HotSpot(TM) 64-Bit Server VM, 24.0-b48, Java(TM) SE Runtime Environment, 1.7.0_40-ea-b29 OS: Mac OS X User Comments: michbarsinai: Unsure. brunorene: trying to use autocompletion on scala wissenstein: In a Scala project, I wrote the following code lines: val a = Array(1, 7, -3, 2, 7, 0, 2, -1, 9) println(a) Then, when I put a dot after a: println(a.) a box with completion prompts appeared and just then this exception appeared. Stacktrace: java.lang.NullPointerException at org.netbeans.modules.scala.core.ScalaSourceFile.hashCode(ScalaSourceFile.java:123) at java.util.concurrent.ConcurrentHashMap.hash(ConcurrentHashMap.java:333) at java.util.concurrent.ConcurrentHashMap.remove(ConcurrentHashMap.java:1175) at org.netbeans.modules.scala.core.ScalaGlobal.askForSemantic(ScalaGlobal.java:181) at org.netbeans.modules.scala.core.element.ScalaElements$ScalaElement.load(ScalaElements.java:245) at org.netbeans.modules.scala.core.element.ScalaElements$ScalaElement.getDocComment(ScalaElements.java:160)
Created attachment 142159 [details] stacktrace
Bug in scala, it is not maintaned by Netbeans team. Write to author of scala plugin. Thank you.