Rearranger-error with 3177

java.lang.NoSuchMethodError:
com.intellij.openapi.editor.Document.replaceString(IILjava/lang/String;)V
at
com.wrq.rearranger.rearrangement.Emitter.emitRearrangedDocument(Emitter.java:51)
at
com.wrq.rearranger.RearrangerActionHandler.rearrangeDocument(RearrangerActionHandler.java:180)
at
com.wrq.rearranger.RearrangerActionHandler$rearrangerTask.run(RearrangerActionHandler.java:218)
at com.intellij.openapi.command.a.a.executeCommand(a.java:39)
at com.intellij.openapi.command.a.a.executeCommand(a.java:68)
at
com.wrq.rearranger.RearrangerActionHandler.runWriteActionRearrangement(RearrangerActionHandler.java:136)
at
com.wrq.rearranger.RearrangerActionHandler$1.run(RearrangerActionHandler.java:96)
at
com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(ApplicationImpl.java:417)
at
com.wrq.rearranger.RearrangerActionHandler.execute(RearrangerActionHandler.java:89)
at
com.intellij.openapi.editor.actionSystem.EditorAction$1.run(EditorAction.java:40)
at com.intellij.openapi.command.a.a.executeCommand(a.java:100)
at com.intellij.openapi.command.a.a.executeCommand(a.java:68)
at
com.intellij.openapi.editor.actionSystem.EditorAction.actionPerformed(EditorAction.java:46)
at
com.intellij.openapi.editor.actionSystem.EditorAction.actionPerformed(EditorAction.java:31)
at com.intellij.openapi.keymap.a.e.a(e.java:74)
at com.intellij.openapi.keymap.a.e.b(e.java:103)
at com.intellij.openapi.keymap.a.e.a(e.java:123)
at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:132)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:1)
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)

13 comments
Comment actions Permalink

Hi Dave,

I can't live without Rearranger any more. Could you please solve this bug?
Or, if you don't have the time, where can I get the source code to fix it
myself? Thanks in advance.

Tom

0
Comment actions Permalink

Isn't somebody else using Rearranger and experiencing the same problem?

Tom

0
Comment actions Permalink

Thomas Singer (MoTJ) wrote:

Isn't somebody else using Rearranger and experiencing the same problem?


Yep, me. If you want to try and fix it, the sources of the rearranger
plugin can be found here:
http://www.intellij.org/twiki/bin/view/Main/RearrangerPlugin
I would do it, but I don't have the time until after the weekend. Has
anybody seen Dave lately?

Bas

0
Comment actions Permalink

No, these are the old sources.

Tom

0
Comment actions Permalink

They are? They seem to have the same version number as the plugin
installed on my system. Too bad. Have you tried emailing Dave?

Bas

0
Comment actions Permalink

Hmm, I could swear, yesterday the Rearranger-plugin in my IDEA at home
showed up with version 4.5 (or so). Hence I thought, the sources are
outdated. Sorry for any confusion. Will try to fix it myself using the
provided sources.

Tom

0
Comment actions Permalink

My mind was not that bad, see attached screenshot (BTW, it's Servant
Salamander 2.5beta, a tool I cannot live without any more).

Tom



Attachment(s):
plugin-dir.png
0
Comment actions Permalink

I expect to have a fix shortly. -Dave

0
Comment actions Permalink

I've uploaded a new version of the Rearranger plugin, version 3.7, built for Irida (build 3185). (Get it with the plugin manager.)

Sorry for the delay,
-Dave

0
Comment actions Permalink

Fixed a minor bug, and gave the Irida version of the plugin a different version number (3.7.2) from the production version (3.7.1).

0
Comment actions Permalink

Thanks for the bug-fix. Was a hard-time without Rearranger.

Tom

0
Comment actions Permalink

Live Rearanger doesn't work if you turn off "show fields"

Dave Kriewall wrote:

I've uploaded a new version of the Rearranger plugin, version 3.7, built for Irida (build 3185). (Get it with the plugin manager.)

Sorry for the delay,
-Dave


--
"A man's ethical behavior should be based effectually on sympathy,
education, and social ties and needs; no religious basis is necessary.
Man would indeed be in a poor way if he had to be restrained by fear of
punishment and hope of reward after death."
[Albert Einstein, "Religion and Science", New York Times Magazine, 9
November 1930]

0
Comment actions Permalink

Brad,

I just uploaded version 3.8.x which should fix that problem.

-Dave

0

Please sign in to leave a comment.