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(
1035
1035
* Stores information about the generic types used in the parameters of the method under test.
1036
1036
*/
1037
1037
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
+
1039
1042
val type = if (identityRef is ThisRef ) {
1040
1043
// TODO: for ThisRef both methods don't return parameterized type
1041
1044
if (methodUnderTest.isConstructor) {
You can’t perform that action at this time.
0 commit comments