Skip to content

Gtk.init(String[]) line 95 ErrorInInitializerError #23

Open
@a-piece-of-garbage

Description

@a-piece-of-garbage

Was writing something when I got the following output:

Exception in thread "main" java.lang.ExceptionInInitializerError
	at org.gnome.gtk.Gtk.init(Gtk.java:95)
	at GtkTest.main(GtkTest.java:5)
Caused by: java.lang.NullPointerException
	at org.freedesktop.bindings.Plumbing.loadNativeCode(Plumbing.java:192)
	at org.freedesktop.bindings.Plumbing.<clinit>(Plumbing.java:110)
	... 2 more

Wrote something with the following code with the same output:

import org.gnome.gtk.Gtk;
public class GtkTest {
	public static void main(String[] args) {
		Gtk.init(args);
	}
}

I have no idea what is happening, but will gladly post more information on request.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions