Description
Im trying to use XTerm as a console for a minecraft server, and every time I get this error after 20 lines or so
Uncaught TypeError: Cannot set properties of undefined (setting 'isWrapped') (http://localhost:8080/VAADIN/build/generated-flow-imports-4b12332d.js:16123:3143)
Mi XTerm variable looks like this
terminal = new XTerm(); terminal.setCursorBlink(true); terminal.setCursorStyle(CursorStyle.UNDERLINE); terminal.setCopySelection(true); terminal.setUseSystemClipboard(UseSystemClipboard.READWRITE); terminal.setPasteWithRightClick(true); terminal.setFitOnResize(true); terminal.setRendererType(RendererType.CANVAS); terminal.setHeightFull(); terminal.setWidthFull(); terminal.setSizeFull(); TerminalHistory.extend(terminal);
And for writing lines I use
for (String line = serverInput.readLine(); line != null; line = serverInput.readLine()) { // System.out.println(line); terminal.writeln(line); terminal.scrollToBottom(); ui.push(); }
In this case im trying to run a velocity server with a ProcessBuilder in a separate thread (the serverInput variable im using is the Buffered Reader of the process)
The line it strarts givin the error at is
at io.netty.channel.AbstractChannelHandlerContext.bind(AbstractChannelHandlerContext.java:579) ~[paper-1.19.4.jar:3.2.0-SNAPSHOT (git-7f776abf-b252)]
With is part of an Address already in use: bind
error caused by the port allready being used, witch im specting when running the JAR.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status