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.
This issue was reported manually by alexvsimon. It already has 1 duplicates Build: NetBeans IDE 8.0 Beta (Build 201401141042) VM: Java HotSpot(TM) 64-Bit Server VM, 24.45-b08, Java(TM) SE Runtime Environment, 1.7.0_45-b18 OS: Mac OS X User Comments: GUEST: I hit compile & run. source code is on a remote server; compiler is on a different machine. Stacktrace: java.lang.AssertionError: Original file /Volumes/www/electricity/readpic/. normalized: /Volumes/www/electricity/readpic/. at org.openide.filesystems.FileUtil.normalizeFileCached(FileUtil.java:1581) at org.openide.filesystems.FileUtil.normalizeFile(FileUtil.java:1562) at org.netbeans.modules.cnd.utils.cache.CndFileUtils.normalizeAbsolutePath(CndFileUtils.java:336) at org.netbeans.modules.cnd.api.remote.RemoteFileUtil.normalizeAbsolutePath(RemoteFileUtil.java:194) at org.netbeans.modules.cnd.makeproject.api.DefaultProjectActionHandler._execute(DefaultProjectActionHandler.java:171) at org.netbeans.modules.cnd.makeproject.api.DefaultProjectActionHandler.access$100(DefaultProjectActionHandler.java:94)
Created attachment 145403 [details] stacktrace
Investigation: message log shows that another exception occurs with this directory right before this assertion. This exception is aboutthe same file assertion is. It's this exception (failure to canonicalize) which is the root cause of the assertion. However it isn't clear why did it happen. java.io.IOException: Invalid argument at java.io.UnixFileSystem.canonicalize0(Native Method) at java.io.UnixFileSystem.canonicalize(UnixFileSystem.java:172) at java.io.File.getCanonicalPath(File.java:618) at org.netbeans.modules.remote.support.LocalFileSystemProvider.getCanonicalPath(LocalFileSystemProvider.java:200) at org.netbeans.modules.remote.spi.FileSystemProvider.getCanonicalPath(FileSystemProvider.java:227) [catch] at org.netbeans.modules.cnd.makeproject.api.runprofiles.RunProfile.getRunDirectory(RunProfile.java:595) at org.netbeans.modules.cnd.makeproject.api.DefaultProjectActionHandler._execute(DefaultProjectActionHandler.java:171) at org.netbeans.modules.cnd.makeproject.api.DefaultProjectActionHandler.access$100(DefaultProjectActionHandler.java:94) at org.netbeans.modules.cnd.makeproject.api.DefaultProjectActionHandler$2.run(DefaultProjectActionHandler.java:137) at org.netbeans.modules.cnd.makeproject.api.DefaultProjectActionHandler.execute(DefaultProjectActionHandler.java:153) at org.netbeans.modules.cnd.remote.sync.RemoteBuildProjectActionHandler.execute(RemoteBuildProjectActionHandler.java:196) at org.netbeans.modules.cnd.makeproject.api.ProjectActionSupport$EventsProcessor.run(ProjectActionSupport.java:548) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1423) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)
fixed in cnd-main http://hg.netbeans.org/cnd-main/rev/06e7622e082d http://hg.netbeans.org/cnd-main/rev/4bee546d5d24
Integrated into 'main-silver', will be available in build *201402220001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/06e7622e082d User: Vladimir Kvashin <vkvashin@netbeans.org> Log: fixed #242101 - AssertionError: Original file /Volumes/www/electricity/readpic/. normalized: /Volumes/www/electricity/readpic/
Integrated into 'releases/release80', will be available in build *201404240045* or newer. Wait for official and publicly available build. Changeset: http://hg.netbeans.org/releases/rev/80af6e88e098 User: Vladimir Kvashin <vkvashin@netbeans.org> Log: fixed #242101 - AssertionError: Original file /Volumes/www/electricity/readpic/. normalized: /Volumes/www/electricity/readpic/ (transplanted from 06e7622e082ddc5b81184579e4ba0296b29666ca)