Re: Swing AWT demo troubles

2007-02-27 Thread Roman Kennke
Hi Robert,

 actually I wanted to test an XML patch on an application but while
 running an IzPack created installer with a Cacao+Classpath CVS HEAD
 I saw a lot of layout/drawing errors.
 
 Running the AWT demo resulted in:
 cacao -cp examples.zip gnu/classpath/examples/awt/Demo
 Exception in thread main java.lang.ClassCastException
at java.lang.Class.asSubclass(Class.java:1304)
at
 gnu.java.awt.peer.gtk.GtkToolkit.createDragGestureRecognizer(GtkToolkit.java:637)
at
 java.awt.dnd.DragSource.createDragGestureRecognizer(DragSource.java:235)
at
 java.awt.dnd.DragSource.createDefaultDragGestureRecognizer(DragSource.java:244)
at
 gnu.classpath.examples.awt.Demo$DragDropWindow$DragLabel.init(Demo.java:946)
at gnu.classpath.examples.awt.Demo$DragDropWindow.init(Demo.java:867)
at gnu.classpath.examples.awt.Demo$MainWindow.init(Demo.java:218)
at gnu.classpath.examples.awt.Demo.main(Demo.java:92)
 
 And the TextAreaDemo produces:
 
 cacao -cp examples.zip gnu/classpath/examples/swing/TextAreaDemo
 Exception during event dispatch:
 java.lang.ArithmeticException: / by zero
at javax.swing.text.PlainView.paint(PlainView.java:298)
at
 javax.swing.plaf.basic.BasicTextUI$RootView.paint(BasicTextUI.java:388)
at javax.swing.plaf.basic.BasicTextUI.paintSafely(BasicTextUI.java:1154)
at javax.swing.plaf.basic.BasicTextUI.paint(BasicTextUI.java:1105)
at javax.swing.plaf.basic.BasicTextUI.update(BasicTextUI.java:1183)
 
 Has anyone a quick idea or should I post bug reports for both issues?

Probably all of them (or at least most of them) could have been induced
by my patches. Unfortunately I'm very busy with my thesis thingy right
now and can fix them as fast as usual. I'll really try hard to have a
look and do something about them before the release. It would indeed be
useful if you'd file bug reports and flag them as blocker or so. Would
look pretty bad if we ship half-broken demos.

/Roman

-- 
aicas Allerton Interworks Computer Automated Systems GmbH
Haid-und-Neu-Straße 18 * D-76131 Karlsruhe * Germany
http://www.aicas.com   * Tel: +49-721-663 968-0

USt-Id: DE216375633, Handelsregister HRB 109481, AG Karlsruhe
Geschäftsführer: Dr. James J. Hunt




Re: Swing AWT demo troubles

2007-02-27 Thread Robert Schuster
I filed 3 separate bugs for the issues I mentioned below.

Regards
Robert

Roman Kennke schrieb:
 Hi Robert,
 
 actually I wanted to test an XML patch on an application but while
 running an IzPack created installer with a Cacao+Classpath CVS HEAD
 I saw a lot of layout/drawing errors.

 Running the AWT demo resulted in:
 cacao -cp examples.zip gnu/classpath/examples/awt/Demo
 Exception in thread main java.lang.ClassCastException
at java.lang.Class.asSubclass(Class.java:1304)
at
 gnu.java.awt.peer.gtk.GtkToolkit.createDragGestureRecognizer(GtkToolkit.java:637)
at
 java.awt.dnd.DragSource.createDragGestureRecognizer(DragSource.java:235)
at
 java.awt.dnd.DragSource.createDefaultDragGestureRecognizer(DragSource.java:244)
at
 gnu.classpath.examples.awt.Demo$DragDropWindow$DragLabel.init(Demo.java:946)
at gnu.classpath.examples.awt.Demo$DragDropWindow.init(Demo.java:867)
at gnu.classpath.examples.awt.Demo$MainWindow.init(Demo.java:218)
at gnu.classpath.examples.awt.Demo.main(Demo.java:92)

 And the TextAreaDemo produces:

 cacao -cp examples.zip gnu/classpath/examples/swing/TextAreaDemo
 Exception during event dispatch:
 java.lang.ArithmeticException: / by zero
at javax.swing.text.PlainView.paint(PlainView.java:298)
at
 javax.swing.plaf.basic.BasicTextUI$RootView.paint(BasicTextUI.java:388)
at javax.swing.plaf.basic.BasicTextUI.paintSafely(BasicTextUI.java:1154)
at javax.swing.plaf.basic.BasicTextUI.paint(BasicTextUI.java:1105)
at javax.swing.plaf.basic.BasicTextUI.update(BasicTextUI.java:1183)

 Has anyone a quick idea or should I post bug reports for both issues?
 
 Probably all of them (or at least most of them) could have been induced
 by my patches. Unfortunately I'm very busy with my thesis thingy right
 now and can fix them as fast as usual. I'll really try hard to have a
 look and do something about them before the release. It would indeed be
 useful if you'd file bug reports and flag them as blocker or so. Would
 look pretty bad if we ship half-broken demos.
 
 /Roman
 



signature.asc
Description: OpenPGP digital signature