exception in Rearranger in class containing inner enum class

java.lang.ArrayIndexOutOfBoundsException: 19
at
com.wrq.rearranger.entry.ClassEntry.parseRemainingClassContents(ClassEntry.java:160)
at com.wrq.rearranger.entry.ClassEntry.parseClass(ClassEntry.java:110)
at
com.wrq.rearranger.entry.ClassEntry.parseRemainingClassContents(ClassEntry.java:186)
at com.wrq.rearranger.entry.ClassEntry.parseClass(ClassEntry.java:110)
at
com.wrq.rearranger.entry.ClassEntry.parseRemainingClassContents(ClassEntry.java:186)
at com.wrq.rearranger.entry.PsiFileEntry.parseFile(PsiFileEntry.java:80)
at com.wrq.rearranger.rearrangement.Parser.parseOuterLevel(Parser.java:49)
at
com.wrq.rearranger.RearrangerActionHandler.rearrangeDocument(RearrangerActionHandler.java:176)
at
com.wrq.rearranger.RearrangerActionHandler$rearrangerTask.run(RearrangerActionHandler.java:226)
at
com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:0)
at
com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:49)
at
com.wrq.rearranger.RearrangerActionHandler.runWriteActionRearrangement(RearrangerActionHandler.java:144)
at
com.wrq.rearranger.RearrangerActionHandler$1.run(RearrangerActionHandler.java:104)
at
com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(ApplicationImpl.java:195)
at
com.wrq.rearranger.RearrangerActionHandler.execute(RearrangerActionHandler.java:97)
at
com.intellij.openapi.editor.actionSystem.EditorAction$1.run(EditorAction.java:51)
at
com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:31)
at
com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:49)
at
com.intellij.openapi.editor.actionSystem.EditorAction.actionPerformed(EditorAction.java:57)
at
com.intellij.openapi.editor.actionSystem.EditorAction.actionPerformed(EditorAction.java:42)
at
com.intellij.openapi.actionSystem.impl.ActionMenuItem$ActionTransmitter.actionPerformed(ActionMenuItem.java:0)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
at
com.intellij.openapi.actionSystem.impl.ActionMenuItem.fireActionPerformed(ActionMenuItem.java:37)
at com.intellij.ui.plaf.beg.BegMenuItemUI.a(BegMenuItemUI.java:242)
at
com.intellij.ui.plaf.beg.BegMenuItemUI.access$300(BegMenuItemUI.java:164)
at
com.intellij.ui.plaf.beg.BegMenuItemUI$MyMouseInputHandler.mouseReleased(BegMenuItemUI.java:6)
at java.awt.Component.processMouseEvent(Component.java:5488)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)
at java.awt.Component.processEvent(Component.java:5253)
at java.awt.Container.processEvent(Container.java:1966)
at java.awt.Component.dispatchEventImpl(Component.java:3955)
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:1774)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at
com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:6)
at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:136)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:94)
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)

1 comment

Thanks, Bas, I'll take a look. -Dave

0

Please sign in to leave a comment.