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 bug was originally marked as duplicate of bug 232711, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related. Build: NetBeans IDE Dev (Build cnd-trunk-build-3793-on-20170731) VM: OpenJDK 64-Bit Server VM, 25.141-b16, OpenJDK Runtime Environment, 1.8.0_141-b16 OS: Linux User Comments: soldatov: In case if '.clang-format' field is selected, but empty Stacktrace: java.io.FileNotFoundException: /home/sova/NetBeansProjects/Quote_1 at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FolderObj.getInputStream(FolderObj.java:627) at org.openide.filesystems.FileObject.asBytes(FileObject.java:712) at org.openide.filesystems.FileObject.asText(FileObject.java:739) at org.openide.filesystems.FileObject.asText(FileObject.java:751) at org.netbeans.modules.cnd.makeproject.ui.editor.CndDocumentCodeStyleProviderImpl$FileChangeListenerImpl.<init>(CndDocumentCodeStyleProviderImpl.java:129) at org.netbeans.modules.cnd.makeproject.ui.editor.CndDocumentCodeStyleProviderImpl.getCurrentCodeStyle(CndDocumentCodeStyleProviderImpl.java:105)
Created attachment 164895 [details] stacktrace
Scenario: - Create C/C++ project - Call Project Properties window - Select Formatting > Use clang-format > File .clang-format item - Do not specify text field - Press OK button - Format file ==> java.io.FileNotFoundException