Hello MicroEJ ,
I have a problem running a build-microej-javalib
module on a simulator. It’s a one year old benchmark that generates performance tests with JUnit.
I have an UnsupportedClassVersionError visible below :
Cannot find main class com/microej/ui/test/_AllTests_MyTests
Exception in thread "Exception in thread <noname> (id=255): java.lang.ExceptionInInitializerError: java.lang.NullPointerException
at java.lang.Throwable.fillInStackTrace(Throwable.java:82)
at java.lang.Throwable.<init>(Throwable.java:32)
at java.lang.Exception.<init>(Exception.java:14)
at java.lang.RuntimeException.<init>(RuntimeException.java:14)
at java.lang.NullPointerException.<init>(NullPointerException.java:6)
at java.lang.System.buildOutputStream(System.java:239)
at java.lang.System.<clinit>(System.java:51)
at java.lang.Throwable.fillInStackTrace(Throwable.java:82)
at java.lang.Throwable.<init>(Throwable.java:37)
at java.lang.Error.<init>(Error.java:18)
at java.lang.LinkageError.<init>(LinkageError.java:18)
at java.lang.ClassFormatError.<init>(ClassFormatError.java:10)
at java.lang.UnsupportedClassVersionError.<init>(UnsupportedClassVersionError.java:10)
For the moment, this project is on SDK 5 (23.07) using jdk-11.0.16.1+1.
I’ve tried the following actions:
- update buildtype to
module="build-microej-javalib" revision="6.2.+"
- update JUnit dependency to
org="ej.library.test" name="junit" rev="1.7.1"
Do you know what could be the issue?
Thanks,
S.