IDEA cannot open xml error
Opened this issue · 13 comments
IDEA 2023.3.2
java.lang.Throwable: Assertion failed: Already disposed
at com.intellij.openapi.diagnostic.Logger.assertTrue(Logger.java:469)
at com.intellij.util.Alarm.checkDisposed(Alarm.java:67)
at com.intellij.util.Alarm._addRequest(Alarm.java:212)
at com.intellij.util.Alarm.addRequest(Alarm.java:176)
at com.github.shlaikov.intellijbpmn2plugin.utils.LoadableJCEFHtmlPanel$2.onLoadStart(LoadableJCEFHtmlPanel.kt:83)
at com.intellij.ui.jcef.JBCefClient$11.lambda$onLoadStart$1(JBCefClient.java:539)
at com.intellij.ui.jcef.JBCefClient$HandlerSupport.lambda$handle$1(JBCefClient.java:744)
at java.base/java.lang.Iterable.forEach(Iterable.java:75)
at java.base/java.util.Collections$SynchronizedCollection.forEach(Collections.java:2131)
at com.intellij.ui.jcef.JBCefClient$HandlerSupport.handle(JBCefClient.java:744)
at com.intellij.ui.jcef.JBCefClient$11.onLoadStart(JBCefClient.java:538)
at jcef/org.cef.CefClient.onLoadStart(CefClient.java:730)
Hello @Swiftlyfisher! Sorry for the long answer.
At first glance, this function faults when throws error by timeout. How heavy is the .bpmn
file?
@Swiftlyfisher I need more input. Can't reproduce.
I have the same problem
IntelliJ IDEA 2023.2.6 (Community Edition)
java.lang.Throwable: Assertion failed: Already disposed at com.intellij.openapi.diagnostic.Logger.assertTrue(Logger.java:465) at com.intellij.util.Alarm.checkDisposed(Alarm.java:69) at com.intellij.util.Alarm._addRequest(Alarm.java:214) at com.intellij.util.Alarm.addRequest(Alarm.java:178) at com.github.shlaikov.intellijbpmn2plugin.utils.LoadableJCEFHtmlPanel$2.onLoadStart(LoadableJCEFHtmlPanel.kt:83) at com.intellij.ui.jcef.JBCefClient$11.lambda$onLoadStart$1(JBCefClient.java:543) at com.intellij.ui.jcef.JBCefClient$HandlerSupport.lambda$handle$1(JBCefClient.java:730) at java.base/java.lang.Iterable.forEach(Iterable.java:75) at java.base/java.util.Collections$SynchronizedCollection.forEach(Collections.java:2131) at com.intellij.ui.jcef.JBCefClient$HandlerSupport.handle(JBCefClient.java:730) at com.intellij.ui.jcef.JBCefClient$11.onLoadStart(JBCefClient.java:542) at jcef/org.cef.CefClient.onLoadStart(CefClient.java:730)
The .bpmn file is not more than 30 Kb
Hello @Ugolnikof! I tried to reproduce it on the same version, but nothing. What OS are you using?
Hello @shlaikov!
Windows 10 Pro, version 21H2.
Could there be a problem with the sdk version?
I have problem too and i can give you my .bpmn
https://github.com/Progress-House/ofitoo-doc/blob/official/business-analysis/bpmn-2.0/create-user-account-by-email.bpmn
when i deleted few elements it started working.
I think the file can't be loaded into a string, which seems strange to me because I didn't know that a string had any character limits.
@McBlankenburg Thanks for the file provided. I realized that the reason was to convert CharSequence to String, everything will work in the next release!
@Ugolnikof @Swiftlyfisher After checking the patch, please put a yellow star
@shlaikov it saves my busy ass. I had to convert it to .svg so I had 2x more files in directory. Thanks you very much :)
@Ugolnikof JetBrains is reviewing this update. They say it will be approved within two business days of uploading.
Plugin was sent for moderation on June 9th.