Sayın Hocalarım Şimdi Tekrar Denedim Yine Olmadı Sanal Telefonda Log Ekranını Atıyprum
-----------------------------------------------------------------------------------------------------------------------------------------------------------------
04-30 17:23:18.335 2354-2354/com.example.genc.myapplication2 W/System: ClassLoader referenced unknown path: /data/app/com.example.genc.myapplication2-2/lib/x86
04-30 17:23:18.515 2354-2354/com.example.genc.myapplication2 D/AndroidRuntime: Shutting down VM
--------- beginning of crash
04-30 17:23:18.516 2354-2354/com.example.genc.myapplication2 E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.example.genc.myapplication2, PID: 2354
java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.example.genc.myapplication2/com.example.genc.myapplication2.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'android.view.Window$Callback android.view.Window.getCallback()' on a null object reference
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2327)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2476)
at android.app.ActivityThread.-wrap11(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1344)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:148)
at android.app.ActivityThread.main(ActivityThread.java:5417)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'android.view.Window$Callback android.view.Window.getCallback()' on a null object reference
at android.support.v7.app.AppCompatDelegateImplBase.<init>(AppCompatDelegateImplBase.java:68)
at android.support.v7.app.AppCompatDelegateImplV7.<init>(AppCompatDelegateImplV7.java:145)
at android.support.v7.app.AppCompatDelegateImplV11.<init>(AppCompatDelegateImplV11.java:28)
at android.support.v7.app.AppCompatDelegateImplV14.<init>(AppCompatDelegateImplV14.java:41)
at android.support.v7.app.AppCompatDelegateImplV23.<init>(AppCompatDelegateImplV23.java:29)
at android.support.v7.app.AppCompatDelegate.create(AppCompatDelegate.java:186)
at android.support.v7.app.AppCompatDelegate.create(AppCompatDelegate.java:170)
at android.support.v7.app.AppCompatActivity.getDelegate(AppCompatActivity.java:502)
at android.support.v7.app.AppCompatActivity.findViewById(AppCompatActivity.java:174)
at com.example.genc.myapplication2.MainActivity.<init>(MainActivity.java:26)
at java.lang.Class.newInstance(Native Method)
at android.app.Instrumentation.newActivity(Instrumentation.java:1067)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2317)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2476)
at android.app.ActivityThread.-wrap11(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1344)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:148)
at android.app.ActivityThread.main(ActivityThread.java:5417)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
04-30 17:23:21.280 2354-2354/com.example.genc.myapplication2 I/Process: Sending signal. PID: 2354 SIG: 9
Bu Arada İsterseniz Kodlarıda Gönderirim Ama Hata Olmasın Diye Intent İle Sayfa Geçişi Yaptım Hata Yoktur Sanırım İyi Akşamlar