Skip to content

unable to parse columns when running inside docker container #1091

@waffel

Description

@waffel

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions