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

🐛[BUG] 无法被客户端连接 #20

Open
lanqingxiao1 opened this issue Dec 16, 2023 · 0 comments
Open

🐛[BUG] 无法被客户端连接 #20

lanqingxiao1 opened this issue Dec 16, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@lanqingxiao1
Copy link

lanqingxiao1 commented Dec 16, 2023

🐛 描述(Description)

客户端连接端口会报错,3个端口报错信息不同
ps:system interface可以连接,输入任意错误命令提示语法错误,但输入pwd password卡住,fsd报错

📄 日志信息(Log Information)

这是system management interface的日志,client interface 和 server interface也会报类似的错误,
ps 今天重新下载代码重新编译,client interface 和 server interface好像又不报错了

2023-12-16 10:33:06.322 [main] INFO org.linktechtips.process.network.TcpInterface - [Network/TcpInterface]: Connection accepted from localhost on system management interface
Exception in thread "main" java.lang.reflect.InvocationTargetException
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:118)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:49)
at org.springframework.boot.loader.Launcher.launch(Launcher.java:108)
at org.springframework.boot.loader.Launcher.launch(Launcher.java:58)
at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:65)
Caused by: java.lang.ArrayIndexOutOfBoundsException: Index 0 out of bounds for length 0
at org.linktechtips.user.SystemUser.execPwd(SystemUser.java:581)
at org.linktechtips.user.SystemUser.runCmd(SystemUser.java:134)
at org.linktechtips.user.SystemUser.doParse(SystemUser.java:106)
at org.linktechtips.user.SystemUser.parse(SystemUser.java:65)
at org.linktechtips.user.AbstractUser.run(AbstractUser.java:277)
at org.linktechtips.process.network.TcpInterface.run(TcpInterface.java:270)
at org.linktechtips.process.network.SystemInterface.run(SystemInterface.java:26)
at org.linktechtips.process.PMan.run(PMan.java:30)
at org.linktechtips.Main.run(Main.java:418)
at org.linktechtips.MainLauncher.run(MainLauncher.java:48)
at org.linktechtips.MainLauncher.main(MainLauncher.java:43)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
... 5 more

🚑 基本信息(Basic Information)

  • 程序版本(Program Version): 1.1.2
  • 系统版本号(OS Version): macOS Monterey 12
@lanqingxiao1 lanqingxiao1 added the bug Something isn't working label Dec 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant