#182 AbstractMethodError in Buffer.remove()

open
nobody
None
5
2003-10-11
2003-09-11
Rob Fletcher
No

I'm getting the following in my activity log since
upgrading to 4.2pre5. The action I was performing
completes (looks like this is something to do with
sending an Edit Bus message) so it's not a showstopper.

[message] Log: java.version=1.4.2
[message] Log: java.vm.version=1.4.2-b28
[message] Log: java.runtime.version=1.4.2-b28
[notice] jEdit: jEdit version 4.2pre5
[message] jEdit: Settings directory is C:\Documents and
Settings\Robert Fletcher\.jedit
[message] jEdit: jEdit home directory is C:\java\jEdit
4.2pre4
[notice] jEdit: Loading plugins from C:\java\jEdit 4.2pre4
\jars
[notice] jEdit: Loading plugins from C:\Documents and
Settings\Robert Fletcher\.jedit\jars
[message] jEdit: Loading mode catalog file C:\java\jEdit
4.2pre4\modes\catalog
[message] jEdit: Loading mode catalog file
C:\Documents and Settings\Robert
Fletcher\.jedit\modes\catalog
[message] jEdit: Startup complete
[error] Buffer: Exception while sending buffer event:
[error] Buffer: java.lang.AbstractMethodError
[error] Buffer: at
org.gjt.sp.jedit.Buffer.firePreContentRemoved(Unknown
Source)
[error] Buffer: at org.gjt.sp.jedit.Buffer.remove
(Unknown Source)
[error] Buffer: at
jtools.imports.ImportCommands.deleteImportStatement
(ImportCommands.java:366)
[error] Buffer: at
jtools.imports.ImportCommands.deleteImportStatement
(ImportCommands.java:324)
[error] Buffer: at
jtools.imports.ImportCommands.checkImports
(ImportCommands.java:231)
[error] Buffer: at
jtools.imports.ImportCommands.checkImportsThisBuffer
(ImportCommands.java:113)
[error] Buffer: at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
[error] Buffer: at
sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:39)
[error] Buffer: at
sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
[error] Buffer: at java.lang.reflect.Method.invoke
(Method.java:324)
[error] Buffer: at bsh.Reflect.invokeOnMethod(Unknown
Source)
[error] Buffer: at bsh.Reflect.invokeStaticMethod
(Unknown Source)
[error] Buffer: at bsh.Name.invokeMethod(Unknown
Source)
[error] Buffer: at bsh.BSHMethodInvocation.eval
(Unknown Source)
[error] Buffer: at bsh.BSHPrimaryExpression.eval
(Unknown Source)
[error] Buffer: at bsh.BSHPrimaryExpression.eval
(Unknown Source)
[error] Buffer: at bsh.BSHBlock.evalBlock(Unknown
Source)
[error] Buffer: at bsh.BSHBlock.eval(Unknown Source)
[error] Buffer: at bsh.BshMethod.invokeImpl(Unknown
Source)
[error] Buffer: at bsh.BshMethod.invoke(Unknown
Source)
[error] Buffer: at bsh.BshMethod.invoke(Unknown
Source)
[error] Buffer: at
org.gjt.sp.jedit.BeanShell.runCachedBlock(Unknown
Source)
[error] Buffer: at org.gjt.sp.jedit.BeanShellAction.invoke
(Unknown Source)
[error] Buffer: at
org.gjt.sp.jedit.gui.InputHandler.invokeAction(Unknown
Source)
[error] Buffer: at org.gjt.sp.jedit.jEdit$3.invokeAction
(Unknown Source)
[error] Buffer: at
org.gjt.sp.jedit.EditAction$Wrapper.actionPerformed
(Unknown Source)
[error] Buffer: at
javax.swing.AbstractButton.fireActionPerformed
(AbstractButton.java:1786)
[error] Buffer: at
javax.swing.AbstractButton$ForwardActionEvents.action
Performed(AbstractButton.java:1839)
[error] Buffer: at
javax.swing.DefaultButtonModel.fireActionPerformed
(DefaultButtonModel.java:420)
[error] Buffer: at
javax.swing.DefaultButtonModel.setPressed
(DefaultButtonModel.java:258)
[error] Buffer: at
javax.swing.plaf.basic.BasicButtonListener.mouseRelease
d(BasicButtonListener.java:245)
[error] Buffer: at
java.awt.AWTEventMulticaster.mouseReleased
(AWTEventMulticaster.java:231)
[error] Buffer: at
java.awt.AWTEventMulticaster.mouseReleased
(AWTEventMulticaster.java:231)
[error] Buffer: at
java.awt.AWTEventMulticaster.mouseReleased
(AWTEventMulticaster.java:231)
[error] Buffer: at
java.awt.Component.processMouseEvent
(Component.java:5100)
[error] Buffer: at java.awt.Component.processEvent
(Component.java:4897)
[error] Buffer: at java.awt.Container.processEvent
(Container.java:1569)
[error] Buffer: at
java.awt.Component.dispatchEventImpl
(Component.java:3615)
[error] Buffer: at java.awt.Container.dispatchEventImpl
(Container.java:1627)
[error] Buffer: at java.awt.Component.dispatchEvent
(Component.java:3477)
[error] Buffer: at
java.awt.LightweightDispatcher.retargetMouseEvent
(Container.java:3483)
[error] Buffer: at
java.awt.LightweightDispatcher.processMouseEvent
(Container.java:3198)
[error] Buffer: at
java.awt.LightweightDispatcher.dispatchEvent
(Container.java:3128)
[error] Buffer: at java.awt.Container.dispatchEventImpl
(Container.java:1613)
[error] Buffer: at java.awt.Window.dispatchEventImpl
(Window.java:1606)
[error] Buffer: at java.awt.Component.dispatchEvent
(Component.java:3477)
[error] Buffer: at java.awt.EventQueue.dispatchEvent
(EventQueue.java:456)
[error] Buffer: at
java.awt.EventDispatchThread.pumpOneEventForHierarch
y(EventDispatchThread.java:201)
[error] Buffer: at
java.awt.EventDispatchThread.pumpEventsForHierarchy
(EventDispatchThread.java:151)
[error] Buffer: at
java.awt.EventDispatchThread.pumpEvents
(EventDispatchThread.java:145)
[error] Buffer: at
java.awt.EventDispatchThread.pumpEvents
(EventDispatchThread.java:137)
[error] Buffer: at java.awt.EventDispatchThread.run
(EventDispatchThread.java:100)

Discussion

  • Slava Pestov
    Slava Pestov
    2003-09-12

    Logged In: YES
    user_id=2280

    This is caused by some plugins implementing
    BufferChangeListener directly instead of extending
    BufferChangeAdapter (which would protect against things like
    this).

     
  • Slava Pestov
    Slava Pestov
    2003-10-11

    • labels: 102668 -->