Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Render channel is already closed. #1861

Closed
qtdzz opened this issue Sep 21, 2018 · 3 comments
Closed

Render channel is already closed. #1861

qtdzz opened this issue Sep 21, 2018 · 3 comments
Assignees
Labels
Milestone

Comments

@qtdzz
Copy link
Contributor

qtdzz commented Sep 21, 2018

Steps to reproduce

No clear steps. Probably open and close a template quickly

Actual behavior

Render channel is already closed.
java.lang.IllegalStateException: Render channel is already closed.
    at com.teamdev.jxbrowser.chromium.internal.RenderChannelAccessor.a(SourceFile:82)
    at com.teamdev.jxbrowser.chromium.internal.RenderChannelAccessor.send(SourceFile:55)
    at com.teamdev.jxbrowser.chromium.Browser.executeJavaScript(SourceFile:2107)
    at com.teamdev.jxbrowser.chromium.Browser.executeJavaScript(SourceFile:2059)

Expected behavior

No exception

IDE, Designer and OS version

IDEA, Designer 3.1.2, any

@qtdzz
Copy link
Contributor Author

qtdzz commented Sep 26, 2018

We probably need to check if the channel is still available before executing the javascript from javaside

@ripla
Copy link
Contributor

ripla commented Dec 12, 2018

Also

Exception:java.lang.IllegalStateException: Render channel is already closed.
  at com.teamdev.jxbrowser.chromium.internal.RenderChannelAccessor.a(SourceFile:82)
  at com.teamdev.jxbrowser.chromium.internal.RenderChannelAccessor.send(SourceFile:55)
  at com.teamdev.jxbrowser.chromium.Browser$b.onClearCache(SourceFile:3750)
  at com.teamdev.jxbrowser.chromium.internal.ChannelCacheStorage.clearCache(SourceFile:60)
  at com.vaadin.designer2.browser.EmbeddedJxBrowser.clearCache(EmbeddedJxBrowser.java:213)
  at com.vaadin.designer2.browser.EmbeddedJxBrowser.dispose(EmbeddedJxBrowser.java:207)

@ripla ripla added the backlog label Dec 12, 2018
@ripla ripla self-assigned this Dec 12, 2018
@szolo szolo added this to the 4.1.0 milestone Dec 20, 2018
@szolo szolo closed this as completed Dec 20, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants