Program: 19124
Project: 19124
Buggy source:
@NonNull public Intent handle(@NonNull Throwable t){
  Timber.e(t,t.getMessage());
  Intent positiveAction=null;
  String baseMessage="String_Node_Str";
  if (t instanceof IntendedException) {
    positiveAction=((IntendedException)t).getIntent();
    t=t.getCause();
    baseMessage="String_Node_Str" + ResourcesUtil.getHtmlString(mContext,R.string.error_continue_locus_map);
  }
  if (t instanceof LiveGeocachingApiException) {
    Intent intent=handleLiveGeocachingApiExceptions((LiveGeocachingApiException)t,positiveAction,baseMessage);
    if (intent != null)     return intent;
  }
  ErrorActivity.IntentBuilder builder=new ErrorActivity.IntentBuilder(mContext);
  if (positiveAction != null) {
    builder.setPositiveAction(positiveAction).setPositiveButtonText(R.string.yes_button).setNegativeButtonText(R.string.no_button);
  }
  if (t instanceof InvalidCredentialsException) {
    return builder.setMessage(R.string.error_credentials).setPositiveAction(SettingsActivity.createIntent(mContext,AccountsPreferenceFragment.class)).setPositiveButtonText(R.string.ok_button).setNegativeButtonText(0).build();
  }
 else   if (t instanceof InvalidSessionException || (t instanceof LiveGeocachingApiException && ((LiveGeocachingApiException)t).getStatusCode() == StatusCode.NotAuthorized)) {
    App.get(mContext).getAuthenticatorHelper().removeAccount();
    return builder.setMessage(R.string.error_session_expired).setPositiveAction(SettingsActivity.createIntent(mContext,AccountsPreferenceFragment.class)).setPositiveButtonText(R.string.ok_button).setNegativeButtonText(0).build();
  }
 else   if (t instanceof InvalidResponseException) {
    return builder.setMessage(baseMessage,ResourcesUtil.getHtmlString(mContext,R.string.error_invalid_api_response,t.getMessage())).setException(t).build();
  }
 else   if (t instanceof CacheNotFoundException) {
    return builder.setMessage(R.string.error_cache_not_found,((CacheNotFoundException)t).getCacheCode()).build();
  }
 else   if (t instanceof NetworkException || t instanceof OAuthConnectionException || (t instanceof WherigoServiceException && ((WherigoServiceException)t).getCode() == WherigoServiceException.ERROR_CONNECTION_ERROR)) {
    builder.setMessage(baseMessage,ResourcesUtil.getHtmlString(mContext,R.string.error_network));
    Throwable innerT=t.getCause();
    if (innerT != null && !(innerT instanceof InterruptedIOException) && !(innerT instanceof UnknownHostException) && !(innerT instanceof ConnectException) && !isSSLConnectionException(innerT)) {
      builder.setException(t);
    }
    return builder.build();
  }
 else   if (t instanceof NoResultFoundException) {
    return builder.setMessage(R.string.error_no_result).build();
  }
 else   if (t instanceof LocusMapRuntimeException) {
    t=t.getCause();
    String message=StringUtils.defaultString(t.getMessage());
    return builder.setTitle(R.string.error_title_locus).setMessage(String.format("String_Node_Str",message,t.getClass().getSimpleName())).setException(t).build();
  }
 else {
    String message=StringUtils.defaultString(t.getMessage());
    return builder.setMessage(baseMessage,String.format("String_Node_Str",message,t.getClass().getSimpleName())).setException(t).build();
  }
}

Fixed version (ground truth):
@NonNull public Intent handle(@NonNull Throwable t){
  Timber.e(t,t.getMessage());
  Intent positiveAction=null;
  CharSequence baseMessage="String_Node_Str";
  if (t instanceof IntendedException) {
    positiveAction=((IntendedException)t).getIntent();
    t=t.getCause();
    baseMessage=SpanFormatter.format(HtmlUtil.fromHtml("String_Node_Str"),mContext.getText(R.string.error_continue_locus_map));
  }
  if (t instanceof LiveGeocachingApiException) {
    Intent intent=handleLiveGeocachingApiExceptions((LiveGeocachingApiException)t,positiveAction,baseMessage);
    if (intent != null)     return intent;
  }
  ErrorActivity.IntentBuilder builder=new ErrorActivity.IntentBuilder(mContext);
  if (positiveAction != null) {
    builder.setPositiveAction(positiveAction).setPositiveButtonText(R.string.yes_button).setNegativeButtonText(R.string.no_button);
  }
  if (t instanceof InvalidCredentialsException) {
    return builder.setMessage(R.string.error_credentials).setPositiveAction(SettingsActivity.createIntent(mContext,AccountsPreferenceFragment.class)).setPositiveButtonText(R.string.ok_button).setNegativeButtonText(0).build();
  }
 else   if (t instanceof InvalidSessionException || (t instanceof LiveGeocachingApiException && ((LiveGeocachingApiException)t).getStatusCode() == StatusCode.NotAuthorized)) {
    App.get(mContext).getAuthenticatorHelper().removeAccount();
    return builder.setMessage(R.string.error_session_expired).setPositiveAction(SettingsActivity.createIntent(mContext,AccountsPreferenceFragment.class)).setPositiveButtonText(R.string.ok_button).setNegativeButtonText(0).build();
  }
 else   if (t instanceof InvalidResponseException) {
    return builder.setMessage(baseMessage,ResourcesUtil.getText(mContext,R.string.error_invalid_api_response,t.getMessage())).setException(t).build();
  }
 else   if (t instanceof CacheNotFoundException) {
    return builder.setMessage(R.string.error_cache_not_found,((CacheNotFoundException)t).getCacheCode()).build();
  }
 else   if (t instanceof NetworkException || t instanceof OAuthConnectionException || (t instanceof WherigoServiceException && ((WherigoServiceException)t).getCode() == WherigoServiceException.ERROR_CONNECTION_ERROR)) {
    builder.setMessage(baseMessage,mContext.getText(R.string.error_network));
    Throwable innerT=t.getCause();
    if (innerT != null && !(innerT instanceof InterruptedIOException) && !(innerT instanceof UnknownHostException) && !(innerT instanceof ConnectException) && !isSSLConnectionException(innerT)) {
      builder.setException(t);
    }
    return builder.build();
  }
 else   if (t instanceof NoResultFoundException) {
    return builder.setMessage(R.string.error_no_result).build();
  }
 else   if (t instanceof LocusMapRuntimeException) {
    t=t.getCause();
    String message=StringUtils.defaultString(t.getMessage());
    return builder.setTitle(R.string.error_title_locus).setMessage(SpanFormatter.format(HtmlUtil.fromHtml("String_Node_Str"),message,t.getClass().getSimpleName())).setException(t).build();
  }
 else {
    String message=StringUtils.defaultString(t.getMessage());
    return builder.setMessage(baseMessage,SpanFormatter.format(HtmlUtil.fromHtml("String_Node_Str"),message,t.getClass().getSimpleName())).setException(t).build();
  }
}