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 152760 - NullPointerException at java.util.StringTokenizer.<init>
Summary: NullPointerException at java.util.StringTokenizer.<init>
Status: RESOLVED FIXED
Alias: None
Product: contrib
Classification: Unclassified
Component: Scala (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P1 blocker (vote)
Assignee: _ dcaoyuan
URL: http://statistics.netbeans.org/except...
Keywords:
: 157426 164259 167699 168261 169093 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-11-08 04:16 UTC by misterm
Modified: 2009-11-26 04:45 UTC (History)
11 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 137460


Attachments
stacktrace (879 bytes, text/plain)
2009-07-08 22:13 UTC, Exceptions Reporter
Details
stacktrace (879 bytes, text/plain)
2009-07-23 16:41 UTC, Exceptions Reporter
Details
stacktrace (10.20 KB, text/plain)
2009-11-20 02:53 UTC, Jan Horvath
Details
stacktrace (10.20 KB, text/plain)
2009-11-20 02:54 UTC, Jan Horvath
Details
stacktrace (4.54 KB, text/plain)
2009-11-20 03:01 UTC, Jan Horvath
Details
Proposed fix (2.33 KB, patch)
2009-11-20 05:00 UTC, Tomas Zezula
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description misterm 2008-11-08 04:16:04 UTC
Build: NetBeans IDE 6.5 RC1 (Build 200810171318)
VM: Java HotSpot(TM) Client VM, 10.0-b19, Java(TM) SE Runtime Environment, 1.6.0_04-b12
OS: Windows XP, 5.1, x86
User comments: 
STACKTRACE: (first 10 lines)
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.JSEPlatformImpl.getBootstrapLibraries(JSEPlatformImpl.java:21
6)
        at 
org.netbeans.modules.scala.platform.classpth.PlatformClassPathProvider.findClassPath(PlatformClassPathProvider.java:79)
        at org.netbeans.api.java.classpath.ClassPath.getClassPath(ClassPath.java:538)
        at org.netbeans.modules.java.source.tasklist.TaskCache.isInError(TaskCache.java:330)
        at org.netbeans.modules.java.source.tasklist.ErrorAnnotator$.run(ErrorAnnotator.java:313)
        at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:572)
        at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:997)
Comment 1 Exceptions Reporter 2009-07-08 22:13:36 UTC
Build: NetBeans IDE 6.7 (Build 200906241340)
VM: Java HotSpot(TM) Client VM, 1.5.0_19-137, Java(TM) 2 Runtime Environment, Standard Edition, 1.5.0_19-b02-304
OS: Mac OS X, 10.5.7, i386

User Comments: 


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.platform.classpth.PlatformClassPathProvider.findClassPath(PlatformClassPathProvider.java:80)
        at org.netbeans.api.java.classpath.ClassPath.getClassPath(ClassPath.java:550)
Comment 2 Exceptions Reporter 2009-07-08 22:13:40 UTC
Created attachment 84513 [details]
stacktrace
Comment 3 Exceptions Reporter 2009-07-08 22:13:47 UTC
This issue already has 6 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=137460
Comment 4 Exceptions Reporter 2009-07-23 16:41:17 UTC
Build: NetBeans IDE 6.7 (Build 200906241340)
VM: Java HotSpot(TM) Client VM, 14.0-b16, Java(TM) SE Runtime Environment, 1.6.0_14-b08
OS: Linux, 2.6.28-13-generic, i386

User Comments: 


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.platform.classpth.PlatformClassPathProvider.findClassPath(PlatformClassPathProvider.java:80)
        at org.netbeans.api.java.classpath.ClassPath.getClassPath(ClassPath.java:550)
Comment 5 Exceptions Reporter 2009-07-23 16:41:35 UTC
Created attachment 85141 [details]
stacktrace
Comment 6 Exceptions Reporter 2009-07-23 16:42:18 UTC
This issue already has 7 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=137460
Comment 7 Milos Kleint 2009-08-07 07:50:07 UTC
*** Issue 157426 has been marked as a duplicate of this issue. ***
Comment 8 Marian Mirilovic 2009-09-07 11:09:41 UTC
130 duplicates ... P1
Comment 9 Jan Horvath 2009-11-20 02:53:57 UTC
Created attachment 91402 [details]
stacktrace
Comment 10 Jan Horvath 2009-11-20 02:54:56 UTC
Created attachment 91403 [details]
stacktrace
Comment 11 Jan Horvath 2009-11-20 03:01:57 UTC
Created attachment 91404 [details]
stacktrace
Comment 12 Tomas Zezula 2009-11-20 04:58:54 UTC
This may happen for some broken jdks. In the j2seplatform I just log this and set platform cp to empty. I will attach the patch for scala stdplatform.
Comment 13 Tomas Zezula 2009-11-20 05:00:52 UTC
Created attachment 91416 [details]
Proposed fix
Comment 14 _ dcaoyuan 2009-11-26 03:49:00 UTC
Fixed contrib/rev/a5d5b7434fb9
Comment 15 _ dcaoyuan 2009-11-26 04:40:42 UTC
*** Bug 167699 has been marked as a duplicate of this bug. ***
Comment 16 _ dcaoyuan 2009-11-26 04:41:22 UTC
*** Bug 164259 has been marked as a duplicate of this bug. ***
Comment 17 _ dcaoyuan 2009-11-26 04:44:56 UTC
*** Bug 169093 has been marked as a duplicate of this bug. ***
Comment 18 _ dcaoyuan 2009-11-26 04:45:06 UTC
*** Bug 168261 has been marked as a duplicate of this bug. ***