Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot create gtk4-layer-shell binding using the new cli generator. #159

Closed
poach3r opened this issue Dec 3, 2024 · 3 comments
Closed
Labels
bug Something isn't working

Comments

@poach3r
Copy link

poach3r commented Dec 3, 2024

Hello, as the title suggests I'm attempting to build gtk4-layer-shell using the newly added generator described in #156, however I'm getting an error.

Command:

./generator/build/install/java-gi/bin/java-gi -p ~/gtk4-layer-shell/build/src/Gtk4LayerShell-1.0.gir

Error:

java.lang.NullPointerException: Cannot invoke "String.length()" because "plainText" is null
	at [email protected]/picocli.CommandLine$Help$ColorScheme.apply(CommandLine.java:17672)
	at [email protected]/picocli.CommandLine$Help$ColorScheme.errorText(CommandLine.java:17548)
	at io.github.jwharm.javagi.generator/io.github.jwharm.javagi.JavaGI.handleException(JavaGI.java:138)
	at [email protected]/picocli.CommandLine.execute(CommandLine.java:2184)
	at io.github.jwharm.javagi.generator/io.github.jwharm.javagi.JavaGI.main(JavaGI.java:126)
@jwharm
Copy link
Owner

jwharm commented Dec 4, 2024

That shouldn't happen.
Can you attach the Gtk4LayerShell-1.0.gir file please?

@jwharm jwharm added the bug Something isn't working label Dec 4, 2024
@poach3r
Copy link
Author

poach3r commented Dec 4, 2024

Sure, I built this using the instructions on their Github repo on Debian Linux.
Gtk4LayerShell-1.0.gir.zip

@jwharm jwharm closed this as completed in e5917c2 Dec 4, 2024
@jwharm
Copy link
Owner

jwharm commented Dec 4, 2024

The issue was caused by a change I merged a few days ago. It's fixed now. Apologies for the inconvenience.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants