-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OutOfMemoryError in Concrete Executor logs and error test #1292
Comments
Reproducing on build from release branch in IDEA 2022.2.3 |
Tests are generated on latest |
@Domonion Reproducing with StringExamples.isStringBuilderEmpty |
Cannot reproduce still, latest main. |
There are different concrete execution errors for StringExamples:
Test are generated. But Errors reports are present. Exceptions in utbot-instrumentedprocess-errors are different: 17:23:26.565 | ERROR | InstrumentedProcess | | org.utbot.instrumentation.instrumentation.execution.phases.ExecutionPhaseError: PostprocessingPhase
at org.utbot.instrumentation.instrumentation.execution.phases.PostprocessingPhase.wrapError(PostprocessingPhase.kt:21)
at org.utbot.instrumentation.instrumentation.execution.phases.ExecutionPhaseKt.start(ExecutionPhase.kt:29)
at org.utbot.instrumentation.instrumentation.execution.UtExecutionInstrumentation.invoke(UtExecutionInstrumentation.kt:147)
at org.utbot.instrumentation.instrumentation.execution.UtExecutionInstrumentation.invoke(UtExecutionInstrumentation.kt:48)
at org.utbot.instrumentation.process.InstrumentedProcessMainKt$setup$2.invoke(InstrumentedProcessMain.kt:151)
at org.utbot.instrumentation.process.InstrumentedProcessMainKt$setup$2.invoke(InstrumentedProcessMain.kt:147)
at org.utbot.rd.IdleWatchdog$wrapActiveCall$1$1.invoke(ClientProcessUtil.kt:96)
at org.utbot.rd.IdleWatchdog.wrapActive(ClientProcessUtil.kt:83)
at org.utbot.rd.IdleWatchdog$wrapActiveCall$1.invoke(ClientProcessUtil.kt:95)
at com.jetbrains.rd.framework.IRdEndpoint$set$1.invoke(TaskInterfaces.kt:182)
at com.jetbrains.rd.framework.IRdEndpoint$set$1.invoke(TaskInterfaces.kt:173)
at com.jetbrains.rd.framework.impl.RdCall.onWireReceived(RdTask.kt:360)
at com.jetbrains.rd.framework.MessageBroker$invoke$2$2.invoke(MessageBroker.kt:57)
at com.jetbrains.rd.framework.MessageBroker$invoke$2$2.invoke(MessageBroker.kt:12)
at com.jetbrains.rd.framework.impl.ProtocolContexts.readMessageContextAndInvoke(ProtocolContexts.kt:151)
at com.jetbrains.rd.framework.MessageBroker$invoke$2.invoke(MessageBroker.kt:56)
at com.jetbrains.rd.framework.MessageBroker$invoke$2.invoke(MessageBroker.kt:12)
at com.jetbrains.rd.util.threading.SingleThreadSchedulerBase$queue$1.run(SingleThreadScheduler.kt:41)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:750)
Caused by: java.lang.NullPointerException
at org.utbot.instrumentation.instrumentation.execution.phases.PostprocessingPhase.getSavedStatics(PostprocessingPhase.kt:16)
at org.utbot.instrumentation.instrumentation.execution.phases.PostprocessingPhase.resetStaticFields(PostprocessingPhase.kt:24)
at org.utbot.instrumentation.instrumentation.execution.UtExecutionInstrumentation$invoke$1$4.invoke(UtExecutionInstrumentation.kt:148)
at org.utbot.instrumentation.instrumentation.execution.UtExecutionInstrumentation$invoke$1$4.invoke(UtExecutionInstrumentation.kt:147)
at org.utbot.instrumentation.instrumentation.execution.phases.ExecutionPhaseKt.start(ExecutionPhase.kt:24)
... 19 more |
Npe fix in for #1292 - #1292 (comment), but this is not fix
Npe fix in for #1292 - #1292 (comment), but this is not fix
[utbot-rider] Npe fix in for #1292 - #1292 (comment), but this is not fix
This issue is an instrance of #1697 |
[utbot-rider] Npe fix in for #1292 - #1292 (comment), but this is not fix
Closing it as a subcase of #1697 |
Description
Test generation for some classes produces Errors report with exceptions in Concrete executor.
Reproducing for:
To Reproduce
~/.utbot/settings.properties
:logConcreteExecutionErrors=true
Expected behavior
There are no errors report tests expected.
Actual behavior
An error test is generated with information about errors in the concrete executor.
Visual proofs (screenshots, logs, images)
The following exception is present in Concrete executor logs:
-6732047430179090681-1.log
-8910242688641328018-1.log
Also once there was a different exception on ArrayOfObjects
2455552591612723164-1.log
Environment
Windows 10 Pro
IntelliJ IDEA 2022.2.3
Gradle project (UTBotJava)
JDK 11
The text was updated successfully, but these errors were encountered: