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 080804) VM: Java HotSpot(TM) Client VM, 11.0-b12, Java(TM) SE Runtime Environment, 1.6.0_10-beta-b25 OS: Windows Vista, 6.0, x86 User Comments: Opening Netbeans with Web Projects opened Stacktrace: java.lang.NullPointerException at org.openide.filesystems.FileUtil.normalizeFileOnWindows(FileUtil.java:1446) at org.openide.filesystems.FileUtil.normalizeFile(FileUtil.java:1344) at org.netbeans.spi.project.support.ant.PropertyUtils.resolveFile(PropertyUtils.java:509) at org.netbeans.spi.project.support.ant.AntProjectHelper.resolveFile(AntProjectHelper.java:1195) at org.netbeans.modules.java.freeform.Classpaths.createClasspathEntry(Classpaths.java:448) at org.netbeans.modules.java.freeform.Classpaths.createClasspath(Classpaths.java:442)
Created attachment 66423 [details] stacktrace
Build: NetBeans IDE Dev (Build 080804) VM: Java HotSpot(TM) Client VM, 11.0-b12, Java(TM) SE Runtime Environment, 1.6.0_10-beta-b25 OS: Windows Vista, 6.0, x86 User Comments: Opening Free-form web projects Stacktrace: java.lang.NullPointerException at org.openide.filesystems.FileUtil.normalizeFileOnWindows(FileUtil.java:1446) at org.openide.filesystems.FileUtil.normalizeFile(FileUtil.java:1344) at org.netbeans.spi.project.support.ant.PropertyUtils.resolveFile(PropertyUtils.java:509) at org.netbeans.spi.project.support.ant.AntProjectHelper.resolveFile(AntProjectHelper.java:1195) at org.netbeans.modules.java.freeform.Classpaths.createClasspathEntry(Classpaths.java:448) at org.netbeans.modules.java.freeform.Classpaths.createClasspath(Classpaths.java:442)
Created attachment 66436 [details] stacktrace
Build: NetBeans IDE Dev (Build 080804) VM: Java HotSpot(TM) Client VM, 11.0-b12, Java(TM) SE Runtime Environment, 1.6.0_10-beta-b25 OS: Windows Vista, 6.0, x86 User Comments: Can't open free-form web project... This is a little irritating Stacktrace: java.lang.NullPointerException at org.openide.filesystems.FileUtil.normalizeFileOnWindows(FileUtil.java:1446) at org.openide.filesystems.FileUtil.normalizeFile(FileUtil.java:1344) at org.netbeans.spi.project.support.ant.PropertyUtils.resolveFile(PropertyUtils.java:509) at org.netbeans.spi.project.support.ant.AntProjectHelper.resolveFile(AntProjectHelper.java:1195) at org.netbeans.modules.java.freeform.Classpaths.createClasspathEntry(Classpaths.java:448) at org.netbeans.modules.java.freeform.Classpaths.createClasspath(Classpaths.java:442)
Created attachment 66491 [details] stacktrace
Java part of freeform.
Probably the problem is in filesystems, reassigning, please evaluate.
Could you attach your messages.log from your userdir? There should be some warnings.
*** Issue 142866 has been marked as a duplicate of this issue. ***
I fixed NPE but I am still interested to see your messages.log to investigate root cause of the failure. http://hg.netbeans.org/core-main/rev/216ee31e665f
Integrated into 'main-golden', available in build *200808060201* on http://bits.netbeans.org/dev/nightly/ Changeset: http://hg.netbeans.org/main/rev/216ee31e665f User: Jiri Skrivanek <jskrivanek@netbeans.org> Log: #142725 - prevent NPE when getCanonicalFile fails.
Created attachment 67385 [details] The messages.log complaints with errors on xstream-1.3.jar which is actually present on the given path and hence there should be no error
This issue may very well be related to Issue 51616, but I'll let the person assigned the bug to decide
It is not related to issue 51616 - that one is about getCanonicalFile() failing because the argument is not a single file but multiple jar files separated by ";" which is not the case of this issue. Two strange things: this issue was fixed in 200808060201 and you are using 200808111757 but exception stack trace looks like you actually still do not have the fix in your build: compare exceptions - the lines numbers are the same. Could you please attach zipped nbproject folder of your project causing this problem? Looking at your IDE log: getCanonicalFile() on file D:\OpenMRS\openmrs\lib\xstream\xstream-1.3.jar failed: java.io.IOException: The filename, directory name, or volume label syntax is incorrect it looks like there is new line character and several " " characters at the of xstream-1.3.jar which could cause getCanonical to fail. Otherwise the text should be one line.
*** Issue 143402 has been marked as a duplicate of this issue. ***
*** Issue 144101 has been marked as a duplicate of this issue. ***
*** Issue 143760 has been marked as a duplicate of this issue. ***
*** Issue 144962 has been marked as a duplicate of this issue. ***
*** Issue 145092 has been marked as a duplicate of this issue. ***
*** Issue 145620 has been marked as a duplicate of this issue. ***
*** Issue 145840 has been marked as a duplicate of this issue. ***
*** Issue 145915 has been marked as a duplicate of this issue. ***
*** Issue 146223 has been marked as a duplicate of this issue. ***
*** Issue 147175 has been marked as a duplicate of this issue. ***
The issue still persists with latest build (Build 200808111757).. Can't open the freeform project. Haven't found any workaround either and there are lots of duplicate issues
It is fixed in daily builds. Please, download and install it from here: http://bits.netbeans.org/download/trunk/nightly/latest/
*** Issue 147796 has been marked as a duplicate of this issue. ***
*** Issue 154993 has been marked as a duplicate of this issue. ***