java - How to find Error and Line number in Log Cat -


I am developing an Android app, but when I try to run it on an emulator, Is facing. I have read some answers from this site but I am unable to solve the problem. I have been showing my lockat errors but I do not know what is the error and where it happened.

  02-27 17: 30: 34.991: D / Androidertime (2997): VM shutdown 02-27 17: 30: 35.011: w / dalvikvm (2997): threadid = 1 : Exit with thread unexpected exception (group = 0x414c4700) 02-27 17: 30: 35.061: E / AndroidRuntime (2997): Fatal exception: Main 02-27 17: 30: 35.061: E / AndroidRuntime (2997) : java.lang.RuntimeException: unable to instances activity ComponentInfo {com.example.mjcet / com.example.mjcet.MainActivity}: java.lang.NullPointerException 02- 27 17: 30: 35.061: e / AndroidRuntime (2997): 30 :: 35.061: E / AndroidRuntime (2997): android.app.ActivityThread.performLaunchActivity (ActivityThread.java:2137) 02-27 17 at android.app ActivityThread.handleLaunchActivity (ActivityThread.java:2261) 02-27 17: 30: 35.061: E / AndroidRuntime (2997): On android.app.ActivityThread.access $ 600 (ActivityThread.java:141) 02-27 17: 30: 35.061: E / Android Randomime (2997): Android. App Activitrytref $ H.Handl Mess Mess (ActivityThread.java:12256) 02-27 17: 30: 35.061: E / Android Random (2979): Android.OS. Handler Dispatch Message (Handler. Java: 99) 02-27 17: 30: 35.061: E / Android Random (29 9): Android. Los. Looper Loop (Looper.java:137) 02-27 17: 30: 35.061: E / Android Time (2997): Android. App ActivateTrade.Mine (ActivityTrad.Java T-1053) 02-27 17: 30: 35.061: E / Android Random (29 9 7): java.lang.reflect.Method.invokeNative (Basic Method) 02-27 17:30: 35.061: E / Android Time (29 9): lang.reflect.Method.invoke (Method.javaitter25) on Java 02-27 17: 30: 35.061: E / AndroidRuntime (2997): com.android.internal.os .ZygoteInit at $ MethodAndArgsCaller.run (ZygoteInit.java:737) 02-27 17: 30: 35.061: e / Android Rentaim (29 9 7): on ComkandroidkinternalkoskZygoteInitkmain (Jhigoteinit. Java 105 ) 02-27 17: 30: 35.061: e / Androidrentaim (29 9 7): DalvikksystemkNativeStartkmain (native method) 02-27 17: 30: 35.061: e / Androidrentaim (29 9 7): Dwa Security reasons: java.lang.NullPointerException 02-27 17: 30: 35.061: E / Androidrentaim (2997): 30 :: 35.061: E / AndroidRuntime (2997): android.app.Activity.findViewById (Activity.java:1853) 02-27 at 17 Com.example.mjcet.MainActivity on & lt; Init & gt; (MainActivity .java: 14) 02-27 17: 30: 35.061: E / Androidrentaim (29 9 7): java.lang.Class.newInstanceImpl (the original method) 02-27 17: 30: 35.061: E / Androidrentaim ( 29 9 7): but Java.lang.Class.newInstance (Class Java1130) 02-27 17: 30: 35.061: E / Android Time (2997): Android. App Instrumentation.NewActivity (InstrumentationJava 1.061) 02-27 17: 30: 35.061: E / Android Randomime (29 9): Android. App ActivateTrade.Perform Launch Activity (ActivityTrade.Java 12,128) 02-27 17: 30: 35.061: E / Andorrentime (29 9 7): ... 11 more  

<

E / Android Rendime (2997): Android App Activism: FWDiID (activity.javator 853) 02-27 17: 30: 35.061: E / Android Time (29 9): From here on error and on Com.example.mjcet.Ma Line number in square


Comments