jfeinstein10 / SlidingMenu

An Android library that allows you to easily create applications with slide-in menus. You may use it in your Android apps provided that you cite this project and include the license in your app. Thanks!
Apache License 2.0
11.07k stars 5.03k forks source link

NullPointer at setMode #750

Open joygohil opened 8 years ago

joygohil commented 8 years ago

Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'void com.jeremyfeinstein.slidingmenu.lib.SlidingMenu.setMode(int)' on a null object reference at com.project.publiko.Main_Browse_Issue.onCreate(Main_Browse_Issue.java:17)

theBlbDan commented 8 years ago

Stop referencing a null object.

Seriously, though, you'll need to provide some code in order to receive help. You apparently passed a null object to the setMode() method.