The activity where lies the problem in app works fine for a moment, but at one moment (after clicking on same list that didn't cause the app to crash at the begining) it crashes ..and i get this in my logcat ..can't understand why? I've searched on internet for similar cases but with no luck ..( i did found similar exception but not for same cause) ..if you want my java classes..i'll post them .. PS: this is the only code red after the begininng of crash
--------- beginning of crash
09-03 21:01:44.672 7515-7580/ma.ac.iav.menunaviagtion E/AndroidRuntime: FATAL EXCEPTION: Thread-5
Process: ma.ac.iav.menunaviagtion, PID: 7515
java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.Class java.lang.Object.getClass()' on a null object reference
at com.android.tools.profiler.support.profilers.EventProfiler$InputConnectionHandler.run(EventProfiler.java:285)
at java.lang.Thread.run(Thread.java:764)