Intermittent problems with copy and paste in the REPL with NB 7.0

9 views
Skip to first unread message

Eric Thorsen

unread,
May 13, 2011, 10:13:02 AM5/13/11
to enclojure
I just wanted to let everyone know that we are seeing intermittent
errors when pasting things into the REPL that cause the copy/paste to
be disabled after the error occurs. None of this code was touched but
I think we have a recipe to reproduce it.

Eric

Steve

unread,
May 15, 2011, 6:49:49 AM5/15/11
to enclojure
Is the error a java.lang.IndexOutOfBoundsException? I sometimes get
the exception below when I try to scroll up in the repl.

- Steve


java.lang.IndexOutOfBoundsException: Invalid line index=3 >=
lineCount=3
at
org.netbeans.editor.LineRootElement.getElement(LineRootElement.java:
115)
at org.openide.text.NbDocument$DocumentRenderer.run(NbDocument.java:
691)
at org.netbeans.editor.BaseDocument.render(BaseDocument.java:1422)
at org.openide.text.NbDocument
$DocumentRenderer.renderToInt(NbDocument.java:666)
at org.openide.text.NbDocument.findLineOffset(NbDocument.java:187)
at org.enclojure.ide.nb.editor.hyperlinks$do_get_hyperlink_provider
$fn__2277.invoke(hyperlinks.clj:71)
at org.enclojure.ide.nb.editor.hyperlinks.proxy$java.lang.Object
$HyperlinkProvider$e20975b3.isHyperlinkPoint(Unknown Source)
at
org.netbeans.lib.editor.hyperlink.HyperlinkOperation.findProvider(HyperlinkOperation.java:
297)
at
org.netbeans.lib.editor.hyperlink.HyperlinkOperation.performHyperlinking(HyperlinkOperation.java:
245)
at
org.netbeans.lib.editor.hyperlink.HyperlinkOperation.keyPressed(HyperlinkOperation.java:
395)
at java.awt.AWTEventMulticaster.keyPressed(AWTEventMulticaster.java:
249)
at java.awt.AWTEventMulticaster.keyPressed(AWTEventMulticaster.java:
249)
at java.awt.AWTEventMulticaster.keyPressed(AWTEventMulticaster.java:
249)
at java.awt.AWTEventMulticaster.keyPressed(AWTEventMulticaster.java:
249)
at java.awt.Component.processKeyEvent(Component.java:6226)
at javax.swing.JComponent.processKeyEvent(JComponent.java:2801)
at org.enclojure.ide.repl.repl_panel.proxy$javax.swing.JEditorPane
$0.processKeyEvent(Unknown Source)
at java.awt.Component.processEvent(Component.java:6045)
at java.awt.Container.processEvent(Container.java:2045)
at org.enclojure.ide.repl.repl_panel.proxy$javax.swing.JEditorPane
$0.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Component.java:4629)
at java.awt.Container.dispatchEventImpl(Container.java:2103)
at java.awt.Component.dispatchEvent(Component.java:4455)
at
java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:
1881)
at
java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:
757)
at
java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:
1033)
at
java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:
900)
at
java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:
721)
at java.awt.Component.dispatchEventImpl(Component.java:4499)
at java.awt.Container.dispatchEventImpl(Container.java:2103)
at java.awt.Window.dispatchEventImpl(Window.java:2517)
at java.awt.Component.dispatchEvent(Component.java:4455)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:649)
at java.awt.EventQueue.access$000(EventQueue.java:96)
at java.awt.EventQueue$1.run(EventQueue.java:608)
at java.awt.EventQueue$1.run(EventQueue.java:606)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext
$1.doIntersectionPrivilege(AccessControlContext.java:105)
at java.security.AccessControlContext
$1.doIntersectionPrivilege(AccessControlContext.java:116)
at java.awt.EventQueue$2.run(EventQueue.java:622)
at java.awt.EventQueue$2.run(EventQueue.java:620)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext
$1.doIntersectionPrivilege(AccessControlContext.java:105)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:619)
at
org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:
148)
[catch] at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:
275)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:
200)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:
190)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:
185)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:
177)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:138)

cej38

unread,
Jun 11, 2011, 8:12:39 PM6/11/11
to enclojure
Has this ben fixed yet? I am running Netbeans 7.0 on OS X 10.6.7, and
whatever is the newest version of Enclojure. Pasting into the REPL
does not work at all.
Reply all
Reply to author
Forward
0 new messages