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.
ClassPathProviderImpl tries to convert folders into archives causing the following exception: Caused: org.openide.filesystems.FSException: Error in file /home/vv159170/devarea/sputnik-trunk/modules/org.clang.staticanalyzer/src. at org.openide.filesystems.JarFileSystem.setJarFile(JarFileSystem.java:296) at org.openide.filesystems.JarFileSystem.<init>(JarFileSystem.java:186) at org.netbeans.core.startup.layers.ArchiveURLMapper.getFileSystem(ArchiveURLMapper.java:169) [catch] at org.netbeans.core.startup.layers.ArchiveURLMapper.getFileObjects(ArchiveURLMapper.java:141) at org.openide.filesystems.URLMapper.findFileObject(URLMapper.java:213) at org.openide.filesystems.FileUtil.getArchiveRoot(FileUtil.java:1842) at org.netbeans.modules.apisupport.project.queries.ClassPathProviderImpl.findClassPath(ClassPathProviderImpl.java:274) at org.netbeans.modules.csl.core.ProjectClassPathProvider.findClassPath(ProjectClassPathProvider.java:70) at org.netbeans.api.java.classpath.ClassPath.getClassPath(ClassPath.java:673) at org.netbeans.modules.parsing.impl.indexing.errors.Utilities.getSourceClassPathFor(Utilities.java:84) at org.netbeans.modules.parsing.impl.indexing.errors.TaskCache.computePersistentFile(TaskCache.java:458) at org.netbeans.modules.parsing.impl.indexing.errors.TaskCache.getErrors(TaskCache.java:143) at org.netbeans.modules.parsing.impl.indexing.errors.TaskCache.isInError(TaskCache.java:383) at org.netbeans.modules.parsing.ui.indexing.errors.ErrorAnnotator$1.run(ErrorAnnotator.java:311) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1443) at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:68) at org.openide.util.lookup.Lookups.executeWith(Lookups.java:303) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2058) ALL [null]: Error in file /home/vv159170/devarea/sputnik-trunk/modules/org.clang.staticanalyzer/src.
Fixed jet-main d4153d7bfe6b
Please Vladimir, can you verify the fix? I have no reproducable test case. Thanks
Integrated into 'main-silver', will be available in build *201508140002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/d4153d7bfe6b User: Tomas Zezula <tzezula@netbeans.org> Log: #254338:ClassPathProviderImpl tries to convert folders into archives
Thank you very much!