File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
utbot-framework/src/main/kotlin/org/utbot/engine Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -1035,7 +1035,10 @@ class Traverser(
10351035 * Stores information about the generic types used in the parameters of the method under test.
10361036 */
10371037 private fun updateGenericTypeInfo (identityRef : IdentityRef , value : ReferenceValue ) {
1038- val callable = methodUnderTest.executable
1038+ // If we don't have access to methodUnderTest's jClass, the engine should not fail
1039+ // We just won't update generic information for it
1040+ val callable = runCatching { methodUnderTest.executable }.getOrNull() ? : return
1041+
10391042 val type = if (identityRef is ThisRef ) {
10401043 // TODO: for ThisRef both methods don't return parameterized type
10411044 if (methodUnderTest.isConstructor) {
You can’t perform that action at this time.
0 commit comments