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 238338 - NullPointerException at org.netbeans.modules.scala.core.ScalaSourceFile.hashCode
Summary: NullPointerException at org.netbeans.modules.scala.core.ScalaSourceFile.hashCode
Status: NEW
Alias: None
Product: third-party
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 7.4
Hardware: All All
: P3 normal (vote)
Assignee: issues@third-party
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-14 02:06 UTC by michbarsinai
Modified: 2013-12-03 02:44 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 200115


Attachments
stacktrace (2.61 KB, text/plain)
2013-11-14 02:07 UTC, michbarsinai
Details

Note You need to log in before you can comment on or make changes to this bug.
Description michbarsinai 2013-11-14 02:06:57 UTC
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)
Comment 1 michbarsinai 2013-11-14 02:07:00 UTC
Created attachment 142159 [details]
stacktrace
Comment 2 Milutin Kristofic 2013-11-18 14:33:11 UTC
Bug in scala, it is not maintaned by Netbeans team. Write to author of scala plugin. Thank you.