Alexander von Trostorff
Alexander von Trostorff
I now used [this](https://github.com/csexton/release-asset-action) action
The issues seem to come from this PR long ago https://github.com/mockito/mockito/pull/1810 The author does in **contradiction** to the docs have the wish to inject fields that are not initialized by...
What happened here if I should guess is the following. 1. There was once some totally misplaced loop that did initialization multiple times. 2. Somebody saw that and fixed it...
@TimvdLippe what do you think?
See issue #2602 for context
After reading it again. I think you need to relocate the libraries by hand like so: ``` net.java.dev.jna net.arikia.dev.jna ``` Read this https://maven.apache.org/plugins/maven-shade-plugin/examples/class-relocation.html
Like this : ``` org.apache.maven.plugins maven-shade-plugin 3.2.1 package shade com.sun.jna net.arikia.dev.jna ````
I am using JNA my self that is the issue and a newer version 5.0.0
Looks super good when i look at the file exactly what I expected
But ``` Exception in Application init method java.lang.reflect.InvocationTargetException at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:564) at javafx.graphics/com.sun.javafx.application.LauncherImpl.launchApplicationWithArgs(LauncherImpl.java:473) at javafx.graphics/com.sun.javafx.application.LauncherImpl.launchApplication(LauncherImpl.java:372) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:564)...