#3564 Exception when doing C+a in unloaded buffer

closed-fixed
5
2011-08-28
2011-08-26
No

Buffer was loading over sftp, I pressed C+a too soon and got this:

7:02:55 PM [AWT-EventQueue-0] [error] BeanShellAction: java.lang.NullPointerException
7:02:55 PM [AWT-EventQueue-0] [error] BeanShellAction: at org.gjt.sp.jedit.buffer.JEditBuffer.markTokens(JEditBuffer.java:1356)
7:02:55 PM [AWT-EventQueue-0] [error] BeanShellAction: at org.gjt.sp.jedit.textarea.ChunkCache.lineToChunkList(ChunkCache.java:786)
7:02:55 PM [AWT-EventQueue-0] [error] BeanShellAction: at org.gjt.sp.jedit.textarea.ChunkCache.updateChunksUpTo(ChunkCache.java:668)
7:02:55 PM [AWT-EventQueue-0] [error] BeanShellAction: at org.gjt.sp.jedit.textarea.ChunkCache.getLineInfo(ChunkCache.java:253)
7:02:55 PM [AWT-EventQueue-0] [error] BeanShellAction: at org.gjt.sp.jedit.textarea.ChunkCache.getScreenLineOfOffset(ChunkCache.java:86)
7:02:55 PM [AWT-EventQueue-0] [error] BeanShellAction: at org.gjt.sp.jedit.textarea.TextArea._finishCaretUpdate(TextArea.java:4961)
7:02:55 PM [AWT-EventQueue-0] [error] BeanShellAction: at org.gjt.sp.jedit.textarea.TextArea.finishCaretUpdate(TextArea.java:5180)
7:02:55 PM [AWT-EventQueue-0] [error] BeanShellAction: at org.gjt.sp.jedit.textarea.TextArea.setSelection(TextArea.java:1699)
7:02:55 PM [AWT-EventQueue-0] [error] BeanShellAction: at org.gjt.sp.jedit.textarea.TextArea.selectAll(TextArea.java:1355)
7:02:55 PM [AWT-EventQueue-0] [error] BeanShellAction: at sun.reflect.GeneratedMethodAccessor102.invoke(Unknown Source)
7:02:55 PM [AWT-EventQueue-0] [error] BeanShellAction: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
7:02:55 PM [AWT-EventQueue-0] [error] BeanShellAction: at java.lang.reflect.Method.invoke(Method.java:597)
7:02:55 PM [AWT-EventQueue-0] [error] BeanShellAction: at org.gjt.sp.jedit.bsh.Reflect.invokeMethod(Reflect.java:134)
7:02:55 PM [AWT-EventQueue-0] [error] BeanShellAction: at org.gjt.sp.jedit.bsh.Reflect.invokeObjectMethod(Reflect.java:80)
7:02:55 PM [AWT-EventQueue-0] [error] BeanShellAction: at org.gjt.sp.jedit.bsh.Name.invokeMethod(Name.java:855)
7:02:55 PM [AWT-EventQueue-0] [error] BeanShellAction: at org.gjt.sp.jedit.bsh.BSHMethodInvocation.eval(BSHMethodInvocation.java:75)
7:02:55 PM [AWT-EventQueue-0] [error] BeanShellAction: at org.gjt.sp.jedit.bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:102)
7:02:55 PM [AWT-EventQueue-0] [error] BeanShellAction: at org.gjt.sp.jedit.bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:47)
7:02:55 PM [AWT-EventQueue-0] [error] BeanShellAction: at org.gjt.sp.jedit.bsh.BSHBlock.evalBlock(BSHBlock.java:130)
7:02:55 PM [AWT-EventQueue-0] [error] BeanShellAction: at org.gjt.sp.jedit.bsh.BSHBlock.eval(BSHBlock.java:80)
7:02:55 PM [AWT-EventQueue-0] [error] BeanShellAction: at org.gjt.sp.jedit.bsh.BshMethod.invokeImpl(BshMethod.java:362)
7:02:55 PM [AWT-EventQueue-0] [error] BeanShellAction: at org.gjt.sp.jedit.bsh.BshMethod.invoke(BshMethod.java:258)
7:02:55 PM [AWT-EventQueue-0] [error] BeanShellAction: at org.gjt.sp.jedit.bsh.BshMethod.invoke(BshMethod.java:186)
7:02:55 PM [AWT-EventQueue-0] [error] BeanShellAction: at org.gjt.sp.jedit.BeanShellFacade.runCachedBlock(BeanShellFacade.java:225)
7:02:55 PM [AWT-EventQueue-0] [error] BeanShellAction: at org.gjt.sp.jedit.BeanShell.runCachedBlock(BeanShell.java:423)
7:02:55 PM [AWT-EventQueue-0] [error] BeanShellAction: at org.gjt.sp.jedit.BeanShellAction.invoke(BeanShellAction.java:73)
7:02:55 PM [AWT-EventQueue-0] [error] BeanShellAction: at org.gjt.sp.jedit.gui.InputHandler.invokeAction(InputHandler.java:352)
7:02:55 PM [AWT-EventQueue-0] [error] BeanShellAction: at org.gjt.sp.jedit.gui.InputHandler.invokeAction(InputHandler.java:317)
7:02:55 PM [AWT-EventQueue-0] [error] BeanShellAction: at org.gjt.sp.jedit.gui.DefaultInputHandler.handleKey(DefaultInputHandler.java:197)
7:02:55 PM [AWT-EventQueue-0] [error] BeanShellAction: at org.gjt.sp.jedit.input.AbstractInputHandler.processKeyEventKeyStrokeHandling(AbstractInputHandler.java:401)
7:02:55 PM [AWT-EventQueue-0] [error] BeanShellAction: at org.gjt.sp.jedit.gui.InputHandler.processKeyEvent(InputHandler.java:151)
7:02:55 PM [AWT-EventQueue-0] [error] BeanShellAction: at org.gjt.sp.jedit.textarea.TextArea.processKeyEvent(TextArea.java:4608)
7:02:55 PM [AWT-EventQueue-0] [error] BeanShellAction: at java.awt.Component.processEvent(Component.java:6065)
7:02:55 PM [AWT-EventQueue-0] [error] BeanShellAction: at java.awt.Container.processEvent(Container.java:2041)
7:02:55 PM [AWT-EventQueue-0] [error] BeanShellAction: at java.awt.Component.dispatchEventImpl(Component.java:4651)
7:02:55 PM [AWT-EventQueue-0] [error] BeanShellAction: at java.awt.Container.dispatchEventImpl(Container.java:2099)
7:02:55 PM [AWT-EventQueue-0] [error] BeanShellAction: at java.awt.Component.dispatchEvent(Component.java:4481)
7:02:55 PM [AWT-EventQueue-0] [error] BeanShellAction: at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1850)
7:02:55 PM [AWT-EventQueue-0] [error] BeanShellAction: at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:712)
7:02:55 PM [AWT-EventQueue-0] [error] BeanShellAction: at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:990)
7:02:55 PM [AWT-EventQueue-0] [error] BeanShellAction: at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:855)
7:02:55 PM [AWT-EventQueue-0] [error] BeanShellAction: at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:676)
7:02:55 PM [AWT-EventQueue-0] [error] BeanShellAction: at java.awt.Component.dispatchEventImpl(Component.java:4523)
7:02:55 PM [AWT-EventQueue-0] [error] BeanShellAction: at java.awt.Container.dispatchEventImpl(Container.java:2099)
7:02:55 PM [AWT-EventQueue-0] [error] BeanShellAction: at java.awt.Window.dispatchEventImpl(Window.java:2478)
7:02:55 PM [AWT-EventQueue-0] [error] BeanShellAction: at java.awt.Component.dispatchEvent(Component.java:4481)
7:02:55 PM [AWT-EventQueue-0] [error] BeanShellAction: at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:643)
7:02:55 PM [AWT-EventQueue-0] [error] BeanShellAction: at java.awt.EventQueue.access$000(EventQueue.java:84)
7:02:55 PM [AWT-EventQueue-0] [error] BeanShellAction: at java.awt.EventQueue$1.run(EventQueue.java:602)
7:02:55 PM [AWT-EventQueue-0] [error] BeanShellAction: at java.awt.EventQueue$1.run(EventQueue.java:600)
7:02:55 PM [AWT-EventQueue-0] [error] BeanShellAction: at java.security.AccessController.doPrivileged(Native Method)
7:02:55 PM [AWT-EventQueue-0] [error] BeanShellAction: at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
7:02:55 PM [AWT-EventQueue-0] [error] BeanShellAction: at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
7:02:55 PM [AWT-EventQueue-0] [error] BeanShellAction: at java.awt.EventQueue$2.run(EventQueue.java:616)
7:02:55 PM [AWT-EventQueue-0] [error] BeanShellAction: at java.awt.EventQueue$2.run(EventQueue.java:614)
7:02:55 PM [AWT-EventQueue-0] [error] BeanShellAction: at java.security.AccessController.doPrivileged(Native Method)
7:02:55 PM [AWT-EventQueue-0] [error] BeanShellAction: at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
7:02:55 PM [AWT-EventQueue-0] [error] BeanShellAction: at java.awt.EventQueue.dispatchEvent(EventQueue.java:613)
7:02:55 PM [AWT-EventQueue-0] [error] BeanShellAction: at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
7:02:55 PM [AWT-EventQueue-0] [error] BeanShellAction: at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
7:02:55 PM [AWT-EventQueue-0] [error] BeanShellAction: at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
7:02:55 PM [AWT-EventQueue-0] [error] BeanShellAction: at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
7:02:55 PM [AWT-EventQueue-0] [error] BeanShellAction: at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
7:02:55 PM [AWT-EventQueue-0] [error] BeanShellAction: at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

Discussion

  • Matthieu Casanova

    • status: open --> closed-fixed
     
  • Matthieu Casanova

    Fixed in rev 19846

     

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

Sign up for the SourceForge newsletter:





No, thanks