I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit 483f043d authored by zzz's avatar zzz
Browse files

Bettor error message on covariant fail

parent 819985f3
No related branches found
No related tags found
No related merge requests found
...@@ -176,6 +176,17 @@ public class SummaryListener implements RateSummaryListener { ...@@ -176,6 +176,17 @@ public class SummaryListener implements RateSummaryListener {
rrdFile.delete(); rrdFile.delete();
} catch (IOException ioe) { } catch (IOException ioe) {
_log.error("Error starting RRD for stat " + baseName, ioe); _log.error("Error starting RRD for stat " + baseName, ioe);
} catch (NoSuchMethodError nsme) {
// Covariant fail Java 8/9/10
// java.lang.NoSuchMethodError: java.nio.MappedByteBuffer.position(I)Ljava/nio/MappedByteBuffer;
// see e.g. https://jira.mongodb.org/browse/JAVA-2559
_log.error("Error starting RRD for stat " + baseName, nsme);
String s = "Error:" +
"\nCompiler JDK mismatch with JRE version " + System.getProperty("java.version") +
" and no bootclasspath specified when building." +
"\nContact packager.";
_log.log(Log.CRIT, s);
System.out.println(s);
} catch (Throwable t) { } catch (Throwable t) {
_log.error("Error starting RRD for stat " + baseName, t); _log.error("Error starting RRD for stat " + baseName, t);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment