From https://github.com/stefanuebe/vaadin-fullcalendar * branch master -> FETCH_HEAD + a319c1d...167fc64 master -> origin/master (forced update) Already on 'master' Your branch and 'origin/master' have diverged, and have 1 and 1 different commits each, respectively. (use "git pull" if you want to integrate the remote branch with yours) HEAD is now at 167fc64 Rename Resource.getEvents() to getEntries() and use fetchAll for any provider $ mvn versions:set-property -Dproperty=vaadin.version -DnewVersion=25.1.0 -DgenerateBackupPoms=false -B --no-transfer-progress [INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ [INFO] Reactor Build Order: [INFO] [INFO] FullCalendar for Flow [jar] [INFO] FullCalendar Scheduler for Flow [jar] [INFO] Full Calendar web component demo [jar] [INFO] fullcalendar-parent [pom] [INFO] Full Calendar E2E Test App [jar] [INFO] [INFO] ------------------< org.vaadin.stefan:fullcalendar2 >------------------- [INFO] Building FullCalendar for Flow 7.1.6-SNAPSHOT [1/5] [INFO] from addon/pom.xml [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- versions:2.21.0:set-property (default-cli) @ fullcalendar2 --- [INFO] [INFO] -------------< org.vaadin.stefan:fullcalendar2-scheduler >-------------- [INFO] Building FullCalendar Scheduler for Flow 7.1.6-SNAPSHOT [2/5] [INFO] from addon-scheduler/pom.xml [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- versions:2.21.0:set-property (default-cli) @ fullcalendar2-scheduler --- [INFO] [INFO] ----------------< org.vaadin.stefan:fullcalendar-demo >----------------- [INFO] Building Full Calendar web component demo 25.0.0-SNAPSHOT [3/5] [INFO] from demo/pom.xml [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- versions:2.21.0:set-property (default-cli) @ fullcalendar-demo --- [INFO] [INFO] ---------------< org.vaadin.stefan:fullcalendar-parent >---------------- [INFO] Building fullcalendar-parent 7.1.6-SNAPSHOT [4/5] [INFO] from pom.xml [INFO] --------------------------------[ pom ]--------------------------------- [INFO] [INFO] --- versions:2.21.0:set-property (default-cli) @ fullcalendar-parent --- [INFO] [INFO] ------------< org.vaadin.stefan:fullcalendar-e2e-test-app >------------- [INFO] Building Full Calendar E2E Test App 25.0.0-SNAPSHOT [5/5] [INFO] from e2e-test-app/pom.xml [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- versions:2.21.0:set-property (default-cli) @ fullcalendar-e2e-test-app --- [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] FullCalendar for Flow 7.1.6-SNAPSHOT ............... SUCCESS [ 1.664 s] [INFO] FullCalendar Scheduler for Flow 7.1.6-SNAPSHOT ..... SUCCESS [ 0.054 s] [INFO] Full Calendar web component demo 25.0.0-SNAPSHOT ... SUCCESS [ 0.081 s] [INFO] fullcalendar-parent 7.1.6-SNAPSHOT ................. SUCCESS [ 0.006 s] [INFO] Full Calendar E2E Test App 25.0.0-SNAPSHOT ......... SUCCESS [ 0.058 s] [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 2.567 s [INFO] Finished at: 2026-03-27T06:26:49Z [INFO] ------------------------------------------------------------------------ $ mvn versions:set -DnewVersion=25.1.0 -DartifactId=vaadin-bom -DgenerateBackupPoms=false -B --no-transfer-progress [INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ [INFO] Reactor Build Order: [INFO] [INFO] FullCalendar for Flow [jar] [INFO] FullCalendar Scheduler for Flow [jar] [INFO] Full Calendar web component demo [jar] [INFO] fullcalendar-parent [pom] [INFO] Full Calendar E2E Test App [jar] [INFO] [INFO] ---------------< org.vaadin.stefan:fullcalendar-parent >---------------- [INFO] Building fullcalendar-parent 7.1.6-SNAPSHOT [1/5] [INFO] from pom.xml [INFO] --------------------------------[ pom ]--------------------------------- [INFO] [INFO] --- versions:2.21.0:set (default-cli) @ fullcalendar-parent --- [INFO] Searching for local aggregator root... [INFO] Local aggregation root: /home/ghrunner/actions-runner/_work/vaadin-ecosystem-build/vaadin-ecosystem-build/work/vaadin-fullcalendar [INFO] Processing change of org.vaadin.stefan:vaadin-bom:7.1.6-SNAPSHOT -> 25.1.0 [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] FullCalendar for Flow 7.1.6-SNAPSHOT ............... SKIPPED [INFO] FullCalendar Scheduler for Flow 7.1.6-SNAPSHOT ..... SKIPPED [INFO] Full Calendar web component demo 25.0.0-SNAPSHOT ... SKIPPED [INFO] fullcalendar-parent 7.1.6-SNAPSHOT ................. SUCCESS [ 1.252 s] [INFO] Full Calendar E2E Test App 25.0.0-SNAPSHOT ......... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 1.764 s [INFO] Finished at: 2026-03-27T06:26:53Z [INFO] ------------------------------------------------------------------------ $ mvn clean verify -B --no-transfer-progress [INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ [INFO] Reactor Build Order: [INFO] [INFO] FullCalendar for Flow [jar] [INFO] FullCalendar Scheduler for Flow [jar] [INFO] Full Calendar web component demo [jar] [INFO] fullcalendar-parent [pom] [INFO] Full Calendar E2E Test App [jar] [INFO] [INFO] ------------------< org.vaadin.stefan:fullcalendar2 >------------------- [INFO] Building FullCalendar for Flow 7.1.6-SNAPSHOT [1/5] [INFO] from addon/pom.xml [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- clean:3.2.0:clean (default-clean) @ fullcalendar2 --- [INFO] Deleting /home/ghrunner/actions-runner/_work/vaadin-ecosystem-build/vaadin-ecosystem-build/work/vaadin-fullcalendar/addon/target [INFO] [INFO] --- resources:3.3.1:resources (default-resources) @ fullcalendar2 --- [INFO] Copying 3 resources from src/main/resources to target/classes [INFO] [INFO] --- compiler:3.14.1:compile (default-compile) @ fullcalendar2 --- [INFO] Recompiling the module because of changed source code. [INFO] Compiling 98 source files with javac [debug release 21] to target/classes [WARNING] /home/ghrunner/actions-runner/_work/vaadin-ecosystem-build/vaadin-ecosystem-build/work/vaadin-fullcalendar/addon/src/main/java/org/vaadin/stefan/fullcalendar/dataprovider/EntryQuery.java:[29,20] @Builder will ignore the initializing expression entirely. If you want the initializing expression to serve as default, add @Builder.Default. If it is not supposed to be settable during building, make the field final. [WARNING] /home/ghrunner/actions-runner/_work/vaadin-ecosystem-build/vaadin-ecosystem-build/work/vaadin-fullcalendar/addon/src/main/java/org/vaadin/stefan/fullcalendar/FullCalendar.java:[180,12] deprecated item is not annotated with @Deprecated [INFO] /home/ghrunner/actions-runner/_work/vaadin-ecosystem-build/vaadin-ecosystem-build/work/vaadin-fullcalendar/addon/src/main/java/org/vaadin/stefan/fullcalendar/FullCalendarBuilder.java: /home/ghrunner/actions-runner/_work/vaadin-ecosystem-build/vaadin-ecosystem-build/work/vaadin-fullcalendar/addon/src/main/java/org/vaadin/stefan/fullcalendar/FullCalendarBuilder.java uses or overrides a deprecated API. [INFO] /home/ghrunner/actions-runner/_work/vaadin-ecosystem-build/vaadin-ecosystem-build/work/vaadin-fullcalendar/addon/src/main/java/org/vaadin/stefan/fullcalendar/FullCalendarBuilder.java: Recompile with -Xlint:deprecation for details. [INFO] /home/ghrunner/actions-runner/_work/vaadin-ecosystem-build/vaadin-ecosystem-build/work/vaadin-fullcalendar/addon/src/main/java/org/vaadin/stefan/fullcalendar/FullCalendar.java: Some input files use unchecked or unsafe operations. [INFO] /home/ghrunner/actions-runner/_work/vaadin-ecosystem-build/vaadin-ecosystem-build/work/vaadin-fullcalendar/addon/src/main/java/org/vaadin/stefan/fullcalendar/FullCalendar.java: Recompile with -Xlint:unchecked for details. [INFO] [INFO] --- resources:3.3.1:testResources (default-testResources) @ fullcalendar2 --- [INFO] skip non existing resourceDirectory /home/ghrunner/actions-runner/_work/vaadin-ecosystem-build/vaadin-ecosystem-build/work/vaadin-fullcalendar/addon/src/test/resources [INFO] [INFO] --- compiler:3.14.1:testCompile (default-testCompile) @ fullcalendar2 --- [INFO] Recompiling the module because of changed dependency. [INFO] Compiling 22 source files with javac [debug release 21] to target/test-classes [WARNING] /home/ghrunner/actions-runner/_work/vaadin-ecosystem-build/vaadin-ecosystem-build/work/vaadin-fullcalendar/addon/src/test/java/org/vaadin/stefan/fullcalendar/FullCalendarTest.java:[163,60] non-varargs call of varargs method with inexact argument type for last parameter; cast to org.vaadin.stefan.fullcalendar.BusinessHours for a varargs call cast to org.vaadin.stefan.fullcalendar.BusinessHours[] for a non-varargs call and to suppress this warning [WARNING] /home/ghrunner/actions-runner/_work/vaadin-ecosystem-build/vaadin-ecosystem-build/work/vaadin-fullcalendar/addon/src/test/java/org/vaadin/stefan/fullcalendar/FullCalendarTest.java:[424,49] non-varargs call of varargs method with inexact argument type for last parameter; cast to org.vaadin.stefan.fullcalendar.converters.JsonItemPropertyConverter for a varargs call cast to org.vaadin.stefan.fullcalendar.converters.JsonItemPropertyConverter[] for a non-varargs call and to suppress this warning [INFO] /home/ghrunner/actions-runner/_work/vaadin-ecosystem-build/vaadin-ecosystem-build/work/vaadin-fullcalendar/addon/src/test/java/org/vaadin/stefan/fullcalendar/AdvancedOptionsTest.java: Some input files use or override a deprecated API. [INFO] /home/ghrunner/actions-runner/_work/vaadin-ecosystem-build/vaadin-ecosystem-build/work/vaadin-fullcalendar/addon/src/test/java/org/vaadin/stefan/fullcalendar/AdvancedOptionsTest.java: Recompile with -Xlint:deprecation for details. [INFO] /home/ghrunner/actions-runner/_work/vaadin-ecosystem-build/vaadin-ecosystem-build/work/vaadin-fullcalendar/addon/src/test/java/org/vaadin/stefan/fullcalendar/FullCalendarTest.java: Some input files use unchecked or unsafe operations. [INFO] /home/ghrunner/actions-runner/_work/vaadin-ecosystem-build/vaadin-ecosystem-build/work/vaadin-fullcalendar/addon/src/test/java/org/vaadin/stefan/fullcalendar/FullCalendarTest.java: Recompile with -Xlint:unchecked for details. [INFO] [INFO] --- surefire:3.5.4:test (default-test) @ fullcalendar2 --- [INFO] Using auto detected provider org.apache.maven.surefire.junitplatform.JUnitPlatformProvider [INFO] [INFO] ------------------------------------------------------- [INFO] T E S T S [INFO] ------------------------------------------------------- [INFO] Running org.vaadin.stefan.fullcalendar.JsCallbackTest [INFO] Tests run: 26, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.979 s -- in org.vaadin.stefan.fullcalendar.JsCallbackTest [INFO] Running org.vaadin.stefan.fullcalendar.ConverterTest [INFO] Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.072 s -- in org.vaadin.stefan.fullcalendar.ConverterTest [INFO] Running org.vaadin.stefan.fullcalendar.DeltaTest [INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.083 s -- in org.vaadin.stefan.fullcalendar.DeltaTest [INFO] Running org.vaadin.stefan.fullcalendar.JsonUtilsTest [INFO] Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.221 s -- in org.vaadin.stefan.fullcalendar.JsonUtilsTest [INFO] Running org.vaadin.stefan.fullcalendar.InMemoryEntryProviderTest [INFO] Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.139 s -- in org.vaadin.stefan.fullcalendar.InMemoryEntryProviderTest [INFO] Running org.vaadin.stefan.fullcalendar.EntryTest [INFO] Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.058 s -- in org.vaadin.stefan.fullcalendar.EntryTest [INFO] Running org.vaadin.stefan.fullcalendar.RecurringTimeTest [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.019 s -- in org.vaadin.stefan.fullcalendar.RecurringTimeTest [INFO] Running org.vaadin.stefan.fullcalendar.EntryModelTest [INFO] Tests run: 59, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.106 s -- in org.vaadin.stefan.fullcalendar.EntryModelTest [INFO] Running org.vaadin.stefan.fullcalendar.FullCalendarBuilderTest [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.013 s -- in org.vaadin.stefan.fullcalendar.FullCalendarBuilderTest [INFO] Running org.vaadin.stefan.fullcalendar.EventSourcesTest [INFO] Tests run: 58, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.289 s -- in org.vaadin.stefan.fullcalendar.EventSourcesTest [INFO] Running org.vaadin.stefan.fullcalendar.TimezoneTests [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 s -- in org.vaadin.stefan.fullcalendar.TimezoneTests [INFO] Running org.vaadin.stefan.fullcalendar.AdvancedOptionsTest [INFO] Tests run: 30, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.094 s -- in org.vaadin.stefan.fullcalendar.AdvancedOptionsTest [INFO] Running org.vaadin.stefan.fullcalendar.CalendarLocaleTest [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.011 s -- in org.vaadin.stefan.fullcalendar.CalendarLocaleTest [INFO] Running org.vaadin.stefan.fullcalendar.FullCalendarTest [INFO] Tests run: 18, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.126 s -- in org.vaadin.stefan.fullcalendar.FullCalendarTest [INFO] Running org.vaadin.stefan.fullcalendar.TimeslotsSelectedEventTest WARNING: A Java agent has been loaded dynamically (/home/ghrunner/.m2/repository/net/bytebuddy/byte-buddy-agent/1.12.22/byte-buddy-agent-1.12.22.jar) WARNING: If a serviceability tool is in use, please run with -XX:+EnableDynamicAgentLoading to hide this warning WARNING: If a serviceability tool is not in use, please run with -Djdk.instrument.traceUsage for more information WARNING: Dynamic loading of agents will be disallowed by default in a future release OpenJDK 64-Bit Server VM warning: Sharing is only supported for boot loader classes because bootstrap classpath has been appended [ERROR] Tests run: 6, Failures: 0, Errors: 6, Skipped: 0, Time elapsed: 2.793 s <<< FAILURE! -- in org.vaadin.stefan.fullcalendar.TimeslotsSelectedEventTest [ERROR] org.vaadin.stefan.fullcalendar.TimeslotsSelectedEventTest.getStartAsInstant -- Time elapsed: 1.647 s <<< ERROR! org.mockito.exceptions.base.MockitoException: Mockito cannot mock this class: class org.vaadin.stefan.fullcalendar.FullCalendar. If you're not sure why you're getting this error, please open an issue on GitHub. Java : 21 JVM vendor name : Eclipse Adoptium JVM vendor version : 21+35-LTS JVM name : OpenJDK 64-Bit Server VM JVM version : 21+35-LTS JVM info : mixed mode, sharing OS name : Linux OS version : 6.8.0-106-generic You are seeing this disclaimer because Mockito is configured to create inlined mocks. You can learn about inline mocks and their limitations under item #39 of the Mockito class javadoc. Underlying exception : org.mockito.exceptions.base.MockitoException: Could not modify all classes [interface com.vaadin.flow.component.HasTheme, class com.vaadin.flow.component.Component, interface com.vaadin.flow.component.HasSize, interface com.vaadin.flow.component.AttachNotifier, interface com.vaadin.flow.component.DetachNotifier, interface java.io.Serializable, interface com.vaadin.flow.component.HasStyle, class java.lang.Object, class org.vaadin.stefan.fullcalendar.FullCalendar, interface com.vaadin.flow.component.HasElement] at org.mockito.junit.jupiter.MockitoExtension.beforeEach(MockitoExtension.java:153) at java.base/java.util.ArrayList.forEach(ArrayList.java:1596) at java.base/java.util.ArrayList.forEach(ArrayList.java:1596) Suppressed: java.lang.NullPointerException: Cannot invoke "java.util.Set.forEach(java.util.function.Consumer)" because the return value of "org.junit.jupiter.api.extension.ExtensionContext$Store.remove(Object, java.lang.Class)" is null at org.mockito.junit.jupiter.MockitoExtension.afterEach(MockitoExtension.java:184) ... 2 more Caused by: org.mockito.exceptions.base.MockitoException: Could not modify all classes [interface com.vaadin.flow.component.HasTheme, class com.vaadin.flow.component.Component, interface com.vaadin.flow.component.HasSize, interface com.vaadin.flow.component.AttachNotifier, interface com.vaadin.flow.component.DetachNotifier, interface java.io.Serializable, interface com.vaadin.flow.component.HasStyle, class java.lang.Object, class org.vaadin.stefan.fullcalendar.FullCalendar, interface com.vaadin.flow.component.HasElement] at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:168) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:399) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:190) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:410) ... 3 more Caused by: java.lang.IllegalStateException: Byte Buddy could not instrument all classes within the mock's type hierarchy This problem should never occur for javac-compiled classes. This problem has been observed for classes that are: - Compiled by older versions of scalac - Classes that are part of the Android distribution at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.triggerRetransformation(InlineBytecodeGenerator.java:285) at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.mockClass(InlineBytecodeGenerator.java:218) at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.lambda$mockClass$0(TypeCachingBytecodeGenerator.java:47) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:168) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:399) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:190) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:410) at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.mockClass(TypeCachingBytecodeGenerator.java:40) at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.createMockType(InlineDelegateByteBuddyMockMaker.java:396) at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.doCreateMock(InlineDelegateByteBuddyMockMaker.java:355) at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.createMock(InlineDelegateByteBuddyMockMaker.java:334) at org.mockito.internal.creation.bytebuddy.InlineByteBuddyMockMaker.createMock(InlineByteBuddyMockMaker.java:56) at org.mockito.internal.util.MockUtil.createMock(MockUtil.java:99) at org.mockito.internal.MockitoCore.mock(MockitoCore.java:88) at org.mockito.Mockito.mock(Mockito.java:2037) at org.mockito.internal.configuration.MockAnnotationProcessor.processAnnotationForMock(MockAnnotationProcessor.java:74) at org.mockito.internal.configuration.MockAnnotationProcessor.process(MockAnnotationProcessor.java:28) at org.mockito.internal.configuration.MockAnnotationProcessor.process(MockAnnotationProcessor.java:25) at org.mockito.internal.configuration.IndependentAnnotationEngine.createMockFor(IndependentAnnotationEngine.java:44) at org.mockito.internal.configuration.IndependentAnnotationEngine.process(IndependentAnnotationEngine.java:72) at org.mockito.internal.configuration.InjectingAnnotationEngine.processIndependentAnnotations(InjectingAnnotationEngine.java:73) at org.mockito.internal.configuration.InjectingAnnotationEngine.process(InjectingAnnotationEngine.java:47) at org.mockito.MockitoAnnotations.openMocks(MockitoAnnotations.java:81) at org.mockito.internal.framework.DefaultMockitoSession.(DefaultMockitoSession.java:43) at org.mockito.internal.session.DefaultMockitoSessionBuilder.startMocking(DefaultMockitoSessionBuilder.java:83) ... 3 more Caused by: java.lang.IllegalArgumentException: Java 21 (65) is not supported by the current version of Byte Buddy which officially supports Java 20 (64) - update Byte Buddy or set net.bytebuddy.experimental as a VM property at net.bytebuddy.utility.OpenedClassReader.of(OpenedClassReader.java:96) at net.bytebuddy.dynamic.scaffold.TypeWriter$Default$ForInlining.create(TypeWriter.java:4011) at net.bytebuddy.dynamic.scaffold.TypeWriter$Default.make(TypeWriter.java:2224) at net.bytebuddy.dynamic.DynamicType$Builder$AbstractBase$UsingTypeWriter.make(DynamicType.java:4050) at net.bytebuddy.dynamic.DynamicType$Builder$AbstractBase.make(DynamicType.java:3734) at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.transform(InlineBytecodeGenerator.java:402) at java.instrument/java.lang.instrument.ClassFileTransformer.transform(ClassFileTransformer.java:244) at java.instrument/sun.instrument.TransformerManager.transform(TransformerManager.java:188) at java.instrument/sun.instrument.InstrumentationImpl.transform(InstrumentationImpl.java:610) at java.instrument/sun.instrument.InstrumentationImpl.retransformClasses0(Native Method) at java.instrument/sun.instrument.InstrumentationImpl.retransformClasses(InstrumentationImpl.java:225) at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.triggerRetransformation(InlineBytecodeGenerator.java:281) ... 27 more [ERROR] org.vaadin.stefan.fullcalendar.TimeslotsSelectedEventTest.getEnd -- Time elapsed: 0.238 s <<< ERROR! org.mockito.exceptions.base.MockitoException: Mockito cannot mock this class: class org.vaadin.stefan.fullcalendar.FullCalendar. If you're not sure why you're getting this error, please open an issue on GitHub. Java : 21 JVM vendor name : Eclipse Adoptium JVM vendor version : 21+35-LTS JVM name : OpenJDK 64-Bit Server VM JVM version : 21+35-LTS JVM info : mixed mode, sharing OS name : Linux OS version : 6.8.0-106-generic You are seeing this disclaimer because Mockito is configured to create inlined mocks. You can learn about inline mocks and their limitations under item #39 of the Mockito class javadoc. Underlying exception : org.mockito.exceptions.base.MockitoException: Could not modify all classes [interface com.vaadin.flow.component.HasTheme, class com.vaadin.flow.component.Component, interface com.vaadin.flow.component.HasSize, interface com.vaadin.flow.component.AttachNotifier, interface com.vaadin.flow.component.DetachNotifier, interface java.io.Serializable, interface com.vaadin.flow.component.HasStyle, class java.lang.Object, class org.vaadin.stefan.fullcalendar.FullCalendar, interface com.vaadin.flow.component.HasElement] at org.mockito.junit.jupiter.MockitoExtension.beforeEach(MockitoExtension.java:153) at java.base/java.util.ArrayList.forEach(ArrayList.java:1596) at java.base/java.util.ArrayList.forEach(ArrayList.java:1596) Suppressed: java.lang.NullPointerException: Cannot invoke "java.util.Set.forEach(java.util.function.Consumer)" because the return value of "org.junit.jupiter.api.extension.ExtensionContext$Store.remove(Object, java.lang.Class)" is null at org.mockito.junit.jupiter.MockitoExtension.afterEach(MockitoExtension.java:184) ... 2 more Caused by: org.mockito.exceptions.base.MockitoException: Could not modify all classes [interface com.vaadin.flow.component.HasTheme, class com.vaadin.flow.component.Component, interface com.vaadin.flow.component.HasSize, interface com.vaadin.flow.component.AttachNotifier, interface com.vaadin.flow.component.DetachNotifier, interface java.io.Serializable, interface com.vaadin.flow.component.HasStyle, class java.lang.Object, class org.vaadin.stefan.fullcalendar.FullCalendar, interface com.vaadin.flow.component.HasElement] at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:168) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:399) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:190) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:410) ... 3 more Caused by: java.lang.IllegalStateException: Byte Buddy could not instrument all classes within the mock's type hierarchy This problem should never occur for javac-compiled classes. This problem has been observed for classes that are: - Compiled by older versions of scalac - Classes that are part of the Android distribution at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.triggerRetransformation(InlineBytecodeGenerator.java:285) at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.mockClass(InlineBytecodeGenerator.java:218) at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.lambda$mockClass$0(TypeCachingBytecodeGenerator.java:47) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:168) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:399) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:190) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:410) at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.mockClass(TypeCachingBytecodeGenerator.java:40) at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.createMockType(InlineDelegateByteBuddyMockMaker.java:396) at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.doCreateMock(InlineDelegateByteBuddyMockMaker.java:355) at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.createMock(InlineDelegateByteBuddyMockMaker.java:334) at org.mockito.internal.creation.bytebuddy.InlineByteBuddyMockMaker.createMock(InlineByteBuddyMockMaker.java:56) at org.mockito.internal.util.MockUtil.createMock(MockUtil.java:99) at org.mockito.internal.MockitoCore.mock(MockitoCore.java:88) at org.mockito.Mockito.mock(Mockito.java:2037) at org.mockito.internal.configuration.MockAnnotationProcessor.processAnnotationForMock(MockAnnotationProcessor.java:74) at org.mockito.internal.configuration.MockAnnotationProcessor.process(MockAnnotationProcessor.java:28) at org.mockito.internal.configuration.MockAnnotationProcessor.process(MockAnnotationProcessor.java:25) at org.mockito.internal.configuration.IndependentAnnotationEngine.createMockFor(IndependentAnnotationEngine.java:44) at org.mockito.internal.configuration.IndependentAnnotationEngine.process(IndependentAnnotationEngine.java:72) at org.mockito.internal.configuration.InjectingAnnotationEngine.processIndependentAnnotations(InjectingAnnotationEngine.java:73) at org.mockito.internal.configuration.InjectingAnnotationEngine.process(InjectingAnnotationEngine.java:47) at org.mockito.MockitoAnnotations.openMocks(MockitoAnnotations.java:81) at org.mockito.internal.framework.DefaultMockitoSession.(DefaultMockitoSession.java:43) at org.mockito.internal.session.DefaultMockitoSessionBuilder.startMocking(DefaultMockitoSessionBuilder.java:83) ... 3 more Caused by: java.lang.IllegalArgumentException: Java 21 (65) is not supported by the current version of Byte Buddy which officially supports Java 20 (64) - update Byte Buddy or set net.bytebuddy.experimental as a VM property at net.bytebuddy.utility.OpenedClassReader.of(OpenedClassReader.java:96) at net.bytebuddy.dynamic.scaffold.TypeWriter$Default$ForInlining.create(TypeWriter.java:4011) at net.bytebuddy.dynamic.scaffold.TypeWriter$Default.make(TypeWriter.java:2224) at net.bytebuddy.dynamic.DynamicType$Builder$AbstractBase$UsingTypeWriter.make(DynamicType.java:4050) at net.bytebuddy.dynamic.DynamicType$Builder$AbstractBase.make(DynamicType.java:3734) at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.transform(InlineBytecodeGenerator.java:402) at java.instrument/java.lang.instrument.ClassFileTransformer.transform(ClassFileTransformer.java:244) at java.instrument/sun.instrument.TransformerManager.transform(TransformerManager.java:188) at java.instrument/sun.instrument.InstrumentationImpl.transform(InstrumentationImpl.java:610) at java.instrument/sun.instrument.InstrumentationImpl.retransformClasses0(Native Method) at java.instrument/sun.instrument.InstrumentationImpl.retransformClasses(InstrumentationImpl.java:225) at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.triggerRetransformation(InlineBytecodeGenerator.java:281) ... 27 more [ERROR] org.vaadin.stefan.fullcalendar.TimeslotsSelectedEventTest.getStartWithOffset -- Time elapsed: 0.148 s <<< ERROR! org.mockito.exceptions.base.MockitoException: Mockito cannot mock this class: class org.vaadin.stefan.fullcalendar.FullCalendar. If you're not sure why you're getting this error, please open an issue on GitHub. Java : 21 JVM vendor name : Eclipse Adoptium JVM vendor version : 21+35-LTS JVM name : OpenJDK 64-Bit Server VM JVM version : 21+35-LTS JVM info : mixed mode, sharing OS name : Linux OS version : 6.8.0-106-generic You are seeing this disclaimer because Mockito is configured to create inlined mocks. You can learn about inline mocks and their limitations under item #39 of the Mockito class javadoc. Underlying exception : org.mockito.exceptions.base.MockitoException: Could not modify all classes [interface com.vaadin.flow.component.HasTheme, class com.vaadin.flow.component.Component, interface com.vaadin.flow.component.HasSize, interface com.vaadin.flow.component.AttachNotifier, interface com.vaadin.flow.component.DetachNotifier, interface java.io.Serializable, interface com.vaadin.flow.component.HasStyle, class java.lang.Object, class org.vaadin.stefan.fullcalendar.FullCalendar, interface com.vaadin.flow.component.HasElement] at org.mockito.junit.jupiter.MockitoExtension.beforeEach(MockitoExtension.java:153) at java.base/java.util.ArrayList.forEach(ArrayList.java:1596) at java.base/java.util.ArrayList.forEach(ArrayList.java:1596) Suppressed: java.lang.NullPointerException: Cannot invoke "java.util.Set.forEach(java.util.function.Consumer)" because the return value of "org.junit.jupiter.api.extension.ExtensionContext$Store.remove(Object, java.lang.Class)" is null at org.mockito.junit.jupiter.MockitoExtension.afterEach(MockitoExtension.java:184) ... 2 more Caused by: org.mockito.exceptions.base.MockitoException: Could not modify all classes [interface com.vaadin.flow.component.HasTheme, class com.vaadin.flow.component.Component, interface com.vaadin.flow.component.HasSize, interface com.vaadin.flow.component.AttachNotifier, interface com.vaadin.flow.component.DetachNotifier, interface java.io.Serializable, interface com.vaadin.flow.component.HasStyle, class java.lang.Object, class org.vaadin.stefan.fullcalendar.FullCalendar, interface com.vaadin.flow.component.HasElement] at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:168) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:399) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:190) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:410) ... 3 more Caused by: java.lang.IllegalStateException: Byte Buddy could not instrument all classes within the mock's type hierarchy This problem should never occur for javac-compiled classes. This problem has been observed for classes that are: - Compiled by older versions of scalac - Classes that are part of the Android distribution at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.triggerRetransformation(InlineBytecodeGenerator.java:285) at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.mockClass(InlineBytecodeGenerator.java:218) at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.lambda$mockClass$0(TypeCachingBytecodeGenerator.java:47) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:168) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:399) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:190) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:410) at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.mockClass(TypeCachingBytecodeGenerator.java:40) at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.createMockType(InlineDelegateByteBuddyMockMaker.java:396) at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.doCreateMock(InlineDelegateByteBuddyMockMaker.java:355) at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.createMock(InlineDelegateByteBuddyMockMaker.java:334) at org.mockito.internal.creation.bytebuddy.InlineByteBuddyMockMaker.createMock(InlineByteBuddyMockMaker.java:56) at org.mockito.internal.util.MockUtil.createMock(MockUtil.java:99) at org.mockito.internal.MockitoCore.mock(MockitoCore.java:88) at org.mockito.Mockito.mock(Mockito.java:2037) at org.mockito.internal.configuration.MockAnnotationProcessor.processAnnotationForMock(MockAnnotationProcessor.java:74) at org.mockito.internal.configuration.MockAnnotationProcessor.process(MockAnnotationProcessor.java:28) at org.mockito.internal.configuration.MockAnnotationProcessor.process(MockAnnotationProcessor.java:25) at org.mockito.internal.configuration.IndependentAnnotationEngine.createMockFor(IndependentAnnotationEngine.java:44) at org.mockito.internal.configuration.IndependentAnnotationEngine.process(IndependentAnnotationEngine.java:72) at org.mockito.internal.configuration.InjectingAnnotationEngine.processIndependentAnnotations(InjectingAnnotationEngine.java:73) at org.mockito.internal.configuration.InjectingAnnotationEngine.process(InjectingAnnotationEngine.java:47) at org.mockito.MockitoAnnotations.openMocks(MockitoAnnotations.java:81) at org.mockito.internal.framework.DefaultMockitoSession.(DefaultMockitoSession.java:43) at org.mockito.internal.session.DefaultMockitoSessionBuilder.startMocking(DefaultMockitoSessionBuilder.java:83) ... 3 more Caused by: java.lang.IllegalArgumentException: Java 21 (65) is not supported by the current version of Byte Buddy which officially supports Java 20 (64) - update Byte Buddy or set net.bytebuddy.experimental as a VM property at net.bytebuddy.utility.OpenedClassReader.of(OpenedClassReader.java:96) at net.bytebuddy.dynamic.scaffold.TypeWriter$Default$ForInlining.create(TypeWriter.java:4011) at net.bytebuddy.dynamic.scaffold.TypeWriter$Default.make(TypeWriter.java:2224) at net.bytebuddy.dynamic.DynamicType$Builder$AbstractBase$UsingTypeWriter.make(DynamicType.java:4050) at net.bytebuddy.dynamic.DynamicType$Builder$AbstractBase.make(DynamicType.java:3734) at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.transform(InlineBytecodeGenerator.java:402) at java.instrument/java.lang.instrument.ClassFileTransformer.transform(ClassFileTransformer.java:244) at java.instrument/sun.instrument.TransformerManager.transform(TransformerManager.java:188) at java.instrument/sun.instrument.InstrumentationImpl.transform(InstrumentationImpl.java:610) at java.instrument/sun.instrument.InstrumentationImpl.retransformClasses0(Native Method) at java.instrument/sun.instrument.InstrumentationImpl.retransformClasses(InstrumentationImpl.java:225) at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.triggerRetransformation(InlineBytecodeGenerator.java:281) ... 27 more [ERROR] org.vaadin.stefan.fullcalendar.TimeslotsSelectedEventTest.getEndAsInstant -- Time elapsed: 0.193 s <<< ERROR! org.mockito.exceptions.base.MockitoException: Mockito cannot mock this class: class org.vaadin.stefan.fullcalendar.FullCalendar. If you're not sure why you're getting this error, please open an issue on GitHub. Java : 21 JVM vendor name : Eclipse Adoptium JVM vendor version : 21+35-LTS JVM name : OpenJDK 64-Bit Server VM JVM version : 21+35-LTS JVM info : mixed mode, sharing OS name : Linux OS version : 6.8.0-106-generic You are seeing this disclaimer because Mockito is configured to create inlined mocks. You can learn about inline mocks and their limitations under item #39 of the Mockito class javadoc. Underlying exception : org.mockito.exceptions.base.MockitoException: Could not modify all classes [interface com.vaadin.flow.component.HasTheme, class com.vaadin.flow.component.Component, interface com.vaadin.flow.component.HasSize, interface com.vaadin.flow.component.AttachNotifier, interface com.vaadin.flow.component.DetachNotifier, interface java.io.Serializable, interface com.vaadin.flow.component.HasStyle, class java.lang.Object, class org.vaadin.stefan.fullcalendar.FullCalendar, interface com.vaadin.flow.component.HasElement] at org.mockito.junit.jupiter.MockitoExtension.beforeEach(MockitoExtension.java:153) at java.base/java.util.ArrayList.forEach(ArrayList.java:1596) at java.base/java.util.ArrayList.forEach(ArrayList.java:1596) Suppressed: java.lang.NullPointerException: Cannot invoke "java.util.Set.forEach(java.util.function.Consumer)" because the return value of "org.junit.jupiter.api.extension.ExtensionContext$Store.remove(Object, java.lang.Class)" is null at org.mockito.junit.jupiter.MockitoExtension.afterEach(MockitoExtension.java:184) ... 2 more Caused by: org.mockito.exceptions.base.MockitoException: Could not modify all classes [interface com.vaadin.flow.component.HasTheme, class com.vaadin.flow.component.Component, interface com.vaadin.flow.component.HasSize, interface com.vaadin.flow.component.AttachNotifier, interface com.vaadin.flow.component.DetachNotifier, interface java.io.Serializable, interface com.vaadin.flow.component.HasStyle, class java.lang.Object, class org.vaadin.stefan.fullcalendar.FullCalendar, interface com.vaadin.flow.component.HasElement] at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:168) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:399) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:190) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:410) ... 3 more Caused by: java.lang.IllegalStateException: Byte Buddy could not instrument all classes within the mock's type hierarchy This problem should never occur for javac-compiled classes. This problem has been observed for classes that are: - Compiled by older versions of scalac - Classes that are part of the Android distribution at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.triggerRetransformation(InlineBytecodeGenerator.java:285) at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.mockClass(InlineBytecodeGenerator.java:218) at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.lambda$mockClass$0(TypeCachingBytecodeGenerator.java:47) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:168) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:399) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:190) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:410) at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.mockClass(TypeCachingBytecodeGenerator.java:40) at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.createMockType(InlineDelegateByteBuddyMockMaker.java:396) at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.doCreateMock(InlineDelegateByteBuddyMockMaker.java:355) at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.createMock(InlineDelegateByteBuddyMockMaker.java:334) at org.mockito.internal.creation.bytebuddy.InlineByteBuddyMockMaker.createMock(InlineByteBuddyMockMaker.java:56) at org.mockito.internal.util.MockUtil.createMock(MockUtil.java:99) at org.mockito.internal.MockitoCore.mock(MockitoCore.java:88) at org.mockito.Mockito.mock(Mockito.java:2037) at org.mockito.internal.configuration.MockAnnotationProcessor.processAnnotationForMock(MockAnnotationProcessor.java:74) at org.mockito.internal.configuration.MockAnnotationProcessor.process(MockAnnotationProcessor.java:28) at org.mockito.internal.configuration.MockAnnotationProcessor.process(MockAnnotationProcessor.java:25) at org.mockito.internal.configuration.IndependentAnnotationEngine.createMockFor(IndependentAnnotationEngine.java:44) at org.mockito.internal.configuration.IndependentAnnotationEngine.process(IndependentAnnotationEngine.java:72) at org.mockito.internal.configuration.InjectingAnnotationEngine.processIndependentAnnotations(InjectingAnnotationEngine.java:73) at org.mockito.internal.configuration.InjectingAnnotationEngine.process(InjectingAnnotationEngine.java:47) at org.mockito.MockitoAnnotations.openMocks(MockitoAnnotations.java:81) at org.mockito.internal.framework.DefaultMockitoSession.(DefaultMockitoSession.java:43) at org.mockito.internal.session.DefaultMockitoSessionBuilder.startMocking(DefaultMockitoSessionBuilder.java:83) ... 3 more Caused by: java.lang.IllegalArgumentException: Java 21 (65) is not supported by the current version of Byte Buddy which officially supports Java 20 (64) - update Byte Buddy or set net.bytebuddy.experimental as a VM property at net.bytebuddy.utility.OpenedClassReader.of(OpenedClassReader.java:96) at net.bytebuddy.dynamic.scaffold.TypeWriter$Default$ForInlining.create(TypeWriter.java:4011) at net.bytebuddy.dynamic.scaffold.TypeWriter$Default.make(TypeWriter.java:2224) at net.bytebuddy.dynamic.DynamicType$Builder$AbstractBase$UsingTypeWriter.make(DynamicType.java:4050) at net.bytebuddy.dynamic.DynamicType$Builder$AbstractBase.make(DynamicType.java:3734) at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.transform(InlineBytecodeGenerator.java:402) at java.instrument/java.lang.instrument.ClassFileTransformer.transform(ClassFileTransformer.java:244) at java.instrument/sun.instrument.TransformerManager.transform(TransformerManager.java:188) at java.instrument/sun.instrument.InstrumentationImpl.transform(InstrumentationImpl.java:610) at java.instrument/sun.instrument.InstrumentationImpl.retransformClasses0(Native Method) at java.instrument/sun.instrument.InstrumentationImpl.retransformClasses(InstrumentationImpl.java:225) at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.triggerRetransformation(InlineBytecodeGenerator.java:281) ... 27 more [ERROR] org.vaadin.stefan.fullcalendar.TimeslotsSelectedEventTest.getEndWithOffset -- Time elapsed: 0.238 s <<< ERROR! org.mockito.exceptions.base.MockitoException: Mockito cannot mock this class: class org.vaadin.stefan.fullcalendar.FullCalendar. If you're not sure why you're getting this error, please open an issue on GitHub. Java : 21 JVM vendor name : Eclipse Adoptium JVM vendor version : 21+35-LTS JVM name : OpenJDK 64-Bit Server VM JVM version : 21+35-LTS JVM info : mixed mode, sharing OS name : Linux OS version : 6.8.0-106-generic You are seeing this disclaimer because Mockito is configured to create inlined mocks. You can learn about inline mocks and their limitations under item #39 of the Mockito class javadoc. Underlying exception : org.mockito.exceptions.base.MockitoException: Could not modify all classes [interface com.vaadin.flow.component.HasTheme, class com.vaadin.flow.component.Component, interface com.vaadin.flow.component.HasSize, interface com.vaadin.flow.component.AttachNotifier, interface com.vaadin.flow.component.DetachNotifier, interface java.io.Serializable, interface com.vaadin.flow.component.HasStyle, class java.lang.Object, class org.vaadin.stefan.fullcalendar.FullCalendar, interface com.vaadin.flow.component.HasElement] at org.mockito.junit.jupiter.MockitoExtension.beforeEach(MockitoExtension.java:153) at java.base/java.util.ArrayList.forEach(ArrayList.java:1596) at java.base/java.util.ArrayList.forEach(ArrayList.java:1596) Suppressed: java.lang.NullPointerException: Cannot invoke "java.util.Set.forEach(java.util.function.Consumer)" because the return value of "org.junit.jupiter.api.extension.ExtensionContext$Store.remove(Object, java.lang.Class)" is null at org.mockito.junit.jupiter.MockitoExtension.afterEach(MockitoExtension.java:184) ... 2 more Caused by: org.mockito.exceptions.base.MockitoException: Could not modify all classes [interface com.vaadin.flow.component.HasTheme, class com.vaadin.flow.component.Component, interface com.vaadin.flow.component.HasSize, interface com.vaadin.flow.component.AttachNotifier, interface com.vaadin.flow.component.DetachNotifier, interface java.io.Serializable, interface com.vaadin.flow.component.HasStyle, class java.lang.Object, class org.vaadin.stefan.fullcalendar.FullCalendar, interface com.vaadin.flow.component.HasElement] at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:168) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:399) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:190) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:410) ... 3 more Caused by: java.lang.IllegalStateException: Byte Buddy could not instrument all classes within the mock's type hierarchy This problem should never occur for javac-compiled classes. This problem has been observed for classes that are: - Compiled by older versions of scalac - Classes that are part of the Android distribution at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.triggerRetransformation(InlineBytecodeGenerator.java:285) at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.mockClass(InlineBytecodeGenerator.java:218) at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.lambda$mockClass$0(TypeCachingBytecodeGenerator.java:47) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:168) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:399) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:190) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:410) at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.mockClass(TypeCachingBytecodeGenerator.java:40) at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.createMockType(InlineDelegateByteBuddyMockMaker.java:396) at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.doCreateMock(InlineDelegateByteBuddyMockMaker.java:355) at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.createMock(InlineDelegateByteBuddyMockMaker.java:334) at org.mockito.internal.creation.bytebuddy.InlineByteBuddyMockMaker.createMock(InlineByteBuddyMockMaker.java:56) at org.mockito.internal.util.MockUtil.createMock(MockUtil.java:99) at org.mockito.internal.MockitoCore.mock(MockitoCore.java:88) at org.mockito.Mockito.mock(Mockito.java:2037) at org.mockito.internal.configuration.MockAnnotationProcessor.processAnnotationForMock(MockAnnotationProcessor.java:74) at org.mockito.internal.configuration.MockAnnotationProcessor.process(MockAnnotationProcessor.java:28) at org.mockito.internal.configuration.MockAnnotationProcessor.process(MockAnnotationProcessor.java:25) at org.mockito.internal.configuration.IndependentAnnotationEngine.createMockFor(IndependentAnnotationEngine.java:44) at org.mockito.internal.configuration.IndependentAnnotationEngine.process(IndependentAnnotationEngine.java:72) at org.mockito.internal.configuration.InjectingAnnotationEngine.processIndependentAnnotations(InjectingAnnotationEngine.java:73) at org.mockito.internal.configuration.InjectingAnnotationEngine.process(InjectingAnnotationEngine.java:47) at org.mockito.MockitoAnnotations.openMocks(MockitoAnnotations.java:81) at org.mockito.internal.framework.DefaultMockitoSession.(DefaultMockitoSession.java:43) at org.mockito.internal.session.DefaultMockitoSessionBuilder.startMocking(DefaultMockitoSessionBuilder.java:83) ... 3 more Caused by: java.lang.IllegalArgumentException: Java 21 (65) is not supported by the current version of Byte Buddy which officially supports Java 20 (64) - update Byte Buddy or set net.bytebuddy.experimental as a VM property at net.bytebuddy.utility.OpenedClassReader.of(OpenedClassReader.java:96) at net.bytebuddy.dynamic.scaffold.TypeWriter$Default$ForInlining.create(TypeWriter.java:4011) at net.bytebuddy.dynamic.scaffold.TypeWriter$Default.make(TypeWriter.java:2224) at net.bytebuddy.dynamic.DynamicType$Builder$AbstractBase$UsingTypeWriter.make(DynamicType.java:4050) at net.bytebuddy.dynamic.DynamicType$Builder$AbstractBase.make(DynamicType.java:3734) at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.transform(InlineBytecodeGenerator.java:402) at java.instrument/java.lang.instrument.ClassFileTransformer.transform(ClassFileTransformer.java:244) at java.instrument/sun.instrument.TransformerManager.transform(TransformerManager.java:188) at java.instrument/sun.instrument.InstrumentationImpl.transform(InstrumentationImpl.java:610) at java.instrument/sun.instrument.InstrumentationImpl.retransformClasses0(Native Method) at java.instrument/sun.instrument.InstrumentationImpl.retransformClasses(InstrumentationImpl.java:225) at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.triggerRetransformation(InlineBytecodeGenerator.java:281) ... 27 more [ERROR] org.vaadin.stefan.fullcalendar.TimeslotsSelectedEventTest.getStart -- Time elapsed: 0.171 s <<< ERROR! org.mockito.exceptions.base.MockitoException: Mockito cannot mock this class: class org.vaadin.stefan.fullcalendar.FullCalendar. If you're not sure why you're getting this error, please open an issue on GitHub. Java : 21 JVM vendor name : Eclipse Adoptium JVM vendor version : 21+35-LTS JVM name : OpenJDK 64-Bit Server VM JVM version : 21+35-LTS JVM info : mixed mode, sharing OS name : Linux OS version : 6.8.0-106-generic You are seeing this disclaimer because Mockito is configured to create inlined mocks. You can learn about inline mocks and their limitations under item #39 of the Mockito class javadoc. Underlying exception : org.mockito.exceptions.base.MockitoException: Could not modify all classes [interface com.vaadin.flow.component.HasTheme, class com.vaadin.flow.component.Component, interface com.vaadin.flow.component.HasSize, interface com.vaadin.flow.component.AttachNotifier, interface com.vaadin.flow.component.DetachNotifier, interface java.io.Serializable, interface com.vaadin.flow.component.HasStyle, class java.lang.Object, class org.vaadin.stefan.fullcalendar.FullCalendar, interface com.vaadin.flow.component.HasElement] at org.mockito.junit.jupiter.MockitoExtension.beforeEach(MockitoExtension.java:153) at java.base/java.util.ArrayList.forEach(ArrayList.java:1596) at java.base/java.util.ArrayList.forEach(ArrayList.java:1596) Suppressed: java.lang.NullPointerException: Cannot invoke "java.util.Set.forEach(java.util.function.Consumer)" because the return value of "org.junit.jupiter.api.extension.ExtensionContext$Store.remove(Object, java.lang.Class)" is null at org.mockito.junit.jupiter.MockitoExtension.afterEach(MockitoExtension.java:184) ... 2 more Caused by: org.mockito.exceptions.base.MockitoException: Could not modify all classes [interface com.vaadin.flow.component.HasTheme, class com.vaadin.flow.component.Component, interface com.vaadin.flow.component.HasSize, interface com.vaadin.flow.component.AttachNotifier, interface com.vaadin.flow.component.DetachNotifier, interface java.io.Serializable, interface com.vaadin.flow.component.HasStyle, class java.lang.Object, class org.vaadin.stefan.fullcalendar.FullCalendar, interface com.vaadin.flow.component.HasElement] at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:168) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:399) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:190) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:410) ... 3 more Caused by: java.lang.IllegalStateException: Byte Buddy could not instrument all classes within the mock's type hierarchy This problem should never occur for javac-compiled classes. This problem has been observed for classes that are: - Compiled by older versions of scalac - Classes that are part of the Android distribution at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.triggerRetransformation(InlineBytecodeGenerator.java:285) at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.mockClass(InlineBytecodeGenerator.java:218) at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.lambda$mockClass$0(TypeCachingBytecodeGenerator.java:47) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:168) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:399) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:190) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:410) at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.mockClass(TypeCachingBytecodeGenerator.java:40) at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.createMockType(InlineDelegateByteBuddyMockMaker.java:396) at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.doCreateMock(InlineDelegateByteBuddyMockMaker.java:355) at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.createMock(InlineDelegateByteBuddyMockMaker.java:334) at org.mockito.internal.creation.bytebuddy.InlineByteBuddyMockMaker.createMock(InlineByteBuddyMockMaker.java:56) at org.mockito.internal.util.MockUtil.createMock(MockUtil.java:99) at org.mockito.internal.MockitoCore.mock(MockitoCore.java:88) at org.mockito.Mockito.mock(Mockito.java:2037) at org.mockito.internal.configuration.MockAnnotationProcessor.processAnnotationForMock(MockAnnotationProcessor.java:74) at org.mockito.internal.configuration.MockAnnotationProcessor.process(MockAnnotationProcessor.java:28) at org.mockito.internal.configuration.MockAnnotationProcessor.process(MockAnnotationProcessor.java:25) at org.mockito.internal.configuration.IndependentAnnotationEngine.createMockFor(IndependentAnnotationEngine.java:44) at org.mockito.internal.configuration.IndependentAnnotationEngine.process(IndependentAnnotationEngine.java:72) at org.mockito.internal.configuration.InjectingAnnotationEngine.processIndependentAnnotations(InjectingAnnotationEngine.java:73) at org.mockito.internal.configuration.InjectingAnnotationEngine.process(InjectingAnnotationEngine.java:47) at org.mockito.MockitoAnnotations.openMocks(MockitoAnnotations.java:81) at org.mockito.internal.framework.DefaultMockitoSession.(DefaultMockitoSession.java:43) at org.mockito.internal.session.DefaultMockitoSessionBuilder.startMocking(DefaultMockitoSessionBuilder.java:83) ... 3 more Caused by: java.lang.IllegalArgumentException: Java 21 (65) is not supported by the current version of Byte Buddy which officially supports Java 20 (64) - update Byte Buddy or set net.bytebuddy.experimental as a VM property at net.bytebuddy.utility.OpenedClassReader.of(OpenedClassReader.java:96) at net.bytebuddy.dynamic.scaffold.TypeWriter$Default$ForInlining.create(TypeWriter.java:4011) at net.bytebuddy.dynamic.scaffold.TypeWriter$Default.make(TypeWriter.java:2224) at net.bytebuddy.dynamic.DynamicType$Builder$AbstractBase$UsingTypeWriter.make(DynamicType.java:4050) at net.bytebuddy.dynamic.DynamicType$Builder$AbstractBase.make(DynamicType.java:3734) at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.transform(InlineBytecodeGenerator.java:402) at java.instrument/java.lang.instrument.ClassFileTransformer.transform(ClassFileTransformer.java:244) at java.instrument/sun.instrument.TransformerManager.transform(TransformerManager.java:188) at java.instrument/sun.instrument.InstrumentationImpl.transform(InstrumentationImpl.java:610) at java.instrument/sun.instrument.InstrumentationImpl.retransformClasses0(Native Method) at java.instrument/sun.instrument.InstrumentationImpl.retransformClasses(InstrumentationImpl.java:225) at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.triggerRetransformation(InlineBytecodeGenerator.java:281) ... 27 more [INFO] Running org.vaadin.stefan.fullcalendar.FullCalendarOptionsTest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.021 s -- in org.vaadin.stefan.fullcalendar.FullCalendarOptionsTest [INFO] Running org.vaadin.stefan.fullcalendar.InteractionCallbacksTest [INFO] Tests run: 27, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.267 s -- in org.vaadin.stefan.fullcalendar.InteractionCallbacksTest [INFO] Running org.vaadin.stefan.fullcalendar.DraggableTest [INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.057 s -- in org.vaadin.stefan.fullcalendar.DraggableTest [INFO] Running org.vaadin.stefan.fullcalendar.AccessibilityTouchTest [INFO] Tests run: 29, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.143 s -- in org.vaadin.stefan.fullcalendar.AccessibilityTouchTest [INFO] Running org.vaadin.stefan.fullcalendar.BusinessHoursTest [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.007 s -- in org.vaadin.stefan.fullcalendar.BusinessHoursTest [INFO] Running org.vaadin.stefan.fullcalendar.DisplayOptionsTest [INFO] Tests run: 40, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.117 s -- in org.vaadin.stefan.fullcalendar.DisplayOptionsTest [INFO] [INFO] Results: [INFO] [ERROR] Errors: [ERROR] TimeslotsSelectedEventTest.getEnd » Mockito Mockito cannot mock this class: class org.vaadin.stefan.fullcalendar.FullCalendar. If you're not sure why you're getting this error, please open an issue on GitHub. Java : 21 JVM vendor name : Eclipse Adoptium JVM vendor version : 21+35-LTS JVM name : OpenJDK 64-Bit Server VM JVM version : 21+35-LTS JVM info : mixed mode, sharing OS name : Linux OS version : 6.8.0-106-generic You are seeing this disclaimer because Mockito is configured to create inlined mocks. You can learn about inline mocks and their limitations under item #39 of the Mockito class javadoc. Underlying exception : org.mockito.exceptions.base.MockitoException: Could not modify all classes [interface com.vaadin.flow.component.HasTheme, class com.vaadin.flow.component.Component, interface com.vaadin.flow.component.HasSize, interface com.vaadin.flow.component.AttachNotifier, interface com.vaadin.flow.component.DetachNotifier, interface java.io.Serializable, interface com.vaadin.flow.component.HasStyle, class java.lang.Object, class org.vaadin.stefan.fullcalendar.FullCalendar, interface com.vaadin.flow.component.HasElement] [ERROR] TimeslotsSelectedEventTest.getEndAsInstant » Mockito Mockito cannot mock this class: class org.vaadin.stefan.fullcalendar.FullCalendar. If you're not sure why you're getting this error, please open an issue on GitHub. Java : 21 JVM vendor name : Eclipse Adoptium JVM vendor version : 21+35-LTS JVM name : OpenJDK 64-Bit Server VM JVM version : 21+35-LTS JVM info : mixed mode, sharing OS name : Linux OS version : 6.8.0-106-generic You are seeing this disclaimer because Mockito is configured to create inlined mocks. You can learn about inline mocks and their limitations under item #39 of the Mockito class javadoc. Underlying exception : org.mockito.exceptions.base.MockitoException: Could not modify all classes [interface com.vaadin.flow.component.HasTheme, class com.vaadin.flow.component.Component, interface com.vaadin.flow.component.HasSize, interface com.vaadin.flow.component.AttachNotifier, interface com.vaadin.flow.component.DetachNotifier, interface java.io.Serializable, interface com.vaadin.flow.component.HasStyle, class java.lang.Object, class org.vaadin.stefan.fullcalendar.FullCalendar, interface com.vaadin.flow.component.HasElement] [ERROR] TimeslotsSelectedEventTest.getEndWithOffset » Mockito Mockito cannot mock this class: class org.vaadin.stefan.fullcalendar.FullCalendar. If you're not sure why you're getting this error, please open an issue on GitHub. Java : 21 JVM vendor name : Eclipse Adoptium JVM vendor version : 21+35-LTS JVM name : OpenJDK 64-Bit Server VM JVM version : 21+35-LTS JVM info : mixed mode, sharing OS name : Linux OS version : 6.8.0-106-generic You are seeing this disclaimer because Mockito is configured to create inlined mocks. You can learn about inline mocks and their limitations under item #39 of the Mockito class javadoc. Underlying exception : org.mockito.exceptions.base.MockitoException: Could not modify all classes [interface com.vaadin.flow.component.HasTheme, class com.vaadin.flow.component.Component, interface com.vaadin.flow.component.HasSize, interface com.vaadin.flow.component.AttachNotifier, interface com.vaadin.flow.component.DetachNotifier, interface java.io.Serializable, interface com.vaadin.flow.component.HasStyle, class java.lang.Object, class org.vaadin.stefan.fullcalendar.FullCalendar, interface com.vaadin.flow.component.HasElement] [ERROR] TimeslotsSelectedEventTest.getStart » Mockito Mockito cannot mock this class: class org.vaadin.stefan.fullcalendar.FullCalendar. If you're not sure why you're getting this error, please open an issue on GitHub. Java : 21 JVM vendor name : Eclipse Adoptium JVM vendor version : 21+35-LTS JVM name : OpenJDK 64-Bit Server VM JVM version : 21+35-LTS JVM info : mixed mode, sharing OS name : Linux OS version : 6.8.0-106-generic You are seeing this disclaimer because Mockito is configured to create inlined mocks. You can learn about inline mocks and their limitations under item #39 of the Mockito class javadoc. Underlying exception : org.mockito.exceptions.base.MockitoException: Could not modify all classes [interface com.vaadin.flow.component.HasTheme, class com.vaadin.flow.component.Component, interface com.vaadin.flow.component.HasSize, interface com.vaadin.flow.component.AttachNotifier, interface com.vaadin.flow.component.DetachNotifier, interface java.io.Serializable, interface com.vaadin.flow.component.HasStyle, class java.lang.Object, class org.vaadin.stefan.fullcalendar.FullCalendar, interface com.vaadin.flow.component.HasElement] [ERROR] TimeslotsSelectedEventTest.getStartAsInstant » Mockito Mockito cannot mock this class: class org.vaadin.stefan.fullcalendar.FullCalendar. If you're not sure why you're getting this error, please open an issue on GitHub. Java : 21 JVM vendor name : Eclipse Adoptium JVM vendor version : 21+35-LTS JVM name : OpenJDK 64-Bit Server VM JVM version : 21+35-LTS JVM info : mixed mode, sharing OS name : Linux OS version : 6.8.0-106-generic You are seeing this disclaimer because Mockito is configured to create inlined mocks. You can learn about inline mocks and their limitations under item #39 of the Mockito class javadoc. Underlying exception : org.mockito.exceptions.base.MockitoException: Could not modify all classes [interface com.vaadin.flow.component.HasTheme, class com.vaadin.flow.component.Component, interface com.vaadin.flow.component.HasSize, interface com.vaadin.flow.component.AttachNotifier, interface com.vaadin.flow.component.DetachNotifier, interface java.io.Serializable, interface com.vaadin.flow.component.HasStyle, class java.lang.Object, class org.vaadin.stefan.fullcalendar.FullCalendar, interface com.vaadin.flow.component.HasElement] [ERROR] TimeslotsSelectedEventTest.getStartWithOffset » Mockito Mockito cannot mock this class: class org.vaadin.stefan.fullcalendar.FullCalendar. If you're not sure why you're getting this error, please open an issue on GitHub. Java : 21 JVM vendor name : Eclipse Adoptium JVM vendor version : 21+35-LTS JVM name : OpenJDK 64-Bit Server VM JVM version : 21+35-LTS JVM info : mixed mode, sharing OS name : Linux OS version : 6.8.0-106-generic You are seeing this disclaimer because Mockito is configured to create inlined mocks. You can learn about inline mocks and their limitations under item #39 of the Mockito class javadoc. Underlying exception : org.mockito.exceptions.base.MockitoException: Could not modify all classes [interface com.vaadin.flow.component.HasTheme, class com.vaadin.flow.component.Component, interface com.vaadin.flow.component.HasSize, interface com.vaadin.flow.component.AttachNotifier, interface com.vaadin.flow.component.DetachNotifier, interface java.io.Serializable, interface com.vaadin.flow.component.HasStyle, class java.lang.Object, class org.vaadin.stefan.fullcalendar.FullCalendar, interface com.vaadin.flow.component.HasElement] [INFO] [ERROR] Tests run: 371, Failures: 0, Errors: 6, Skipped: 0 [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] FullCalendar for Flow 7.1.6-SNAPSHOT ............... FAILURE [ 19.920 s] [INFO] FullCalendar Scheduler for Flow 7.1.6-SNAPSHOT ..... SKIPPED [INFO] Full Calendar web component demo 25.0.0-SNAPSHOT ... SKIPPED [INFO] fullcalendar-parent 7.1.6-SNAPSHOT ................. SKIPPED [INFO] Full Calendar E2E Test App 25.0.0-SNAPSHOT ......... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 20.351 s [INFO] Finished at: 2026-03-27T06:27:20Z [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.5.4:test (default-test) on project fullcalendar2: [ERROR] [ERROR] See /home/ghrunner/actions-runner/_work/vaadin-ecosystem-build/vaadin-ecosystem-build/work/vaadin-fullcalendar/addon/target/surefire-reports for the individual test results. [ERROR] See dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream. [ERROR] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException