java.lang.RuntimeException

Unable to instantiate activity ComponentInfo{com.example.jacob.repcapture/com.example.jacob.repcapture.BenchDataEntry}: java.lang.NullPointerException: Attempt to invoke virtual method 'android.view.View android.view.Window.findViewById(int)' on a null object reference

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web3524

  • via Stack Overflow by jvangore31
    ,
  • via Stack Overflow by Yulian
    ,
  • Stack trace

    • java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.example.jacob.repcapture/com.example.jacob.repcapture.BenchDataEntry}: java.lang.NullPointerException: Attempt to invoke virtual method 'android.view.View android.view.Window.findViewById(int)' on a null object reference at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2327) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2476)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    bayukresnobayukresno
    280 times, last one
    Nisha SinghNisha Singh
    7 times, last one
    Unknown UserUnknown User
    Once,
    ReichReich
    65 times, last one
    filipebatistafilipebatista
    6 times, last one
    103 more bugmates