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 247695 - NullPointerException at java.io.File.<init>
Summary: NullPointerException at java.io.File.<init>
Status: NEW
Alias: None
Product: third-party
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: issues@third-party
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-05 11:26 UTC by witoldsz
Modified: 2016-07-13 16:21 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 212469


Attachments
stacktrace (1.13 KB, text/plain)
2014-10-05 11:26 UTC, witoldsz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description witoldsz 2014-10-05 11:26:39 UTC
Build: NetBeans IDE 8.0.1 (Build 201408251540)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.5-b02, Java(TM) SE Runtime Environment, 1.8.0_05-b13
OS: Linux

User Comments:
witoldsz: Opened a scala file from favorites (it's not a scala project, just a file on disk).




Stacktrace: 
java.lang.NullPointerException
   at java.io.File.<init>(File.java:277)
   at org.netbeans.modules.scala.core.ScalaHome$.getGlobalForStdLib(ScalaHome.java:64)
   at org.netbeans.modules.scala.core.ScalaGlobal$.globalForStdLib(ScalaGlobal.java:359)
   at org.netbeans.modules.scala.core.ScalaGlobal$.getGlobal(ScalaGlobal.java:379)
   at org.netbeans.modules.scala.core.ScalaParserResult.<init>(ScalaParserResult.java:58)
   at org.netbeans.modules.scala.core.ScalaParserResult$.apply(ScalaParserResult.java:186)
Comment 1 witoldsz 2014-10-05 11:26:41 UTC
Created attachment 149712 [details]
stacktrace
Comment 2 Tomas Zezula 2014-10-05 12:26:39 UTC
Scala is an third party module.
Comment 3 witoldsz 2014-10-05 13:43:40 UTC
@Tomas Zezula
If that is so, maybe Netbeans exception reporter should publish the reports elsewhere? Like to some plugin vendor provided URL?
Comment 4 Exceptions Reporter 2016-07-13 16:21:54 UTC
This bug already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=212469