Menu

#171 0.8.9 does not start in OpenSuSE Tumbleweed linux

v1.0_(example)
open
nobody
None
1
2017-01-28
2017-01-06
No

reported by Maikl Wagner even after the #170 was fixed

Discussion

  • Jochen Staerk

    Jochen Staerk - 2017-01-07

    The Message being

    (SWT:2535): Gtk-WARNING **: Negative content width -6 (allocation 1, extents 4x3) while allocating gadget (node toolbar, owner GtkToolbar)
    Exception in thread "main" java.lang.NullPointerException
    at org.eclipse.swt.widgets.TabFolder.gtk_switch_page(TabFolder.java:570)
    at org.eclipse.swt.widgets.Widget.windowProc(Widget.java:2009)
    at org.eclipse.swt.widgets.Display.windowProc(Display.java:4723)
    at org.eclipse.swt.internal.gtk.OS._gtk_widget_show(Native Method)
    at org.eclipse.swt.internal.gtk.OS.gtk_widget_show(OS.java:14774)
    at org.eclipse.swt.widgets.TabFolder.createItem(TabFolder.java:311)
    at org.eclipse.swt.widgets.TabItem.createWidget(TabItem.java:123)
    at org.eclipse.swt.widgets.TabItem.<init>(TabItem.java:75)
    at GUILayer.configWindow.createContents(Unknown Source)
    at org.eclipse.jface.window.Window.create(Window.java:430)
    at org.eclipse.jface.window.Window.open(Window.java:792)
    at GUILayer.configWindow.show(Unknown Source)
    at GUILayer.configWindow.testAndShow(Unknown Source)
    at GUILayer.MainWindow.main(Unknown Source)</init>

    could be related to https://bugs.eclipse.org/bugs/show_bug.cgi?id=486069 , i.e. another SWT upgrade could fix that

     
  • Jochen Staerk

    Jochen Staerk - 2017-01-10

    it does work after a swt upgrade, a preliminary archive with a new shell file and new libraries can be found at http://www.gnuaccounting.org/ga089-new-linux.tar.gz for a couple of days; I still need to integrate it into workspace, version control, and other plattforms

     
  • Maik Wagner

    Maik Wagner - 2017-01-28

    Hello Jochen,

    thanks for looking into this. I had a go with the new libs and shell script and Gnuaccounting now starts up okay. Although it takes a while.

    I am still getting some console output that you might be interested in:

    mwagner@linux-ioep:~/Downloads/gnuaccounting> sh gnuaccounting.sh 
    
    (SWT:29499): Gtk-WARNING **: Negative content width -6 (allocation 1, extents 4x3) while allocating gadget (node toolbar, owner GtkToolbar)
    
    (SWT:29499): Gtk-WARNING **: Negative content width -1 (allocation 1, extents 1x1) while allocating gadget (node trough, owner GtkProgressBar)
    
    (SWT:29499): Gtk-WARNING **: Negative content width -1 (allocation 1, extents 1x1) while allocating gadget (node trough, owner GtkProgressBar)
    JarLib.load
        Error = java.lang.UnsatisfiedLinkError: uk.co.mmscomputing.util.JarLib.loadX: Could not find library [libjsane.so]
    JarLib.load
        Error = java.lang.UnsatisfiedLinkError: uk.co.mmscomputing.util.JarLib.loadX: Could not find library [libjsane.so]
    java.lang.UnsatisfiedLinkError: uk.co.mmscomputing.util.JarLib.loadX: Could not find library [libjsane.so]
        at uk.co.mmscomputing.util.JarLib.loadX(JarLib.java:40)
        at uk.co.mmscomputing.util.JarLib.load(JarLib.java:10)
        at uk.co.mmscomputing.device.sane.jsane.<clinit>(jsane.java:140)
        at uk.co.mmscomputing.device.sane.SaneScanner.isAPIInstalled(SaneScanner.java:17)
        at uk.co.mmscomputing.device.scanner.Scanner.getDevice(Scanner.java:69)
        at GUILayer.configWindow.createContents(Unknown Source)
        at org.eclipse.jface.window.Window.create(Window.java:426)
        at org.eclipse.jface.window.Window.open(Window.java:783)
        at GUILayer.configWindow.show(Unknown Source)
        at GUILayer.configWindow.testAndShow(Unknown Source)
        at GUILayer.MainWindow.main(Unknown Source)
    JarLib.load
        Error = java.lang.UnsatisfiedLinkError: no jsane in java.library.path
    JarLib.load
        Error = java.lang.UnsatisfiedLinkError: no jsane in java.library.path
    java.lang.UnsatisfiedLinkError: no jsane in java.library.path
        at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1867)
        at java.lang.Runtime.loadLibrary0(Runtime.java:870)
        at java.lang.System.loadLibrary(System.java:1122)
        at uk.co.mmscomputing.util.JarLib.load(JarLib.java:22)
        at uk.co.mmscomputing.device.sane.jsane.<clinit>(jsane.java:140)
        at uk.co.mmscomputing.device.sane.SaneScanner.isAPIInstalled(SaneScanner.java:17)
        at uk.co.mmscomputing.device.scanner.Scanner.getDevice(Scanner.java:69)
        at GUILayer.configWindow.createContents(Unknown Source)
        at org.eclipse.jface.window.Window.create(Window.java:426)
        at org.eclipse.jface.window.Window.open(Window.java:783)
        at GUILayer.configWindow.show(Unknown Source)
        at GUILayer.configWindow.testAndShow(Unknown Source)
        at GUILayer.MainWindow.main(Unknown Source)
    
    (SWT:29499): Gtk-WARNING **: Allocating size to GtkBox 0x7f2459717300 without calling gtk_widget_get_preferred_width/height(). How does the code know the size to allocate?
    
    (SWT:29499): Gtk-WARNING **: Negative content width -6 (allocation 1, extents 4x3) while allocating gadget (node toolbar, owner GtkToolbar)
    
    (SWT:29499): Gtk-WARNING **: Negative content width -1 (allocation 1, extents 1x1) while allocating gadget (node trough, owner GtkProgressBar)
    
    (SWT:29499): Gtk-WARNING **: Negative content width -1 (allocation 1, extents 1x1) while allocating gadget (node trough, owner GtkProgressBar)
    
    (SWT:29499): Gtk-WARNING **: Negative content width -6 (allocation 1, extents 4x3) while allocating gadget (node toolbar, owner GtkToolbar)
    
    (SWT:29499): Gtk-WARNING **: Negative content width -1 (allocation 1, extents 1x1) while allocating gadget (node trough, owner GtkProgressBar)
    
    (SWT:29499): Gtk-WARNING **: Negative content width -1 (allocation 1, extents 1x1) while allocating gadget (node trough, owner GtkProgressBar)
    openjdk version "1.8.0_111"
    OpenJDK Runtime Environment (IcedTea 3.2.0) (suse-1.1-x86_64)
    OpenJDK 64-Bit Server VM (build 25.111-b14, mixed mode)
    
    (SWT:29499): Gtk-WARNING **: Negative content width -6 (allocation 1, extents 4x3) while allocating gadget (node toolbar, owner GtkToolbar)
    
    (SWT:29499): Gtk-WARNING **: Negative content width -1 (allocation 1, extents 1x1) while allocating gadget (node trough, owner GtkProgressBar)
    
    (SWT:29499): Gtk-WARNING **: Negative content width -1 (allocation 1, extents 1x1) while allocating gadget (node trough, owner GtkProgressBar)
    
    (SWT:29499): Gtk-WARNING **: Negative content width -6 (allocation 1, extents 4x3) while allocating gadget (node toolbar, owner GtkToolbar)
    
    (SWT:29499): Gtk-WARNING **: Negative content width -1 (allocation 1, extents 1x1) while allocating gadget (node trough, owner GtkProgressBar)
    
    (SWT:29499): Gtk-WARNING **: Negative content width -1 (allocation 1, extents 1x1) while allocating gadget (node trough, owner GtkProgressBar)
    

    Again thanks again for looking into this.

    Have a good weekend.

     

Log in to post a comment.

MongoDB Logo MongoDB