java.lang.RuntimeException: Unable to start service com.hyechon.etrackermv.ServiceClass@7566889 with Intent { cmp=com.hyechon.etrackermv/.ServiceClass }: java.lang.NullPointerException: Attempt to invoke virtual method 'void com.hyechon.etrackermv.camera.CameraSourcePreview.start(com.google.android.gms.vision.CameraSource)' on a null object reference

Stack Overflow | Doyoung Jang | 10 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    I want to use camera on background service using mobile vision

    Stack Overflow | 10 months ago | Doyoung Jang
    java.lang.RuntimeException: Unable to start service com.hyechon.etrackermv.ServiceClass@7566889 with Intent { cmp=com.hyechon.etrackermv/.ServiceClass }: java.lang.NullPointerException: Attempt to invoke virtual method 'void com.hyechon.etrackermv.camera.CameraSourcePreview.start(com.google.android.gms.vision.CameraSource)' on a null object reference
  2. 0

    NullPointerException - IRCService.handleCommand() (Market)

    GitHub | 7 years ago | pocmo
    java.lang.NullPointerException
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    android app crashes when stopping service

    GitHub | 10 months ago | Chaos99
    java.lang.NullPointerException: Attempt to invoke virtual method 'boolean gpsplus.rtkgps.DemoModeLocation.isInDemoMode()' on a null object reference
  5. 0

    Crash on stopping server

    GitHub | 10 months ago | Chaos99
    java.lang.NullPointerException: Attempt to invoke virtual method 'boolean gpsplus.rtkgps.DemoModeLocation.isInDemoMode()' on a null object reference

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NullPointerException

      Attempt to invoke virtual method 'void com.hyechon.etrackermv.camera.CameraSourcePreview.start(com.google.android.gms.vision.CameraSource)' on a null object reference

      at com.hyechon.etrackermv.ServiceClass.startCameraSource()
    2. com.hyechon.etrackermv
      ServiceClass.onStartCommand
      1. com.hyechon.etrackermv.ServiceClass.startCameraSource(ServiceClass.java:255)
      2. com.hyechon.etrackermv.ServiceClass.onStartCommand(ServiceClass.java:136)
      2 frames
    3. Android Platform
      ActivityThread.handleServiceArgs
      1. android.app.ActivityThread.handleServiceArgs(ActivityThread.java:4062)
      1 frame