#Ocassional crash when initializing CameraKit

5 messages · Page 1 of 1 (latest)

timid dagger
#

Hello, i hope you're all doing well, i've been getting some random crashes from time to time when initializing camerakit and i can't figure out what the problem might be
this is the stacktrace

FATAL EXCEPTION: main
Process: net.helloapp.hello, PID: 2383
com.looksery.sdk.exception.LookseryConstructorException: lensId: <null>, upcomingLensId: <null>
details: LS::JniException: java.lang.IllegalStateException: Unexpected type for value [false] of expected type [class java.lang.Integer (Kotlin reflection is not available)]
``` (i can't seem to provide with full stacktrace due to characters limit). If you need me to provide code for how im initializing it then please let me know, and sorry for asking so many questions
stable swallow
#

What version of camerakit are you using?

timid dagger
#

It's extremely rare and there's no real pattern to replicate it but it does occasionally happen

stable swallow
#

@timid dagger yeah we did see this crash occasionally, it should be resolved in the upcoming 1.40.0 release