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 238164

Summary: NullPointerException at org.netbeans.modules.scala.sbt.console.SBTConsoleTopComponent$$anon$4$$anonfun$2.apply
Product: contrib Reporter: hkropp
Component: ScalaAssignee: _ dcaoyuan <dcaoyuan>
Status: NEW ---    
Severity: normal CC: colorblind, jsacha
Priority: P3    
Version: 7.4   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 205013
Attachments: stacktrace
stacktrace

Description hkropp 2013-11-08 14:06:28 UTC
Build: NetBeans IDE 7.4 (Build 201310111528)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.25-b01, Java(TM) SE Runtime Environment, 1.7.0_25-b15
OS: Linux

User Comments:
GUEST: Opening a Scala project

hkropp: Opening existing SBT Project




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.scala.sbt.console.SBTConsoleTopComponent$$anon$4$$anonfun$2.apply(SBTConsoleTopComponent.java:334)
   at org.netbeans.modules.scala.sbt.console.SBTConsoleTopComponent$$anon$4$$anonfun$2.apply(SBTConsoleTopComponent.java:334)
   at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.java:244)
   at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.java:244)
   at scala.collection.immutable.List.foreach(List.java:318)
   at scala.collection.TraversableLike$class.map(TraversableLike.java:244)
Comment 1 hkropp 2013-11-08 14:06:30 UTC
Created attachment 141994 [details]
stacktrace
Comment 2 Exceptions Reporter 2013-12-06 13:09:36 UTC
This bug already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=205013
Comment 3 Exceptions Reporter 2013-12-08 11:57:39 UTC
Created attachment 142943 [details]
stacktrace

reopening a netbeans sbt project structure that was recreated with the plugin nbsbt.  Seems that if you have created a netbeans project once with nbsbt plugin. You are not able to update it if you for example add another dependency