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

BinaryCannotRecoverException #99

Open
kermit-ye opened this issue Jan 7, 2021 · 16 comments
Open

BinaryCannotRecoverException #99

kermit-ye opened this issue Jan 7, 2021 · 16 comments

Comments

@kermit-ye
Copy link

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)

@boaz-codota
Copy link
Contributor

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
Copy link

corsik commented Feb 4, 2021

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
Copy link

corsik commented Feb 15, 2021

@boaz-codota will this problem be solved?

@kermit-ye
Copy link
Author

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
Copy link

K0BIE commented Feb 26, 2021

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
Copy link

Dannyps commented Apr 1, 2021

I'm experiencing the same issue.

@adam-dakota
Copy link

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
Copy link
Contributor

@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
Copy link

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

@Dannyps
Copy link

Dannyps commented Apr 12, 2021

@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
Copy link

corsik commented Apr 12, 2021

I restored it to work with:

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

@Red44
Copy link

Red44 commented Apr 25, 2021

I got the error by unplugging my mouse.

@ErickCodigo
Copy link

I am also presenting the same error :(

@toduyen
Copy link

toduyen commented Jan 10, 2022

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
Copy link

aiexz commented Feb 7, 2022

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

@rcoundon
Copy link

~/.tabnine

This just worked for me, too

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests