debugging - Error caused by the internal android SDK -


i'm having problem, when try debug mobile android app. error occures only when try debug app, makes debugging impossible. maybe usefull info: using android studio 2.1.3

java.lang.nullpointerexception: attempt write field 'android.support.v4.app.fragmentmanagerimpl android.support.v4.app.fragment.mfragmentmanager' on null object reference @ android.support.v4.app.backstackrecord.doaddop(backstackrecord.java:414) @ android.support.v4.app.backstackrecord.add(backstackrecord.java:409) @ android.support.v4.app.fragmentpageradapter.instantiateitem(fragmentpageradapter.java:99) @ android.support.v4.view.viewpager.addnewitem(viewpager.java:943) @ android.support.v4.view.viewpager.populate(viewpager.java:1091) @ android.support.v4.view.viewpager.populate(viewpager.java:1025) @ android.support.v4.view.viewpager.onmeasure(viewpager.java:1545) @ android.view.view.measure(view.java:18563) @ android.widget.relativelayout.measurechildhorizontal(relativelayout.java:728) @ android.widget.relativelayout.onmeasure(relativelayout.java:464) @ android.view.view.measure(view.java:18563) @ android.widget.relativelayout.measurechildhorizontal(relativelayout.java:728) @ android.widget.relativelayout.onmeasure(relativelayout.java:464) @ android.view.view.measure(view.java:18563) @ android.view.viewgroup.measurechildwithmargins(viewgroup.java:5827) @ android.widget.framelayout.onmeasure(framelayout.java:430) @ android.support.v7.widget.contentframelayout.onmeasure(contentframelayout.java:135) @ android.view.view.measure(view.java:18563) @ android.view.viewgroup.measurechildwithmargins(viewgroup.java:5827) @ android.widget.linearlayout.measurechildbeforelayout(linearlayout.java:1435) @ android.widget.linearlayout.measurevertical(linearlayout.java:721) @ android.widget.linearlayout.onmeasure(linearlayout.java:612) @ android.view.view.measure(view.java:18563) @ android.view.viewgroup.measurechildwithmargins(viewgroup.java:5827) @ android.widget.framelayout.onmeasure(framelayout.java:430) @ android.view.view.measure(view.java:18563) @ android.view.viewgroup.measurechildwithmargins(viewgroup.java:5827) @ android.widget.linearlayout.measurechildbeforelayout(linearlayout.java:1435) @ android.widget.linearlayout.measurevertical(linearlayout.java:721) @ android.widget.linearlayout.onmeasure(linearlayout.java:612) @ android.view.view.measure(view.java:18563) @ android.view.viewgroup.measurechildwithmargins(viewgroup.java:5827) @ android.widget.framelayout.onmeasure(framelayout.java:430) @ com.android.internal.policy.impl.phonewindow$decorview.onmeasure(phonewindow.java:2888) @ android.view.view.measure(view.java:18563) @ android.view.viewrootimpl.performmeasure(viewrootimpl.java:2248) @ android.view.viewrootimpl.measurehierarchy(viewrootimpl.java:1306) @ android.view.viewrootimpl.performtraversals(viewrootimpl.java:1548) @ android.view.viewrootimpl.dotraversal(viewrootimpl.java:1191) @ android.view.viewrootimpl$traversalrunnable.run(viewrootimpl.java:6642) @ android.view.choreographer$callbackrecord.run(choreographer.java:777) @ android.view.choreographer.docallbacks(choreographer.java:590) @ android.view.choreographer.doframe(choreographer.java:560) @ android.view.choreographer$framedisplayeventreceiver.run(choreographer.java:763) @ android.os.handler.handlecallback(handler.java:739) @ android.os.handler.dispatchmessage(handler.java:95) @ android.os.looper.loop(looper.java:145) @ android.app.activitythread.main(activitythread.java:5938) @ java.lang.reflect.method.invoke(native method) @ java.lang.reflect.method.invoke(method.java:372) @ com.android.internal.os.zygoteinit$methodandargscaller.run(zygoteinit.java:1400) @ com.android.internal.os.zygoteinit.main(zygoteinit.java:1195) 

edit: app/build.gradle

apply plugin: 'com.android.application'  android {     compilesdkversion 23     buildtoolsversion "23.0.3"      defaultconfig {         applicationid (myappid)         minsdkversion 15         targetsdkversion 23         versioncode 1         versionname "1.0"     }     buildtypes {         release {             minifyenabled false             proguardfiles getdefaultproguardfile('proguard-android.txt'), 'proguard-rules.pro'         }     } }  dependencies {     compile filetree(dir: 'libs', include: ['*.jar'])     testcompile 'junit:junit:4.12'      compile 'com.android.support:appcompat-v7:23.2.1'     compile 'com.android.support:cardview-v7:23.2.1'     compile 'com.android.support:recyclerview-v7:23.2.1'     compile 'com.android.support:design:23.2.1'     compile 'com.android.support:support-v4:23.2.1'      //google     compile 'com.google.android.gms:play-services-auth:9.4.0'      //firebase     compile 'com.google.firebase:firebase-database:9.4.0'     compile 'com.google.firebase:firebase-core:9.4.0'     compile 'com.google.firebase:firebase-auth:9.4.0'     compile 'com.google.firebase:firebase-storage:9.4.0' }  apply plugin: 'com.google.gms.google-services' 


Comments