Program: 34282
Project: 34282
Buggy source:
@Override protected void onMeasure(int widthMeasureSpec,int heightMeasureSpec){
  final int widthMode=MeasureSpec.getMode(widthMeasureSpec);
  final int widthSize=MeasureSpec.getSize(widthMeasureSpec);
  final int heightMode=MeasureSpec.getMode(heightMeasureSpec);
  final int heightSize=MeasureSpec.getSize(heightMeasureSpec);
  if (widthMode != MeasureSpec.EXACTLY) {
    throw new IllegalStateException("String_Node_Str");
  }
 else   if (heightMode != MeasureSpec.EXACTLY) {
    throw new IllegalStateException("String_Node_Str");
  }
  final int childCount=getChildCount();
  if (childCount != 2) {
    throw new IllegalStateException("String_Node_Str");
  }
  mMainView=getChildAt(0);
  mSlideableView=getChildAt(1);
  int layoutHeight=heightSize - getPaddingTop() - getPaddingBottom();
  for (int i=0; i < childCount; i++) {
    final View child=getChildAt(i);
    final LayoutParams lp=(LayoutParams)child.getLayoutParams();
    if (child.getVisibility() == GONE) {
      continue;
    }
    int height=layoutHeight;
    if (child == mMainView && !mOverlayContent && mSlideState != SlideState.HIDDEN) {
      height-=mPanelHeight;
    }
    if (child == mSlideableView) {
      mSlideRange=height - mPanelHeight;
    }
    int childWidthSpec;
    if (lp.width == LayoutParams.WRAP_CONTENT) {
      childWidthSpec=MeasureSpec.makeMeasureSpec(widthSize,MeasureSpec.AT_MOST);
    }
 else     if (lp.width == LayoutParams.MATCH_PARENT) {
      childWidthSpec=MeasureSpec.makeMeasureSpec(widthSize,MeasureSpec.EXACTLY);
    }
 else {
      childWidthSpec=MeasureSpec.makeMeasureSpec(lp.width,MeasureSpec.EXACTLY);
    }
    int childHeightSpec;
    if (lp.height == LayoutParams.WRAP_CONTENT) {
      childHeightSpec=MeasureSpec.makeMeasureSpec(height,MeasureSpec.AT_MOST);
    }
 else     if (lp.height == LayoutParams.MATCH_PARENT) {
      childHeightSpec=MeasureSpec.makeMeasureSpec(height,MeasureSpec.EXACTLY);
    }
 else {
      childHeightSpec=MeasureSpec.makeMeasureSpec(lp.height,MeasureSpec.EXACTLY);
    }
    child.measure(childWidthSpec,childHeightSpec);
  }
  setMeasuredDimension(widthSize,heightSize);
}

Fixed version (ground truth):
@Override protected void onMeasure(int widthMeasureSpec,int heightMeasureSpec){
  final int widthMode=MeasureSpec.getMode(widthMeasureSpec);
  final int widthSize=MeasureSpec.getSize(widthMeasureSpec);
  final int heightMode=MeasureSpec.getMode(heightMeasureSpec);
  final int heightSize=MeasureSpec.getSize(heightMeasureSpec);
  if (widthMode != MeasureSpec.EXACTLY) {
    throw new IllegalStateException("String_Node_Str");
  }
 else   if (heightMode != MeasureSpec.EXACTLY) {
    throw new IllegalStateException("String_Node_Str");
  }
  final int childCount=getChildCount();
  if (childCount != 2) {
    throw new IllegalStateException("String_Node_Str");
  }
  mMainView=getChildAt(0);
  mSlideableView=getChildAt(1);
  if (mSlideableView.getVisibility() == GONE) {
    mSlideState=SlideState.HIDDEN;
  }
  int layoutHeight=heightSize - getPaddingTop() - getPaddingBottom();
  for (int i=0; i < childCount; i++) {
    final View child=getChildAt(i);
    final LayoutParams lp=(LayoutParams)child.getLayoutParams();
    if (child.getVisibility() == GONE && i == 0) {
      continue;
    }
    int height=layoutHeight;
    if (child == mMainView && !mOverlayContent && mSlideState != SlideState.HIDDEN) {
      height-=mPanelHeight;
    }
    if (child == mSlideableView) {
      mSlideRange=height - mPanelHeight;
    }
    int childWidthSpec;
    if (lp.width == LayoutParams.WRAP_CONTENT) {
      childWidthSpec=MeasureSpec.makeMeasureSpec(widthSize,MeasureSpec.AT_MOST);
    }
 else     if (lp.width == LayoutParams.MATCH_PARENT) {
      childWidthSpec=MeasureSpec.makeMeasureSpec(widthSize,MeasureSpec.EXACTLY);
    }
 else {
      childWidthSpec=MeasureSpec.makeMeasureSpec(lp.width,MeasureSpec.EXACTLY);
    }
    int childHeightSpec;
    if (lp.height == LayoutParams.WRAP_CONTENT) {
      childHeightSpec=MeasureSpec.makeMeasureSpec(height,MeasureSpec.AT_MOST);
    }
 else     if (lp.height == LayoutParams.MATCH_PARENT) {
      childHeightSpec=MeasureSpec.makeMeasureSpec(height,MeasureSpec.EXACTLY);
    }
 else {
      childHeightSpec=MeasureSpec.makeMeasureSpec(lp.height,MeasureSpec.EXACTLY);
    }
    child.measure(childWidthSpec,childHeightSpec);
  }
  setMeasuredDimension(widthSize,heightSize);
}