You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When attempting to run the trino cli it errors out with "Bad Address" when using Java 17 on macOS 12
$ ./trino --server localhost:8080 --catalog hive --schema default
com.sun.jna.LastErrorException: [14] Bad address
at com.sun.jna.Native.invokeVoid(Native Method)
at com.sun.jna.Function.invoke(Function.java:415)
at com.sun.jna.Function.invoke(Function.java:361)
at com.sun.jna.Library$Handler.invoke(Library.java:265)
at jdk.proxy2/jdk.proxy2.$Proxy6.ioctl(Unknown Source)
at org.jline.terminal.impl.jna.osx.OsXNativePty.getSize(OsXNativePty.java:82)
at org.jline.terminal.impl.AbstractPosixTerminal.getSize(AbstractPosixTerminal.java:60)
at org.jline.terminal.Terminal.getBufferSize(Terminal.java:216)
at org.jline.reader.impl.LineReaderImpl.doDisplay(LineReaderImpl.java:746)
at org.jline.reader.impl.LineReaderImpl.<init>(LineReaderImpl.java:303)
at org.jline.reader.LineReaderBuilder.build(LineReaderBuilder.java:115)
at io.trino.cli.InputReader.<init>(InputReader.java:52)
at io.trino.cli.Console.runConsole(Console.java:225)
at io.trino.cli.Console.run(Console.java:192)
at io.trino.cli.Console.call(Console.java:102)
at io.trino.cli.Console.call(Console.java:75)
at picocli.CommandLine.executeUserObject(CommandLine.java:1953)
at picocli.CommandLine.access$1300(CommandLine.java:145)
at picocli.CommandLine$RunLast.executeUserObjectOfLastSubcommandWithSameParent(CommandLine.java:2352)
at picocli.CommandLine$RunLast.handle(CommandLine.java:2346)
at picocli.CommandLine$RunLast.handle(CommandLine.java:2311)
at picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:2179)
at picocli.CommandLine.execute(CommandLine.java:2078)
at io.trino.cli.Trino.main(Trino.java:42)
Interestingly I can get output from --help it just crashes whenever trying to connect to a server.
$ java --version
java 17.0.1 2021-10-19 LTS
Java(TM) SE Runtime Environment (build 17.0.1+12-LTS-39)
Java HotSpot(TM) 64-Bit Server VM (build 17.0.1+12-LTS-39, mixed mode, sharing)
$ ./trino --version
Trino CLI 367
The text was updated successfully, but these errors were encountered:
When attempting to run the trino cli it errors out with "Bad Address" when using Java 17 on macOS 12
Interestingly I can get output from --help it just crashes whenever trying to connect to a server.
The text was updated successfully, but these errors were encountered: