java.lang.RuntimeException: Unable to start activity ComponentInfo{in.company.timesheet/in.company.timesheet.SampleActivity}: java.lang.NullPointerException

Stack Overflow | Khan | 7 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Unable to initialize android view using custom annotation

    Stack Overflow | 7 months ago | Khan
    java.lang.RuntimeException: Unable to start activity ComponentInfo{in.company.timesheet/in.company.timesheet.SampleActivity}: java.lang.NullPointerException

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at in.company.timesheet.SampleActivity.onCreate()
    2. in.company.timesheet
      SampleActivity.onCreate
      1. in.company.timesheet.SampleActivity.onCreate(SampleActivity.java:20)
      1 frame
    3. Android Platform
      ActivityThread.performLaunchActivity
      1. android.app.Activity.performCreate(Activity.java:5135)
      2. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1081)
      3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2273)
      3 frames