Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

npe in MainActivity #52

Open
Tostis opened this issue Apr 8, 2017 · 0 comments
Open

npe in MainActivity #52

Tostis opened this issue Apr 8, 2017 · 0 comments

Comments

@Tostis
Copy link

Tostis commented Apr 8, 2017

There is a NullPointerException when launching MicroMachines.

java.lang.RuntimeException: Unable to start activity ComponentInfo{mobi.acpm.inspeckage/mobi.acpm.inspeckage.ui.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String android.content.Context.getString(int)' on a null object reference at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3253) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3349) at android.app.ActivityThread.handleRelaunchActivity(ActivityThread.java:5383) at android.app.ActivityThread.access$1200(ActivityThread.java:221) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1800) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:158) at android.app.ActivityThread.main(ActivityThread.java:7225) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120) at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:102) Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String android.content.Context.getString(int)' on a null object reference at mobi.acpm.inspeckage.ui.MainFragment.loadListView(MainFragment.java:281) at mobi.acpm.inspeckage.ui.MainFragment.onCreateView(MainFragment.java:87) at android.app.Fragment.performCreateView(Fragment.java:2281) at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:983) at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1163) at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1145) at android.app.FragmentManagerImpl.dispatchActivityCreated(FragmentManager.java:1970) at android.app.FragmentController.dispatchActivityCreated(FragmentController.java:152) at android.app.Activity.performCreateCommon(Activity.java:6867) at android.app.Activity.performCreate(Activity.java:6897) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1135) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3206) ... 11 more

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant