uni-app 输入英文字母卡顿问题,不是所有代码均受影响,发现是同一套程序代码存在卡顿现象

uni-app 输入英文字母卡顿问题,不是所有代码均受影响,发现是同一套程序代码存在卡顿现象

产品分类 PC开发环境操作系统 PC开发环境操作系统版本号 HBuilderX版本号
HbuilderX Windows WIN7 3.1.19

操作步骤:

2021-07-01 10:43:49.106 [WARNING:] [Expression]  "Unsupport Expr : unicloud.canShowClientDBActionDeleteFiles"  
2021-07-01 10:43:50.565 [INFO:] trigger copy file in explorer view  
2021-07-01 10:50:49 [LanguageServerProcess] org.eclipse.lsp4j.jsonrpc.JsonRpcException: java.net.SocketException: Software caused connection abort: socket write error  
    at org.eclipse.lsp4j.jsonrpc.json.StreamMessageConsumer.consume(StreamMessageConsumer.java:72)  
    at com.pandora.language.CommonLspLanguage$LSP.notify(CommonLspLanguage.java:221)  
    at com.pandora.language.CommonLspLanguage.ensureDocumentOpen(CommonLspLanguage.java:856)  
    at com.pandora.language.CommonLspLanguage$1.computeCompletions(CommonLspLanguage.java:521)  
    at com.pandora.language.MultiCommonLspLanguage$1.computeCompletions(MultiCommonLspLanguage.java:86)  
    at com.pandora.language.html.HTMLContentProcessor.computeCompletions(HTMLContentProcessor.java:411)  
    at com.pandora.language.LanguageServer.computeCompletions(LanguageServer.java:333)  
    at com.pandora.language.RPCHandler.execute(RPCHandler.java:171)  
    at com.pandora.language.PipeTransportProtocol$2.run(PipeTransportProtocol.java:116)  
    at java.lang.Thread.run(Unknown Source)  
Caused by: java.net.SocketException: Software caused connection abort: socket write error  
    at java.net.SocketOutputStream.socketWrite0(Native Method)  
    at java.net.SocketOutputStream.socketWrite(Unknown Source)  
    at java.net.SocketOutputStream.write(Unknown Source)  
    at org.eclipse.lsp4j.jsonrpc.json.StreamMessageConsumer.consume(StreamMessageConsumer.java:67)  
    ... 9 more  
2021-07-01 10:50:54.899 [WARNING:] Request Timeout( 5000 )!!! when: "textDocument/completion"  

预期结果:

2021-07-01 10:43:49.106 [WARNING:] [Expression]  "Unsupport Expr : unicloud.canShowClientDBActionDeleteFiles"  
2021-07-01 10:43:50.565 [INFO:] trigger copy file in explorer view  
2021-07-01 10:50:49 [LanguageServerProcess] org.eclipse.lsp4j.jsonrpc.JsonRpcException: java.net.SocketException: Software caused connection abort: socket write error  
    at org.eclipse.lsp4j.jsonrpc.json.StreamMessageConsumer.consume(StreamMessageConsumer.java:72)  
    at com.pandora.language.CommonLspLanguage$LSP.notify(CommonLspLanguage.java:221)  
    at com.pandora.language.CommonLspLanguage.ensureDocumentOpen(CommonLspLanguage.java:856)  
    at com.pandora.language.CommonLspLanguage$1.computeCompletions(CommonLspLanguage.java:521)  
    at com.pandora.language.MultiCommonLspLanguage$1.computeCompletions(MultiCommonLspLanguage.java:86)  
    at com.pandora.language.html.HTMLContentProcessor.computeCompletions(HTMLContentProcessor.java:411)  
    at com.pandora.language.LanguageServer.computeCompletions(LanguageServer.java:333)  
    at com.pandora.language.RPCHandler.execute(RPCHandler.java:171)  
    at com.pandora.language.PipeTransportProtocol$2.run(PipeTransportProtocol.java:116)  
    at java.lang.Thread.run(Unknown Source)  
Caused by: java.net.SocketException: Software caused connection abort: socket write error  
    at java.net.SocketOutputStream.socketWrite0(Native Method)  
    at java.net.SocketOutputStream.socketWrite(Unknown Source)  
    at java.net.SocketOutputStream.write(Unknown Source)  
    at org.eclipse.lsp4j.jsonrpc.json.StreamMessageConsumer.consume(StreamMessageConsumer.java:67)  
    ... 9 more  
2021-07-01 10:50:54.899 [WARNING:] Request Timeout( 5000 )!!! when: "textDocument/completion"  

实际结果:

2021-07-01 10:43:49.106 [WARNING:] [Expression]  "Unsupport Expr : unicloud.canShowClientDBActionDeleteFiles"  
2021-07-01 10:43:50.565 [INFO:] trigger copy file in explorer view  
2021-07-01 10:50:49 [LanguageServerProcess] org.eclipse.lsp4j.jsonrpc.JsonRpcException: java.net.SocketException: Software caused connection abort: socket write error  
    at org.eclipse.lsp4j.jsonrpc.json.StreamMessageConsumer.consume(StreamMessageConsumer.java:72)  
    at com.pandora.language.CommonLspLanguage$LSP.notify(CommonLspLanguage.java:221)  
    at com.pandora.language.CommonLspLanguage.ensureDocumentOpen(CommonLspLanguage.java:856)  
    at com.pandora.language.CommonLspLanguage$1.computeCompletions(CommonLspLanguage.java:521)  
    at com.pandora.language.MultiCommonLspLanguage$1.computeCompletions(MultiCommonLspLanguage.java:86)  
    at com.pandora.language.html.HTMLContentProcessor.computeCompletions(HTMLContentProcessor.java:411)  
    at com.pandora.language.LanguageServer.computeCompletions(LanguageServer.java:333)  
    at com.pandora.language.RPCHandler.execute(RPCHandler.java:171)  
    at com.pandora.language.PipeTransportProtocol$2.run(PipeTransportProtocol.java:116)  
    at java.lang.Thread.run(Unknown Source)  
Caused by: java.net.SocketException: Software caused connection abort: socket write error  
    at java.net.SocketOutputStream.socketWrite0(Native Method)  
    at java.net.SocketOutputStream.socketWrite(Unknown Source)  
    at java.net.SocketOutputStream.write(Unknown Source)  
    at org.eclipse.lsp4j.jsonrpc.json.StreamMessageConsumer.consume(StreamMessageConsumer.java:67)  
    ... 9 more  
2021-07-01 10:50:54.899 [WARNING:] Request Timeout( 5000 )!!! when: "textDocument/completion"  

更多关于uni-app 输入英文字母卡顿问题,不是所有代码均受影响,发现是同一套程序代码存在卡顿现象的实战教程也可以访问 https://www.itying.com/category-93-b0.html

回到顶部