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 194735, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related. Build: NetBeans IDE 8.0.2 (Build 201411181905) VM: Java HotSpot(TM) Client VM, 25.45-b02, Java(TM) SE Runtime Environment, 1.8.0_45-b14 OS: Linux User Comments: vanob: 1. Project properties 2. Libraries -> Add Library 3. Create 4. In the name I've typed Library 1, pressed OK 5. In the new windows, I've edited the name to Library 2, added jar file and pressed OK Stacktrace: java.io.IOException: Use FileUtil.createData() instead! at org.openide.filesystems.AbstractFileObject.createData(AbstractFileObject.java:446) at org.openide.filesystems.FileUtil.createData(FileUtil.java:799) at org.openide.filesystems.MultiFileObject.createData(MultiFileObject.java:1189) at org.openide.filesystems.FileUtil.createData(FileUtil.java:799) at org.openide.filesystems.MultiFileObject.createData(MultiFileObject.java:1189) at org.openide.filesystems.FileUtil.createData(FileUtil.java:799)
Created attachment 154569 [details] stacktrace
It seems to me that the file name must have contained backslash character by mistake. http://hg.netbeans.org/core-main/rev/0b108d445477 Added file name to error message. It could help us understand what is wrong the next time this problem occurs. Thank you for reporting.
Integrated into 'main-silver', will be available in build *201508010002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/0b108d445477 User: Jaroslav Havlin <jhavlin@netbeans.org> Log: #253411: Append file name to exception message