apache/shardingsphere · error · UnknownSQLException
0
0
Error message
Unknown exception.
What it means
Error "Unknown exception." thrown in apache/shardingsphere.
Source
Thrown at infra/executor/src/main/java/org/apache/shardingsphere/infra/executor/kernel/ExecutorEngine.java:133
List<O> result = new LinkedList<>(firstResults);
for (Future<Collection<O>> each : restFutures) {
try {
result.addAll(each.get());
} catch (final InterruptedException ex) {
Thread.currentThread().interrupt();
return throwException(ex);
} catch (final ExecutionException ex) {
return throwException(ex);
}
}
return result;
}
private <O> List<O> throwException(final Exception exception) throws SQLException {
if (exception.getCause() instanceof SQLException) {
throw (SQLException) exception.getCause();
}
throw new UnknownSQLException(exception);
}
@Override
public void close() {
executorServiceManager.close();
}
}
View on GitHub (pinned to e952770a21)
Solutions
- Inspect the full server log for the root-cause stack trace preceding this entry.
- Enable debug logging for the executor engine to capture the underlying exception.
- Check database connectivity and thread pool saturation when this occurs intermittently.
When it happens
Trigger: The executor engine wraps an unexpected throwable that carries no specific SQL exception mapping.
Common situations: Rare infrastructure failures (thread interruption, rejected execution) surfacing through ExecutorEngine without a more specific message.
AI-assisted analysis of apache/shardingsphere@e952770a21 (2026-08-14).
Data as JSON: /api/errors/8e9cd496fe25cf0b.
Report an issue: GitHub.