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 213694 - Netbeans Plugin for Scala 7.1v2.9.x: NullPointerException at java.io.File.<init>
Summary: Netbeans Plugin for Scala 7.1v2.9.x: NullPointerException at java.io.File.<init>
Status: NEW
Alias: None
Product: contrib
Classification: Unclassified
Component: Scala (show other bugs)
Version: 7.2
Hardware: All All
: P3 normal (vote)
Assignee: _ dcaoyuan
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-06 19:13 UTC by mfriedenhagen
Modified: 2012-06-06 19:13 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 162691


Attachments
stacktrace (1.41 KB, text/plain)
2012-06-06 19:13 UTC, mfriedenhagen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description mfriedenhagen 2012-06-06 19:13:45 UTC
Build: NetBeans IDE Dev (Build 201206010001)
VM: Java HotSpot(TM) 64-Bit Server VM, 20.6-b01-413, Java(TM) SE Runtime Environment, 1.6.0_31-b04-413-11M3635
OS: Mac OS X

User Comments:
GUEST: Reproducable Behaviour,
Opened a source file from a Maven-dependency (in this case CometActor from the Lift webframework)
Afterwards I could not modify the file from wich I opened the dependency source

GUEST: Open a scala class and will edit it-

GUEST: After I switched the page, press the tab button, it crashed

mfriedenhagen: NPE after installing the latest binary release of "NetBeans Plugin for Scala" (7.1v2.9.x) and opening a scala file.




Stacktrace: 
java.lang.NullPointerException
   at java.io.File.<init>(File.java:222)
   at org.netbeans.modules.scala.core.ScalaHome$.getGlobalForStdLib(ScalaHome.java:64)
   at org.netbeans.modules.scala.core.ScalaGlobal$$anonfun$getGlobal$1.apply(ScalaGlobal.java:504)
   at org.netbeans.modules.scala.core.ScalaGlobal$$anonfun$getGlobal$1.apply(ScalaGlobal.java:503)
   at scala.Option.getOrElse(Option.java:109)
   at org.netbeans.modules.scala.core.ScalaGlobal$.getGlobal(ScalaGlobal.java:503)
Comment 1 mfriedenhagen 2012-06-06 19:13:50 UTC
Created attachment 120447 [details]
stacktrace