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

at org.csploit.android.MainActivity.createUpdateLayout(MainActivity.java:142) #399

Closed
gustavo-iniguez-goya opened this issue Oct 8, 2015 · 2 comments
Labels

Comments

@gustavo-iniguez-goya
Copy link
Contributor

Reported with stable version 1.6.0, and present in all branches.

java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String java.lang.String.replace(java.lang.CharSequence, java.lang.CharSequence)' on a null object reference
at org.csploit.android.MainActivity.createUpdateLayout(MainActivity.java:142)
at org.csploit.android.MainActivity.createLayout(MainActivity.java:237)
at org.csploit.android.MainActivity.access$400(MainActivity.java:100)
at org.csploit.android.MainActivity$3.run(MainActivity.java:289)
at android.app.Activity.runOnUiThread(Activity.java:5575)
at org.csploit.android.MainActivity.onCoreUpdated(MainActivity.java:285)
at org.csploit.android.MainActivity.access$900(MainActivity.java:100)
at org.csploit.android.MainActivity$UpdateReceiver.onUpdateDone(MainActivity.java:1038)
at org.csploit.android.MainActivity$UpdateReceiver.onReceive(MainActivity.java:1092)

The problem is that the string is not initialized:

private String UPDATE_MESSAGE;

it seems to be there a race condition where the string is accessed before being initialized.

@tux-mind
Copy link
Member

will be fixed once #245 get merged, thanks for the report 😊

we may should think about an auto-reporter from ACRA... or switch to another bug report framework.

@tux-mind
Copy link
Member

fixed in #245

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

2 participants