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

新建文件后直接报错 #7

Closed
hyfsy opened this issue Jul 22, 2022 · 1 comment
Closed

新建文件后直接报错 #7

hyfsy opened this issue Jul 22, 2022 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@hyfsy
Copy link
Owner

hyfsy commented Jul 22, 2022

2022-07-22 19:09:23 [DEBUG] java.lang.RuntimeException: Read input stream failed
at com.hyf.hotrefresh.remoting.rpc.payload.RpcRequest.encode(RpcRequest.java:50)
at com.hyf.hotrefresh.core.remoting.payload.RpcHotRefreshRequest.encode(RpcHotRefreshRequest.java:35)
at com.hyf.hotrefresh.remoting.rpc.payload.RpcBatchMessage.encode(RpcBatchMessage.java:39)
at com.hyf.hotrefresh.remoting.message.MessageCodec.encode(MessageCodec.java:60)
at com.hyf.hotrefresh.client.core.DefaultRequestBuilder.build(DefaultRequestBuilder.java:34)
at com.hyf.hotrefresh.client.core.rpc.RpcClient.sync(RpcClient.java:94)
at com.hyf.hotrefresh.client.core.rpc.RpcClient.sync(RpcClient.java:64)
at com.hyf.hotrefresh.client.core.HotRefreshClient.sendMessage(HotRefreshClient.java:53)
at com.hyf.hotrefresh.client.core.HotRefreshClient.sendBatchRequest(HotRefreshClient.java:48)
at com.hyf.hotrefresh.client.core.rpc.RpcPushWatcher.handleFileChangeRequest(RpcPushWatcher.java:96)
at com.hyf.hotrefresh.client.core.rpc.RpcPushWatcher.run(RpcPushWatcher.java:58)
Caused by: java.nio.file.NoSuchFileException: E:\study\code\idea3\learn-springboot\learn-springboot-initializr-jar\src\main\java\com\hyf\hello\execute\HotDetectExecute.java
at sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:79)
at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:97)
at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:102)
at sun.nio.fs.WindowsFileSystemProvider.newByteChannel(WindowsFileSystemProvider.java:230)
at java.nio.file.Files.newByteChannel(Files.java:361)
at java.nio.file.Files.newByteChannel(Files.java:407)
at java.nio.file.spi.FileSystemProvider.newInputStream(FileSystemProvider.java:384)
at java.nio.file.Files.newInputStream(Files.java:152)
at com.hyf.hotrefresh.client.core.DeferredOpenFileInputStream.ensureOpen(DeferredOpenFileInputStream.java:89)
at com.hyf.hotrefresh.client.core.DeferredOpenFileInputStream.read(DeferredOpenFileInputStream.java:39)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:246)
at java.io.BufferedInputStream.read1(BufferedInputStream.java:286)
at java.io.BufferedInputStream.read(BufferedInputStream.java:345)
at java.io.FilterInputStream.read(FilterInputStream.java:107)
at com.hyf.hotrefresh.common.util.IOUtils.writeTo(IOUtils.java:34)
at com.hyf.hotrefresh.common.util.IOUtils.readAsByteArray(IOUtils.java:15)
at com.hyf.hotrefresh.remoting.rpc.payload.RpcRequest.encode(RpcRequest.java:47)
... 10 more

@hyfsy hyfsy added the bug Something isn't working label Jul 22, 2022
@hyfsy hyfsy self-assigned this Jul 22, 2022
@hyfsy
Copy link
Owner Author

hyfsy commented Jul 28, 2022

see 1438664

@hyfsy hyfsy closed this as completed Jul 28, 2022
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