- edited description
crash when opening rainbow (Linux)
Issue #540
closed
Hi, I downloaded and unzipped the current Okapi app package for Linux x64, but when I run rainbow.sh, I only get a dialog box („Error“/„The error is null“). Here’s the terminal output:
Picked up _JAVA_OPTIONS: -Dswing.crossplatformlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel
(SWT:7782): Gtk-CRITICAL **: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar
(SWT:7782): Gtk-WARNING **: Allocating size to swt-toolbar-flat 0x7fe9bcad5190 without calling gtk_widget_get_preferred_width/height(). How does the code know the size to allocate?
(SWT:7782): Gtk-WARNING **: Allocating size to SwtFixed 0x7fe9bc8b2660 without calling gtk_widget_get_preferred_width/height(). How does the code know the size to allocate?
(SWT:7782): Gtk-WARNING **: Allocating size to swt-toolbar-flat 0x7fe9bcad5190 without calling gtk_widget_get_preferred_width/height(). How does the code know the size to allocate?
(SWT:7782): Gtk-WARNING **: Allocating size to GtkEntry 0x7fe9bcb6a660 without calling gtk_widget_get_preferred_width/height(). How does the code know the size to allocate?
(SWT:7782): Gtk-WARNING **: Allocating size to GtkNotebook 0x7fe9bc408510 without calling gtk_widget_get_preferred_width/height(). How does the code know the size to allocate?
java.lang.NullPointerException
at org.eclipse.swt.widgets.TabFolder.setBounds(Unknown Source)
at org.eclipse.swt.widgets.Control.setBounds(Unknown Source)
at org.eclipse.swt.layout.GridLayout.layout(Unknown Source)
at org.eclipse.swt.layout.GridLayout.layout(Unknown Source)
at org.eclipse.swt.widgets.Composite.updateLayout(Unknown Source)
at org.eclipse.swt.widgets.Shell.resizeBounds(Unknown Source)
at org.eclipse.swt.widgets.Shell.gtk_size_allocate(Unknown Source)
at org.eclipse.swt.widgets.Widget.windowProc(Unknown Source)
at org.eclipse.swt.widgets.Control.windowProc(Unknown Source)
at org.eclipse.swt.widgets.Display.windowProc(Unknown Source)
at org.eclipse.swt.internal.gtk.OS._gtk_widget_show(Native Method)
at org.eclipse.swt.internal.gtk.OS.gtk_widget_show(Unknown Source)
at org.eclipse.swt.widgets.Shell.setVisible(Unknown Source)
at org.eclipse.swt.widgets.Shell.open(Unknown Source)
at net.sf.okapi.applications.rainbow.Main.main(Main.java:43)
Comments (4)
-
-
Hello! Thanks for this report. What version of Okapi was this? (The mostly likely versions are the latest release, 0.29, or the latest snapshot, 0.30-SNAPSHOT.)
-
Even adding the "-Dswing.crossplatformlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel" option I don't get a crash with M30 or M29 on my Ubuntu 14.04. They might want to try to add theses options to the rainbow shell script:
export SWT_GTK3=0 export LIBOVERLAY_SCROLLBAR=0 export GDK_NATIVE_WINDOWS=true
-
- edited description
- changed status to closed
We have not been able to replicate the crash. And since this is more than a year old, we can close it.
- Log in to comment