diff --git a/Model/src/main/java/org/gusdb/wdk/model/user/StrategyLoader.java b/Model/src/main/java/org/gusdb/wdk/model/user/StrategyLoader.java index fc9ef37b3..9295ed107 100644 --- a/Model/src/main/java/org/gusdb/wdk/model/user/StrategyLoader.java +++ b/Model/src/main/java/org/gusdb/wdk/model/user/StrategyLoader.java @@ -236,6 +236,8 @@ private SearchResult doSearch(String sql, boolean propagateBuildErrors, Object[] } catch (Exception e) { LOG.error("Unable to execute search with SQL: " + NL + sql + NL + "and params [" + FormatUtil.join(paramValues, ",") + "].", e); + // FIXME: not sure why the line above is not printing the stack trace in the logs, but do so explicitly to help debug NPE + LOG.error(FormatUtil.getStackTrace(e)); return WdkModelException.unwrap(e); } }