{"record":{"id":"b27f96356df6e17c","repo":"apache/cassandra","slug":"java-io-ioexception-b27f96","errorCode":null,"errorMessage":"java.io.IOException","messagePattern":"java\\.io\\.IOException","errorType":"console","errorClass":"RuntimeException","httpStatus":null,"severity":"error","filePath":"src/java/org/apache/cassandra/tools/nodetool/DescribeRing.java","lineNumber":54,"sourceCode":"\n    @Mixin\n    private PrintPortMixin printPortMixin = new PrintPortMixin();\n\n    @Override\n    public void execute(NodeProbe probe)\n    {\n        PrintStream out = probe.output().out;\n        out.println(\"Schema Version:\" + probe.getSchemaVersion());\n        out.println(\"TokenRange: \");\n        try\n        {\n            for (String tokenRangeString : probe.describeRing(keyspace, printPortMixin.printPort))\n            {\n                out.println(\"\\t\" + tokenRangeString);\n            }\n        } catch (IOException e)\n        {\n            throw new RuntimeException(e);\n        }\n    }\n}\n","sourceCodeStart":36,"sourceCodeEnd":58,"githubUrl":"https://github.com/apache/cassandra/blob/88fd0f6a0eaed8943f05ac9e8f947882b8ddc8f1/src/java/org/apache/cassandra/tools/nodetool/DescribeRing.java#L36-L58","documentation":"RuntimeException wrapper from DescribeRing.execute when probe.describeRing throws IOException — the JMX call to fetch ring/token-range data failed at the transport level. Keyspace validity is checked earlier, so this is a connectivity/server failure, not a bad keyspace.","triggerScenarios":"Thrown at src/java/org/apache/cassandra/tools/nodetool/DescribeRing.java:54 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Check JMX connectivity to the node","Retry after the node/network recovers","Inspect the chained IOException for the underlying cause"],"exampleFix":null,"handlingStrategy":"try-catch","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"88fd0f6a0eaed8943f05ac9e8f947882b8ddc8f1","analyzedAt":"2026-09-10T07:29:22.284Z","contentChangedAt":"2026-09-10T07:29:22.284Z","schemaVersion":2},"datasetVersion":"2026-09-17T15:17:12.973Z"}