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

Null point error #5

Open
ravdeepsingh22 opened this issue May 22, 2018 · 1 comment
Open

Null point error #5

ravdeepsingh22 opened this issue May 22, 2018 · 1 comment

Comments

@ravdeepsingh22
Copy link

2 13:25:06.247 31577-31577/com.androstock.smsapp E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.androstock.smsapp, PID: 31577
java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String android.content.Context.getPackageName()' on a null object reference
at android.widget.Toast.(Toast.java:103)
at android.widget.Toast.makeText(Toast.java:256)
at ir.mtajik.android.advancedsmsmanager.view.SendSmsViewImpl.showMessage(SendSmsViewImpl.java:116)
at ir.mtajik.android.advancedsmsmanager.presenter.SendSmsPresenterImpl.prepareSendSms(SendSmsPresenterImpl.java:111)
at ir.mtajik.android.advancedsmsmanager.presenter.SendSmsPresenterImpl.startWiringUp(SendSmsPresenterImpl.java:67)
at ir.mtajik.android.advancedsmsmanager.SmsHandler.sendSms(SmsHandler.java:79)
at com.androstock.smsapp.Chat$1.onClick(Chat.java:82)
at android.view.View.performClick(View.java:5640)
at android.view.View$PerformClick.run(View.java:22455)
at android.os.Handler.handleCallback(Handler.java:751)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:154)
at android.app.ActivityThread.main(ActivityThread.java:6165)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:888)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:778)

@mahdit83
Copy link
Owner

mahdit83 commented May 22, 2018

Hi @ravdeepsingh22
Would you tell me where this happened and explain more about issue? thanks

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

2 participants