orbiter 18 years ago
parent d7edc9740b
commit fcdf000fbc

@ -285,6 +285,8 @@ public class kelondroFlexTable extends kelondroFlexWidthArray implements kelondr
}
public synchronized kelondroCloneableIterator rows(boolean up, byte[] firstKey) throws IOException {
if (ROindex == null) return new rowIterator(RWindex, up, firstKey);
if (RWindex == null) return new rowIterator(ROindex, up, firstKey);
return new kelondroMergeIterator(
new rowIterator(ROindex, up, firstKey),
new rowIterator(RWindex, up, firstKey),

@ -120,7 +120,7 @@ public final class serverInstantThread extends serverAbstractThread implements s
String targetException = e.getTargetException().getMessage();
e.getTargetException().printStackTrace();
e.printStackTrace();
if ((targetException.indexOf("heap space") > 0) || (targetException.indexOf("NullPointerException") > 0)) e.getTargetException().printStackTrace();
if ((targetException != null) && ((targetException.indexOf("heap space") > 0) || (targetException.indexOf("NullPointerException") > 0))) e.getTargetException().printStackTrace();
serverLog.logSevere("SERVER", "Runtime Error in serverInstantThread.job, thread '" + this.getName() + "': " + e.getMessage() + "; target exception: " + targetException, e.getTargetException());
e.getTargetException().printStackTrace();
} catch (OutOfMemoryError e) {

Loading…
Cancel
Save