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 241783

Summary: NullPointerException at org.netbeans.modules.scala.core.ScalaGlobal$.getGlobal
Product: third-party Reporter: andreluizferreirapinto <andreluizferreirapinto>
Component: -- Other --Assignee: issues@third-party <issues>
Status: NEW ---    
Severity: normal CC: rogyeu
Priority: P3    
Version: 7.4   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 207538
Attachments: stacktrace
stacktrace

Description andreluizferreirapinto 2014-02-12 16:31:40 UTC
Build: NetBeans IDE 7.4 (Build 201310111528)
VM: Java HotSpot(TM) Client VM, 23.6-b04, Java(TM) SE Runtime Environment, 1.7.0_11-b21
OS: Windows XP

User Comments:
andreluizferreirapinto: I think this error occurred when trying to start netbeans with netbeans_default_options="... -J-Dscala.home=%SCALA_HOME%" in netbeans.conf, with %SCALA_HOME% properly set.




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.scala.core.ScalaGlobal$.getGlobal(ScalaGlobal.java:424)
   at org.netbeans.modules.scala.core.ScalaParserResult.<init>(ScalaParserResult.java:58)
   at org.netbeans.modules.scala.core.ScalaParserResult$.apply(ScalaParserResult.java:186)
   at org.netbeans.modules.scala.core.ScalaParser.parse(ScalaParser.java:109)
   at org.netbeans.modules.parsing.impl.TaskProcessor.callParse(TaskProcessor.java:605)
   at org.netbeans.modules.parsing.impl.SourceCache.getResult(SourceCache.java:236)
Comment 1 andreluizferreirapinto 2014-02-12 16:31:42 UTC
Created attachment 145102 [details]
stacktrace
Comment 2 Tomas Zezula 2014-02-12 17:02:05 UTC
Sacala issues.
Comment 3 rogyeu 2014-04-28 06:47:59 UTC
Created attachment 146975 [details]
stacktrace

import a eclipse project and see this error.