[Ann] MetricsReloaded for IntelliJ IDEA 10 Follow
The long awaited new version for IntelliJ IDEA 9 and 10. More than 250 automated code metrics for IntelliJ IDEA. Follow further development of this plugin and report bugs on GitHub https://github.com/BasLeijdekkers/MetricsReloaded
Please let me know if there are any issues.
Bas
Please sign in to leave a comment.
Forgot the plugin page:
http://plugins.intellij.net/plugin/?idea&id=93
Can't open configuration dialog in the latest IDEA 10.0.2.
Error during dispatching of java.awt.event.MouseEvent[MOUSE_RELEASED,(397,212),absolute(2108,574),button=1,modifiers=Button1,clickCount=1] on dialog3: javax.swing.tree.DefaultMutableTreeNode cannot be cast to com.sixrr.metrics.ui.metricdisplay.MetricsConfigurationPanel$MetricTreeNode
java.lang.ClassCastException: javax.swing.tree.DefaultMutableTreeNode cannot be cast to com.sixrr.metrics.ui.metricdisplay.MetricsConfigurationPanel$MetricTreeNode
at com.sixrr.metrics.ui.metricdisplay.MetricsConfigurationPanel$MyTreeCellRenderer.getTreeCellRendererComponent(MetricsConfigurationPanel.java:728)
at javax.swing.plaf.basic.BasicTreeUI$NodeDimensionsHandler.getNodeDimensions(Unknown Source)
at javax.swing.tree.AbstractLayoutCache.getNodeDimensions(Unknown Source)
at javax.swing.tree.VariableHeightLayoutCache$TreeStateNode.updatePreferredSize(Unknown Source)
at javax.swing.tree.VariableHeightLayoutCache.updateNodeSizes(Unknown Source)
at javax.swing.tree.VariableHeightLayoutCache.invalidateSizes(Unknown Source)
at javax.swing.plaf.basic.BasicTreeUI.setCellRenderer(Unknown Source)
at javax.swing.plaf.basic.BasicTreeUI$Handler.propertyChange(Unknown Source)
at java.beans.PropertyChangeSupport.firePropertyChange(Unknown Source)
at java.beans.PropertyChangeSupport.firePropertyChange(Unknown Source)
at java.awt.Component.firePropertyChange(Unknown Source)
at javax.swing.JTree.setCellRenderer(Unknown Source)
at com.sixrr.metrics.ui.metricdisplay.MetricsConfigurationPanel.setupMetricsTree(MetricsConfigurationPanel.java:248)
at com.sixrr.metrics.ui.metricdisplay.MetricsConfigurationPanel.<init>(MetricsConfigurationPanel.java:97)
at com.sixrr.metrics.ui.dialogs.ProfileSelectionPanel$3.actionPerformed(ProfileSelectionPanel.java:103)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at com.intellij.ide.IdeEventQueue.e(IdeEventQueue.java:652)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:501)
at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:404)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:368)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.Dialog$1.run(Unknown Source)
at java.awt.Dialog$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Dialog.show(Unknown Source)
at com.intellij.openapi.ui.impl.DialogWrapperPeerImpl$MyDialog.show(DialogWrapperPeerImpl.java:675)
at com.intellij.openapi.ui.impl.DialogWrapperPeerImpl.show(DialogWrapperPeerImpl.java:412)
at com.intellij.openapi.ui.DialogWrapper.showAndGetOk(DialogWrapper.java:1175)
at com.intellij.openapi.ui.DialogWrapper.show(DialogWrapper.java:1160)
at com.intellij.analysis.BaseAnalysisAction.actionPerformed(BaseAnalysisAction.java:100)
at com.intellij.openapi.actionSystem.impl.ActionMenuItem$ActionTransmitter$1.run(ActionMenuItem.java:242)
at com.intellij.openapi.wm.impl.FocusManagerImpl.runOnOwnContext(FocusManagerImpl.java:645)
at com.intellij.openapi.wm.impl.IdeFocusManagerImpl.runOnOwnContext(IdeFocusManagerImpl.java:104)
at com.intellij.openapi.actionSystem.impl.ActionMenuItem$ActionTransmitter.actionPerformed(ActionMenuItem.java:228)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at com.intellij.openapi.actionSystem.impl.ActionMenuItem.fireActionPerformed(ActionMenuItem.java:92)
at com.intellij.ui.plaf.beg.BegMenuItemUI.a(BegMenuItemUI.java:512)
at com.intellij.ui.plaf.beg.BegMenuItemUI.access$300(BegMenuItemUI.java:44)
at com.intellij.ui.plaf.beg.BegMenuItemUI$MyMouseInputHandler.mouseReleased(BegMenuItemUI.java:532)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at com.intellij.ide.IdeEventQueue.e(IdeEventQueue.java:652)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:501)
at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:404)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:368)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
I cannot reproduce this problem. Perhaps some additional information will help:
Under what OS are you running? What is the version of the JDK that IntelliJ IDEA is running on? What look and feel are you using?
Thanks,
Bas
Windows XP
Java 1.6.0_12
Alloy Bedoin
Please tell me if you need any additional information.
Regards,
Sergei
Thank you. I have managed to reproduce this by using the Allow look and feel. A temporary workaround, until I release a fix, is to use the Windows look and feel.
Bas
Version 0.9.2, which fixes some problems with the Alloy look and feel, is available now. Please let me know if it works for you.
Best regards,
Bas
I does work fine now, the configuration screen is OK.
Thanks, Bas!
--
Sergei