[rearrager] NPE

2004-04-07 15:51:05,055 ERROR -
mand.impl.CommandProcessorImpl - IntelliJ IDEA 4.0 Build #2002
2004-04-07 15:51:05,055 ERROR -
mand.impl.CommandProcessorImpl - JDK: 1.4.2_03
2004-04-07 15:51:05,055 ERROR -
mand.impl.CommandProcessorImpl - VM: Java HotSpot(TM) Client VM
2004-04-07 15:51:05,055 ERROR -
mand.impl.CommandProcessorImpl - Vendor: Sun Microsystems Inc.
2004-04-07 15:51:05,055 ERROR -
mand.impl.CommandProcessorImpl - OS: Windows XP
2004-04-07 15:51:05,055 ERROR -
mand.impl.CommandProcessorImpl - Last Action: Rearranger
2004-04-07 15:51:05,055 ERROR -
mand.impl.CommandProcessorImpl - Current Command: Rearranger
2004-04-07 15:51:05,055 ERROR -
mand.impl.CommandProcessorImpl -
java.lang.NullPointerException
at
com.wrq.rearranger.entry.ClassEntry.parseField(ClassEntry.java:227)
at
com.wrq.rearranger.entry.ClassEntry.parseRemainingClassContents(ClassEntry.java:138)
at
com.wrq.rearranger.entry.ClassEntry.parseClass(ClassEntry.java:93)
at
com.wrq.rearranger.entry.ClassEntry.parseRemainingClassContents(ClassEntry.java:167)
at
com.wrq.rearranger.entry.PsiFileEntry.parseFile(PsiFileEntry.java:81)
at
com.wrq.rearranger.rearrangement.Parser.parseOuterLevel(Parser.java:49)
at
com.wrq.rearranger.RearrangerActionHandler.rearrangeDocument(RearrangerActionHandler.java:168)
at
com.wrq.rearranger.RearrangerActionHandler$rearrangerTask.run(RearrangerActionHandler.java:218)
at
com.intellij.openapi.command.impl.a.executeCommand(a.java:73)
at
com.wrq.rearranger.RearrangerActionHandler.runWriteActionRearrangement(RearrangerActionHandler.java:136)
at
com.wrq.rearranger.RearrangerActionHandler$1.run(RearrangerActionHandler.java:96)
at
com.intellij.openapi.application.b.b.runWriteAction(b.java:212)
at
com.wrq.rearranger.RearrangerActionHandler.execute(RearrangerActionHandler.java:89)
at
com.intellij.openapi.editor.actionSystem.EditorAction$1.run(EditorAction.java:1)
at
com.intellij.openapi.command.impl.a.executeCommand(a.java:13)
at
com.intellij.openapi.editor.actionSystem.EditorAction.actionPerformed(EditorAction.java:14)
at
com.intellij.openapi.editor.actionSystem.EditorAction.actionPerformed(EditorAction.java:17)
at
com.intellij.openapi.actionSystem.b.n$b_.actionPerformed(n$b_.java:12)
at
javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1786)
at
com.intellij.openapi.actionSystem.b.n.fireActionPerformed(n.java:44)

2 comments
Comment actions Permalink

The version of Rearranger plugin on Plugin Manager is not compatible with build 2002 and above. You can get a version of the plugin built with Pallada at http://www.intellij.org/twiki/bin/view/Main/RearrangerPlugin (download rearranger2002.jar).

-Dave

0
Comment actions Permalink

Thanks. It works now.

BTW:
IntelliJ team!

May be Pallada should be versioned as "4.5pre", for example.
To separate Aurora and Pallada plugins in Plugin Repository
(by idea-version tag).

Dave Kriewall wrote:

The version of Rearranger plugin on Plugin Manager is not compatible with build 2002 and above. You can get a version of the plugin built with Pallada at http://www.intellij.org/twiki/bin/view/Main/RearrangerPlugin (download rearranger2002.jar).

-Dave

0

Please sign in to leave a comment.