#208 Hex Edit plugin won't let Jedit close

open
None
5
2003-12-17
2003-10-15
Jay Vilalta
No

Using Jedit 4.2pre5 and HexEdit 0.1.3
Open Jedit
Open the Hex Edit plugin
Try to close Jedit.
You'll get an exception.
Here's the exception data I got.

java.lang.NullPointerException

at hexedit.gui.EditPanel.closeHexData(Unknown
Source)

at hexedit.gui.EditPanel.removeNotify(Unknown
Source)

at java.awt.Container.removeNotify
(Container.java:2064)

at javax.swing.JComponent.removeNotify
(JComponent.java:4299)

at java.awt.Container.removeNotify
(Container.java:2064)

at javax.swing.JComponent.removeNotify
(JComponent.java:4299)

at java.awt.Container.removeNotify
(Container.java:2064)

at javax.swing.JComponent.removeNotify
(JComponent.java:4299)

at javax.swing.JRootPane.removeNotify
(JRootPane.java:688)

at java.awt.Container.removeNotify
(Container.java:2064)

at java.awt.Frame.removeNotify
(Frame.java:861)

at java.awt.Window$1$DisposeAction.run
(Window.java:539)

at java.awt.Window.dispose(Window.java:552)

at
org.gjt.sp.jedit.gui.FloatingWindowContainer.dispose
(Unknown Source)

at
org.gjt.sp.jedit.gui.FloatingWindowContainer.unregister
(Unknown Source)

at
org.gjt.sp.jedit.gui.DockableWindowManager.close
(Unknown Source)

at org.gjt.sp.jedit.View.close(Unknown Source)

at org.gjt.sp.jedit.jEdit.exit(Unknown Source)

at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)

at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:39)

at
sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke
(Method.java:324)

at bsh.Reflect.invokeOnMethod(Unknown
Source)

at bsh.Reflect.invokeStaticMethod(Unknown
Source)

at bsh.Name.invokeMethod(Unknown Source)

at bsh.BSHMethodInvocation.eval(Unknown
Source)

at bsh.BSHPrimaryExpression.eval(Unknown
Source)

at bsh.BSHPrimaryExpression.eval(Unknown
Source)

at bsh.BSHBlock.evalBlock(Unknown Source)

at bsh.BSHBlock.eval(Unknown Source)

at bsh.BshMethod.invokeImpl(Unknown Source)

at bsh.BshMethod.invoke(Unknown Source)

at bsh.BshMethod.invoke(Unknown Source)

at org.gjt.sp.jedit.BeanShell.runCachedBlock
(Unknown Source)

at org.gjt.sp.jedit.BeanShellAction.invoke
(Unknown Source)

at org.gjt.sp.jedit.gui.InputHandler.invokeAction
(Unknown Source)

at org.gjt.sp.jedit.jEdit$3.invokeAction
(Unknown Source)

at
org.gjt.sp.jedit.EditAction$Wrapper.actionPerformed
(Unknown Source)

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

at
javax.swing.AbstractButton$ForwardActionEvents.actionP
erformed(AbstractButton.java:1817)

at
javax.swing.DefaultButtonModel.fireActionPerformed
(DefaultButtonModel.java:419)

at javax.swing.DefaultButtonModel.setPressed
(DefaultButtonModel.java:257)

at javax.swing.AbstractButton.doClick
(AbstractButton.java:289)

at
javax.swing.plaf.basic.BasicMenuItemUI.doClick
(BasicMenuItemUI.java:1109)

at
javax.swing.plaf.basic.BasicMenuItemUI$MouseInputHandl
er.mouseReleased(BasicMenuItemUI.java:943)

at
java.awt.AWTEventMulticaster.mouseReleased
(AWTEventMulticaster.java:227)

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

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

at java.awt.Container.processEvent
(Container.java:1566)

at java.awt.Component.dispatchEventImpl
(Component.java:3598)

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

at java.awt.Component.dispatchEvent
(Component.java:3439)

at
java.awt.LightweightDispatcher.retargetMouseEvent
(Container.java:3450)

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

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

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

at java.awt.Window.dispatchEventImpl
(Window.java:1585)

at java.awt.Component.dispatchEvent
(Component.java:3439)

at java.awt.EventQueue.dispatchEvent
(EventQueue.java:450)

at
java.awt.EventDispatchThread.pumpOneEventForHierarch
y(EventDispatchThread.java:197)

at
java.awt.EventDispatchThread.pumpEventsForHierarchy
(EventDispatchThread.java:150)

at java.awt.EventDispatchThread.pumpEvents
(EventDispatchThread.java:144)

at java.awt.EventDispatchThread.pumpEvents
(EventDispatchThread.java:136)

at java.awt.EventDispatchThread.run
(EventDispatchThread.java:99)

Discussion

  • Brad Mace

    Brad Mace - 2003-12-17
    • assigned_to: nobody --> bemace
     
  • Robert Schwenn

    Robert Schwenn - 2007-03-09

    Logged In: YES
    user_id=1486645
    Originator: NO

    Copied from the duplicate #1677404 (david Moss):

    To reproduce:

    - Open jEdit with the Hex Editor plugin docked
    - click the hex editor button
    - click some button for some other plugin in the same docked area
    - close jEdit

    hope this helps.

    jEdit version: 4.3pre9
    java version: 1.5.0_11
    HexEdit version: 0.1.3
    OS: M$ Windroolz XP

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks