Skip to content

Regression

cz.cvut.kbss.ontodriver.ResultSetTest.spliteratorThrowsIllegalStateExceptionWhenResultSetIsClosed

Failing for the past 1 build (Since Failed #479 )
Took 2 ms.

Error Message

Could not initialize plugin: interface org.mockito.plugins.MockMaker (alternate: null)

Stacktrace

java.lang.IllegalStateException: Could not initialize plugin: interface org.mockito.plugins.MockMaker (alternate: null)
	at cz.cvut.kbss.ontodriver.ResultSetTest.spliteratorThrowsIllegalStateExceptionWhenResultSetIsClosed(ResultSetTest.java:66)
Caused by: java.lang.IllegalStateException: Internal problem occurred, please report it. Mockito is unable to load the default implementation of class that is a part of Mockito distribution. Failed to load interface org.mockito.plugins.MockMaker
	at cz.cvut.kbss.ontodriver.ResultSetTest.iteratorCreatesResultSetIteratorOverResultSetInstance(ResultSetTest.java:38)
Caused by: java.lang.reflect.InvocationTargetException
	at cz.cvut.kbss.ontodriver.ResultSetTest.iteratorCreatesResultSetIteratorOverResultSetInstance(ResultSetTest.java:38)
Caused by: org.mockito.exceptions.base.MockitoInitializationException: 

Could not initialize inline Byte Buddy mock maker.

It appears as if your JDK does not supply a working agent attachment mechanism.
Java               : 11
JVM vendor name    : Debian
JVM vendor version : 11.0.18+10-post-Debian-1deb10u1
JVM name           : OpenJDK 64-Bit Server VM
JVM version        : 11.0.18+10-post-Debian-1deb10u1
JVM info           : mixed mode, sharing
OS name            : Linux
OS version         : 4.19.0-23-amd64

	at cz.cvut.kbss.ontodriver.ResultSetTest.iteratorCreatesResultSetIteratorOverResultSetInstance(ResultSetTest.java:38)
Caused by: java.lang.IllegalStateException: 

Mockito could not self-attach a Java agent to the current VM. This feature is required for inline mocking.
This error occured due to an I/O error during the creation of this agent: java.io.IOException: No space left on device

Potentially, the current VM does not support the instrumentation API correctly
	at cz.cvut.kbss.ontodriver.ResultSetTest.iteratorCreatesResultSetIteratorOverResultSetInstance(ResultSetTest.java:38)
Caused by: java.io.IOException: No space left on device
	at cz.cvut.kbss.ontodriver.ResultSetTest.iteratorCreatesResultSetIteratorOverResultSetInstance(ResultSetTest.java:38)