java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.madhu.samplec/com.example.madhu.samplec.mtcresult}: java.lang.IllegalStateException: BusDataManager is not initialized, call initializeInstance(..) method first.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Stack Overflow by madhushri
, 1 year ago
Unable to start activity ComponentInfo{com.example.madhu.samplec/com.example.madhu.samplec.mtcresult}: java.lang.IllegalStateException: BusDataManager is not initialized, call initializeInstance(..) method first.
via Stack Overflow by user3798619
, 2 years ago
Unable to start activity ComponentInfo{com.testsite.testvolley/com.testsite.testvolley.MainActivity}: java.lang.IllegalStateException: RequestQueue not initialized
via Google Groups by Ishan Dave, 1 year ago
Unable to start activity ComponentInfo{com.somepackage/com.somepackage.view.GalleryActivity}: java.lang.IllegalStateException: Derived class did not call super.onRestoreInstanceState()
via GitHub by prabowo24
, 1 year ago
Unable to start activity ComponentInfo{com.mapmall.app/com.mapmall.app.TutorialTwo}: java.lang.IllegalStateException: Invoke CBApp#newInstance()#getDataInBackground() first before scanning!
via Stack Overflow by allyjweir
, 1 year ago
Unable to start activity ComponentInfo{ggow.teamt.mdrs/ggow.teamt.mdrs.MapViewActivity}: java.lang.IllegalStateException: Not connected. Call connect() and wait for onConnected() to be called.
via Stack Overflow by Axel
, 2 years ago
Unable to start activity ComponentInfo{com.axelfiedler.stayup/com.axelfiedler.stayup.MainActivity}: java.lang.IllegalStateException: Not connected. Call connect() and wait for onConnected() to be called.
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.madhu.samplec/com.example.madhu.samplec.mtcresult}: java.lang.IllegalStateException: BusDataManager is not initialized, call initializeInstance(..) method first.
at com.example.madhu.samplec.BusDataManager.getInstance(BusDataManager.java:26)
at com.example.madhu.samplec.Bus_StageRepo.getStage(Bus_StageRepo.java:60)
at com.example.madhu.samplec.mtcresult.displaylistview(mtcresult.java:537)
at com.example.madhu.samplec.mtcresult.onCreate(mtcresult.java:293)
at android.app.Activity.performCreate(Activity.java:5231)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2243)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2329)
at android.app.ActivityThread.access$800(ActivityThread.java:145)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1265)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:136)
at android.app.ActivityThread.main(ActivityThread.java:5214)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.