java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.malith.testcrowd/com.example.malith.testcrowd.NewWorkOrderActivity}: java.lang.ClassCastException: android.app.Application cannot be cast to com.example.malith.testcrowd.TestCrowd

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Android: Can't inflate class fragment
    via Stack Overflow by dfvt
    ,
  • GitHub comment 267#244246003
    via GitHub by nlefler
    ,
  • GitHub comment 267#244793286
    via GitHub by nlefler
    ,
    • java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.malith.testcrowd/com.example.malith.testcrowd.NewWorkOrderActivity}: java.lang.ClassCastException: android.app.Application cannot be cast to com.example.malith.testcrowd.TestCrowd at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2646) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2707)

    Users with the same issue

    Unknown visitor2 times, last one,
    Unknown visitor1 times, last one,
    filpgame
    filpgame16 times, last one,
    pranavprakash
    pranavprakash6 times, last one,
    tererecool
    tererecool12 times, last one,
    100 more bugmates