Build #9540 Create Flex Project Wizard completely broken?

When I try to create a Flex project, I never get past the second screen of the wizard (Create Source Directory); no matter what I select (Create source directory/Do not create source directory) - when I click "Next", I get a stacktrace. I already cleared caches (OS-X 10.5.5), in 8.0.1 it does not work, either. Right now, I am totally screwed because I deleted the project files and cannot create a new Flex project at all. Anything I can fix manually?
Before I deleted the project files, I noticed that most options in Flex Compiler Settings are greyed out - that's actually why I deleted the old project and started creating a new one from scratch. Help!

Error during dispatching of java.awt.event.MouseEvent[MOUSE_RELEASED,(456,690),absolute(945,945),button=1,modifiers=Button1,clickCount=1] on dialog4
java.lang.NullPointerException
    at com.intellij.lang.javascript.flex.FlexModuleBuilder.findTemplatesDirectory(FlexModuleBuilder.java:128)
    at com.intellij.lang.javascript.flex.FlexModuleType$SuggestCreateTestAndDoBuildStep.updateStep(FlexModuleType.java:150)
    at com.intellij.ide.util.newProjectWizard.AddModuleWizard.updateStep(AddModuleWizard.java:95)
    at com.intellij.ide.wizard.AbstractWizard.doNextAction(AbstractWizard.java:258)
    at com.intellij.ide.util.newProjectWizard.AddModuleWizard.doNextAction(AddModuleWizard.java:124)
    at com.intellij.ide.wizard.AbstractWizard$5.actionPerformed(AbstractWizard.java:123)
    at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2028)
    at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2351)
    at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
    at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
    at java.awt.Component.processMouseEvent(Component.java:6126)
    at javax.swing.JComponent.processMouseEvent(JComponent.java:3265)
    at java.awt.Component.processEvent(Component.java:5891)
    at java.awt.Container.processEvent(Container.java:2102)
    at java.awt.Component.dispatchEventImpl(Component.java:4497)
    at java.awt.Container.dispatchEventImpl(Container.java:2160)
    at java.awt.Component.dispatchEvent(Component.java:4327)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4366)
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4030)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3960)
    at java.awt.Container.dispatchEventImpl(Container.java:2146)
    at java.awt.Window.dispatchEventImpl(Window.java:2440)
    at java.awt.Component.dispatchEvent(Component.java:4327)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
    at com.intellij.ide.IdeEventQueue.c(IdeEventQueue.java:35)
    at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:223)
    at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:217)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:300)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:210)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:204)
    at java.awt.Dialog$1.run(Dialog.java:1045)
    at java.awt.Dialog$3.run(Dialog.java:1097)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.awt.Dialog.show(Dialog.java:1095)
    at com.intellij.openapi.ui.impl.DialogWrapperPeerImpl$MyDialog.show(DialogWrapperPeerImpl.java:3)
    at com.intellij.openapi.ui.impl.DialogWrapperPeerImpl.show(DialogWrapperPeerImpl.java:148)
    at com.intellij.openapi.ui.DialogWrapper.show(DialogWrapper.java:849)
    at com.intellij.ide.impl.NewProjectUtil.createNewProject(NewProjectUtil.java:8)
    at com.intellij.ide.actions.NewProjectAction.actionPerformed(NewProjectAction.java:1)
    at com.intellij.openapi.wm.impl.welcomeScreen.WelcomeScreen$ActionGroupDescriptor$3.onPress(WelcomeScreen.java:6)
    at com.intellij.openapi.wm.impl.welcomeScreen.WelcomeScreen$ButtonWithExtension.onPress(WelcomeScreen.java:4)
    at com.intellij.openapi.wm.impl.welcomeScreen.WelcomeScreen$MyActionButton$1.mouseReleased(WelcomeScreen.java:6)
    at java.awt.Component.processMouseEvent(Component.java:6126)
    at javax.swing.JComponent.processMouseEvent(JComponent.java:3265)
    at java.awt.Component.processEvent(Component.java:5891)
    at java.awt.Container.processEvent(Container.java:2102)
    at java.awt.Component.dispatchEventImpl(Component.java:4497)
    at java.awt.Container.dispatchEventImpl(Container.java:2160)
    at java.awt.Component.dispatchEvent(Component.java:4327)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4366)
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4030)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3960)
    at java.awt.Container.dispatchEventImpl(Container.java:2146)
    at java.awt.Window.dispatchEventImpl(Window.java:2440)
    at java.awt.Component.dispatchEvent(Component.java:4327)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
    at com.intellij.ide.IdeEventQueue.c(IdeEventQueue.java:35)
    at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:223)
    at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:217)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:300)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:210)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:200)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:195)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:187)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)

2 comments
Comment actions Permalink

Please, remove invalid Flex SDKs

Peter Jacobsen wrote:

When I try to create a Flex project, I never get past the second screen of the wizard (Create Source Directory); no matter what I select (Create source directory/Do not create source directory) - when I click "Next", I get a stacktrace. I already cleared caches (OS-X 10.5.5), in 8.0.1 it does not wo
rk, either. Right now, I am totally screwed because I deleted the project files and cannot create a new Flex project at all. Anything I can fix manually?
Before I deleted the project files, I noticed that most options in Flex Compiler Settings are greyed out - that's actually why I deleted the old project and started creating a new one from scratch. Help!

Error during dispatching of java.awt.event.MouseEvent[MOUSE_RELEASED,(456,690),absolute(945,945),button=1,modifiers=Button1,clickCount=1] on dialog4
java.lang.NullPointerException
at com.intellij.lang.javascript.flex.FlexModuleBuilder.findTemplatesDirectory(FlexModuleBuilder.java:128)

at com.intellij.lang.javascript.flex.FlexModuleType$SuggestCreateTestAndDoBuildStep.updateStep(FlexModuleType.java:150)
at com.intellij.ide.util.newProjectWizard.AddModuleWizard.updateStep(AddModuleWizard.java:95)
at com.intellij.ide.wizard.AbstractWizard.doNextAction(AbstractWizard.java
:258)
at com.intellij.ide.util.newProjectWizard.AddModuleWizard.doNextAction(AddModuleWizard.java:124)
at com.intellij.ide.wizard.AbstractWizard$5.actionPerformed(AbstractWizard.java:123)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2028)
at javax.swi
ng.AbstractButton$Handler.actionPerformed(AbstractButton.java:2351)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleas
ed(BasicButtonListener.java:236)
at java.awt.Component.processMouseEvent(Component.java:6126)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3265)
at java.awt.Component.processEvent(Component.java:5891)
at java.awt.Container.processEvent(Container.java:2102)

at java.awt.Component.dispatchEventImpl(Component.java:4497)
at java.awt.Container.dispatchEventImpl(Container.java:2160)
at java.awt.Component.dispatchEvent(Component.java:4327)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4366)
at java.awt.Lightweig
htDispatcher.processMouseEvent(Container.java:4030)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3960)
at java.awt.Container.dispatchEventImpl(Container.java:2146)
at java.awt.Window.dispatchEventImpl(Window.java:2440)
at java.awt.Component.dispatchEvent(Com
ponent.java:4327)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at com.intellij.ide.IdeEventQueue.c(IdeEventQueue.java:35)
at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:223)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:217)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:300)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:210)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:204)
at java.awt.Dialog$1.run(Dialog.java
:1045)
at java.awt.Dialog$3.run(Dialog.java:1097)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Dialog.show(Dialog.java:1095)
at com.intellij.openapi.ui.impl.DialogWrapperPeerImpl$MyDialog.show(DialogWrapperPeerImpl.java:3)
at com.intellij.op
enapi.ui.impl.DialogWrapperPeerImpl.show(DialogWrapperPeerImpl.java:148)
at com.intellij.openapi.ui.DialogWrapper.show(DialogWrapper.java:849)
at com.intellij.ide.impl.NewProjectUtil.createNewProject(NewProjectUtil.java:8)
at com.intellij.ide.actions.NewProjectAction.actionPerforme
d(NewProjectAction.java:1)
at com.intellij.openapi.wm.impl.welcomeScreen.WelcomeScreen$ActionGroupDescriptor$3.onPress(WelcomeScreen.java:6)
at com.intellij.openapi.wm.impl.welcomeScreen.WelcomeScreen$ButtonWithExtension.onPress(WelcomeScreen.java:4)
at com.intellij.openapi.wm.impl
welcomeScreen.WelcomeScreen$MyActionButton$1.mouseReleased(WelcomeScreen.java:6)
at java.awt.Component.processMouseEvent(Component.java:6126)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3265)
at java.awt.Component.processEvent(Component.java:5891)
at java.awt
Container.processEvent(Container.java:2102)
at java.awt.Component.dispatchEventImpl(Component.java:4497)
at java.awt.Container.dispatchEventImpl(Container.java:2160)
at java.awt.Component.dispatchEvent(Component.java:4327)
at java.awt.LightweightDispatcher.retargetMouseEvent
(Container.java:4366)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4030)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3960)
at java.awt.Container.dispatchEventImpl(Container.java:2146)
at java.awt.Window.dispatchEventImpl(Window.java:24
40)
at java.awt.Component.dispatchEvent(Component.java:4327)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at com.intellij.ide.IdeEventQueue.c(IdeEventQueue.java:35)
at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:223)
at com.intellij.ide.IdeEventQueu
e.dispatchEvent(IdeEventQueue.java:217)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:300)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:210)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.
java:200)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:195)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:187)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)

---
Original message URL: http://www.jetbrains.net/devnet/message/5228290#5228290



--
Best regards,
Maxim Mossienko
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"

0
Comment actions Permalink

Thanks Maxim,
after removing an invalid Flex SDK I could re-create my Flex project. But I think the RSL implentation broke the DEBUG configuration, unless I miss something. None of the configured dependent libraries appear in the compile command anymore, and the additional compiler options are gone, too. I think that instead of messing with compiler-config.xml (I noticed a temporary config file somewhere), including "-static-link-runtime-shared-libraries=true" on the command line would do if the RSL configuration is checked.
Should I file a JIRA ticket?

Thanks,
Peter

0

Please sign in to leave a comment.