tabnine-intellij icon indicating copy to clipboard operation
tabnine-intellij copied to clipboard

BinaryCannotRecoverException

Open kermit-ye opened this issue 3 years ago • 16 comments

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 [email protected]

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)

kermit-ye avatar Jan 07 '21 07:01 kermit-ye

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).

boaz-codota avatar Jan 07 '21 07:01 boaz-codota

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 [email protected]

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 [email protected]
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 [email protected]
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 [email protected]
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 avatar Feb 04 '21 13:02 corsik

@boaz-codota will this problem be solved?

corsik avatar Feb 15 '21 10:02 corsik

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

kermit-ye avatar Feb 24 '21 02:02 kermit-ye

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."

K0BIE avatar Feb 26 '21 05:02 K0BIE

I'm experiencing the same issue.

Dannyps avatar Apr 01 '21 14:04 Dannyps

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.

acontext avatar Apr 01 '21 16:04 acontext

@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

avnerbarr avatar Apr 07 '21 08:04 avnerbarr

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

acontext avatar Apr 10 '21 19:04 acontext

@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.

Dannyps avatar Apr 12 '21 08:04 Dannyps

I restored it to work with:

  1. Deleted in PhpStorm
  2. Deleted folder C\User<UserName>.tabnine
  3. Install PhpStorm

corsik avatar Apr 12 '21 08:04 corsik

I got the error by unplugging my mouse.

Red44 avatar Apr 25 '21 09:04 Red44

I am also presenting the same error :(

ErickCodigo avatar Jul 19 '21 00:07 ErickCodigo

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

toduyen avatar Jan 10 '22 09:01 toduyen

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

aiexz avatar Feb 07 '22 14:02 aiexz

~/.tabnine

This just worked for me, too

rcoundon avatar Oct 14 '22 17:10 rcoundon