diff --git a/source/de/anomic/http/httpdFileHandler.java b/source/de/anomic/http/httpdFileHandler.java index bc009ce80..13f7f95f6 100644 --- a/source/de/anomic/http/httpdFileHandler.java +++ b/source/de/anomic/http/httpdFileHandler.java @@ -518,6 +518,8 @@ public final class httpdFileHandler { e.getTargetException().toString() + ":" + e.getTargetException().getMessage() + "; java.awt.graphicsenv='" + System.getProperty("java.awt.graphicsenv","") + "'"); + e.printStackTrace(); + e.getTargetException().printStackTrace(); targetClass = null; } if (img == null) { @@ -1025,6 +1027,7 @@ public final class httpdFileHandler { } catch (final Exception e) { try { // doing some errorhandling ... + e.printStackTrace(); int httpStatusCode = 400; final String httpStatusText = null; final StringBuilder errorMessage = new StringBuilder(2000); diff --git a/source/de/anomic/server/serverInstantBlockingThread.java b/source/de/anomic/server/serverInstantBlockingThread.java index 02c391977..5658b4c5b 100644 --- a/source/de/anomic/server/serverInstantBlockingThread.java +++ b/source/de/anomic/server/serverInstantBlockingThread.java @@ -99,7 +99,6 @@ public class serverInstantBlockingThread extends s e.printStackTrace(); if ((targetException != null) && ((targetException.indexOf("heap space") > 0) || (targetException.indexOf("NullPointerException") > 0))) e.getTargetException().printStackTrace(); Log.logSevere("BLOCKINGTHREAD", "Runtime Error in serverInstantThread.job, thread '" + this.getName() + "': " + e.getMessage() + "; target exception: " + targetException, e.getTargetException()); - e.getTargetException().printStackTrace(); } catch (final OutOfMemoryError e) { Log.logSevere("BLOCKINGTHREAD", "OutOfMemory Error in serverInstantThread.job, thread '" + this.getName() + "': " + e.getMessage()); e.printStackTrace(); diff --git a/source/de/anomic/server/serverInstantBusyThread.java b/source/de/anomic/server/serverInstantBusyThread.java index e25cdc606..26b708ce5 100644 --- a/source/de/anomic/server/serverInstantBusyThread.java +++ b/source/de/anomic/server/serverInstantBusyThread.java @@ -107,6 +107,7 @@ public final class serverInstantBusyThread extends serverAbstractBusyThread impl } catch (final InvocationTargetException e) { final String targetException = e.getTargetException().getMessage(); e.printStackTrace(); + e.getTargetException().printStackTrace(); Log.logSevere("BUSYTHREAD", "Runtime Error in serverInstantThread.job, thread '" + this.getName() + "': " + e.getMessage() + "; target exception: " + targetException, e.getTargetException()); } catch (final OutOfMemoryError e) { Log.logSevere("BUSYTHREAD", "OutOfMemory Error in serverInstantThread.job, thread '" + this.getName() + "': " + e.getMessage());