Menu

#1615 SQL plugin do not unload

open
nobody
None
5
2012-08-05
2012-06-06
No

The SQL plugin do not unregister it's EditBus listeners when unloading. This lead to this exception when leaving jEdit if SQL was unloaded manually.
This will also cause problems for sql plugin update.

12:34:55 [AWT-EventQueue-0] [error] EditBus: Exception while sending message on EditBus:
12:34:55 [AWT-EventQueue-0] [error] EditBus: java.lang.NoClassDefFoundError: sql/ResultSetPanel
12:34:55 [AWT-EventQueue-0] [error] EditBus: at sql.ResultSetWindow$BufferListener.handleMessage(ResultSetWindow.java:228)
12:34:55 [AWT-EventQueue-0] [error] EditBus: at org.gjt.sp.jedit.EditBus.dispatch(EditBus.java:246)
12:34:55 [AWT-EventQueue-0] [error] EditBus: at org.gjt.sp.jedit.EditBus.sendImpl(EditBus.java:281)
12:34:55 [AWT-EventQueue-0] [error] EditBus: at org.gjt.sp.jedit.EditBus.access$200(EditBus.java:87)
12:34:55 [AWT-EventQueue-0] [error] EditBus: at org.gjt.sp.jedit.EditBus$SendMessage.run(EditBus.java:461)
12:34:55 [AWT-EventQueue-0] [error] EditBus: at org.gjt.sp.jedit.EditBus.send(EditBus.java:206)
12:34:55 [AWT-EventQueue-0] [error] EditBus: at org.gjt.sp.jedit.jEdit._closeBuffer(jEdit.java:1998)
12:34:55 [AWT-EventQueue-0] [error] EditBus: at org.gjt.sp.jedit.gui.CloseDialog$ActionHandler.actionPerformed(CloseDialog.java:213)

Discussion

  • Alan Ezust

    Alan Ezust - 2012-08-03
    • assigned_to: nobody --> svu
     
  • Jarek Czekalski

    Jarek Czekalski - 2012-08-04

    Sergey, could you give approximate time when you plan to start working on this bug?

     
  • Sergey V. Udaltsov

    Hi. I am not doing Java these days, so anybody feel free to take care of that issue...

     
  • Alan Ezust

    Alan Ezust - 2012-08-05
    • assigned_to: svu --> nobody
     
  • Alan Ezust

    Alan Ezust - 2012-08-05

    ok, setting as unassigned then.

     

Log in to post a comment.

MongoDB Logo MongoDB