[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Division by zero exception when running Swing program with /usr/bin/gij-4.3



Hello,

I have an application which throws loads of / by zero exceptions (see
below) when run with gij, and the ui looks almost empty. When run with
Sun java it works fine.

I've compiled it with both, sun java and ecj both leading to the same
result.

Help would be appreciated.

Best regards 

Ben


> umlet
Exception during event dispatch:
java.lang.ArithmeticException: / by zero
   at javax.swing.text.PlainView.paint(libgcj.so.90)
   at javax.swing.plaf.basic.BasicTextUI$RootView.paint(libgcj.so.90)
   at javax.swing.plaf.basic.BasicTextUI.paintSafely(libgcj.so.90)
   at javax.swing.plaf.basic.BasicTextUI.paint(libgcj.so.90)
   at javax.swing.JComponent.paintComponent(libgcj.so.90)
   at javax.swing.JComponent.paint(libgcj.so.90)
   at javax.swing.JViewport.paintSimple(libgcj.so.90)
   at javax.swing.JViewport.paintBackingStore(libgcj.so.90)
   at javax.swing.JViewport.paint(libgcj.so.90)
   at javax.swing.JComponent.paintChildren(libgcj.so.90)
   at javax.swing.JComponent.paint(libgcj.so.90)
   at javax.swing.JComponent.paintChildren(libgcj.so.90)
   at javax.swing.JSplitPane.paintChildren(libgcj.so.90)
   at javax.swing.JComponent.paint(libgcj.so.90)
   at javax.swing.JComponent.paintChildren(libgcj.so.90)
   at javax.swing.JSplitPane.paintChildren(libgcj.so.90)
   at javax.swing.JComponent.paint(libgcj.so.90)
   at javax.swing.JComponent.paintChildren(libgcj.so.90)
   at javax.swing.JSplitPane.paintChildren(libgcj.so.90)
   at javax.swing.JComponent.paint(libgcj.so.90)
   at javax.swing.JComponent.paintChildren(libgcj.so.90)
   at javax.swing.JSplitPane.paintChildren(libgcj.so.90)
   at javax.swing.JComponent.paint(libgcj.so.90)
   at javax.swing.JComponent.paintDoubleBuffered(libgcj.so.90)
   at javax.swing.JComponent.paintImmediately2(libgcj.so.90)
   at javax.swing.JComponent.paintImmediately(libgcj.so.90)
   at javax.swing.JComponent.paintImmediately(libgcj.so.90)
   at javax.swing.RepaintManager.paintDirtyRegions(libgcj.so.90)
   at javax.swing.RepaintManager$RepaintWorker.run(libgcj.so.90)
   at java.awt.event.InvocationEvent.dispatch(libgcj.so.90)
   at javax.swing.RepaintManager$RepaintWorkerEvent.dispatch(libgcj.so.90)
   at java.awt.EventQueue.dispatchEvent(libgcj.so.90)
   at java.awt.EventDispatchThread.run(libgcj.so.90)



Reply to: