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 Dev (Build 200905250001) VM: Java HotSpot(TM) 64-Bit Server VM, 11.3-b02, Java(TM) SE Runtime Environment, 1.6.0_13-b03 OS: Windows Vista, 6.0, amd64 User Comments: bcygan: opening project bcygan: opening project Stacktrace: java.lang.NullPointerException at org.openide.filesystems.FileUtil.toFile(FileUtil.java:828) at org.netbeans.modules.j2me.cdc.platform.CDCPlatform.resolveRelativePathToFileObject(CDCPlatform.java:522) at org.netbeans.modules.j2me.cdc.platform.CDCPlatform.resolveRelativePathToFileObjects(CDCPlatform.java:510) at org.netbeans.modules.j2me.cdc.platform.CDCPlatform.getAllLibraries(CDCPlatform.java:491) at org.netbeans.modules.j2me.cdc.platform.CDCPlatform.getBootstrapLibraries(CDCPlatform.java:304) at org.netbeans.modules.java.platform.queries.PlatformSourceForBinaryQuery.findSourceRoots2(PlatformSourceForBinaryQuery.java:92)
Created attachment 82739 [details] stacktrace
Build: NetBeans IDE Dev (Build 200905260001) VM: Java HotSpot(TM) Client VM, 10.0-b19, Java(TM) SE Runtime Environment, 1.6.0_05-b13 OS: Windows XP, 5.1, x86 User Comments: I'm not using j2me. Seems, either the j2se implementation uses sth. of j2me, or project type detection might be broken. However, I've got many FIleUtil related exceptions, and these exceptions in turn seem to be related to URI parsing, probably (again) because of spaces in file paths. Stacktrace: java.lang.NullPointerException at org.openide.filesystems.FileUtil.toFile(FileUtil.java:828) at org.netbeans.modules.j2me.cdc.platform.CDCPlatform.resolveRelativePathToFileObject(CDCPlatform.java:522) at org.netbeans.modules.j2me.cdc.platform.CDCPlatform.resolveRelativePathToFileObjects(CDCPlatform.java:510) at org.netbeans.modules.j2me.cdc.platform.CDCPlatform.getAllLibraries(CDCPlatform.java:491) at org.netbeans.modules.j2me.cdc.platform.CDCPlatform.getBootstrapLibraries(CDCPlatform.java:304) at org.netbeans.modules.java.platform.queries.PlatformSourceForBinaryQuery.findSourceRoots2(PlatformSourceForBinaryQuery.java:92)
Created attachment 82784 [details] stacktrace
With latest daily build, couldn't do anything, as every 1-2 seconds an exception occured, making working impossible. Thus setting priority to P2.
Reassigned to mobility/CDC. FileUtil.toFile is obviously passed a Null parameter...
Psuchomel, please evaluate ASAP. .... I checked exceptions and itlooks like all are from trunk .. and all on Win
I suspect this is in short connection with 165950 which has been fixed. Can user verify with latest build?
psuchomel, issue 165950 was fixed in trunk on May/27 and reports in this issue comes from builds before and after this fix ;(
I checked with 200905280201, the bug is still there.
It seems I'll be able to fix this one today - wrong assumption, give me a little time to find.
*** This issue has been marked as a duplicate of 165950 ***
Fix is verified with NetBeans IDE Dev (Build 200905290201)