ShellIpcClient 和 NonCelloThread 错误 java

ShellIpcClient and NonCelloThread errors java

我在 Java 项目中遇到了一个奇怪的“问题”。这是错误所在的方法:

@FXML
public void showJavaDoc() {
     final String JAVADOC_HOMEPAGE_PATH = "JavaDoc/index.html";
     File javaDocHomePage = new File(JAVADOC_HOMEPAGE_PATH);
     if (Desktop.isDesktopSupported()) {
         try {
             Desktop.getDesktop().browse(javaDocHomePage.toURI());
         } catch (IOException e) {
             e.printStackTrace();
             System.exit(1);
         }
     }
}

它向我显示了这些错误:

[8100:ShellIpcClient] shell_ipc_client.cc:116:Connect Can't connect to socket at: \.\Pipe\GoogleDriveFSPipe_giuse_shell 
[4716:NonCelloThread] thumbnail_util_win.cc:115:LoadBitmapFromPngResource Can't find PNG resource 0.** 
[8100:ShellIpcClient] shell_ipc_client.cc:116:Connect Can't connect to socket at: \.\Pipe\GoogleDriveFSPipe_giuse_shell 
[4716:NonCelloThread] ctxmenu.cc:210:GenerateContextMenu Context menu IPC request failed with status: Status::UNKNOWN_STATUS

奇怪的是,当我单击打开浏览器以显示正确显示的文档的按钮时,IntelliJ 终端中会显示此错误...并且程序仍然 运行 正确。

这些错误可能与什么有关?

这似乎是由 google 驱动器操作错误引起的。

也许您使用 Google Drive for desktop software 同步了文件夹,它拦截了文件系统请求。而且,也许该软件目前正在失败。

所以,可能本地存储仍然有效,但文件系统没有正确同步到 Google 驱动器,这就是它可能抱怨的原因。

我猜这是因为你的错误消息中的这段文字:

Can't connect to socket at: \.\Pipe\GoogleDriveFSPipe_giuse_shell