Skip to content

Add sample with enums, remove redundant todo #1659

Add sample with enums, remove redundant todo

Add sample with enums, remove redundant todo #1659

GitHub Actions / Test results on JDK 11 failed Jun 20, 2024 in 0s

1 fail, 10 skipped, 1 322 pass in 11m 48s

1 333 tests  ±0   1 322 ✅ ±0   11m 48s ⏱️ - 2m 54s
   50 suites ±0      10 💤 ±0 
   50 files   ±0       1 ❌ ±0 

Results for commit 1d72d03. ± Comparison against earlier commit bbfcbb3.

Annotations

Check warning on line 0 in org.jacodb.cli.CliTest

See this annotation in the file changed.

@github-actions github-actions / Test results on JDK 11

test basic analysis cli api() (org.jacodb.cli.CliTest) failed

jacodb-cli/build/test-results/test/TEST-org.jacodb.cli.CliTest.xml [took 22s]
Raw output
kotlin.UninitializedPropertyAccessException: lateinit property cp has not been initialized
	at org.jacodb.analysis.util.JcTraits$Companion.getCp(JcTraits.kt:178)
	at org.jacodb.analysis.util.JcTraits.getArgumentsOf(JcTraits.kt:108)
	at org.jacodb.analysis.util.JcTraits.getArgumentsOf(JcTraits.kt:69)
	at org.jacodb.analysis.npe.ForwardNpeFlowFunctions$obtainCallToStartFlowFunction$1.compute(NpeFlowFunctions.kt:560)
	at org.jacodb.analysis.npe.ForwardNpeFlowFunctions$obtainCallToStartFlowFunction$1.compute(NpeFlowFunctions.kt:546)
	at org.jacodb.analysis.ifds.UniRunner.tabulationAlgorithmStep(Runner.kt:193)
	at org.jacodb.analysis.ifds.UniRunner.access$tabulationAlgorithmStep(Runner.kt:54)
	at org.jacodb.analysis.ifds.UniRunner$tabulationAlgorithm$2.invokeSuspend(Runner.kt:157)
	at org.jacodb.analysis.ifds.UniRunner$tabulationAlgorithm$2.invoke(Runner.kt)
	at org.jacodb.analysis.ifds.UniRunner$tabulationAlgorithm$2.invoke(Runner.kt)
	at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturn(Undispatched.kt:89)
	at kotlinx.coroutines.CoroutineScopeKt.coroutineScope(CoroutineScope.kt:264)
	at org.jacodb.analysis.ifds.UniRunner.tabulationAlgorithm(Runner.kt:149)
	at org.jacodb.analysis.ifds.UniRunner.run(Runner.kt:93)
	at org.jacodb.analysis.taint.TaintManager$analyze$1$allJobs$1$1.invokeSuspend(TaintManager.kt:182)
	at ???(Coroutine boundary.?(?)
	at org.jacodb.analysis.taint.TaintManager$analyze$1$allJobs$1$1.invokeSuspend(TaintManager.kt:182)
Caused by: kotlin.UninitializedPropertyAccessException: lateinit property cp has not been initialized
	at org.jacodb.analysis.util.JcTraits$Companion.getCp(JcTraits.kt:178)
	at org.jacodb.analysis.util.JcTraits.getArgumentsOf(JcTraits.kt:108)
	at org.jacodb.analysis.util.JcTraits.getArgumentsOf(JcTraits.kt:69)
	at org.jacodb.analysis.npe.ForwardNpeFlowFunctions$obtainCallToStartFlowFunction$1.compute(NpeFlowFunctions.kt:560)
	at org.jacodb.analysis.npe.ForwardNpeFlowFunctions$obtainCallToStartFlowFunction$1.compute(NpeFlowFunctions.kt:546)
	at org.jacodb.analysis.ifds.UniRunner.tabulationAlgorithmStep(Runner.kt:193)
	at org.jacodb.analysis.ifds.UniRunner.access$tabulationAlgorithmStep(Runner.kt:54)
	at org.jacodb.analysis.ifds.UniRunner$tabulationAlgorithm$2.invokeSuspend(Runner.kt:157)
	at org.jacodb.analysis.ifds.UniRunner$tabulationAlgorithm$2.invoke(Runner.kt)
	at org.jacodb.analysis.ifds.UniRunner$tabulationAlgorithm$2.invoke(Runner.kt)
	at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturn(Undispatched.kt:89)
	at kotlinx.coroutines.CoroutineScopeKt.coroutineScope(CoroutineScope.kt:264)
	at org.jacodb.analysis.ifds.UniRunner.tabulationAlgorithm(Runner.kt:149)
	at org.jacodb.analysis.ifds.UniRunner.run(Runner.kt:93)
	at org.jacodb.analysis.taint.TaintManager$analyze$1$allJobs$1$1.invokeSuspend(TaintManager.kt:182)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
	at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664)