Run and debug buttons grayed after upgrade to 6.0.4
I just upgraded from 6.0.2 to 6.0.4 on Windows XP. Now when I bring up my project the run and debug buttons are grayed out on the menu and neither ShiftF9 or ShiftF10 do anything. If builds fine. This didn't happen on Linux. Any ideas? Should I downgrade back t0 6.0.2? (By the way, can I downgrade? Is 6.0.2 still available?)
请先登录再写评论。
Hello Rich,
Are there any run configurations defined in your project?
Yes, it's still available for download.
--
Dmitry Jemerov
Software Developer
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"
Interesting. Yes, there is a run configuration. I brought it up to look at it, and then clicked on the OK button. Now my run and debug buttons have reappeared. It is like magic. Thanks much.
Now if I could just get my prior question answered about why on the "Build Jars" screen the section where it says "Include in jar file" is empty. I have to build all my jars in Linux. But, this question has already been posted. Just no answers.
Thanks again.
Hello Rich,
Do you have any exceptions in idea.log file?
Thanks.
-
Anna Kozlova
JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"
To tell you the truth, I can't find an idea.log file. I did a search on *.log and found nothing. Is it in some obscure place?
Rich Downing wrote:
It's in %HOME%\.IntelliJIDEA6.0\logs, where %HOME% is your user home
directory.
Actually, I don't have a "logs" folder. Do I have to enable logging first in the application?
Rich Downing wrote:
Sorry, it's not ".IntelliJIDEA60\logs" but ".IntelliJIDEA60\system\log"
You do not have to turn logging on manually, it automatically logging
any critical stuff.
Max
When I click on Build/Build jars I get the following dump in the logs:
2007-01-26 10:50:46,919 ERROR - com.intellij.ide.IdeEventQueue - Error during dispatching of java.awt.event.InvocationEvent[INVOCATION_DEFAULT,runnable=com.intellij.jar.BuildJarDialog$7@50bf08,notifier=null,catchExceptions=false,when=1169826646856] on sun.awt.windows.WToolkit@1e3e4c5
java.lang.NullPointerException
at com.intellij.openapi.roots.ui.configuration.projectRoot.ProjectRootConfigurable.a(ProjectRootConfigurable.java:153)
at com.intellij.openapi.roots.ui.configuration.projectRoot.ProjectRootConfigurable.getLibrary(ProjectRootConfigurable.java:442)
at com.intellij.openapi.roots.impl.LibraryOrderEntryImpl.getLibrary(LibraryOrderEntryImpl.java:14)
at com.intellij.javaee.make.impl.MakeUtilImpl.createElementByOrderEntry(MakeUtilImpl.java:79)
at com.intellij.openapi.roots.ui.configuration.PackagingModuleElementsEditor.a(PackagingModuleElementsEditor.java:68)
at com.intellij.openapi.roots.ui.configuration.PackagingModuleElementsEditor.createElementsFromOrderEntries(PackagingModuleElementsEditor.java:94)
at com.intellij.jar.PackagingSettingsEditor.getAllPossibleElements(PackagingSettingsEditor.java:46)
at com.intellij.openapi.roots.ui.configuration.PackagingModuleElementsEditor.createComponentImpl(PackagingModuleElementsEditor.java:29)
at com.intellij.openapi.roots.ui.configuration.ModuleElementsEditor.createComponent(ModuleElementsEditor.java:3)
at com.intellij.openapi.roots.ui.configuration.ModuleElementsEditor.getComponent(ModuleElementsEditor.java:15)
at com.intellij.jar.BuildJarDialog$SettingsEditor.a(BuildJarDialog.java:30)
at com.intellij.jar.BuildJarDialog$SettingsEditor.access$500(BuildJarDialog.java:27)
at com.intellij.jar.BuildJarDialog$2.valueChanged(BuildJarDialog.java:1)
at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:187)
at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:167)
at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:214)
at javax.swing.DefaultListSelectionModel.changeSelection(DefaultListSelectionModel.java:408)
at javax.swing.DefaultListSelectionModel.changeSelection(DefaultListSelectionModel.java:417)
at javax.swing.DefaultListSelectionModel.addSelectionInterval(DefaultListSelectionModel.java:475)
at com.intellij.ui.TableUtil.selectRows(TableUtil.java:42)
at com.intellij.ide.util.ElementsChooser.selectElements(ElementsChooser.java:38)
at com.intellij.jar.BuildJarDialog$7.run(BuildJarDialog.java:2)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:8)
at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:72)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:73)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:153)
at java.awt.Dialog$1.run(Dialog.java:525)
at java.awt.Dialog$2.run(Dialog.java:553)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Dialog.show(Dialog.java:551)
at com.intellij.openapi.ui.impl.DialogWrapperPeerImpl$MyDialog.show(DialogWrapperPeerImpl.java:12)
at com.intellij.openapi.ui.impl.DialogWrapperPeerImpl.show(DialogWrapperPeerImpl.java:12)
at com.intellij.openapi.ui.DialogWrapper.show(DialogWrapper.java:748)
at com.intellij.jar.BuildJarAction.actionPerformed(BuildJarAction.java:7)
at com.intellij.openapi.actionSystem.impl.ActionMenuItem$ActionTransmitter.actionPerformed(ActionMenuItem.java:14)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
at com.intellij.openapi.actionSystem.impl.ActionMenuItem.fireActionPerformed(ActionMenuItem.java:8)
at com.intellij.ui.plaf.beg.BegMenuItemUI.a(BegMenuItemUI.java:98)
at com.intellij.ui.plaf.beg.BegMenuItemUI.access$300(BegMenuItemUI.java:200)
at com.intellij.ui.plaf.beg.BegMenuItemUI$MyMouseInputHandler.mouseReleased(BegMenuItemUI.java:2)
at java.awt.Component.processMouseEvent(Component.java:5501)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3135)
at java.awt.Component.processEvent(Component.java:5266)
at java.awt.Container.processEvent(Container.java:1966)
at java.awt.Component.dispatchEventImpl(Component.java:3968)
at java.awt.Container.dispatchEventImpl(Container.java:2024)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
at java.awt.Container.dispatchEventImpl(Container.java:2010)
at java.awt.Window.dispatchEventImpl(Window.java:1778)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:8)
at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:42)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:73)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
Hello Rich,
It will be fixed in 6.0.5
Sorry for inconvenience
-
Anna Kozlova
JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"
Ok, thanks. I thought it was something dumb I had done. I can just create my jars from within Linux until 6.0.5.
Hello Rich,
There is a workaround to open Settings|ProjectStructure.
Sorry for inconvenience
-
Anna Kozlova
JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"