This is the problem at hand. The app that i was developing worked nicely in an emulator, BlueStack to be more precise. And then when i run the app in my android device lenovo s650 4.4.2, the app crashed as soon as it gets into the main menu. And the logcat isn't very helpful because it did not state where the error is on the java file. Here's the logcat and java file
05-04 10:18:35.769 7777-7777/com.cssdecisions.cssSA E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.cssdecisions.cssSA, PID: 7777
java.lang.NullPointerException
at android.view.View.sendAccessibilityEventUncheckedInternal(View.java:5093)
at android.view.View.sendAccessibilityEventUnchecked(View.java:5074)
at android.view.View$SendViewStateChangedAccessibilityEvent.run(View.java:19968)
at android.os.Handler.handleCallback(Handler.java:808)
at android.os.Handler.dispatchMessage(Handler.java:103)
at android.os.Looper.loop(Looper.java:193)
at android.app.ActivityThread.main(ActivityThread.java:5388)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:655)
at dalvik.system.NativeStart.main(Native Method)
For the main menu java file, i cant show it here as it exceeds 30000 lines. So i will just give the link to the file instead.
https://drive.google.com/open?id=0B0c-aT9S66HkejRTU290bzk2eDQ
Thank you in advance for taking your time to help.
UPDATED - Image of the stacktrace
Given are the stacktrace errors:
http://imagizer.imageshack.us/a/img922/5973/6KbwEq.png
ANOTHER UPDATE
The app was tested on another phone, Samsung note 3. And it worked like a charm. But it still does not work on Lenovo s650 and s920. Still couldn't figure out the problem.