#109 Assertion failed

open
nobody
Editor (71)
5
2014-08-15
2010-09-17
No

I got an assertion error with the latest build of J. I was editing pages normally, and suddenly the cursor keys stopped working. I could still move between pages with the mouse, but most of the other functionalities did not work.

This is what I got in the log

Sep 17 09:36:47.477 ERROR Assertion failed!
Sep 17 09:36:47.481 ERROR org.armedbear.j.AssertionException
at org.armedbear.j.Debug.assertTrue(Debug.java:33)
at org.armedbear.j.Display.reframeHorizontally(Display.java:1735)
at org.armedbear.j.Display.reframe(Display.java:1637)
at org.armedbear.j.Editor.reframe(Editor.java:7053)
at org.armedbear.j.Editor.bufferActivated(Editor.java:6087)
at org.armedbear.j.Editor.activate(Editor.java:6000)
at org.armedbear.j.Editor.switchToBuffer(Editor.java:4462)
at org.armedbear.j.Editor.prevBuffer(Editor.java:4453)
at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.armedbear.j.Editor.invoke(Editor.java:2471)
at org.armedbear.j.Editor.execute(Editor.java:2395)
at org.armedbear.j.Editor.handleJEvent(Editor.java:2588)
at org.armedbear.j.Dispatcher.dispatchKeyPressed(Dispatcher.java:245)
at org.armedbear.j.Dispatcher.dispatch(Dispatcher.java:148)
at org.armedbear.j.Dispatcher.keyPressed(Dispatcher.java:331)
at java.awt.AWTEventMulticaster.keyPressed(AWTEventMulticaster.java:250)
at java.awt.Component.processKeyEvent(Component.java:6066)
at javax.swing.JComponent.processKeyEvent(JComponent.java:2801)
at java.awt.Component.processEvent(Component.java:5885)
at java.awt.Container.processEvent(Container.java:2105)
at java.awt.Component.dispatchEventImpl(Component.java:4469)
at java.awt.Container.dispatchEventImpl(Container.java:2163)
at java.awt.Component.dispatchEvent(Component.java:4295)
at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1881)
at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:749)
at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:1025)
at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:892)
at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:713)
at java.awt.Component.dispatchEventImpl(Component.java:4339)
at java.awt.Container.dispatchEventImpl(Container.java:2163)
at java.awt.Window.dispatchEventImpl(Window.java:2478)
at java.awt.Component.dispatchEvent(Component.java:4295)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:604)
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)

Sep 17 09:36:47.485 ERROR java.lang.reflect.InvocationTargetException
at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.armedbear.j.Editor.invoke(Editor.java:2471)
at org.armedbear.j.Editor.execute(Editor.java:2395)
at org.armedbear.j.Editor.handleJEvent(Editor.java:2588)
at org.armedbear.j.Dispatcher.dispatchKeyPressed(Dispatcher.java:245)
at org.armedbear.j.Dispatcher.dispatch(Dispatcher.java:148)
at org.armedbear.j.Dispatcher.keyPressed(Dispatcher.java:331)
at java.awt.AWTEventMulticaster.keyPressed(AWTEventMulticaster.java:250)
at java.awt.Component.processKeyEvent(Component.java:6066)
at javax.swing.JComponent.processKeyEvent(JComponent.java:2801)
at java.awt.Component.processEvent(Component.java:5885)
at java.awt.Container.processEvent(Container.java:2105)
at java.awt.Component.dispatchEventImpl(Component.java:4469)
at java.awt.Container.dispatchEventImpl(Container.java:2163)
at java.awt.Component.dispatchEvent(Component.java:4295)
at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1881)
at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:749)
at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:1025)
at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:892)
at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:713)
at java.awt.Component.dispatchEventImpl(Component.java:4339)
at java.awt.Container.dispatchEventImpl(Container.java:2163)
at java.awt.Window.dispatchEventImpl(Window.java:2478)
at java.awt.Component.dispatchEvent(Component.java:4295)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:604)
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)
Caused by: org.armedbear.j.AssertionException

at org.armedbear.j.Debug.assertTrue(Debug.java:33)
at org.armedbear.j.Display.reframeHorizontally(Display.java:1735)
at org.armedbear.j.Display.reframe(Display.java:1637)
at org.armedbear.j.Editor.reframe(Editor.java:7053)
at org.armedbear.j.Editor.bufferActivated(Editor.java:6087)
at org.armedbear.j.Editor.activate(Editor.java:6000)
at org.armedbear.j.Editor.switchToBuffer(Editor.java:4462)
at org.armedbear.j.Editor.prevBuffer(Editor.java:4453)
... 33 more

I am using J 0.23.0 which I built myself from sources, jdk is Java 1.6.0_18 OpenJDK Server VM on ubuntu lucid.

Discussion


Log in to post a comment.