Skip to content

removed empty line #1889

removed empty line

removed empty line #1889

GitHub Actions / JUnit Test Report failed Oct 31, 2023 in 0s

13 tests run, 12 passed, 0 skipped, 1 failed.

Annotations

Check failure on line 138 in messaginginapp/src/sharedTest/java/io/customer/messaginginapp/ModuleMessagingInAppTest.kt

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

ModuleMessagingInAppTest.whenDismissMessageCalledOnCustomerIO_thenDismissMessageIsCalledOnGist

java.security.KeyStoreException: AndroidKeyStore not found
Raw output
java.security.KeyStoreException: AndroidKeyStore not found
	at java.base/java.security.KeyStore.getInstance(KeyStore.java:871)
	at androidx.security.crypto.MasterKeys.keyExists(MasterKeys.java:155)
	at androidx.security.crypto.MasterKeys.getOrCreate(MasterKeys.java:99)
	at androidx.security.crypto.MasterKey$Builder$Api23Impl.build(MasterKey.java:380)
	at androidx.security.crypto.MasterKey$Builder.build(MasterKey.java:320)
	at io.customer.sdk.repository.preference.SharedPreferenceRepositoryImp.<init>(SharedPreferenceRepository.kt:36)
	at io.customer.sdk.di.CustomerIOSharedComponent$sharedPreferenceRepository$2.invoke(CustomerIOSharedComponent.kt:10)
	at io.customer.sdk.di.CustomerIOSharedComponent$sharedPreferenceRepository$2.invoke(CustomerIOSharedComponent.kt:9)
	at kotlin.SynchronizedLazyImpl.getValue(LazyJVM.kt:74)
	at io.customer.sdk.di.CustomerIOSharedComponent.getSharedPreferenceRepository$sdk_debug(CustomerIOSharedComponent.kt:9)
	at io.customer.sdk.CustomerIOShared.attachSDKConfig(CustomerIOShared.kt:44)
	at io.customer.sdk.CustomerIO$Builder.build(CustomerIO.kt:351)
	at io.customer.messaginginapp.ModuleMessagingInAppTest.whenDismissMessageCalledOnCustomerIO_thenDismissMessageIsCalledOnGist(ModuleMessagingInAppTest.kt:138)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
	at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
	at org.robolectric.RobolectricTestRunner$HelperTestRunner$1.evaluate(RobolectricTestRunner.java:580)
	at org.robolectric.internal.SandboxTestRunner$2.lambda$evaluate$2(SandboxTestRunner.java:287)
	at org.robolectric.internal.bytecode.Sandbox.lambda$runOnMainThread$0(Sandbox.java:99)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
	at java.base/java.lang.Thread.run(Thread.java:833)
Caused by: java.security.NoSuchAlgorithmException: AndroidKeyStore KeyStore not available
	at java.base/sun.security.jca.GetInstance.getInstance(GetInstance.java:159)
	at java.base/java.security.Security.getImpl(Security.java:676)
	at java.base/java.security.KeyStore.getInstance(KeyStore.java:868)
	... 30 more