question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

UnsupportedRenderingModeException from JxBrowser

See original GitHub issue

What happened

Debugging, staying relatively long time on breakpoints.

Version information

IntelliJ IDEA 2020.3.2 • Flutter plugin io.flutter 54.1.3 • Dart plugin 203.7759

Error getting Flutter sdk information.

Exception

null

java.lang.NoClassDefFoundError: com/teamdev/jxbrowser/browser/UnsupportedRenderingModeException
	at io.flutter.view.FlutterView.debugActiveHelper(FlutterView.java:675)
	at io.flutter.view.FlutterView.lambda$debugActive$5(FlutterView.java:447)
	at io.flutter.utils.AsyncUtils.lambda$whenCompleteUiThread$0(AsyncUtils.java:37)
	at com.intellij.openapi.application.TransactionGuardImpl.runWithWritingAllowed(TransactionGuardImpl.java:216)
	at com.intellij.openapi.application.TransactionGuardImpl.access$200(TransactionGuardImpl.java:24)
	at com.intellij.openapi.application.TransactionGuardImpl$2.run(TransactionGuardImpl.java:199)
	at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:822)
	at com.intellij.openapi.application.impl.ApplicationImpl.lambda$invokeLater$4(ApplicationImpl.java:324)
	at com.intellij.openapi.application.impl.FlushQueue.doRun(FlushQueue.java:85)
	at com.intellij.openapi.application.impl.FlushQueue.runNextEvent(FlushQueue.java:134)
	at com.intellij.openapi.application.impl.FlushQueue.flushNow(FlushQueue.java:47)
	at com.intellij.openapi.application.impl.FlushQueue$FlushNow.run(FlushQueue.java:190)
	at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:313)
	at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:776)
	at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:727)
	at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
	at java.base/java.security.AccessController.doPrivileged(Native Method)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
	at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:746)
	at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:976)
	at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:843)
	at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$8(IdeEventQueue.java:454)
	at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:773)
	at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$9(IdeEventQueue.java:453)
	at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:822)
	at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:501)
	at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
	at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: java.lang.ClassNotFoundException: com.teamdev.jxbrowser.browser.UnsupportedRenderingModeException PluginClassLoader[PluginDescriptor(name=Flutter, id=io.flutter, path=C:\Users\teril\AppData\Roaming\JetBrains\IntelliJIdea2020.3\plugins\flutter-intellij, version=54.1.3)] com.intellij.ide.plugins.cl.PluginClassLoader@5b9c5964
	at com.intellij.ide.plugins.cl.PluginClassLoader.loadClass(PluginClassLoader.java:129)
	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
	... 32 more

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
stevemessickcommented, Mar 17, 2021

You can eliminate the error by disabling the embedded DevTools option in Settings/Preferences. It is the bottom one in the Experimental section.

Screen Shot 2021-03-17 at 9 03 17 AM
0reactions
torlarsecommented, Mar 19, 2021

My pubspec.yaml:

description: A new Flutter project.

version: 1.0.0+1

environment:
  sdk: ">=2.9.0 <3.0.0"

dependencies:
  flutter:
    sdk: flutter

  provider: ^4.0.0
  google_maps_flutter: ^1.0.3
  http: ^0.12.1
  json_serializable: ^3.5.1 
  location: ^3.2.4
  google_maps_webservice: ^0.0.19
  uuid: ^2.2.2

  cupertino_icons: ^1.0.0

dev_dependencies:
  pedantic: ^1.9.0
  build_runner: ^1.10.0

flutter:
  uses-material-design: true
Read more comments on GitHub >

github_iconTop Results From Across the Web

UnsupportedRenderingModeExc...
Constructs a new UnsupportedRenderingModeException instance with the given current rendering mode. Method Detail. currentRenderingMode. public RenderingMode ...
Read more >
UnsupportedRenderingModeExc...
I just updated the Flutter plugin in Intellij to v55.1.5 and it seems like the problem is fixed? Anyone else?
Read more >
unable to include jxbrowser in my jsp page - Stack Overflow
i have created jxbrowser in java class. this is the code of jxbrowser ... Browser; import com.teamdev.jxbrowser.chromium.swing.
Read more >
Feature Request: Add `entities` field to `send_message` APIs ...
... UnsupportedRenderingModeException from JxBrowser - flutter-intellij Java · aspnetcore Blazor WASM Debugging in VS launches Edge with a separate user ...
Read more >
"Class com.teamdev.jxbrowser.chromium.BrowserContext ...
"Class com.teamdev.jxbrowser.chromium.BrowserContext" Error When Opening Device / Desktop Automation Editor. Last updated: Nov 30, 2021.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found