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.
Build: NetBeans IDE 7.1.1 (Build 201203012225) VM: OpenJDK 64-Bit Server VM, 22.0-b10, OpenJDK Runtime Environment, 1.7.0_b147-icedtea-mockbuild_2012_02_24_21_56-b00 OS: Linux User Comments: reinouts: Trying to add a Scala 2.9 platform Stacktrace: java.lang.NullPointerException at org.netbeans.modules.scala.stdplatform.wizard.NewJ2SEPlatform.getSDKProperties(NewJ2SEPlatform.java:197) at org.netbeans.modules.scala.stdplatform.wizard.NewJ2SEPlatform.run(NewJ2SEPlatform.java:117) at org.netbeans.modules.scala.stdplatform.wizard.DetectPanel$WizardPanel$1.run(DetectPanel.java:427) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1411) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1991)
Created attachment 118689 [details] stacktrace
This bug already has 10 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=183168
Created attachment 131425 [details] stacktrace SlowTask exception prevented installing Scala platform
Created attachment 134158 [details] stacktrace starting netbeans after updating SCALA_HOME
This bug already has 20 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=183168
Created attachment 139853 [details] stacktrace Tried to specify scala platform using the latest scala development platform 2.10.2
Created attachment 143778 [details] stacktrace I have just upgraded the Scala plugin and tried to set the Scala platform. The IDE seems to show the platform directory ok in the explorer, but says it is invalid when I actually select it.
Created attachment 157464 [details] stacktrace Registering a scala platform.
Created attachment 158442 [details] stacktrace I went to Tools\ScalaPlatforms option. Then from the scala platforms dialog, clicked on "Add Platfrom" to install a scala platform. After Browsing to the location of the scala platform installation and selecting it, the dialog complained the selected path doesn't contain a valid scala platform. (though its a valid one) Afterwards the exception got thrown.