我在 Ubuntu 14.04 上使用 Netbeans 8.0.2。我收到如下消息:
为什么会发生这种情况?我该如何阻止它?
更新
感谢@WillShakleford 的回复。以下是我最后几行 IDE 日志。
java.lang.IllegalArgumentException: C:\wamp\www\llsynckers at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FolderObj.createFolderImpl(FolderObj.java:240) at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FolderObj$2.call(FolderObj.java:324) at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FolderObj$2.call(FolderObj.java:322) at org.netbeans.modules.masterfs.filebasedfs.FileBasedFileSystem.runAsInconsistent(FileBasedFileSystem.java:120) at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FolderObj.createFolder(FolderObj.java:327) at org.openide.filesystems.FileUtil.createFolder(FileUtil.java:723) at org.openide.filesystems.FileUtil.createFolder(FileUtil.java:480) at org.netbeans.modules.php.project.copysupport.LocalOperationFactory.doCopy(LocalOperationFactory.java:333) at org.netbeans.modules.php.project.copysupport.LocalOperationFactory.access$300(LocalOperationFactory.java:65) at org.netbeans.modules.php.project.copysupport.LocalOperationFactory$2.call(LocalOperationFactory.java:222) at org.netbeans.modules.php.project.copysupport.LocalOperationFactory$2.call(LocalOperationFactory.java:213) [catch] at org.netbeans.modules.php.project.copysupport.CopySupport$ProxyOperationFactory$ProxyHandler.callLocal(CopySupport.java:645) at org.netbeans.modules.php.project.copysupport.CopySupport$ProxyOperationFactory$ProxyHandler.call(CopySupport.java:619) at org.netbeans.modules.php.project.copysupport.CopySupport$ProxyOperationFactory$ProxyHandler.call(CopySupport.java:603) at org.netbeans.modules.php.project.copysupport.CopySupport$3.run(CopySupport.java:162) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1423) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)
答案1
它可能由于目录不存在、权限等多种原因而失败。通常,你应该能够通过查看“查看”->“IDE 日志”找到更具体的信息