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.

No Flutter sdk configured (Webstorm)

See original GitHub issue

Please file this bug report at https://github.com/flutter/flutter-intellij/issues/new.


What happened

(please describe what you were doing when this exception occurred)

Version information

WebStorm 2020.1.3 • Flutter plugin io.flutter 49.0.3 • Dart plugin 201.9002

No Flutter sdk configured.

Exception

null

java.lang.AssertionError
	at io.flutter.module.settings.ProjectType.computeAndroidXAvailability(ProjectType.java:142)
	at io.flutter.module.settings.ProjectType.<init>(ProjectType.java:81)
	at io.flutter.module.settings.FlutterCreateAdditionalSettingsFields.<init>(FlutterCreateAdditionalSettingsFields.java:45)
	at io.flutter.module.settings.FlutterCreateAdditionalSettingsFields.<init>(FlutterCreateAdditionalSettingsFields.java:36)
	at io.flutter.module.FlutterSmallIDEGeneratorPeer.<init>(FlutterSmallIDEGeneratorPeer.java:45)
	at io.flutter.module.FlutterSmallIDEProjectGenerator.createPeer(FlutterSmallIDEProjectGenerator.java:107)
	at io.flutter.module.FlutterSmallIDEProjectGenerator.createPeer(FlutterSmallIDEProjectGenerator.java:36)
	at com.intellij.platform.DirectoryProjectGenerator$1.compute(DirectoryProjectGenerator.java:51)
	at com.intellij.platform.DirectoryProjectGenerator$1.compute(DirectoryProjectGenerator.java:47)
	at com.intellij.openapi.util.NotNullLazyValue.getValue(NotNullLazyValue.java:38)
	at com.intellij.ide.util.projectWizard.ProjectSettingsStepBase.getPeer(ProjectSettingsStepBase.java:144)
	at com.intellij.ide.util.projectWizard.ProjectSettingsStepBase.createAndFillContentPanel(ProjectSettingsStepBase.java:235)
	at com.intellij.ide.util.projectWizard.ProjectSettingsStepBase.createPanel(ProjectSettingsStepBase.java:92)
	at com.jetbrains.webstorm.WebStormNewProjectStep$WebStormSettingsStepBase.createPanel(WebStormNewProjectStep.java:66)
	at com.intellij.openapi.wm.impl.welcomeScreen.FlatWelcomeFrame.lambda$null$2(FlatWelcomeFrame.java:1007)
	at java.base/java.util.HashMap.computeIfAbsent(HashMap.java:1133)
	at com.intellij.openapi.wm.impl.welcomeScreen.FlatWelcomeFrame.lambda$createActionGroupPanel$3(FlatWelcomeFrame.java:1007)
	at java.desktop/javax.swing.JList.fireSelectionValueChanged(JList.java:1804)
	at java.desktop/javax.swing.JList$ListSelectionHandler.valueChanged(JList.java:1818)
	at java.desktop/javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:219)
	at java.desktop/javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:186)
	at java.desktop/javax.swing.DefaultListSelectionModel.setValueIsAdjusting(DefaultListSelectionModel.java:723)
	at java.desktop/javax.swing.JList.setValueIsAdjusting(JList.java:2152)
	at java.desktop/javax.swing.plaf.basic.BasicListUI$Handler.mouseReleased(BasicListUI.java:2958)
	at java.desktop/java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:298)
	at java.desktop/java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:297)
	at java.desktop/java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:297)
	at java.desktop/java.awt.Component.processMouseEvent(Component.java:6650)
	at java.desktop/javax.swing.JComponent.processMouseEvent(JComponent.java:3345)
	at java.desktop/java.awt.Component.processEvent(Component.java:6415)
	at java.desktop/java.awt.Container.processEvent(Container.java:2263)
	at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5025)
	at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2321)
	at java.desktop/java.awt.Component.dispatchEvent(Component.java:4857)
	at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4918)
	at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Container.java:4547)
	at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Container.java:4488)
	at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2307)
	at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2773)
	at java.desktop/java.awt.Component.dispatchEvent(Component.java:4857)
	at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:778)
	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.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:95)
	at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:751)
	at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:749)
	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:748)
	at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:974)
	at com.intellij.ide.IdeEventQueue.dispatchMouseEvent(IdeEventQueue.java:912)
	at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:844)
	at com.intellij.ide.IdeEventQueue.lambda$null$8(IdeEventQueue.java:449)
	at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:741)
	at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$9(IdeEventQueue.java:448)
	at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:831)
	at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:502)
	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)

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
stevemessickcommented, Sep 21, 2020

WebStorm is not supported. Not sure why it allowed the plugin to be installed, but this combo won’t work.

0reactions
stevemessickcommented, Sep 30, 2020

@beansoft God idea, thanks! Unfortunately, testing requires downloading another huge IDE, and I have very limited bandwidth.

Opened #4928 to track.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Dart SDK is not configured - Stack Overflow
31 Answers 31 · Go to File/Settings or Ctrl+Alt+S to bring up the settings window. · Go down to ' Language & Frameworks...
Read more >
Flutter SDK setup in IntelliJ IDEA on Windows 10 - YouTube
Hello Friends, In this tutorial, we will learn the following things:1) Flutter SDK setup on IntelliJ IDEA by Jet Brain (windows 10)2) AVD ......
Read more >
Flutter - IntelliJ IDEA & Android Studio Plugin | Marketplace
Flutter gives developers an easy and productive way to build and deploy cross-platform, high-performance mobile apps for both Android and iOS. Installing this ......
Read more >
Android Studio and IntelliJ - Flutter documentation
In the Dependencies tab, locate the Module SDK field, and select an Android SDK. If no SDK is listed, click New and specify...
Read more >
How to Install and Setup Flutter in IntelliJ IDEA?
For specifying the path of flutter SDK go to C Drive->src folder->Flutter folder > flutter folder you need to select the path of...
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