java.lang.RuntimeException: Assertion Failed:
at wtanaka.debug.Debug.assrt(Debug.java:212)
at wtanaka.debug.Debug.assrt(Debug.java:218)
at
wtanaka.praya.gui.HTMLMessageDrop.shouldScrollToBottom(HTMLMessageDrop.java:214)
at
wtanaka.praya.gui.HTMLMessageDrop.receiveMessage(HTMLMessageDrop.java:280)
at
wtanaka.praya.gui.HTMLMessageDrop$3.run(HTMLMessageDrop.java:263)
at
javax.swing.SystemEventQueueUtilities.processRunnableEvent(SystemEventQueueUtilities.java:398)
at
javax.swing.SystemEventQueueUtilities.access$0(SystemEventQueueUtilities.java:394)
at
javax.swing.SystemEventQueueUtilities$RunnableTarget.processEvent(SystemEventQueueUtilities.java:435)
at java.awt.Component.dispatchEventImpl(Component.java:2399)
at java.awt.Component.dispatchEvent(Component.java:2312)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:301)
at
java.awt.EventDispatchThread.pumpOneEventForComponent(EventDispatchThread.java:120)
at
java.awt.EventDispatchThread.pumpEventsForComponent(EventDispatchThread.java:95)
at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:90)
at
java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Logged In: YES
user_id=11717
message from:
java.specification.name: Java Platform API Specification
java.version: 1.2.2
java.awt.graphicsenv: sun.awt.X11GraphicsEnvironment
user.timezone: America/Los_Angeles
java.specification.version: 1.2
java.vm.vendor: Sun Microsystems Inc.
java.vm.specification.version: 1.0
user.home: /home/wtanaka
os.arch: i386
java.awt.fonts:
java.vendor.url: http://java.sun.com/
file.encoding.pkg: sun.io
user.region: US
java.home: /opt/jdk1.2.2/jre
java.class.path:
/usr/local/jdk117_v3/lib/classes.zip:/opt/swing-1.1.1fcs/swing.jar:/home/wtanaka:/home/wtanaka/wohenchan/src:/home/wtanaka/herdme/src:/home/wtanaka/cabal/src:/home/wtanaka/praya
line.separator:
java.ext.dirs: /opt/jdk1.2.2/jre/lib/ext
java.io.tmpdir: /tmp
os.name: Linux
java.vendor: Sun Microsystems Inc.
java.awt.printerjob: sun.awt.motif.PSPrinterJob
java.library.path:
/opt/jdk1.2.2/jre/lib/i386/green_threads:/opt/jdk1.2.2/jre/lib/i386/classic:/opt/jdk1.2.2/jre/lib/i386:/usr/lib:/lib
java.vm.specification.vendor: Sun Microsystems Inc.
sun.io.unicode.encoding: UnicodeLittle
file.encoding: ISO-8859-1
java.specification.vendor: Sun Microsystems Inc.
user.name: wtanaka
user.language: en
java.vendor.url.bug: http://java.sun.com/cgi-bin/bugreport.cgi
java.vm.name: Classic VM
java.vm.specification.name: Java Virtual Machine Specification
java.class.version: 46.0
sun.boot.library.path: /opt/jdk1.2.2/jre/lib/i386
os.version: 2.4.10
java.vm.info: build JDK-1.2.2_007, green threads, nojit
java.vm.version: 1.2.2
java.compiler: javacomp
path.separator: :
user.dir: /home/wtanaka/praya
file.separator: /
sun.boot.class.path:
/opt/jdk1.2.2/jre/lib/rt.jar:/opt/jdk1.2.2/jre/lib/i18n.jar:/opt/jdk1.2.2/jre/classes
Logged In: YES
user_id=11717
user.language: en
java.home: /usr/local/jdk117_v3/bin/..
java.vendor.url.bug: http://www.blackdown.org/cgi-bin/jdk
file.encoding.pkg: sun.io
java.version: 1.1.7B
file.separator: /
line.separator:
user.region: US
file.encoding: 8859_1
java.vendor: Sun Microsystems Inc., ported by the Blackdown
Java-Linux Porting
Team
user.timezone: PST
user.name: wtanaka
os.arch: x86
os.name: Linux
java.vendor.url: http://java.blackdown.org/java-linux.html
user.dir: /home/wtanaka
java.class.path:
/usr/local/jdk117_v3/lib/classes.zip:/opt/swing-1.1.1fcs/swing.jar:/home/wtanaka:/home/wtanaka/wohenchan/src:/home/wtanaka/herdme/src:/home/wtanaka/cabal/src:/home/wtanaka/praya:/usr/local/jdk117_v3/bin/../classes:/usr/local/jdk117_v3/bin/../lib/classes.jar:/usr/local/jdk117_v3/bin/../lib/rt.jar:/usr/local/jdk117_v3/bin/../lib/i18n.jar:/usr/local/jdk117_v3/bin/../lib/classes.zip
java.class.version: 45.3
os.version: 2.4.10
path.separator: :
user.home: /home/wtanaka
java.lang.RuntimeException: Assertion Failed:
at wtanaka.debug.Debug.assrt(Debug.java:212)
at wtanaka.debug.Debug.assrt(Debug.java:218)
at
wtanaka.praya.gui.HTMLMessageDrop.shouldScrollToBottom(HTMLMessageDrop.java:210)
at
wtanaka.praya.gui.HTMLMessageDrop.receiveMessage(HTMLMessageDrop.java:264)
at
wtanaka.praya.gui.inline.InlinePanel.receiveMessage(InlinePanel.java:522)
at
wtanaka.praya.gui.inline.InlineWrapperFrame.receiveMessage(InlineWrapperFrame.java:80)
at wtanaka.praya.Protocol.pushMessage(Protocol.java:163)
at
wtanaka.praya.yahoo.YahooClient.yahoo_cmd_msg(YahooClient.java:880)
at
wtanaka.praya.yahoo.YahooRecipient.sendReply(YahooRecipient.java:70)
at
wtanaka.praya.gui.DefaultCompositor$2.actionPerformed(DefaultCompositor.java:134)
at
javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1066)
at
javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1101)
at
javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:378)
at
javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:250)
at
javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:204)
at java.awt.Component.processMouseEvent(Component.java:2355)
at java.awt.Component.processEvent(Component.java:2200)
at java.awt.Container.processEvent(Container.java:904)
at java.awt.Component.dispatchEventImpl(Component.java:1809)
at java.awt.Container.dispatchEventImpl(Container.java:949)
at java.awt.Component.dispatchEvent(Component.java:1741)
at
java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:1739)
at
java.awt.LightweightDispatcher.processMouseEvent(Container.java:1537)
at
java.awt.LightweightDispatcher.dispatchEvent(Container.java:1453)
at java.awt.Container.dispatchEventImpl(Container.java:936)
at java.awt.Window.dispatchEventImpl(Window.java:491)
at java.awt.Component.dispatchEvent(Component.java:1741)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:79)
Logged In: YES
user_id=11717
186 /**
187 * Should we scroll to bottom?
188 * @return true if we should jumpscroll, false if not.
189 **/
190 private final boolean shouldScrollToBottom()
191 {
192 try
193 {
194 synchronized (this)
195 {
196 Rectangle visible = m_textPane.getVisibleRect();
197 Rectangle topOfLastMessage =
getRectAtTopOfLastMessage();
198 Rectangle bottom = SwingUtilities.computeUnion (
199 topOfLastMessage.x, topOfLastMessage.y,
200 topOfLastMessage.width,
topOfLastMessage.height,
201 m_textPane.modelToView
(m_styledDocument.getLength()));
202 SwingUtilities.computeIntersection (bottom.x,
bottom.y,
203 bottom.width, bottom.height, visible);
204 if (visible.height == 0 && visible.width == 0)
205 return false;
206 }
207 }
208 catch (BadLocationException e)
209 {
210 Debug.assrt (false);
211 }
212 return true;
213 }