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

Nullpointer with unused plugin on classpath #620

Closed
F43nd1r opened this issue Jan 7, 2018 · 0 comments
Closed

Nullpointer with unused plugin on classpath #620

F43nd1r opened this issue Jan 7, 2018 · 0 comments
Assignees
Labels

Comments

@F43nd1r
Copy link
Member

F43nd1r commented Jan 7, 2018

As reported by @greenscreens-io

Annotation configuration

@AcraDialog(
        resText = R.string.crash_dialog_text,
        resTheme = R.style.AppTheme_Dialog,
        resIcon = android.R.drawable.ic_dialog_info,
        resTitle = R.string.crash_dialog_title,
        resCommentPrompt = R.string.crash_dialog_comment_prompt
)
public class App extends Application {
 ...
}

and crash log

Attempt to invoke virtual method 'int java.lang.Integer.intValue()' on a null object reference
Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'int java.lang.Integer.intValue()' on a null object reference 
    at org.acra.config.NotificationConfigurationBuilder.resTitle(NotificationConfigurationBuilder.java:132)
    at org.acra.config.NotificationConfiguration.<init>(NotificationConfiguration.java:72)
    at org.acra.config.NotificationConfigurationBuilder.build(NotificationConfigurationBuilder.java:418)
    at org.acra.config.NotificationConfigurationBuilder.build(NotificationConfigurationBuilder.java:23)
    at org.acra.config.BaseCoreConfigurationBuilder.preBuild(BaseCoreConfigurationBuilder.java:71)
    at org.acra.config.CoreConfigurationBuilder.build(CoreConfigurationBuilder.java:689)
    at org.acra.ACRA.init(ACRA.java:162)
    at org.acra.ACRA.init(ACRA.java:146)
    at org.acra.ACRA.init(ACRA.java:129)
@F43nd1r F43nd1r mentioned this issue Jan 7, 2018
@F43nd1r F43nd1r added the bug label Jan 7, 2018
@F43nd1r F43nd1r self-assigned this Jan 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant