build failure

407 views
Skip to first unread message

Martin Gyurkó

unread,
Mar 31, 2021, 6:54:40 AM3/31/21
to OpenPnP

Hi!
Tried to compile a fresh openpnp and I get this:

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project openpnp-gui: Execution default-compile of goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile failed: Cannot read the array length because "arr$" is null -> [Help 1]

it is a win10 PC with JDK-16

How do I fix that?

Bye,
Martin

Martin Gyurkó

unread,
Mar 31, 2021, 7:01:03 AM3/31/21
to OpenPnP
java version "16" 2021-03-16
Java(TM) SE Runtime Environment (build 16+36-2231)
Java HotSpot(TM) 64-Bit Server VM (build 16+36-2231, mixed mode, sharing)

Jason von Nieda

unread,
Mar 31, 2021, 12:31:44 PM3/31/21
to ope...@googlegroups.com
I think there are some compatibility issues with Java 16 - I have not yet finished integrating it. Try Java 15 or less.

Jason


--
You received this message because you are subscribed to the Google Groups "OpenPnP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openpnp+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/10e67c7f-9939-4bc7-8580-584cf6a611c9n%40googlegroups.com.

Martin Gyurkó

unread,
Apr 3, 2021, 4:13:02 PM4/3/21
to OpenPnP
With JDK 16 I also had the problem, that it could not create a machine.xml file and the tests failed because of this.

With JDK 15 it seems to work

Reply all
Reply to author
Forward
0 new messages