android - Error message when starting App -


i have done updates code , went run on phone testing when error message pops stating "unfortunately,campfire songbook has stopped working".

below logcat menus if can tell me problem great.

07-23 21:18:26.782 2787-2787/com.songbook.noo.sttrfsongbook e/androidruntime﹕ fatal exception: main process: com.songbook.noo.sttrfsongbook, pid: 2787 java.lang.nullpointerexception: attempt invoke virtual method 'void android.widget.searchview.setsearchableinfo(android.app.searchableinfo)' on null object reference @ com.songbook.noo.sttrfsongbook.mainactivity.oncreateoptionsmenu(mainactivity.java:39) @ android.app.activity.oncreatepanelmenu(activity.java:2820) @ android.support.v4.app.fragmentactivity.oncreatepanelmenu(fragmentactivity.java:277) @ android.support.v7.internal.view.windowcallbackwrapper.oncreatepanelmenu(windowcallbackwrapper.java:84) @ android.support.v7.app.appcompatdelegateimplbase$appcompatwindowcallback.oncreatepanelmenu(appcompatdelegateimplbase.java:251) @ android.support.v7.app.appcompatdelegateimplv7.preparepanel(appcompatdelegateimplv7.java:1089) @ android.support.v7.app.appcompatdelegateimplv7.doinvalidatepanelmenu(appcompatdelegateimplv7.java:1374) @ android.support.v7.app.appcompatdelegateimplv7.access$100(appcompatdelegateimplv7.java:89) @ android.support.v7.app.appcompatdelegateimplv7$1.run(appcompatdelegateimplv7.java:126) @ android.os.handler.handlecallback(handler.java:739) @ android.os.handler.dispatchmessage(handler.java:95) @ android.os.looper.loop(looper.java:211) @ android.app.activitythread.main(activitythread.java:5321) @ java.lang.reflect.method.invoke(native method) @ java.lang.reflect.method.invoke(method.java:372) @ com.android.internal.os.zygoteinit$methodandargscaller.run(zygoteinit.java:1016) @ com.android.internal.os.zygoteinit.main(zygoteinit.java:811)


Comments

Popular posts from this blog

python - pip install -U PySide error -

arrays - C++ error: a brace-enclosed initializer is not allowed here before ‘{’ token -

cytoscape.js - How to add nodes to Dagre layout with Cytoscape -