Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#1718 Exception in DirtyGutter on buffer save

None
open
nobody
None
5
2014-07-03
2013-06-12
tvojeho
No

The WhiteSpace plugin needs updating to new version 5.2 with the canceled IOUtilities.closeQuietly method. Saving the buffer with plugin active throws an exception.

Regards, tvojeho

Using jEdit version: 5.2pre1
Daily build: 2013-06-12
Java runtime version: 1.7.0_21-b11
OS name: Windows 7
OS version: 6.1
OS arch: x86

Log:
...
22:44:21 [AWT-EventQueue-0] [debug] EditBus: ViewUpdate[what=VIEW_ACTIVATED,source=org.gjt.sp.jedit.View[active]]
22:44:21 [AWT-EventQueue-0] [debug] jEdit: checkBufferStatus for all buffers
22:44:21 [AWT-EventQueue-0] [debug] EditBus: DynamicMenuChanged[menu=recent-files,source=null]
22:44:21 [AWT-EventQueue-0] [debug] ActionHooksPlugin: using actionhooks.handler.ViewUpdateHandler@155ffe4 to fireAction...
22:44:21 [AWT-EventQueue-0] [debug] ViewUpdateHandler: Handling org.gjt.sp.jedit.msg.ViewUpdate
22:44:27 [AWT-EventQueue-0] [debug] EditBus: BufferUpdate[what=SAVING,view=org.gjt.sp.jedit.View[active],source=1770424.txt (%TMP%\)]
22:44:27 [AWT-EventQueue-0] [debug] ActionHooksPlugin: using actionhooks.handler.BufferUpdateHandler@4d63d0 to fireAction...
22:44:27 [AWT-EventQueue-0] [debug] BufferUpdateHandler: Handling org.gjt.sp.jedit.msg.BufferUpdate
22:44:27 [AWT-EventQueue-0] [debug] BufferUpdateHandler: getting view for BufferUpdate[what=SAVING,view=org.gjt.sp.jedit.View[active],source=1770424.txt (%TMP%\)]
22:44:27 [AWT-EventQueue-0] [error] Buffer: Exception while sending buffer event to lcm.providers.diff.DiffBufferHandler@13cf82b :
22:44:27 [AWT-EventQueue-0] [error] Buffer: java.lang.NoSuchMethodError: org.gjt.sp.util.IOUtilities.closeQuietly(Ljava/io/Reader;)V
22:44:27 [AWT-EventQueue-0] [error] Buffer: at lcm.LCMPlugin.readFile(Unknown Source)
22:44:27 [AWT-EventQueue-0] [error] Buffer: at lcm.providers.diff.DiffBufferHandler.addLine(Unknown Source)
22:44:27 [AWT-EventQueue-0] [error] Buffer: at lcm.providers.diff.DiffBufferHandler.handleContentChange(Unknown Source)
22:44:27 [AWT-EventQueue-0] [error] Buffer: at lcm.providers.diff.DiffBufferHandler.contentRemoved(Unknown Source)
22:44:27 [AWT-EventQueue-0] [error] Buffer: at org.gjt.sp.jedit.buffer.JEditBuffer.fireContentRemoved(JEditBuffer.java:2482)
22:44:27 [AWT-EventQueue-0] [error] Buffer: at org.gjt.sp.jedit.buffer.JEditBuffer.remove(JEditBuffer.java:789)
22:44:27 [AWT-EventQueue-0] [error] Buffer: at whitespace.DocumentUtilities.removeTrailingWhiteSpace(DocumentUtilities.java:107)
22:44:27 [AWT-EventQueue-0] [error] Buffer: at whitespace.WhiteSpacePlugin.bufferSaving(WhiteSpacePlugin.java:154)
22:44:27 [AWT-EventQueue-0] [error] Buffer: at whitespace.WhiteSpacePlugin.handleMessage(WhiteSpacePlugin.java:96)
22:44:27 [AWT-EventQueue-0] [error] Buffer: at org.gjt.sp.jedit.EditBus.dispatch(EditBus.java:246)
22:44:27 [AWT-EventQueue-0] [error] Buffer: at org.gjt.sp.jedit.EditBus.sendImpl(EditBus.java:281)
22:44:27 [AWT-EventQueue-0] [error] Buffer: at org.gjt.sp.jedit.EditBus.access$200(EditBus.java:87)
22:44:27 [AWT-EventQueue-0] [error] Buffer: at org.gjt.sp.jedit.EditBus$SendMessage.run(EditBus.java:461)
22:44:27 [AWT-EventQueue-0] [error] Buffer: at org.gjt.sp.jedit.EditBus.send(EditBus.java:206)
22:44:27 [AWT-EventQueue-0] [error] Buffer: at org.gjt.sp.jedit.Buffer.save(Buffer.java:468)
22:44:27 [AWT-EventQueue-0] [error] Buffer: at org.gjt.sp.jedit.Buffer.save(Buffer.java:423)
22:44:27 [AWT-EventQueue-0] [error] Buffer: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
22:44:27 [AWT-EventQueue-0] [error] Buffer: at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
22:44:27 [AWT-EventQueue-0] [error] Buffer: at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
22:44:27 [AWT-EventQueue-0] [error] Buffer: at java.lang.reflect.Method.invoke(Unknown Source)
22:44:27 [AWT-EventQueue-0] [error] Buffer: at org.gjt.sp.jedit.bsh.Reflect.invokeMethod(Reflect.java:134)
22:44:27 [AWT-EventQueue-0] [error] Buffer: at org.gjt.sp.jedit.bsh.Reflect.invokeObjectMethod(Reflect.java:80)
22:44:27 [AWT-EventQueue-0] [error] Buffer: at org.gjt.sp.jedit.bsh.Name.invokeMethod(Name.java:855)
22:44:27 [AWT-EventQueue-0] [error] Buffer: at org.gjt.sp.jedit.bsh.BSHMethodInvocation.eval(BSHMethodInvocation.java:75)
22:44:27 [AWT-EventQueue-0] [error] Buffer: at org.gjt.sp.jedit.bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:102)
22:44:27 [AWT-EventQueue-0] [error] Buffer: at org.gjt.sp.jedit.bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:47)
22:44:27 [AWT-EventQueue-0] [error] Buffer: at org.gjt.sp.jedit.bsh.BSHBlock.evalBlock(BSHBlock.java:130)
22:44:27 [AWT-EventQueue-0] [error] Buffer: at org.gjt.sp.jedit.bsh.BSHBlock.eval(BSHBlock.java:80)
22:44:27 [AWT-EventQueue-0] [error] Buffer: at org.gjt.sp.jedit.bsh.BshMethod.invokeImpl(BshMethod.java:362)
22:44:27 [AWT-EventQueue-0] [error] Buffer: at org.gjt.sp.jedit.bsh.BshMethod.invoke(BshMethod.java:258)
22:44:27 [AWT-EventQueue-0] [error] Buffer: at org.gjt.sp.jedit.bsh.BshMethod.invoke(BshMethod.java:186)
22:44:27 [AWT-EventQueue-0] [error] Buffer: at org.gjt.sp.jedit.BeanShellFacade.runCachedBlock(BeanShellFacade.java:225)
22:44:27 [AWT-EventQueue-0] [error] Buffer: at org.gjt.sp.jedit.BeanShell.runCachedBlock(BeanShell.java:431)
22:44:27 [AWT-EventQueue-0] [error] Buffer: at org.gjt.sp.jedit.BeanShellAction.invoke(BeanShellAction.java:73)
22:44:27 [AWT-EventQueue-0] [error] Buffer: at org.gjt.sp.jedit.gui.InputHandler.invokeAction(InputHandler.java:342)
22:44:27 [AWT-EventQueue-0] [error] Buffer: at org.gjt.sp.jedit.jEdit$4.invokeAction(jEdit.java:3423)
22:44:27 [AWT-EventQueue-0] [error] Buffer: at org.gjt.sp.jedit.jEdit$4.invokeAction(jEdit.java:3405)
22:44:27 [AWT-EventQueue-0] [error] Buffer: at org.gjt.sp.jedit.EditAction$Wrapper.actionPerformed(EditAction.java:212)
22:44:27 [AWT-EventQueue-0] [error] Buffer: at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
22:44:27 [AWT-EventQueue-0] [error] Buffer: at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
22:44:27 [AWT-EventQueue-0] [error] Buffer: at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
22:44:27 [AWT-EventQueue-0] [error] Buffer: at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
22:44:27 [AWT-EventQueue-0] [error] Buffer: at javax.swing.AbstractButton.doClick(Unknown Source)
22:44:27 [AWT-EventQueue-0] [error] Buffer: at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
22:44:27 [AWT-EventQueue-0] [error] Buffer: at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source)
22:44:27 [AWT-EventQueue-0] [error] Buffer: at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
22:44:27 [AWT-EventQueue-0] [error] Buffer: at java.awt.Component.processMouseEvent(Unknown Source)
22:44:27 [AWT-EventQueue-0] [error] Buffer: at javax.swing.JComponent.processMouseEvent(Unknown Source)
22:44:27 [AWT-EventQueue-0] [error] Buffer: at java.awt.Component.processEvent(Unknown Source)
22:44:27 [AWT-EventQueue-0] [error] Buffer: at java.awt.Container.processEvent(Unknown Source)
22:44:27 [AWT-EventQueue-0] [error] Buffer: at java.awt.Component.dispatchEventImpl(Unknown Source)
22:44:27 [AWT-EventQueue-0] [error] Buffer: at java.awt.Container.dispatchEventImpl(Unknown Source)
22:44:27 [AWT-EventQueue-0] [error] Buffer: at java.awt.Component.dispatchEvent(Unknown Source)
22:44:27 [AWT-EventQueue-0] [error] Buffer: at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
22:44:27 [AWT-EventQueue-0] [error] Buffer: at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
22:44:27 [AWT-EventQueue-0] [error] Buffer: at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
22:44:27 [AWT-EventQueue-0] [error] Buffer: at java.awt.Container.dispatchEventImpl(Unknown Source)
22:44:27 [AWT-EventQueue-0] [error] Buffer: at java.awt.Window.dispatchEventImpl(Unknown Source)
22:44:27 [AWT-EventQueue-0] [error] Buffer: at java.awt.Component.dispatchEvent(Unknown Source)
22:44:27 [AWT-EventQueue-0] [error] Buffer: at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
22:44:27 [AWT-EventQueue-0] [error] Buffer: at java.awt.EventQueue.access$200(Unknown Source)
22:44:27 [AWT-EventQueue-0] [error] Buffer: at java.awt.EventQueue$3.run(Unknown Source)
22:44:27 [AWT-EventQueue-0] [error] Buffer: at java.awt.EventQueue$3.run(Unknown Source)
22:44:27 [AWT-EventQueue-0] [error] Buffer: at java.security.AccessController.doPrivileged(Native Method)
22:44:27 [AWT-EventQueue-0] [error] Buffer: at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
22:44:27 [AWT-EventQueue-0] [error] Buffer: at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
22:44:27 [AWT-EventQueue-0] [error] Buffer: at java.awt.EventQueue$4.run(Unknown Source)
22:44:27 [AWT-EventQueue-0] [error] Buffer: at java.awt.EventQueue$4.run(Unknown Source)
22:44:27 [AWT-EventQueue-0] [error] Buffer: at java.security.AccessController.doPrivileged(Native Method)
22:44:27 [AWT-EventQueue-0] [error] Buffer: at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
22:44:27 [AWT-EventQueue-0] [error] Buffer: at java.awt.EventQueue.dispatchEvent(Unknown Source)
22:44:27 [AWT-EventQueue-0] [error] Buffer: at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
22:44:27 [AWT-EventQueue-0] [error] Buffer: at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
22:44:27 [AWT-EventQueue-0] [error] Buffer: at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
22:44:27 [AWT-EventQueue-0] [error] Buffer: at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
22:44:27 [AWT-EventQueue-0] [error] Buffer: at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
22:44:27 [AWT-EventQueue-0] [error] Buffer: at java.awt.EventDispatchThread.run(Unknown Source)
22:44:27 [AWT-EventQueue-0] [debug] WhiteSpacePlugin: bufferSaving: 31 ms
22:44:27 [jEdit Worker #1] [error] BufferSaveRequest: java.io.IOException: Rename failed: D:\Temp\#1770424.txt#save#
22:44:27 [jEdit Worker #1] [error] BufferSaveRequest: at org.gjt.sp.jedit.bufferio.BufferSaveRequest._run(BufferSaveRequest.java:157)
22:44:27 [jEdit Worker #1] [error] BufferSaveRequest: at org.gjt.sp.util.Task.run(Task.java:64)
22:44:27 [jEdit Worker #1] [error] BufferSaveRequest: at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
22:44:27 [jEdit Worker #1] [error] BufferSaveRequest: at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
22:44:27 [jEdit Worker #1] [error] BufferSaveRequest: at java.lang.Thread.run(Unknown Source)
22:44:27 [jEdit Worker #1] [error] ErrorListDialog$ErrorEntry: D:\Temp\1770424.txt:
22:44:27 [jEdit Worker #1] [error] ErrorListDialog$ErrorEntry: Cannot save: java.io.IOException: Rename failed: D:\Temp\#1770424.txt#save#
22:44:27 [AWT-EventQueue-0] [debug] EditBus: VFSUpdate[path=D:\Program Files\_Editory\jEdit\Nastaveni\jEdit Settings Linstopper\Backup\D\Temp,source=null]
22:44:27 [AWT-EventQueue-0] [debug] EditBus: VFSUpdate[path=D:\Program Files\_Editory\jEdit\Nastaveni\jEdit Settings Linstopper\Backup\D\Temp\1770424.txt.bak1.bak,source=null]
22:44:27 [AWT-EventQueue-0] [debug] EditBus: VFSUpdate[path=D:\Temp,source=null]
22:44:27 [AWT-EventQueue-0] [debug] EditBus: VFSUpdate[path=D:\Temp\#1770424.txt#save#,source=null]
22:44:27 [AWT-EventQueue-0] [debug] EditBus: VFSUpdate[path=D:\Temp\1770424.txt,source=null]

Discussion

1 2 > >> (Page 1 of 2)
  • Alan Ezust
    Alan Ezust
    2013-06-14

    • assigned_to: nobody --> ezust
     
  • Alan Ezust
    Alan Ezust
    2013-06-14

    It's actually a binary breakage that only requires rebuilding and releasing a new version, not any change to the source. I will handle it.

     
  • Alan Ezust
    Alan Ezust
    2013-06-14

    Oops. This is not related to WhiteSpace plugin at all. This is in fact, DirtyGutter plugin.

     
  • Alan Ezust
    Alan Ezust
    2013-06-14

    • summary: Exception in WhiteSpace on buffer save --> Exception in DirtyBuffer on buffer save
     
  • Alan Ezust
    Alan Ezust
    2013-06-14

    • labels: 2748055 -->
     
  • Alan Ezust
    Alan Ezust
    2013-06-14

    • summary: Exception in DirtyBuffer on buffer save --> Exception in DirtyGutter on buffer save
     
  • Alan Ezust
    Alan Ezust
    2013-06-14

    • assigned_to: ezust --> shlomy
     
  • tvojeho
    tvojeho
    2013-06-14

    • status: open --> open-invalid
     
  • tvojeho
    tvojeho
    2013-06-14

    I do wonder how this switch happened - I distinctly remember posting a bug for WhiteSpace plugin, not DirtyGutter, and do not remember assigning the task to shlomy, but here we are...

    Cheers, tvojeho

     
  • tvojeho
    tvojeho
    2013-06-14

    • status: open-invalid --> wont-fix-invalid
     
1 2 > >> (Page 1 of 2)