App crashes on Window.java getContext(), After IntellijIDEA update
Hi, I updated IntellijIDEA and now my app crashes everytime I open it, With the debug tool I can see the line where it stops,
Window.Java class...
public final Context getContext() {
return mContext;
}
is in the return of that function, the object does not come null and i don't know why it crashes..
the return is called several times I counted like 50 or more and there is one loop where it crashes.
this function is called from setContentView(R.layout.main); on the intializecomponents() of myActivity class this setContentView(R.layout.main); function calls inside the getContext() of the window.Java class
public void setContentView(int layoutResID) {
getWindow().setContentView(layoutResID);
initActionBar();
}
and again the error happens here.. in the return who is called a lot of times..
public final Context getContext() {
return mContext;
}
Please sign in to leave a comment.