Skip to content

Camera experiments crash #78

@earthrockmill

Description

@earthrockmill

On an Android 9 phone the app crashes when opening any of the new camera experiments (not even getting to run them). Here is the error:

FATAL EXCEPTION: main
Process: de.rwth_aachen.phyphox, PID: 23415
java.lang.NullPointerException
	at de.rwth_aachen.phyphox.camera.helper.CameraHelper.adjustExposure(CameraHelper.kt:425)
	at de.rwth_aachen.phyphox.camera.CameraInput$newExposureStatistics$1.invokeSuspend(CameraInput.kt:580)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100)
	at android.os.Handler.handleCallback(Handler.java:873)
	at android.os.Handler.dispatchMessage(Handler.java:99)
	at android.os.Looper.loop(Looper.java:205)
	at android.app.ActivityThread.main(ActivityThread.java:6993)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:884)
	Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [StandaloneCoroutine{Cancelling}@8db6118, Dispatchers.Main.immediate]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions