When the editor goes crazy and I get a stacktrace like below but I don't 
know exactly how to duplicate it and it potentially involves loads of 
production classes (i.e., could be quite hard to get into a test case), 
should I put a new SCR in the tracker? I always do when I can reasonably 
reproduce and/or come up with a small test case, but my question 
concerns when it isn't so easy. What do the IntelliJ folks prefer that 
we do in cases like this? This exception was on build #650.

Thanks,
Jon

.
[3031156]  ERROR -             com.intellij.ide.p - OS: Windows XP
[3031156]  ERROR -             com.intellij.ide.p -
java.lang.IndexOutOfBoundsException: Wrong offset: 22001 textLength: 14356
         at com.intellij.openapi.editor.b.r.j(r.java:730)
         at 
com.intellij.openapi.editor.b.r.offsetToLogicalPosition(r.java:522)
         at com.intellij.openapi.editor.b.r.b(r.java:619)
         at 
com.intellij.openapi.editor.b.r.visualToLogicalPosition(r.java:731)
         at com.intellij.openapi.editor.b.r.a(r.java:755)
         at com.intellij.openapi.editor.b.r.f(r.java:395)
         at com.intellij.openapi.editor.b.r.o(r.java:426)
         at com.intellij.openapi.editor.b.r.g(r.java:537)
         at com.intellij.openapi.editor.b.t.run(t.java:3)
         at com.intellij.openapi.editor.b.r.a(r.java:129)
         at com.intellij.openapi.editor.b.co.paintComponent(co.java:4)
         at javax.swing.JComponent.paint(JComponent.java:804)
         at javax.swing.JComponent.paintChildren(JComponent.java:643)
         at 
javax.swing.JComponent.paintWithOffscreenBuffer(JComponent.java:4742)

         at javax.swing.JComponent.paintDoubleBuffered(JComponent.java:4688)
         at javax.swing.JComponent._paintImmediately(JComponent.java:4632)
         at javax.swing.JComponent.paintImmediately(JComponent.java:4464)
         at 
javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:404)

         at 
javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(System
EventQueueUtilities.java:117)
         at 
java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:443)
         at com.intellij.ide.p.a(p.java:61)
         at com.intellij.ide.p.dispatchEvent(p.java:62)
         at 
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchTh
read.java:191)
         at 
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
ad.java:144)
         at 
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)

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

         at java.awt.EventDispatchThread.run(EventDispatchThread.java:98)
[3031156]  ERROR -             com.intellij.ide.p - Error during 
dispatching of
java.awt.event.InvocationEvent[INVOCATION_DEFAULT,runnable=com.intellij.openapi.
editor.b.t@cac9fa,notifier=null,catchExceptions=false,when=1033144656467] 
on sun
.awt.windows.WToolkit@6e660e
[3031156]  ERROR -             com.intellij.ide.p - IntelliJ IDEA 
(Ariadna) 3.0
  Build #650
[3031156]  ERROR -             com.intellij.ide.p - JDK: 1.4.0_01
[3031156]  ERROR -             com.intellij.ide.p - VM: Java HotSpot(TM) 
Client
VM
[3031156]  ERROR -             com.intellij.ide.p - Vendor: Sun 
Microsystems Inc
.
[3031156]  ERROR -             com.intellij.ide.p - OS: Windows XP
[3031156]  ERROR -             com.intellij.ide.p -
java.lang.IndexOutOfBoundsException: Wrong offset: 22001 textLength: 14356
         at com.intellij.openapi.editor.b.r.j(r.java:730)
         at 
com.intellij.openapi.editor.b.r.offsetToLogicalPosition(r.java:522)
         at com.intellij.openapi.editor.b.r.b(r.java:619)
         at 
com.intellij.openapi.editor.b.r.visualToLogicalPosition(r.java:731)
         at com.intellij.openapi.editor.b.r.a(r.java:755)
         at com.intellij.openapi.editor.b.r.f(r.java:395)
         at com.intellij.openapi.editor.b.r.o(r.java:426)
         at com.intellij.openapi.editor.b.r.g(r.java:537)
         at com.intellij.openapi.editor.b.t.run(t.java:3)
         at 
java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:443)
         at com.intellij.ide.p.a(p.java:61)
         at com.intellij.ide.p.dispatchEvent(p.java:62)
         at 
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchTh
read.java:191)
         at 
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
ad.java:144)
         at 
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)

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

         at java.awt.EventDispatchThread.run(EventDispatchThread.java:98)
[3031187]  ERROR -             com.intellij.ide.p - Error during 
dispatching of
java.awt.event.InvocationEvent[INVOCATION_DEFAULT,runnable=javax.swing.SystemEve
ntQueueUtilities$ComponentWorkRequest@eb1bcd,notifier=null,catchExceptions=false
,when=1033144656529] on sun.awt.windows.WToolkit@6e660e
[3031187]  ERROR -             com.intellij.ide.p - IntelliJ IDEA 
(Ariadna) 3.0
  Build #650
[3031187]  ERROR -             com.intellij.ide.p - JDK: 1.4.0_01
[3031187]  ERROR -             com.intellij.ide.p - VM: Java HotSpot(TM) 
Client
VM
[3031187]  ERROR -             com.intellij.ide.p - Vendor: Sun 
Microsystems Inc
.
[3031187]  ERROR -             com.intellij.ide.p - OS: Windows XP
[3031187]  ERROR -             com.intellij.ide.p -
java.lang.IndexOutOfBoundsException: Wrong offset: 22001 textLength: 14356
         at com.intellij.openapi.editor.b.r.j(r.java:730)
         at 
com.intellij.openapi.editor.b.r.offsetToLogicalPosition(r.java:522)
         at com.intellij.openapi.editor.b.r.b(r.java:619)
         at 
com.intellij.openapi.editor.b.r.visualToLogicalPosition(r.java:731)
         at com.intellij.openapi.editor.b.r.a(r.java:755)
         at com.intellij.openapi.editor.b.r.f(r.java:395)
         at com.intellij.openapi.editor.b.r.o(r.java:426)
         at com.intellij.openapi.editor.b.r.g(r.java:537)
         at com.intellij.openapi.editor.b.t.run(t.java:3)
         at com.intellij.openapi.editor.b.r.a(r.java:129)
         at com.intellij.openapi.editor.b.co.paintComponent(co.java:4)
         at javax.swing.JComponent.paint(JComponent.java:804)
         at javax.swing.JComponent.paintChildren(JComponent.java:643)
         at 
javax.swing.JComponent.paintWithOffscreenBuffer(JComponent.java:4742)

         at javax.swing.JComponent.paintDoubleBuffered(JComponent.java:4688)
         at javax.swing.JComponent._paintImmediately(JComponent.java:4632)
         at javax.swing.JComponent.paintImmediately(JComponent.java:4464)
         at 
javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:404)

         at 
javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(System
EventQueueUtilities.java:117)
         at 
java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:443)
         at com.intellij.ide.p.a(p.java:61)
         at com.intellij.ide.p.dispatchEvent(p.java:62)
         at 
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchTh
read.java:191)
         at 
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
ad.java:144)
         at 
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
ad.java:134)
         at java.awt.Dialog.show(Dialog.java:524)
         at javax.swing.JOptionPane.showOptionDialog(JOptionPane.java:822)
         at javax.swing.JOptionPane.showMessageDialog(JOptionPane.java:624)
         at javax.swing.JOptionPane.showMessageDialog(JOptionPane.java:595)
         at com.intellij.diagnostic.d.run(d.java:1)
         at 
java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:171)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:443)
         at com.intellij.ide.p.a(p.java:61)
         at com.intellij.ide.p.dispatchEvent(p.java:62)
         at 
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchTh
read.java:191)
         at 
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
ad.java:144)
         at 
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)

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

         at java.awt.EventDispatchThread.run(EventDispatchThread.java:98)
[3031469]  ERROR -    com.intellij.codeEditor.a.a - File text mismatch 
after rep
arse
[3031469]  ERROR -    com.intellij.codeEditor.a.a - IntelliJ IDEA 
(Ariadna) 3.0
  Build #650
[3031469]  ERROR -    com.intellij.codeEditor.a.a - JDK: 1.4.0_01
[3031469]  ERROR -    com.intellij.codeEditor.a.a - VM: Java HotSpot(TM) 
Client
VM
[3031469]  ERROR -    com.intellij.codeEditor.a.a - Vendor: Sun 
Microsystems Inc
.
[3031469]  ERROR -    com.intellij.codeEditor.a.a - OS: Windows XP
[3031469]  ERROR -    com.intellij.codeEditor.a.a -
java.lang.Throwable
         at com.intellij.openapi.diagnostic.Logger.error(Logger.java:25)
         at com.intellij.codeEditor.a.a.a(a.java:106)
         at com.intellij.codeEditor.a.a.a(a.java:140)
         at com.intellij.codeEditor.a.d.run(d.java:4)
         at com.intellij.openapi.application.a.e.runWriteAction(e.java:23)
         at com.intellij.codeEditor.a.a.a(a.java:40)
         at com.intellij.codeEditor.a.a.a(a.java:122)
         at com.intellij.codeInsight.i.a.o.run(o.java:0)
         at com.intellij.util.q.run(q.java:4)
         at com.intellij.util.r.run(r.java:13)
         at 
java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:443)
         at com.intellij.ide.p.a(p.java:61)
         at com.intellij.ide.p.dispatchEvent(p.java:62)
         at 
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchTh
read.java:191)
         at 
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
ad.java:144)
         at 
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
ad.java:134)
         at java.awt.Dialog.show(Dialog.java:524)
         at javax.swing.JOptionPane.showOptionDialog(JOptionPane.java:822)
         at javax.swing.JOptionPane.showMessageDialog(JOptionPane.java:624)
         at javax.swing.JOptionPane.showMessageDialog(JOptionPane.java:595)
         at com.intellij.diagnostic.d.run(d.java:1)
         at 
java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:171)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:443)
         at com.intellij.ide.p.a(p.java:61)
         at com.intellij.ide.p.dispatchEvent(p.java:62)
         at 
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchTh
read.java:191)
         at 
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
ad.java:144)
         at 
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)

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

         at java.awt.EventDispatchThread.run(EventDispatchThread.java:98)
[3031469]  ERROR - om.intellij.openapi.editor.b.p -
[3031469]  ERROR - om.intellij.openapi.editor.b.p - IntelliJ IDEA 
(Ariadna) 3.0
  Build #650
[3031469]  ERROR - om.intellij.openapi.editor.b.p - JDK: 1.4.0_01
[3031469]  ERROR - om.intellij.openapi.editor.b.p - VM: Java HotSpot(TM) 
Client
VM
[3031469]  ERROR - om.intellij.openapi.editor.b.p - Vendor: Sun 
Microsystems Inc
.
[3031469]  ERROR - om.intellij.openapi.editor.b.p - OS: Windows XP
[3031469]  ERROR - om.intellij.openapi.editor.b.p -
java.lang.IndexOutOfBoundsException: Wrong offset: 22002
         at com.intellij.openapi.editor.a.a.f.a(f.java:54)
         at com.intellij.openapi.editor.b.cd.a(cd.java:94)
         at com.intellij.openapi.editor.b.p.getLineNumber(p.java:40)
         at 
com.intellij.openapi.editor.b.r.logicalToVisualPosition(r.java:218)
         at 
com.intellij.openapi.editor.b.r.offsetToVisualPosition(r.java:1128)
         at com.intellij.openapi.editor.b.r.a(r.java:21)
         at com.intellij.openapi.editor.b.r.a(r.java:703)
         at com.intellij.openapi.editor.b.i.beforeDocumentChange(i.java:4)
         at com.intellij.openapi.editor.b.p.a(p.java:87)
         at com.intellij.openapi.editor.b.p.replaceString(p.java:180)
         at com.intellij.codeEditor.a.a.a(a.java:87)
         at com.intellij.codeEditor.a.a.a(a.java:140)
         at com.intellij.codeEditor.a.d.run(d.java:4)
         at com.intellij.openapi.application.a.e.runWriteAction(e.java:23)
         at com.intellij.codeEditor.a.a.a(a.java:40)
         at com.intellij.codeEditor.a.a.a(a.java:122)
         at com.intellij.codeInsight.i.a.o.run(o.java:0)
         at com.intellij.util.q.run(q.java:4)
         at com.intellij.util.r.run(r.java:13)
         at 
java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:443)
         at com.intellij.ide.p.a(p.java:61)
         at com.intellij.ide.p.dispatchEvent(p.java:62)
         at 
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchTh
read.java:191)
         at 
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
ad.java:144)
         at 
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
ad.java:134)
         at java.awt.Dialog.show(Dialog.java:524)
         at javax.swing.JOptionPane.showOptionDialog(JOptionPane.java:822)
         at javax.swing.JOptionPane.showMessageDialog(JOptionPane.java:624)
         at javax.swing.JOptionPane.showMessageDialog(JOptionPane.java:595)
         at com.intellij.diagnostic.d.run(d.java:1)
         at 
java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:171)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:443)
         at com.intellij.ide.p.a(p.java:61)
         at com.intellij.ide.p.dispatchEvent(p.java:62)
         at 
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchTh
read.java:191)
         at 
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
ad.java:144)
         at 
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)

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

         at java.awt.EventDispatchThread.run(EventDispatchThread.java:98)
[3031500]  ERROR - m.intellij.openapi.command.b.p - Assertion failed: 
Undoable a
ctions allowed inside commands only (see 
com.intellij.openapi.command.CommandPro
cessor.executeCommand())
java.lang.Throwable
         at 
com.intellij.openapi.diagnostic.Logger.assertTrue(Logger.java:35)
         at com.intellij.openapi.command.b.p.a(p.java:304)
         at com.intellij.openapi.command.b.q.documentChanged(q.java:7)
         at sun.reflect.GeneratedMethodAccessor33.invoke(Unknown Source)
         at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at com.intellij.util.x.invoke(x.java:5)
         at $Proxy0.documentChanged(Unknown Source)
         at com.intellij.openapi.editor.b.p.a(p.java:44)
         at com.intellij.openapi.editor.b.p.replaceString(p.java:67)
         at com.intellij.codeEditor.a.a.a(a.java:87)
         at com.intellij.codeEditor.a.a.a(a.java:140)
         at com.intellij.codeEditor.a.d.run(d.java:4)
         at com.intellij.openapi.application.a.e.runWriteAction(e.java:23)
         at com.intellij.codeEditor.a.a.a(a.java:40)
         at com.intellij.codeEditor.a.a.a(a.java:122)
         at com.intellij.codeInsight.i.a.o.run(o.java:0)
         at com.intellij.util.q.run(q.java:4)
         at com.intellij.util.r.run(r.java:13)
         at 
java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:443)
         at com.intellij.ide.p.a(p.java:61)
         at com.intellij.ide.p.dispatchEvent(p.java:62)
         at 
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchTh
read.java:191)
         at 
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
ad.java:144)
         at 
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
ad.java:134)
         at java.awt.Dialog.show(Dialog.java:524)
         at javax.swing.JOptionPane.showOptionDialog(JOptionPane.java:822)
         at javax.swing.JOptionPane.showMessageDialog(JOptionPane.java:624)
         at javax.swing.JOptionPane.showMessageDialog(JOptionPane.java:595)
         at com.intellij.diagnostic.d.run(d.java:1)
         at 
java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:171)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:443)
         at com.intellij.ide.p.a(p.java:61)
         at com.intellij.ide.p.dispatchEvent(p.java:62)
         at 
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchTh
read.java:191)
         at 
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
ad.java:144)
         at 
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)

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

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

_______________________________________________
Eap-bugs mailing list
[EMAIL PROTECTED]
http://lists.jetbrains.com/mailman/listinfo/eap-bugs

Reply via email to