KNet is a comprehensive .NET suite for Apache Kafka™ providing all features: Producer, Consumer, Admin, Streams, Connect, backends (ZooKeeper and Kafka).
Other failures happen when a JDK 17 is in use: most one with Zulu, but other one are reported too; the failures in general reports the following callstack (here the source job):
The last pc belongs to native nmethod (printed below).
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
J 2983 java.lang.Class.getDeclaredMethods0(Z)[Ljava/lang/reflect/Method; java.base@17.0.10 (0 bytes) @ 0x00000292d69090e3 [0x00000292d69090a0+0x0000000000000043]
J 1419 c1 java.lang.Class.privateGetDeclaredMethods(Z)[Ljava/lang/reflect/Method; java.base@17.0.10 (64 bytes) @ 0x00000292ceff01dc [0x00000292ceff0040+0x000000000000019c]
j java.lang.Class.getDeclaredMethods()[Ljava/lang/reflect/Method;+20 java.base@17.0.10
v ~StubRoutines::call_stub
which ends in the native call `getDeclaredMethods0` which accepts only a `boolean` parameter. So the expectation is that something is wrong at the hearth of the JVM itself.
The same
The last pc belongs to native nmethod (printed below).
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
J 2971 java.lang.Class.getDeclaredMethods0(Z)[Ljava/lang/reflect/Method; java.base@17.0.11 (0 bytes) @ 0x0000022db91a5063 [0x0000022db91a5020+0x0000000000000043]
J 1388 c1 java.lang.Class.privateGetDeclaredMethods(Z)[Ljava/lang/reflect/Method; java.base@17.0.11 (64 bytes) @ 0x0000022db188255c [0x0000022db18823c0+0x000000000000019c]
j java.lang.Class.getDeclaredMethods()[Ljava/lang/reflect/Method;+20 java.base@17.0.11
v ~StubRoutines::call_stub
Originally posted by @masesdevelopers in https://github.com/masesgroup/KEFCore/issues/261#issuecomment-2206749093
Use the info in the referenced issue.