Skip to content

NullPointerException - Location & LocationManager - double #6

@ghost

Description

hi,
I'm getting a null pointer exception from launch CameraStreamingActivity.
Here is the logcat error output:

 E/AndroidRuntime: FATAL EXCEPTION: pool-3-thread-1
                                                            Process: -, PID: 24769
                                                            java.lang.NullPointerException: Attempt to invoke virtual method 'double android.location.Location.getLongitude()' on a null object reference
                                                                at com.livestreamsdk.backend.Backend.requestSetStreamLocation(Backend.java:204)
                                                                at com.livestreamsdk.amazon.AmazonSender$1.onComplete(AmazonSender.java:90)
                                                                at com.livestreamsdk.backend.Backend$BackendRunnable.run(Backend.java:319)
                                                                at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
                                                                at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
                                                                at java.lang.Thread.run(Thread.java:818)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions