java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{xyz.aufa.mycollegeassistant/xyz.aufa.mycollegeassistant.frmLogin}: java.lang.NullPointerException


Solutions on the web

Solution icon of stackoverflow
via Stack Overflow by AufaDhiya
, 8 months ago
Unable to instantiate activity ComponentInfo{xyz.aufa.mycollegeassistant/xyz.aufa.mycollegeassistant.frmLogin}: java.lang.NullPointerException

Solution icon of github
via GitHub by smtking
, 11 months ago
Unable to instantiate activity ComponentInfo{mobi.acpm.inspeckage/mobi.acpm.inspeckage.ui.MainActivity}: java.lang.ClassNotFoundException: mobi.acpm.inspeckage.ui.MainActivity

Solution icon of github
Unable to start activity ComponentInfo{us.shandian.blacklight/com.karumi.dexter.DexterActivity}: java.lang.NullPointerException

Solution icon of coderanch
via Coderanch by Mike Sabo, 9 months ago
Unable to instantiate activity ComponentInfo{com.sabo.andriod/com.sabo.andriod.PitchPipeActivity}: java.lang.NullPointerException

Solution icon of coderanch
via Coderanch by achuthan mukundarajan, 9 months ago
Unable to instantiate activity ComponentInfo{com.example.searchbarproject/com.example.searchbarproject.MainActivity}: java.lang.NullPointerException

Solution icon of github
via GitHub by jeetdholakia
, 1 year ago
Unable to instantiate activity ComponentInfo{com.example.drawtextsample/com.android.camera.CropImage}: java.lang.NullPointerException

Solution icon of stackoverflow
via Stack Overflow by Conrad
, 1 year ago
Unable to instantiate activity ComponentInfo{android.reader/android.reader.Reader}: java.lang.NullPointerException

Solution icon of stackoverflow
via Stack Overflow by Caleb
, 7 months ago
Unable to instantiate activity ComponentInfo{com.example.addtolistview/com.example.addtolistview.ListViewDemo}: java.lang.NullPointerException

Solution icon of stackoverflow
via Stack Overflow by Chimi
, 1 year ago
Unable to instantiate activity ComponentInfo{com.matt.drapp/com.matt.drapp.UploadOption}: java.lang.NullPointerException

Solution icon of stackoverflow
via Stack Overflow by Stock Dave
, 3 months ago
Unable to instantiate activity ComponentInfo{com.UPFIM.casa/com.UPFIM.casa.Constancias}: java.lang.NullPointerException

Stack trace

java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{xyz.aufa.mycollegeassistant/xyz.aufa.mycollegeassistant.frmLogin}: java.lang.NullPointerException
	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2110)
	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2254)
	at android.app.ActivityThread.access$600(ActivityThread.java:141)
	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1234)
	at android.os.Handler.dispatchMessage(Handler.java:99)
	at android.os.Looper.loop(Looper.java:137)
	at android.app.ActivityThread.main(ActivityThread.java:5069)
	at java.lang.reflect.Method.invokeNative(Native Method)
	at java.lang.reflect.Method.invoke(Method.java:511)
	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:560)
	at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:132)
	at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.NullPointerException
	at android.support.v7.app.AppCompatDelegateImplBase.<init>(AppCompatDelegateImplBase.java:116)
	at android.support.v7.app.AppCompatDelegateImplV9.<init>(AppCompatDelegateImplV9.java:147)
	at android.support.v7.app.AppCompatDelegateImplV11.<init>(AppCompatDelegateImplV11.java:27)
	at android.support.v7.app.AppCompatDelegateImplV14.<init>(AppCompatDelegateImplV14.java:50)
	at android.support.v7.app.AppCompatDelegate.create(AppCompatDelegate.java:201)
	at android.support.v7.app.AppCompatDelegate.create(AppCompatDelegate.java:181)
	at android.support.v7.app.AppCompatActivity.getDelegate(AppCompatActivity.java:521)
	at android.support.v7.app.AppCompatActivity.findViewById(AppCompatActivity.java:190)
	at xyz.aufa.mycollegeassistant.frmLogin.<init>(frmLogin.java:10)
	at java.lang.Class.newInstanceImpl(Native Method)
	at java.lang.Class.newInstance(Class.java:1319)
	at android.app.Instrumentation.newActivity(Instrumentation.java:1066)
	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2101)
	... 12 more

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

Samebug visitor profile picture
Unknown user
Once, 1 year ago