Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unable to parse columns when running inside docker container #1091

Closed
waffel opened this issue Oct 10, 2024 · 0 comments
Closed

unable to parse columns when running inside docker container #1091

waffel opened this issue Oct 10, 2024 · 0 comments
Milestone

Comments

@waffel
Copy link

waffel commented Oct 10, 2024

When I try to debug my simple spring boot based commandline application in gitlab debug console, I get:

Caused by: java.io.IOException: Unable to parse columns
        at org.jline.terminal.impl.exec.ExecPty.doGetInt(ExecPty.java:281) ~[jline-terminal-3.26.3.jar!/:na]
        at org.jline.terminal.impl.exec.ExecPty.doGetSize(ExecPty.java:268) ~[jline-terminal-3.26.3.jar!/:na]
        at org.jline.terminal.impl.exec.ExecPty.getSize(ExecPty.java:172) ~[jline-terminal-3.26.3.jar!/:na]
        at org.jline.terminal.impl.AbstractPosixTerminal.getSize(AbstractPosixTerminal.java:63) ~[jline-terminal-3.26.3.jar!/:na]
        ... 32 common frames omitted

stty -a says:

stty -a
speed 38400 baud;stty: standard input
 line = 0;
intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = <undef>;
eol2 = <undef>; swtch = <undef>; start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R;
werase = ^W; lnext = ^V; flush = ^O; min = 1; time = 0;
-parenb -parodd -cmspar cs8 -hupcl -cstopb cread -clocal -crtscts
-ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl ixon -ixoff
-iuclc -ixany -imaxbel -iutf8
opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0 ff0
isig icanon iexten echo echoe echok -echonl -noflsh -xcase -tostop -echoprt
echoctl echoke -flusho -extproc

How can I avoid this error?

Using line 3.26.3 in an "amazoncorretto:21-alpine" docker image.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants