[Kde-java] Re: polish( )
David Goodenough
david.goodenough at btconnect.com
Wed Oct 13 17:40:55 CEST 2004
> >
> > I'd be interested if you try out the TextEdit example that had the
> > QAction slot problem and see if it loops and crashes for you as well as
> > me. -- Richard
>
> I will give it a go. Please see my other note as there is at least one
> thing that the compiler should have flagged as an error in QImage.cpp.
>
> David
This is what I get (and not just for the TextEdit program, I tried it on one
of mine (in development using juic, so not know to be working).
Exception in thread "main" java.lang.NullPointerException
at JNIEnv_.CallStaticBooleanMethod(_jclass, _jmethodID, ...)
(/home/david/src/kdebindings3/kdebindings/qtjava/javalib/qtjava/.libs/libqtjavasupport.so.1.0.0)
at QtSupport.voidDelegate(void, byte const, byte const)
(/home/david/src/kdebindings3/kdebindings/qtjava/javalib/qtjava/.libs/libqtjavasupport.so.1.0.0)
at QToolBarJBridge.polish()
(/home/david/src/kdebindings3/kdebindings/qtjava/javalib/qtjava/.libs/libqtjava.so.1.0.0)
at QLayout.totalSizeHint() const (/usr/lib/libqt-mt.so.3.3.3)
at QWidget.sizeHint() const (/usr/lib/libqt-mt.so.3.3.3)
at QFrame.sizeHint() const (/usr/lib/libqt-mt.so.3.3.3)
at QDockWindow.sizeHint() const (/usr/lib/libqt-mt.so.3.3.3)
at QDockAreaLayout.layoutItems(QRect const&, boolean)
(/usr/lib/libqt-mt.so.3.3.3)
at QDockAreaLayout.setGeometry(QRect const&) (/usr/lib/libqt-mt.so.3.3.3)
at QLayout.activate() (/usr/lib/libqt-mt.so.3.3.3)
at QDockArea.updateLayout() (/usr/lib/libqt-mt.so.3.3.3)
at QDockArea.moveDockWindow(QDockWindow, int) (/usr/lib/libqt-mt.so.3.3.3)
at QMainWindow.moveDockWindow(QDockWindow, Qt.Dock)
(/usr/lib/libqt-mt.so.3.3.3)
at QMainWindow.addDockWindow(QDockWindow, Qt.Dock, boolean)
(/usr/lib/libqt-mt.so.3.3.3)
at QDockWindow.init() (/usr/lib/libqt-mt.so.3.3.3)
at QDockWindow.QDockWindow(QDockWindow.Place, QWidget, byte const,
unsigned, boolean) (/usr/lib/libqt-mt.so.3.3.3)
at QToolBar.QToolBar(QMainWindow, byte const) (/usr/lib/libqt-mt.so.3.3.3)
at Java_org_kde_qt_QToolBar_newQToolBar__Lorg_kde_qt_QMainWindow_2
(/home/david/src/kdebindings3/kdebindings/qtjava/javalib/qtjava/.libs/libqtjava.so.1.0.0)
at _Jv_JNIMethod.call(ffi_cif, void, ffi_raw, void)
(/usr/lib/libgcj.so.5.0.0)
at org.kde.qt.QToolBar.QToolBar(org.kde.qt.QMainWindow) (Unknown Source)
at TextEdit.setupEditActions() (Unknown Source)
at TextEdit.TextEdit(org.kde.qt.QWidget, java.lang.String) (Unknown Source)
at TextEdit.TextEdit() (Unknown Source)
at Main.main(java.lang.String[]) (Unknown Source)
This was using gij-3.4, there was also a dump when I tried it under Sun java,
I can send that to you as well if you want.
David
More information about the Kde-java
mailing list