Comments (14)
Hmmm... You opened Ide and there wasn't error, but after opening new project you got AccessDeniedException. Am I right?
from refact-intellij.
+. Have same problem.
- Plugin version: 1.2.4
- IDE: IntelliJ IDEA 2023.2.2 Build #IU-232.9921.47
- JDK: 17.0.8; VM: OpenJDK 64-Bit Server VM; Vendor: JetBrains s.r.o.
- OS: Windows 10.0
- ARCH: amd64
- MODE: Cloud
from refact-intellij.
Hi! try new 1.2.5 version. Hope it helps you.
from refact-intellij.
Unfortunately the problem was not solved🥲. The code editor itself is run as administrator.
К сожалению проблема не решилась🥲. Редактор кода открыт от имени администратора.
And apparently because of this error, all the functionality associated with the code does not work for me (suggestion, auto-writing, etc.)
Unhandled exception in [CoroutineName(com.smallcloud.refactai.Initializer), StandaloneCoroutine{Cancelling}@5fd46318, Dispatchers.Default]
java.nio.file.AccessDeniedException: C:\Users\User\AppData\Local\Temp\refact-lsp.exe
at java.base/sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:89)
at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:103)
at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:108)
at java.base/sun.nio.fs.WindowsFileSystemProvider.implDelete(WindowsFileSystemProvider.java:275)
at java.base/sun.nio.fs.AbstractFileSystemProvider.deleteIfExists(AbstractFileSystemProvider.java:110)
at java.base/java.nio.file.Files.deleteIfExists(Files.java:1191)
at java.base/java.nio.file.Files.copy(Files.java:3148)
at com.smallcloud.refactai.lsp.LSPProcessHolder.startup(LSPProcessHolder.kt:102)
at com.smallcloud.refactai.Initializer.initialize(Initializer.kt:52)
at com.smallcloud.refactai.Initializer.execute(Initializer.kt:25)
at com.intellij.ide.startup.impl.StartupManagerImplKt$launchActivity$1$1.invokeSuspend(StartupManagerImpl.kt:534)
at com.intellij.ide.startup.impl.StartupManagerImplKt$launchActivity$1$1.invoke(StartupManagerImpl.kt)
at com.intellij.ide.startup.impl.StartupManagerImplKt$launchActivity$1$1.invoke(StartupManagerImpl.kt)
at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturn(Undispatched.kt:78)
at kotlinx.coroutines.BuildersKt__Builders_commonKt.withContext(Builders.common.kt:167)
at kotlinx.coroutines.BuildersKt.withContext(Unknown Source)
at com.intellij.ide.startup.impl.StartupManagerImplKt$launchActivity$1.invokeSuspend(StartupManagerImpl.kt:532)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:584)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:793)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:697)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:684)
Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [CoroutineName(com.smallcloud.refactai.Initializer), StandaloneCoroutine{Cancelled}@5fd46318, Dispatchers.Default]
from refact-intellij.
@pixkk Could you check permissions to C:\Users\User\AppData\Local\Temp? Looks like plugin can not copy binary backend in this directory.
from refact-intellij.
@pixkk Could you check permissions to C:\Users\User\AppData\Local\Temp? Looks like plugin can not copy binary backend in this directory.
Windows user "User" can edit, manage, delete files in this folder.
And refact-lsp.exe is here ()
from refact-intellij.
Wow...it's very strange :D and if you start ide with plugin right now you will get this error?
from refact-intellij.
Could you try eap version?
insert https://plugins.jetbrains.com/plugins/eap/list in marketplace and reopen plugin settings. You will find eap version of Refact. Thank you
from refact-intellij.
When i start IDE without admin rights - error:
When i start IDE with admin rights - error does not exist, but if i switch to another project - it appears again.
On this screen refact-lsp is working, but autocompletion don`t work.
from refact-intellij.
In logs everything is ok (about code completion), but autocompletion is not work :(
from refact-intellij.
autocompletion doesn't work because your settings is mixed. Old setting prohibits completion. It's our fail. I will delete rudiment code ASAP. Try new version 1.2.7 in eap. It will be in marketplace in few minutes.
from refact-intellij.
Try without admin privacy pls
from refact-intellij.
Yeah, it`s work now! But exist bug (but it does not affect the operation of the plugin - it works successfully).
- Open IDE.
- Try open another project
- You receive error Unhandled exception in [CoroutineName(com.smallcloud.refactai.Initializer), StandaloneCoroutine{Cancelling}@5fbb50fe, Dispatchers.Default] java.nio.file.AccessDeniedException: C:\Users\Asimut.refact\bin\refact-lsp.exe
- Change project - the error no longer occurs until the IDE is restarted
from refact-intellij.
Anyway, we are very appreciated your help!!! good job! I think AccessDeniedException with new project connected to setup activity with project. It repeated every time when you opened project. It's bug and I know how to fix it.
from refact-intellij.
Related Issues (20)
- [JB plugin] Internal error: SSLHandshakeException
- [JB plugin] Internal error: PluginException
- [JB plugin] Internal error: PluginException HOT 2
- IDE hang in SMCStatusBarWidget.update HOT 1
- [JB plugin] Internal error: AssertionError
- [JB plugin] Internal error: NullPointerException HOT 2
- [JB plugin] Internal error: AssertionError
- [JB plugin] Internal error: AssertionError
- [JB plugin] Internal error: AssertionError
- [JB plugin] Internal error: NullPointerException
- [JB plugin] Internal error: AssertionError
- [JB plugin] Internal error: NullPointerException
- the refact not show gpt model & answer until press new chat HOT 1
- Open second, third project in new window - get new IU_***_****__refact_lsp.exe instance HOT 2
- [JB plugin] Internal error: AlreadyDisposedException HOT 2
- Wrong file information HOT 4
- [JB plugin] Internal error: AssertionError
- Refact Chat won't load in any Jetbrains editor
- [JB plugin] Chat doesn't work HOT 1
- [JB plugin] Internal error: AssertionError
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from refact-intellij.