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

App Freeze when search bar and categories clicked #140

Open
AnangM opened this issue Sep 18, 2018 · 7 comments
Open

App Freeze when search bar and categories clicked #140

AnangM opened this issue Sep 18, 2018 · 7 comments

Comments

@AnangM
Copy link

AnangM commented Sep 18, 2018

E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.dm.wallpaper.board.sample, PID: 9150
java.lang.NullPointerException: Attempt to invoke virtual method 'void android.support.v7.widget.SearchView.setImeOptions(int)' on a null object reference
at com.dm.wallpaper.board.fragments.WallpaperSearchFragment.onCreateOptionsMenu(WallpaperSearchFragment.java:134)
at android.support.v4.app.Fragment.performCreateOptionsMenu(Fragment.java:2368)
at android.support.v4.app.FragmentManagerImpl.dispatchCreateOptionsMenu(FragmentManager.java:3279)
at android.support.v4.app.FragmentController.dispatchCreateOptionsMenu(FragmentController.java:319)
at android.support.v4.app.FragmentActivity.onCreatePanelMenu(FragmentActivity.java:341)
at android.support.v7.view.WindowCallbackWrapper.onCreatePanelMenu(WindowCallbackWrapper.java:93)
at android.support.v7.app.AppCompatDelegateImplBase$AppCompatWindowCallbackBase.onCreatePanelMenu(AppCompatDelegateImplBase.java:332)
at android.support.v7.view.WindowCallbackWrapper.onCreatePanelMenu(WindowCallbackWrapper.java:93)
at android.support.v7.app.ToolbarActionBar.populateOptionsMenu(ToolbarActionBar.java:454)
at android.support.v7.app.ToolbarActionBar$1.run(ToolbarActionBar.java:55)
at android.os.Handler.handleCallback(Handler.java:754)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:165)
at android.app.ActivityThread.main(ActivityThread.java:6375)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:883)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:773)

@beingashishagarwal
Copy link

Do you found any solution yet? If yes then please share.

@AnangM
Copy link
Author

AnangM commented Sep 19, 2018

Do you found any solution yet? If yes then please share.

Not yet dude, sorry
I think that the problem is on the object reference, the point is that I don't know which object is referenced by that line, because it is from the lib it self, So I just hope that Dani help us to fix this issue

@GrrenHouseStudio
Copy link

GrrenHouseStudio commented Sep 19, 2018 via email

@AnangM
Copy link
Author

AnangM commented Sep 19, 2018

I have followed the instruction well, also the enhanced version, but same thing happened, I'll try to clone it one more time and try again. Can you tell us how do you import the source code?

@GrrenHouseStudio
Copy link

GrrenHouseStudio commented Sep 19, 2018 via email

@AnangM
Copy link
Author

AnangM commented Sep 20, 2018

Mail me will try to resolve

On Wed 19 Sep, 2018, 8:12 PM AnangM, @.***> wrote: I have followed the instruction well, also the enhanced version, but same thing happened, I'll try to clone it one more time and try agaian — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#140 (comment)>, or mute the thread https://github.com/notifications/unsubscribe-auth/AgyMfy15gxXowDiXrFYlybZMn4Tg1d_4ks5uclfbgaJpZM4WtR2P .

okay, how i find your e-mail address, haha, idk

@GrrenHouseStudio
Copy link

GrrenHouseStudio commented Sep 20, 2018 via email

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

3 participants