java.lang.RuntimeException: Unable to start activity ComponentInfo{com.myapp.map/com.myapp.map.CalenderEventsActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void com.prolificinteractive.materialcalendarview.MaterialCalendarView.setOnDateChangedListener (com.prolificinteractive.materialcalendarview.o)' on a null object reference

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

    android crash with calendar activity (only on some devices)

    Stack Overflow | 1 month ago | JohnRogersColumbiaEDU
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.myapp.map/com.myapp.map.CalenderEventsActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void com.prolificinteractive.materialcalendarview.MaterialCalendarView.setOnDateChangedListener (com.prolificinteractive.materialcalendarview.o)' on a null object reference
  2. 0

    ClassCastException - WeekView to MonthView

    GitHub | 11 months ago | kostaniakm
    java.lang.ClassCastException: com.prolificinteractive.materialcalendarview.WeekView cannot be cast to com.prolificinteractive.materialcalendarview.MonthView
  3. 0

    My app crashes when I run it from Android Studio after making a change while it's already running

    Stack Overflow | 9 months ago | Derek
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.myapp/com.myapp.activity_host}: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String com.myapp.MB_item.getItemId()' on a null object reference
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Blank screen upon new activity - Android

    Stack Overflow | 11 months ago | Johnny
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.myname.myapp/com.example.myname.myapp.JoinLeague}: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.Button.setOnClickListener(android.view.View$OnClickListener)' on a null object reference
  6. 0

    Error thrown when running my splash screen

    Stack Overflow | 11 months ago | Matthew Richardson
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.matthew.myapp/com.example.matthew.myapp.SplashActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.ImageView.startAnimation(android.view.animation.Animation)' on a null object reference

  1. Indri Yunita 7 times, last 1 month ago
  2. andreeaa marin 184 times, last 2 months ago
  3. Reich 59 times, last 2 months ago
  4. gamebusterz 40 times, last 2 months ago
  5. Emrah Küçük 3 times, last 3 months ago
42 more registered users
14 unregistered visitors
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.RuntimeException

    Unable to start activity ComponentInfo{com.myapp.map/com.myapp.map.CalenderEventsActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void com.prolificinteractive.materialcalendarview.MaterialCalendarView.setOnDateChangedListener (com.prolificinteractive.materialcalendarview.o)' on a null object reference

    at android.app.ActivityThread.performLaunchActivity()
  2. Android Platform
    ActivityThread.handleLaunchActivity
    1. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2426)
    2. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2490)
    2 frames