Fehlermeldung „No more handles“

unter 0.48.1 ist die gleiche Fehlermeldung, wie unter 0.48 s. Bild oben.

Der Fehler tritt sofort auf, beim Versuch ein Menüpunkt unter “Importieren” auszuwählen.

Funktionieren sonst alle anderen Features des Programms oder tritt der Fehler auch an derer Stelle auf, beispielsweise, wenn über das Menü eine PP Datei geöffnet werden soll?

Mit Hilfe --> Debug: GUI zurücksetzen ließen sich in der Vergangenheit auch schon manche Fehler beheben, die mit dem UI zu tun haben und bei swt haben wir es mit dem UI zu tun. Vielleicht mal ausprobieren, ob das Zurücksetzen was bringt.

Vielleicht hilfen auch die Infos aus diesem Thread: PP startet mit weißem Bildschirm

Die anderen Features haben funktioniert, soweit ich es beurteilen kann, allerdings nach dem GUI zurücksetzen kann keine PP Datei geöffnet werden.
Komm die selbe Fehlermeldung, wie oben"org.eclipse.swt.SWTError: No more handles".

das Workspace Verzeichnis zu löschen, hat keine Besserung gebracht.

Mon Sep 07 01:39:10 CEST 2020
Problems occurred when invoking code from plug-in: "org.eclipse.equinox.app".

java.lang.NoClassDefFoundError: org/eclipse/swt/accessibility/AccessibleObject
	at org.eclipse.equinox.launcher.JNIBridge._takedown_splash(Native Method)
	at org.eclipse.equinox.launcher.JNIBridge.takeDownSplash(JNIBridge.java:173)
	at org.eclipse.equinox.launcher.Main.takeDownSplash(Main.java:2156)
	at org.eclipse.equinox.launcher.Main$SplashHandler.run(Main.java:122)
	at org.eclipse.core.runtime.internal.adaptor.DefaultStartupMonitor.applicationRunning(DefaultStartupMonitor.java:71)
	at org.eclipse.equinox.internal.app.EclipseAppHandle$1.run(EclipseAppHandle.java:279)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:45)
	at org.eclipse.equinox.internal.app.EclipseAppHandle.applicationRunning(EclipseAppHandle.java:267)
	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1093)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338)
	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1047)
	at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:155)
	at org.eclipse.e4.ui.internal.workbench.swt.E4Application.start(E4Application.java:166)
	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:203)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:137)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:107)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:401)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:255)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:657)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:594)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1447)
	at org.eclipse.equinox.launcher.Main.main(Main.java:1420)
Caused by: java.lang.ClassNotFoundException: org.eclipse.swt.accessibility.AccessibleObject
	at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
	... 26 more


Konnte man schon das Problem lokalisieren?

Wenn ich es richtig sehe, liegt das alles im Framework. In anderen Threads wurde ein vergleichbares Verhalten unter Linux und MacOS berichtet. Da ich selbst auf Windows unterwegs bin, kann ich da leider nicht weiterhelfen.

Es scheint nur eine komplette Neuinstallation zu helfen. Wobei auch das wohl nicht ganz trivial ist. Vielleicht haben @AndreasB oder @Ragas noch eine Idee?!

Wenn ich so die letzten Tage zum Thema “org.eclipse.swt.SWTError: No more handles” betrachte, so scheint dies derzeit nur bei Linux aufzutreten. Bei Win oder Apple habe ich nichts gesehen, oder habe ich etwas verpasst?

Wenn Linux dann habe ich GTK in Verdacht. Mit dem Update von PP auf Version 0.48.0 gelten folgende Anforderungen:

Ich glaube, dies lässt sich via folgende Befehl überprüfen:

dpkg -l | grep gtk

Neuinstallation hat nichts verbessert.

ii  apport-gtk                                    2.20.1-0ubuntu2.24                              all          GTK+ frontend for the apport crash report system
ii  gir1.2-gtk-3.0:amd64                          3.18.9-1ubuntu3.3                               amd64        GTK+ graphical user interface library -- gir bindings
ii  gir1.2-gtksource-3.0:amd64                    3.18.2-1                                        amd64        gir files for the GTK+ syntax highlighting widget
ii  gir1.2-javascriptcoregtk-3.0:amd64            2.4.11-0ubuntu0.1                               amd64        JavaScript engine library from WebKitGTK+ - GObject introspection data
ii  gir1.2-javascriptcoregtk-4.0:amd64            2.20.5-0ubuntu0.16.04.1                         amd64        JavaScript engine library from WebKitGTK+ - GObject introspection data
ii  gtk2-engines-murrine:amd64                    0.98.2-0ubuntu2.2                               amd64        cairo-based gtk+-2.0 theme engine
ii  ibus-gtk:amd64                                1.5.11-1ubuntu2.4                               amd64        Intelligent Input Bus - GTK+2 support
ii  ibus-gtk3:amd64                               1.5.11-1ubuntu2.4                               amd64        Intelligent Input Bus - GTK+3 support
ii  libavahi-ui-gtk3-0:amd64                      0.6.32~rc+dfsg-1ubuntu2.3                       amd64        Avahi GTK+ User interface library for GTK3
ii  libcanberra-gtk-module:amd64                  0.30-2.1ubuntu1                                 amd64        translates GTK+ widgets signals to event sounds
ii  libcanberra-gtk0:amd64                        0.30-2.1ubuntu1                                 amd64        GTK+ helper for playing widget event sounds with libcanberra
ii  libcanberra-gtk3-0:amd64                      0.30-2.1ubuntu1                                 amd64        GTK+ 3.0 helper for playing widget event sounds with libcanberra
ii  libcanberra-gtk3-module:amd64                 0.30-2.1ubuntu1                                 amd64        translates GTK3 widgets signals to event sounds
ii  libcheese-gtk25:amd64                         3.18.1-2ubuntu3                                 amd64        tool to take pictures and videos from your webcam - widgets
ii  libclutter-gtk-1.0-0:amd64                    1.6.6-1                                         amd64        Open GL based interactive canvas library GTK+ widget
ii  libdbusmenu-gtk3-4:amd64                      16.04.1+16.04.20160927-0ubuntu1                 amd64        library for passing menus over DBus - GTK+ version
ii  libdbusmenu-gtk4:amd64                        16.04.1+16.04.20160927-0ubuntu1                 amd64        library for passing menus over DBus - GTK+ version
ii  libgtk-3-0:amd64                              3.18.9-1ubuntu3.3                               amd64        GTK+ graphical user interface library
ii  libgtk-3-bin                                  3.18.9-1ubuntu3.3                               amd64        programs for the GTK+ graphical user interface library
ii  libgtk-3-common                               3.18.9-1ubuntu3.3                               all          common files for the GTK+ graphical user interface library
ii  libgtk2-perl                                  2:1.2498-1                                      amd64        Perl interface to the 2.x series of the Gimp Toolkit library
ii  libgtk2.0-0:amd64                             2.24.30-1ubuntu1.16.04.2                        amd64        GTK+ graphical user interface library
ii  libgtk2.0-bin                                 2.24.30-1ubuntu1.16.04.2                        amd64        programs for the GTK+ graphical user interface library
ii  libgtk2.0-common                              2.24.30-1ubuntu1.16.04.2                        all          common files for the GTK+ graphical user interface library
ii  libgtkglext1:amd64                            1.2.0-3.2fakesync1ubuntu1                       amd64        OpenGL Extension to GTK+ (shared libraries)
ii  libgtkglextmm-x11-1.2-0v5:amd64               1.2.0-7                                         amd64        C++ bindings for GtkGLExt (Shared libraries)
ii  libgtkmm-2.4-1v5:amd64                        1:2.24.4-2                                      amd64        C++ wrappers for GTK+ (shared libraries)
ii  libgtkmm-3.0-1v5:amd64                        3.18.0-1                                        amd64        C++ wrappers for GTK+ (shared libraries)
ii  libgtksourceview-3.0-1:amd64                  3.18.2-1                                        amd64        shared libraries for the GTK+ syntax highlighting widget
ii  libgtksourceview-3.0-common                   3.18.2-1                                        all          common files for the GTK+ syntax highlighting widget
ii  libgtksourceview2.0-0                         2.10.5-2ubuntu2                                 amd64        shared libraries for the GTK+ syntax highlighting widget
ii  libgtksourceview2.0-common                    2.10.5-2ubuntu2                                 all          common files for the GTK+ syntax highlighting widget
ii  libgtkspell3-3-0:amd64                        3.0.7-2                                         amd64        spell-checking addon for GTK+'s TextView widget
ii  libgwengui-gtk2-0                             4.15.2beta-2build1                              amd64        Gwenhywfar GUI implementation for GTK2
ii  libido3-0.1-0:amd64                           13.10.0+16.04.20161028-0ubuntu1                 amd64        Shared library providing extra gtk menu items for display in
ii  libjavascriptcoregtk-1.0-0:amd64              2.4.11-0ubuntu0.1                               amd64        JavaScript engine library from WebKitGTK+
ii  libjavascriptcoregtk-3.0-0:amd64              2.4.11-0ubuntu0.1                               amd64        JavaScript engine library from WebKitGTK+
ii  libjavascriptcoregtk-4.0-18:amd64             2.20.5-0ubuntu0.16.04.1                         amd64        JavaScript engine library from WebKitGTK+
ii  libnm-gtk-common                              1.2.6-0ubuntu0.16.04.4                          all          library for wireless and mobile dialogs - common files
ii  libnm-gtk0:amd64                              1.2.6-0ubuntu0.16.04.4                          amd64        library for wireless and mobile dialogs (libnm-glib version)
ii  libreoffice-gtk                               1:5.1.6~rc2-0ubuntu1~xenial10                   amd64        office productivity suite -- GTK+ integration
ii  libunity-gtk2-parser0:amd64                   0.0.0+15.04.20150118-0ubuntu3                   amd64        GtkMenuShell to GMenuModel parser
ii  libunity-gtk3-parser0:amd64                   0.0.0+15.04.20150118-0ubuntu3                   amd64        GtkMenuShell to GMenuModel parser
ii  libwebkit2gtk-4.0-37:amd64                    2.20.5-0ubuntu0.16.04.1                         amd64        Web content engine library for GTK+
ii  libwebkit2gtk-4.0-37-gtk2:amd64               2.20.5-0ubuntu0.16.04.1                         amd64        Web content engine library for GTK+ - GTK+2 plugin process
ii  libwebkitgtk-1.0-0:amd64                      2.4.11-0ubuntu0.1                               amd64        Web content engine library for GTK+
ii  libwebkitgtk-1.0-common                       2.4.11-0ubuntu0.1                               all          Web content engine library for GTK+ - data files
ii  libwebkitgtk-3.0-0:amd64                      2.4.11-0ubuntu0.1                               amd64        Web content engine library for GTK+
ii  libwebkitgtk-3.0-common                       2.4.11-0ubuntu0.1                               all          Web content engine library for GTK+ - data files
ii  libwmf0.2-7-gtk                               0.2.8.4-10.5ubuntu1                             amd64        Windows metafile conversion library
ii  libwxgtk3.0-0v5:amd64                         3.0.2+dfsg-1.3ubuntu0.1                         amd64        wxWidgets Cross-platform C++ GUI toolkit (GTK+ runtime)
ii  overlay-scrollbar-gtk2:amd64                  0.2.17.1+16.04.20151117-0ubuntu1.16.04.1        amd64        GTK 2 module for overlay scrollbars
ii  python-gtk2                                   2.24.0-4ubuntu1                                 amd64        Python bindings for the GTK+ widget set
ii  python-gtksourceview2                         2.10.1-2build1                                  amd64        Python bindings for the GtkSourceView widget
ii  python-wxgtk3.0                               3.0.2.0+dfsg-1build1                            amd64        Python interface to the wxWidgets Cross-platform C++ GUI toolkit
ii  python3-aptdaemon.gtk3widgets                 1.1.1+bzr982-0ubuntu14.3                        all          Python 3 GTK+ 3 widgets to run an aptdaemon client
ii  software-properties-gtk                       0.96.20.10                                      all          manage the repositories that you install software from (gtk)
ii  transmission-gtk                              2.84-3ubuntu3.1                                 amd64        lightweight BitTorrent client (GTK+ interface)
ii  ubuntu-release-upgrader-gtk                   1:16.04.30                                      all          manage release upgrades
ii  unity-gtk-module-common                       0.0.0+15.04.20150118-0ubuntu3                   all          Common files for GtkMenuShell D-Bus exporter
ii  unity-gtk2-module:amd64                       0.0.0+15.04.20150118-0ubuntu3                   amd64        GtkMenuShell D-Bus exporter
ii  unity-gtk3-module:amd64                       0.0.0+15.04.20150118-0ubuntu3                   amd64        GtkMenuShell D-Bus exporter
ii  usb-creator-gtk                               0.3.2ubuntu16.04.2                              amd64        create a startup disk using a CD or disc image (for GNOME)
ii  winff-gtk2                                    1.5.3-6                                         amd64        GTK+ variant of winff
ii  xdg-desktop-portal-gtk                        1.0.2-0ubuntu0.0                                amd64        GTK+/GNOME portal backend for xdg-desktop-portal
ii  xdg-user-dirs-gtk                             0.10-1ubuntu1                                   amd64        tool to manage well known user directories (Gtk extension)

Was ist denn das für ein Ubuntu? Noch ein 16.04? Zeig mal
lsb_release -a

$ dpkg -l | grep libgtk-3
ii  libgtk-3-0:amd64                       3.22.30-1ubuntu4                                 amd64        GTK+ graphical user interface library
ii  libgtk-3-bin                           3.22.30-1ubuntu4                                 amd64        programs for the GTK+ graphical user interface library
ii  libgtk-3-common                        3.22.30-1ubuntu4                                 all          common files for the GTK+ graphical user interface library

$ lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 18.04.5 LTS
Release:	18.04
Codename:	bionic

Mit 3.22.30-1ubuntu4 habe ich die Probleme nicht.

ja, die Vorherige Version von PP geht problemlos
|Description:|Ubuntu 16.04.7 LTS|
|Release:|16.04|

Wenn das so stimmt, hast Du mit 16.04 schlechte Karten. Version >= 3.20 gibts es nur ab Ubuntu 18.04, siehe https://packages.ubuntu.com/search?keywords=libgtk-3-0

Wofür braucht man denn in der PP 0.48 Eclipse/SWT 4.16.x: GTK+ 3.20.0?
Kann man denn nicht weiterhin Ubuntu 16.04 kompatible Versionen verwenden?

Ein Zielkonflikt. Es traten gerade unter Linux in der Darstellung zuletzt öfters Probleme auf, gerade weil SWT wegen der Abwärtskompatibilität lange nicht aktualisiert wurde. Jetzt wurde das Framework genau aus diesem Grund aktualisiert.

Aber, die Vorgaben trifft Eclipse, welche SWT/GTK Anforderungen erfüllt sein müssen :wink: und Cherry piking geht hier leider nicht.

Ich habe bisher unter Linux 16.04 LTS keine Probleme in der Darstellung gemerkt.
Kann man evtl. eine Version für 16.04 LTS mit dem Import-Patch für Smartbroker bilden ohne GTK+ 3.20.0-Probleme reinzupatchen?

@gsw17 @ProgFriese
Ich muss mich entschuldigen, ich bin bei der Version falsch abgebogen. Eclipse selbst auf 4.16, PP arbeitet mit 4.14. Demnach verwendet PP aktuell GTK 3.1

Nein, nicht wenn PP weiter entwickelt werden soll. Ab PP Version 0.48.0 liegt die GTK Voraussetzung bei >= 3.1. Sorry.

@AndreasB

Da @gsw17 ja bei Version 3.18.9-1ubuntu3.3 ist, sollte gtk doch jetzt als Ursache (für die NoMoreHandles) ausgeschlossen werden können, oder?

ich blicke nicht wirklich durch, was kommt denn als Ursache in Frage?
Das Problem mit PP Version 0.48.0 scheint ja nicht nur unter Linux aufzutreten.

Kann man sich noch die Hoffnung machen, dass jemand sich das Problem genau anschaut? :slight_smile:

Ich fürchte, dass das nicht weiter hilft, aber ich habe unter Manjaro-Linux (Arch) und PP 0.48.1 das beschriebene Problem nicht.

Grüße,
Andreas

Vielleicht gibt es ja neue Infos wenn Du mal PP aus dem Terminal startest, wie z.B. hier

me@xubuntu1804:~/Pfad/zu/pp_prog_0.48$ ./PortfolioPerformance 

(Portfolio Performance:10819): Gtk-CRITICAL **: 21:20:45.496: gtk_hsv_to_rgb: assertion 's >= 0.0 && s <= 1.0' failed
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.thoughtworks.xstream.core.util.Fields (file:/home/mj/Dokumente/edfg/pp_prog_0.48/plugins/org.apache.servicemix.bundles.xstream_1.4.8.1.jar) to field java.util.TreeMap.comparator
WARNING: Please consider reporting this to the maintainers of com.thoughtworks.xstream.core.util.Fields
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release

** (Portfolio Performance:10819): CRITICAL **: 21:20:47.031: JNI class pointer is NULL for class org/eclipse/swt/accessibility/AccessibleObject


** (Portfolio Performance:10819): CRITICAL **: 21:20:47.031: JNI class pointer is NULL for class org/eclipse/swt/accessibility/AccessibleObject

*** BUG ***
In pixman_region32_init_rect: Invalid rectangle passed
Set a breakpoint on '_pixman_log_error' to debug

*** BUG ***
In pixman_region32_init_rect: Invalid rectangle passed
Set a breakpoint on '_pixman_log_error' to debug


(Portfolio Performance:10819): Gtk-CRITICAL **: 21:20:49.764: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar

(Portfolio Performance:10819): Gtk-CRITICAL **: 21:20:49.764: gtk_widget_get_preferred_width_for_height: assertion 'height >= 0' failed

(Portfolio Performance:10819): Gtk-WARNING **: 21:20:49.764: gtk_widget_size_allocate(): attempt to allocate widget with width 21 and height -6

(Portfolio Performance:10819): Gtk-CRITICAL **: 21:20:49.764: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar
*** BUG ***
In pixman_region32_init_rect: Invalid rectangle passed
Set a breakpoint on '_pixman_log_error' to debug

*** BUG ***
In pixman_region32_init_rect: Invalid rectangle passed
Set a breakpoint on '_pixman_log_error' to debug

*** BUG ***
In pixman_region32_init_rect: Invalid rectangle passed
Set a breakpoint on '_pixman_log_error' to debug

*** BUG ***
In pixman_region32_init_rect: Invalid rectangle passed
Set a breakpoint on '_pixman_log_error' to debug

*** BUG ***
In pixman_region32_init_rect: Invalid rectangle passed
Set a breakpoint on '_pixman_log_error' to debug

*** BUG ***
In pixman_region32_init_rect: Invalid rectangle passed
Set a breakpoint on '_pixman_log_error' to debug

*** BUG ***
In pixman_region32_init_rect: Invalid rectangle passed
Set a breakpoint on '_pixman_log_error' to debug

*** BUG ***
In pixman_region32_init_rect: Invalid rectangle passed
Set a breakpoint on '_pixman_log_error' to debug


(Portfolio Performance:10819): Gtk-CRITICAL **: 21:20:49.802: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar

(Portfolio Performance:10819): Gtk-CRITICAL **: 21:20:49.802: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar
mj@xubuntu1804:~/Pfad/zu/pp_prog_0.48$ 

Die obigen Fehlermeldungen entstehen unter gtk 3.22.30-1ubuntu4 alle beim Start, bringen aber keine Einschränkungen mit sich - das Öffnen eines pdf-Files bringt bei mir keinen zusätzlichen Output. Das könnte bei Dir, @gsw17, ja anders sein.