codota / tabnine-intellij

Jetbrains IDEs client for TabNine. Compatible with all IntelliJ-based IDEs. https://plugins.jetbrains.com/plugin/12798-tabnine
https://www.tabnine.com/install/intellij
MIT License
526 stars 66 forks source link

BinaryCannotRecoverException #99

Open kermit-ye opened 3 years ago

kermit-ye commented 3 years ago

IntelliJ IDEA 2020.3.1 (Community Edition) Build #IC-203.6682.168, built on December 29, 2020 Runtime version: 11.0.9.1+11-b1145.63 amd64 VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o. Windows 10 10.0 GC: ParNew, ConcurrentMarkSweep Memory: 1981M Cores: 8 Registry: ide.allow.merge.buttons=false, ide.tooltip.initialDelay=595, ide.balloon.shadow.size=0 Non-Bundled Plugins: IdeaVIM, com.tabnine.TabNine, de.netnexus.camelcaseplugin, io.github.qeesung.component.HighlightBracketPair, net.vektah.codeglance, mobi.hsz.idea.gitignore, izhangzhihao.rainbow.brackets, org.toml.lang, training, Docker, JettyRunner-GK, SequenceDiagram, cn.yiiguxing.plugin.translate, com.alibaba.p3c.smartfox, com.codota.csp.intellij, MavenRunHelper, org.rust.lang

Tabnine is not able to function properly. Contact support@tabnine.com

com.tabnine.binary.exceptions.BinaryCannotRecoverException at com.tabnine.binary.BinaryProcessRequesterProvider.onDead(BinaryProcessRequesterProvider.java:58) at com.tabnine.binary.BinaryRequestFacade.executeRequest(BinaryRequestFacade.java:43) at com.tabnine.binary.BinaryRequestFacade.executeRequest(BinaryRequestFacade.java:23) at com.tabnine.lifecycle.BinaryNotificationsLifecycle$poll$1.run(BinaryNotificationsLifecycle.kt:24) at java.base/java.util.TimerThread.mainLoop(Timer.java:556) at java.base/java.util.TimerThread.run(Timer.java:506)

boaz-codota commented 3 years ago

Hey @kermit-ye thanks for reaching out!

Could you further explain how Tabnine behaves on your machine? Are you getting suggestion?

You are getting this error because Tabnine had crashed more than 5 consecutive times. Is is possible that your Antivirus is killing Tabnine's process? Is it possible that something else is blocking the process from starting?

Restarting your IDE will allow Tabnine to start again, tell me if it works (we would love to uncover the root cause to the issue, this is just so you could go back to coding with Tabnine suggestions).

corsik commented 3 years ago

After updating Tabnine, I also began to receive a similar error

PhpStorm 2020.3.2
Build #PS-203.7148.74, built on January 27, 2021
Subscription is active until November 22, 2021.
Runtime version: 11.0.9.1+11-b1145.77 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Windows 10 10.0
GC: ParNew, ConcurrentMarkSweep
Memory: 1969M
Cores: 8
Registry: run.processes.with.pty=TRUE
Non-Bundled Plugins: com.github.jk1.ytplugin, com.tabnine.TabNine, mobi.hsz.idea.gitignore, name.kropp.intellij.makefile, intellij.prettierJS, ru.adelf.idea.dotenv
Tabnine is not able to function properly. Contact support@tabnine.com

com.tabnine.binary.exceptions.BinaryCannotRecoverException
    at com.tabnine.binary.BinaryProcessRequesterProvider.onDead(BinaryProcessRequesterProvider.java:58)
    at com.tabnine.binary.BinaryRequestFacade.executeRequest(BinaryRequestFacade.java:43)
    at com.tabnine.binary.BinaryRequestFacade.executeRequest(BinaryRequestFacade.java:23)
    at com.tabnine.lifecycle.BinaryStateService.updateState(BinaryStateService.java:32)
    at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
    at java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305)
    at com.intellij.util.concurrency.SchedulingWrapper$MyScheduledFutureTask.run(SchedulingWrapper.java:223)
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
    at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:668)
    at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:665)
    at java.base/java.security.AccessController.doPrivileged(Native Method)
    at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Executors.java:665)
    at java.base/java.lang.Thread.run(Thread.java:834)

Following exceptions happened soon after this one, most probably they are induced.

2021-02-04T15:29:41.186
Tabnine is not able to function properly. Contact support@tabnine.com
com.tabnine.binary.exceptions.BinaryCannotRecoverException
    at com.tabnine.binary.BinaryProcessRequesterProvider.onDead(BinaryProcessRequesterProvider.java:58)
    at com.tabnine.binary.BinaryRequestFacade.executeRequest(BinaryRequestFacade.java:43)
    at com.tabnine.binary.BinaryRequestFacade.executeRequest(BinaryRequestFacade.java:23)
    at com.tabnine.prediction.CompletionFacade.lambda$retrieveCompletions$0(CompletionFacade.java:41)
    at com.intellij.openapi.application.ex.ApplicationUtil.lambda$runWithCheckCanceled$1(ApplicationUtil.java:48)
    at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:658)
    at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:610)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:65)
    at com.intellij.openapi.application.ex.ApplicationUtil.lambda$runWithCheckCanceled$2(ApplicationUtil.java:46)
    at com.intellij.util.RunnableCallable.call(RunnableCallable.java:20)
    at com.intellij.util.RunnableCallable.call(RunnableCallable.java:11)
    at com.intellij.openapi.application.impl.ApplicationImpl$1.call(ApplicationImpl.java:270)
    at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
    at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:668)
    at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:665)
    at java.base/java.security.AccessController.doPrivileged(Native Method)
    at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Executors.java:665)
    at java.base/java.lang.Thread.run(Thread.java:834)

2021-02-04T15:29:41.324
Tabnine is not able to function properly. Contact support@tabnine.com
com.tabnine.binary.exceptions.BinaryCannotRecoverException
    at com.tabnine.binary.BinaryProcessRequesterProvider.onDead(BinaryProcessRequesterProvider.java:58)
    at com.tabnine.binary.BinaryRequestFacade.executeRequest(BinaryRequestFacade.java:43)
    at com.tabnine.binary.BinaryRequestFacade.executeRequest(BinaryRequestFacade.java:23)
    at com.tabnine.prediction.CompletionFacade.lambda$retrieveCompletions$0(CompletionFacade.java:41)
    at com.intellij.openapi.application.ex.ApplicationUtil.lambda$runWithCheckCanceled$1(ApplicationUtil.java:48)
    at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:658)
    at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:610)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:65)
    at com.intellij.openapi.application.ex.ApplicationUtil.lambda$runWithCheckCanceled$2(ApplicationUtil.java:46)
    at com.intellij.util.RunnableCallable.call(RunnableCallable.java:20)
    at com.intellij.util.RunnableCallable.call(RunnableCallable.java:11)
    at com.intellij.openapi.application.impl.ApplicationImpl$1.call(ApplicationImpl.java:270)
    at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
    at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:668)
    at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:665)
    at java.base/java.security.AccessController.doPrivileged(Native Method)
    at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Executors.java:665)
    at java.base/java.lang.Thread.run(Thread.java:834)

2021-02-04T15:29:41.962
Tabnine is not able to function properly. Contact support@tabnine.com
com.tabnine.binary.exceptions.BinaryCannotRecoverException
    at com.tabnine.binary.BinaryProcessRequesterProvider.onDead(BinaryProcessRequesterProvider.java:58)
    at com.tabnine.binary.BinaryRequestFacade.executeRequest(BinaryRequestFacade.java:43)
    at com.tabnine.binary.BinaryRequestFacade.executeRequest(BinaryRequestFacade.java:23)
    at com.tabnine.lifecycle.BinaryStateService.updateState(BinaryStateService.java:32)
    at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
    at java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305)
    at com.intellij.util.concurrency.SchedulingWrapper$MyScheduledFutureTask.run(SchedulingWrapper.java:223)
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
    at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:668)
    at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:665)
    at java.base/java.security.AccessController.doPrivileged(Native Method)
    at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Executors.java:665)
    at java.base/java.lang.Thread.run(Thread.java:834)
corsik commented 3 years ago

@boaz-codota will this problem be solved?

kermit-ye commented 3 years ago

Hey @kermit-ye thanks for reaching out!

Could you further explain how Tabnine behaves on your machine? Are you getting suggestion?

You are getting this error because Tabnine had crashed more than 5 consecutive times. Is is possible that your Antivirus is killing Tabnine's process? Is it possible that something else is blocking the process from starting?

Restarting your IDE will allow Tabnine to start again, tell me if it works (we would love to uncover the root cause to the issue, this is just so you could go back to coding with Tabnine suggestions).

This happened after I updated image image image

K0BIE commented 3 years ago

I'm having what seems to be the same problem. I have two error messages. This came up first image This appears a few moments later image

There is also a 3rd error saying "Too many IDE fatal errors. Monitoring stopped."

Dannyps commented 3 years ago

I'm experiencing the same issue.

adam-dakota commented 3 years ago

Chiming in here to say I am also experiencing this issue. Exact same as screenshotted logs above. I am on M1 Mac mini working with "GoLand on Apple Silicon" binary. I had assumed that might be the reason for this issue but am now not so sure based on the above.

avnerbarr commented 3 years ago

@Dannyps @ogrok can you try to kill your IDE, make sure all TabNine process are stopped (kill them if they are zobies) and restart the IDE (it should restart the Tabnine process). Let me know if it helps or still encountering issues

adam-dakota commented 3 years ago

It actually did resolve for me but only after a few times

Dannyps commented 3 years ago

@avnerbarr I don't know what transpired in the last few days, but the issue seems to have disappeared :| Anyway, glad it works now. Thanks for the support.

corsik commented 3 years ago

I restored it to work with:

  1. Deleted in PhpStorm
  2. Deleted folder C\User\.tabnine
  3. Install PhpStorm
Red44 commented 3 years ago

I got the error by unplugging my mouse.

ErickCodigo commented 3 years ago

I am also presenting the same error :(

toduyen commented 2 years ago

hi everyone i found the simplest fix. My Tabnine is running fine. Step 1: uninstall tabnine on WebStorm Step 2: Delete file .tabnine at C/Users/Username Step 3: Delete file TabNine at C/Users/Username/AppData/Roaming/TabNine Step 4: Open WebStorm install tabnine

Good luck to you

aiexz commented 2 years ago

Fixed the problem on Mac by removing folder at~/.tabnine

rcoundon commented 2 years ago

~/.tabnine

This just worked for me, too