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.
1. HTML5 project with bower unckecked. 2. In JavaScript Files in the customizer, tried to install twitter-bootstrap 3. Installation fails, the following exception is printed to the console: INFO [org.netbeans.modules.javascript.cdnjs.LibraryCustomizer]: Installation of version 3.2.0 of library twitter-bootstrap failed! java.io.IOException: Requested name contains invalid characters: css/bootstrap-theme at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FolderObj.createDataImpl(FolderObj.java:333) at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FolderObj$1.call(FolderObj.java:315) at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FolderObj$1.call(FolderObj.java:313) at org.netbeans.modules.masterfs.filebasedfs.FileBasedFileSystem.runAsInconsistent(FileBasedFileSystem.java:122) at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FolderObj.createData(FolderObj.java:318) at org.openide.filesystems.FileUtil.copyFileImpl(FileUtil.java:578) at org.openide.filesystems.FileObject.copy(FileObject.java:153) at org.netbeans.modules.masterfs.filebasedfs.fileobjects.BaseFileObj.copy(BaseFileObj.java:263) at org.openide.filesystems.FileObject.move(FileObject.java:177) at org.netbeans.modules.masterfs.filebasedfs.fileobjects.BaseFileObj.move(BaseFileObj.java:310) at org.openide.filesystems.FileUtil.moveFile(FileUtil.java:678) at org.netbeans.modules.javascript.cdnjs.LibraryCustomizer$StoreListener.installLibrary(LibraryCustomizer.java:301) [catch] at org.netbeans.modules.javascript.cdnjs.LibraryCustomizer$StoreListener.updateLibraries(LibraryCustomizer.java:235) at org.netbeans.modules.javascript.cdnjs.LibraryCustomizer$StoreListener.run(LibraryCustomizer.java:142) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1423) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)
Reproducible. This problem occurs for libraries that don't have all the files in the main directory (i.e. have some file in a sub-directory).
Fixed - the downloaded files are placed into correct sub-directories. Modified file: https://hg.netbeans.org/web-main/rev/d3c695999a45
*** Bug 248127 has been marked as a duplicate of this bug. ***