Rearranger 3.4: NPE

java.lang.NullPointerException

at com.wrq.rearranger.entry.ClassEntry.parseField(ClassEntry.java:249)

at
com.wrq.rearranger.entry.ClassEntry.parseRemainingClassContents(ClassEntry.java:154)

at com.wrq.rearranger.entry.ClassEntry.parseClass(ClassEntry.java:108)

at
com.wrq.rearranger.entry.ClassEntry.parseRemainingClassContents(ClassEntry.java:183)

at com.wrq.rearranger.entry.PsiFileEntry.parseFile(PsiFileEntry.java:81)

at com.wrq.rearranger.rearrangement.Parser.parseOuterLevel(Parser.java:49)

at
com.wrq.rearranger.LiveRearrangerActionHandler.liveRearrangeDocument(LiveRearrangerActionHandler.java:206)

at
com.wrq.rearranger.LiveRearrangerActionHandler$1.run(LiveRearrangerActionHandler.java:139)

at com.intellij.openapi.application.b.d.runWriteAction(d.java:349)

at
com.wrq.rearranger.LiveRearrangerActionHandler.buildLiveRearrangerData(LiveRearrangerActionHandler.java:134)

at
com.wrq.rearranger.LiveRearrangerActionHandler.execute(LiveRearrangerActionHandler.java:90)

at
com.intellij.openapi.editor.actionSystem.EditorAction$1.run(EditorAction.java)

at com.intellij.openapi.command.impl.a.executeCommand(a.java:53)

at
com.intellij.openapi.editor.actionSystem.EditorAction.actionPerformed(EditorAction.java:7)

at
com.intellij.openapi.editor.actionSystem.EditorAction.actionPerformed(EditorAction.java:25)

at com.intellij.openapi.actionSystem.a.m$b_.actionPerformed(m$b_.java:1)

at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1786)

at com.intellij.openapi.actionSystem.a.m.fireActionPerformed(m.java:50)

at com.intellij.ui.a.a.h.doClick(h.java:94)

at com.intellij.ui.a.a.h.access$300(h.java:12)

at com.intellij.ui.a.a.h$a_.mouseReleased(h$a_.java:4)

at java.awt.Component.processMouseEvent(Component.java:5100)

at java.awt.Component.processEvent(Component.java:4897)

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.LightweightDispatcher.retargetMouseEvent(Container.java:3483)

at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3198)

at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128)

at java.awt.Container.dispatchEventImpl(Container.java:1613)

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.p.b(p.java:38)

at com.intellij.ide.p.a(p.java:92)

at com.intellij.ide.p.dispatchEvent(p.java:134)

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)

3 comments
Comment actions Permalink

Tom,

you wouldn't happen to be running on a Pallada build?

The released version of Rearranger plugin only works with IDEA 4.0.

I'm uploading a Pallada build 2008 version of the plugin to http://www.intellij.org/twiki/bin/view/Main/RearrangerPlugin.

-Dave

0
Comment actions Permalink

you wouldn't happen to be running on a Pallada build?

The released version of Rearranger plugin only works with IDEA 4.0.


Oh, this is bad :(

I'm uploading a Pallada build 2008 version of the plugin to http://www.intellij.org/twiki/bin/view/Main/RearrangerPlugin.


This is good :)

Looks like the Plugin Manager needs to get smarter to download the right
version.

Tom

0
Comment actions Permalink

I'm uploading a Pallada build 2008 version of the plugin to http://www.intellij.org/twiki/bin/view/Main/RearrangerPlugin.


Thanks, works fine :)

Tom

0

Please sign in to leave a comment.