diff --git a/src/main/java/org/gcube/portlets/user/td/gwtservice/server/TDGWTServiceImpl.java b/src/main/java/org/gcube/portlets/user/td/gwtservice/server/TDGWTServiceImpl.java index 013ff2e..44b36b8 100644 --- a/src/main/java/org/gcube/portlets/user/td/gwtservice/server/TDGWTServiceImpl.java +++ b/src/main/java/org/gcube/portlets/user/td/gwtservice/server/TDGWTServiceImpl.java @@ -2209,6 +2209,7 @@ public class TDGWTServiceImpl extends RemoteServiceServlet implements if (task.getResult() != null) { logger.debug("Task exception:" + task.getErrorCause()); + task.getErrorCause().printStackTrace(); importMonitor.setError(task.getErrorCause()); } else { logger.debug("Task exception: Error In Import"); @@ -2603,6 +2604,7 @@ public class TDGWTServiceImpl extends RemoteServiceServlet implements if (task.getResult() != null) { logger.debug("Task exception:" + task.getErrorCause()); + task.getErrorCause().printStackTrace(); importMonitor.setError(task.getErrorCause()); } else { logger.debug("Task exception: Error In Import"); @@ -3253,6 +3255,7 @@ public class TDGWTServiceImpl extends RemoteServiceServlet implements if (task.getResult() != null) { logger.debug("Task exception:" + task.getErrorCause()); + task.getErrorCause().printStackTrace(); exportMonitor.setError(task.getErrorCause()); } else { logger.debug("Task exception: Error In Export"); @@ -3432,6 +3435,7 @@ public class TDGWTServiceImpl extends RemoteServiceServlet implements if (task.getResult() != null) { logger.debug("Task exception:" + task.getErrorCause()); + task.getErrorCause().printStackTrace(); exportMonitor.setError(new Throwable(task .getErrorCause())); } else { @@ -4073,8 +4077,9 @@ public class TDGWTServiceImpl extends RemoteServiceServlet implements switch (changeColumnTypeMonitor.getStatus()) { case FAILED: if (task.getResult() != null) { - logger.debug("Task exception:" + logger.debug("Task exception: " + task.getErrorCause()); + task.getErrorCause().printStackTrace(); changeColumnTypeMonitor.setError(new Throwable(task .getErrorCause())); } else { @@ -4219,6 +4224,7 @@ public class TDGWTServiceImpl extends RemoteServiceServlet implements if (task.getResult() != null) { logger.debug("Task exception:" + task.getErrorCause()); + task.getErrorCause().printStackTrace(); deleteColumnMonitor.setError(new Throwable(task .getErrorCause())); } else { @@ -4364,6 +4370,7 @@ public class TDGWTServiceImpl extends RemoteServiceServlet implements if (task.getResult() != null) { logger.debug("Task exception:" + task.getErrorCause()); + task.getErrorCause().printStackTrace(); labelColumnMonitor.setError(new Throwable(task .getErrorCause())); } else { @@ -4509,6 +4516,7 @@ public class TDGWTServiceImpl extends RemoteServiceServlet implements if (task.getResult() != null) { logger.debug("Task exception:" + task.getErrorCause()); + task.getErrorCause().printStackTrace(); changeTableTypeMonitor.setError(new Throwable(task .getErrorCause())); } else { @@ -4768,6 +4776,7 @@ public class TDGWTServiceImpl extends RemoteServiceServlet implements if (task.getResult() != null) { logger.debug("Task exception: " + task.getErrorCause()); + task.getErrorCause().printStackTrace(); deleteRowsMonitor.setError(new Throwable(task .getErrorCause())); } else { @@ -4977,6 +4986,7 @@ public class TDGWTServiceImpl extends RemoteServiceServlet implements if (task.getResult() != null) { logger.debug("Task exception:" + task.getErrorCause()); + task.getErrorCause().printStackTrace(); duplicatesMonitor.setError(new Throwable(task .getErrorCause())); } else { @@ -5334,6 +5344,7 @@ public class TDGWTServiceImpl extends RemoteServiceServlet implements if (task.getResult() != null) { logger.debug("Task exception:" + task.getErrorCause()); + task.getErrorCause().printStackTrace(); templateApplyMonitor.setError(new Throwable(task .getErrorCause())); } else { @@ -5517,6 +5528,7 @@ public class TDGWTServiceImpl extends RemoteServiceServlet implements if (task.getResult() != null) { logger.debug("Task exception:" + task.getErrorCause()); + task.getErrorCause().printStackTrace(); replaceColumnMonitor.setError(new Throwable(task .getErrorCause())); } else { @@ -5669,6 +5681,7 @@ public class TDGWTServiceImpl extends RemoteServiceServlet implements if (task.getResult() != null) { logger.debug("Task exception:" + task.getErrorCause()); + task.getErrorCause().printStackTrace(); replaceBatchColumnMonitor.setError(new Throwable( task.getErrorCause())); } else { @@ -6129,6 +6142,7 @@ public class TDGWTServiceImpl extends RemoteServiceServlet implements if (task.getResult() != null) { logger.debug("Task exception:" + task.getErrorCause()); + task.getErrorCause().printStackTrace(); rollBackMonitor.setError(new Throwable(task .getErrorCause())); } else {