IG Exception
java.lang.NullPointerException
at com.intellij.psi.impl.source.f.e.b(e.java:84)
at com.intellij.psi.impl.source.f.e.a(e.java:200)
at com.intellij.psi.impl.source.g.r.b(r.java:120)
at com.intellij.psi.impl.source.g.bu.delete(bu.java:46)
at
com.siyeh.ig.verbose.UnnecessaryInterfaceModifierInspection$UnnecessaryInterfaceModifersFix.applyFix(UnnecessaryInterfaceModifierInspection.java:118)
at com.intellij.codeInspection.q.n.invoke(n.java:10)
at com.intellij.codeInsight.intention.b.u$8.run(u$8.java:5)
at com.intellij.openapi.application.a.b.runWriteAction(b.java:326)
at com.intellij.codeInsight.intention.b.u$11.run(u$11.java)
at com.intellij.openapi.command.impl.a.executeCommand(a.java:43)
at com.intellij.codeInsight.intention.b.u$0.run(u$0.java:0)
at
com.intellij.openapi.application.LaterInvocator$FlushQueue.run(LaterInvocator.java:13)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:454)
at com.intellij.ide.q.b(q.java:26)
at com.intellij.ide.q.a(q.java:41)
at com.intellij.ide.q.dispatchEvent(q.java:61)
at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
请先登录再写评论。
Another exception (renaming a misnamed variable):
Error message: Error during dispatching of
java.awt.event.KeyEvent[KEY_PRESSED,keyCode=10,keyText=Enter,keyChar=Enter,keyLocation=KEY_LOCATION_STANDARD]
on
com.intellij.openapi.editor.c.ba[,0,0,524x17,alignmentX=null,alignmentY=null,border=,flags=8,maximumSize=,minimumSize=,preferredSize=]
java.lang.NullPointerException
at com.intellij.psi.impl.source.c.c.variableNameToPropertyName(c.java:516)
at
com.intellij.refactoring.rename.RenameProcessor.prepareFieldRenaming(RenameProcessor.java:49)
at
com.intellij.refactoring.rename.RenameProcessor.prepareRenaming(RenameProcessor.java:54)
at com.siyeh.ig.RenameFix.run(RenameFix.java:38)
at
com.intellij.refactoring.rename.RenameDialog.doOKAction(RenameDialog.java:27)
at
com.intellij.openapi.ui.DialogWrapper$OkAction.actionPerformed(DialogWrapper.java:1)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1786)
at
javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1839)
at
javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
at javax.swing.AbstractButton.doClick(AbstractButton.java:289)
at
javax.swing.plaf.basic.BasicRootPaneUI$DefaultAction.actionPerformed(BasicRootPaneUI.java:155)
at
javax.swing.plaf.basic.BasicComboBoxUI$EnterAction.actionPerformed(BasicComboBoxUI.java:1488)
at javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1530)
at javax.swing.JComponent.processKeyBinding(JComponent.java:2438)
at javax.swing.JComponent.processKeyBindings(JComponent.java:2484)
at javax.swing.JComponent.processKeyEvent(JComponent.java:2401)
at java.awt.Component.processEvent(Component.java:4909)
at java.awt.Container.processEvent(Container.java:1569)
at java.awt.Component.dispatchEventImpl(Component.java:3615)
at java.awt.Container.dispatchEventImpl(Container.java:1627)
at java.awt.Component.dispatchEvent(Component.java:3477)
at
java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1713)
at
java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:627)
at
java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:831)
at
java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:741)
at
java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:592)
at java.awt.Component.dispatchEventImpl(Component.java:3506)
at java.awt.Container.dispatchEventImpl(Container.java:1627)
at java.awt.Window.dispatchEventImpl(Window.java:1606)
at java.awt.Component.dispatchEvent(Component.java:3477)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
at com.intellij.ide.q.b(q.java:66)
at com.intellij.ide.q.a(q.java:134)
at com.intellij.ide.q.dispatchEvent(q.java:18)
at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)