简体   繁体   English

使用浏览器视图打开IntelliJ的Scenebuilder时。 我无法运行/调试应用程序,因为BrowserContext已锁定

[英]When opening IntelliJ's Scenebuilder with a browserview in it. I can't run/debug the app because the BrowserContext is locked

I'm getting the 我正在

Chromium profile directory is already used/locked by another BrowserContext instance or process Chromium配置文件目录已被另一个BrowserContext实例或进程使用/锁定

error when I try to debug/run the app after opening the scene builder to edit the fxml in IntelliJ. 打开场景生成器以在IntelliJ中编辑fxml后尝试调试/运行应用程序时出现错误。

Only solution i have is to restart IntelliJ and don't touch the scene builder and the app can be debugged/run. 我唯一的解决方案是重新启动IntelliJ,并且不要触摸场景生成器,并且可以调试/运行该应用程序。

How to fix? 怎么修?

The The Chromium profile directory is already used/locked by another BrowserContext instance or process error message indicates that you've faced concurrent access to the Chromium data folder. The Chromium profile directory is already used/locked by another BrowserContext instance or process错误消息表明您已同时访问Chromium数据文件夹。 Please take a look at the following article which explains the root cause of this issue and possible ways to resolve it: https://jxbrowser.support.teamdev.com/support/solutions/articles/9000012878-creating-browser 请查看以下文章,该文章解释了此问题的根本原因以及解决此问题的可能方法: https : //jxbrowser.support.teamdev.com/support/solutions/articles/9000012878-creating-browser

EDIT____________________________________________ 编辑____________________________________________

The error means that 2 browsercore processes are trying to get access to the same user data folder at the same time. 该错误意味着2个browsercore进程正在尝试同时访问同一用户数据文件夹。 You can check it in the Task Manager. 您可以在任务管理器中检查它。 In order to get rid of this error, please make sure that there are no browsercore processes running when you launch the Scene Builder. 为了消除此错误,请确保在启动Scene Builder时没有正在运行的browsercore进程。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM