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 164259 - NullPointerException at java.util.StringTokenizer.<init>
Summary: NullPointerException at java.util.StringTokenizer.<init>
Status: RESOLVED DUPLICATE of bug 152760
Alias: None
Product: contrib
Classification: Unclassified
Component: Scala (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: _ dcaoyuan
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-01 04:21 UTC by klauern
Modified: 2009-11-26 04:41 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 133657


Attachments
stacktrace (10.10 KB, text/plain)
2009-05-01 04:21 UTC, klauern
Details
stacktrace (10.86 KB, text/plain)
2009-05-30 18:25 UTC, Exceptions Reporter
Details
stacktrace (10.86 KB, text/plain)
2009-08-19 11:56 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description klauern 2009-05-01 04:21:35 UTC
Build: NetBeans IDE Dev (Build 200904291401)
VM: Java HotSpot(TM) 64-Bit Server VM, 1.6.0_07-b06-57, Java(TM) SE Runtime Environment, 1.6.0_07-b06-153
OS: Mac OS X, 10.5.6, x86_64

User Comments:
klauern: tried adding external Scala library.

eengbrec: trying to add a new Scala Platform



Stacktrace: 
java.lang.NullPointerException
        at java.util.StringTokenizer.<init>(StringTokenizer.java:182)
        at java.util.StringTokenizer.<init>(StringTokenizer.java:204)
        at org.netbeans.modules.scala.stdplatform.platformdefinition.Util.createClassPath(Util.java:68)
        at org.netbeans.modules.scala.stdplatform.platformdefinition.J2SEPlatformImpl.getBootstrapLibraries(J2SEPlatformImpl.java:216)
        at org.netbeans.modules.scala.stdplatform.platformdefinition.PlatformConvertor.generatePlatformProperties(PlatformConvertor.java:320)
        at org.netbeans.modules.scala.stdplatform.platformdefinition.PlatformConvertor$2.run(PlatformConvertor.java:284)
Comment 1 klauern 2009-05-01 04:21:45 UTC
Created attachment 81368 [details]
stacktrace
Comment 2 Exceptions Reporter 2009-05-30 18:25:31 UTC
Build: NetBeans IDE Dev (Build 200904011705)
VM: Java HotSpot(TM) 64-Bit Server VM, 11.3-b02, Java(TM) SE Runtime Environment, 1.6.0_13-b03
OS: Linux, 2.6.29-gentoo-r5, amd64

User Comments: 
Trying to add a new Scala Platform.

Stacktrace: 
java.lang.NullPointerException
        at java.util.StringTokenizer.<init>(StringTokenizer.java:182)
        at java.util.StringTokenizer.<init>(StringTokenizer.java:204)
        at org.netbeans.modules.scala.stdplatform.platformdefinition.Util.createClassPath(Util.java:68)
        at org.netbeans.modules.scala.stdplatform.platformdefinition.J2SEPlatformImpl.getBootstrapLibraries(J2SEPlatformImpl.java:216)
        at org.netbeans.modules.scala.stdplatform.platformdefinition.PlatformConvertor.generatePlatformProperties(PlatformConvertor.java:320)
        at org.netbeans.modules.scala.stdplatform.platformdefinition.PlatformConvertor$2.run(PlatformConvertor.java:284)
Comment 3 Exceptions Reporter 2009-05-30 18:25:41 UTC
Created attachment 83015 [details]
stacktrace
Comment 4 Exceptions Reporter 2009-08-19 11:56:00 UTC
Build: NetBeans IDE 6.7.1 (Build 200907230233)
VM: Java HotSpot(TM) Client VM, 14.0-b16, Java(TM) SE Runtime Environment, 1.6.0_14-b08
OS: Windows XP, 5.1, x86

User Comments: 
I was trying to add a new Scala platform using scala 2.7.5.
When I select the mainfolder, then click next, set the name, click finish I get this error

Stacktrace: 
java.lang.NullPointerException
        at java.util.StringTokenizer.<init>(StringTokenizer.java:182)
        at java.util.StringTokenizer.<init>(StringTokenizer.java:204)
        at org.netbeans.modules.scala.stdplatform.platformdefinition.Util.createClassPath(Util.java:68)
        at org.netbeans.modules.scala.stdplatform.platformdefinition.J2SEPlatformImpl.getBootstrapLibraries(J2SEPlatformImpl.java:216)
        at org.netbeans.modules.scala.stdplatform.platformdefinition.PlatformConvertor.generatePlatformProperties(PlatformConvertor.java:320)
        at org.netbeans.modules.scala.stdplatform.platformdefinition.PlatformConvertor$2.run(PlatformConvertor.java:284)
Comment 5 Exceptions Reporter 2009-08-19 11:56:05 UTC
Created attachment 86445 [details]
stacktrace
Comment 6 Exceptions Reporter 2009-08-19 11:56:09 UTC
This issue already has 7 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=133657
Comment 7 _ dcaoyuan 2009-11-26 04:41:22 UTC

*** This bug has been marked as a duplicate of bug 152760 ***