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 when activity is not registered in manifest #4

Closed
krzysiekbielicki opened this issue Dec 30, 2015 · 0 comments
Closed

NPE when activity is not registered in manifest #4

krzysiekbielicki opened this issue Dec 30, 2015 · 0 comments

Comments

@krzysiekbielicki
Copy link
Contributor

When activity SlingesActivity redirects to is not registered in AndriudManifest slinger throws:

java.lang.NullPointerException: Attempt to read from field 'android.content.pm.ActivityInfo android.content.pm.ResolveInfo.activityInfo' on a null object reference
                                                                   at pl.allegro.android.slinger.IntentStarter.hasDefaultHandler(IntentStarter.java:139)

it should be caught and rethrown with some better explaination.

krzysiekbielicki added a commit to krzysiekbielicki/slinger that referenced this issue Dec 30, 2015
@kkocel kkocel closed this as completed in a3b4f49 Jan 5, 2016
kkocel pushed a commit that referenced this issue Jan 5, 2016
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