Previewer not working in my project
See original GitHub issueEven using solutions from other Issues, I hope you see anything I cant see. My project link: https://github.com/QAppsSoft/MultiConverter
If more info nedded, I will do my best.
Thanks in advance.
Rider: v2022.2 AvaloniaRider: v1.0.0.2140933520 Avalonia: v11 preview 1 Windows: 10 1903
Log:
Socket error while session is still alive
java.net.SocketException: Connection reset
at java.base/sun.nio.ch.NioSocketImpl.implRead(NioSocketImpl.java:323)
at java.base/sun.nio.ch.NioSocketImpl.read(NioSocketImpl.java:350)
at java.base/sun.nio.ch.NioSocketImpl$1.read(NioSocketImpl.java:803)
at java.base/java.net.Socket$SocketInputStream.read(Socket.java:966)
at java.base/java.io.DataInputStream.readFully(DataInputStream.java:201)
at java.base/java.io.DataInputStream.readFully(DataInputStream.java:172)
at me.fornever.avaloniarider.bson.BsonStreamReader.readBytes(BsonStreamReader.kt:26)
at me.fornever.avaloniarider.bson.BsonStreamReader.readMessage(BsonStreamReader.kt:30)
at me.fornever.avaloniarider.previewer.AvaloniaPreviewerSession.processSocketMessages(AvaloniaPreviewerSession.kt:64)
at me.fornever.avaloniarider.previewer.AvaloniaPreviewerSessionController$executePreviewerAsync$sessionJob$1.invokeSuspend(AvaloniaPreviewerSessionController.kt:299)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:702)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:699)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:399)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Executors.java:699)
at java.base/java.lang.Thread.run(Thread.java:833)
Issue Analytics
- State:
- Created a year ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
"This file can't be previewed" error in Word, Excel, or PowerPoint
To work around this issue, preview the document in Windows Explorer or in a different Microsoft Office program. For example, preview a Microsoft ......
Read more >Xcode 13 preview failed - The proj… | Apple Developer Forums
I downloaded the Xcode 13 and created a new project, named 2021107. ... The error message shows the project '20211007' does not contain...
Read more >Quickly Fix Preview Not Working (Slow) Errors in After Effects
1. Purge the RAM cache. · 2. Empty Disk Cache · 3. Clean Database & Cache · 4. Change Disk Cache Location ·...
Read more >Xamarin Forms Previewer isn't showing - Stack Overflow
The previewer requires that the project be built before rendering a page. If the error below appears at the top of the preview...
Read more >How to Fix Preview Not Working on After Effects - Saintlad
To fix this, simply save your project and close the app. After a few seconds, relaunch it, and the preview should work as...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
FYI, the logs are shown in the IDE, in the Avalonia tool window. But it is known they aren’t very discoverable this way, and I plan to improve that before preparing a public release of the plugin.
Ok, solved, finally. Dependencies loading moved to
BuildAvaloniaApp()
. I didnt catch that. Any way, I found the logs but are hard to follow mixed with all the others, even if you know what to search for.Thanks again, this previewer is a life (Time) saver for Styles.
Get my 🌟