Open xenogew opened 6 years ago
me too, same error, please fix soon
Encountering the same error PyCharm 2018.2.2 Community Edition, IntelliBot @SeleniumLibrary Patched Version: 0.10.143.381
I am still seeing this in PyCharm 2018.3 and IntelliBot @SeleniumLibrary Patched v0.10.143.381 https://plugins.jetbrains.com/plugin/10700-intellibot-seleniumlibrary-patched
Is anyone looking into this failure?
No code update for 3 years long, I think this might be called the owner leaved the project.
It is very shame if this error never will be fixed. In practise this prevents using plugin, it's so annoying.
Hi. Getting similar issue now too. anyone know what version of Pycharm did not get these errors?
The forked repo that has most and latest update is lkrazy / intellibot.
Check it by yourself and build it, use the plugin as jar
file.
That's one I did. And it's quite better than this which called official plugin repo.
@xenogew This Ikrazy fork also gives me errors. Moreover it isn't updated to work with the new RF 3.1.1
I haven't been able to find a plugin that works for PyCharm anymore and it's really annoying because I still find PyCharm the best IDE for Robot Framework.
com.intellij.psi.PsiInvalidElementAccessException: Element: class com.jetbrains.python.psi.impl.PyFileImpl #Python because: project is disposed invalidated at: see attachment at com.intellij.extapi.psi.StubBasedPsiElementBase.getNode(StubBasedPsiElementBase.java:134) at com.intellij.psi.PsiInvalidElementAccessException.getPsiInvalidationTrace(PsiInvalidElementAccessException.java:115) at com.intellij.psi.PsiInvalidElementAccessException.<init>(PsiInvalidElementAccessException.java:77) at com.intellij.psi.PsiInvalidElementAccessException.<init>(PsiInvalidElementAccessException.java:53) at com.jetbrains.python.psi.types.PyClassTypeImpl.assertValid(PyClassTypeImpl.java:764) at com.jetbrains.python.psi.types.TypeEvalContext.assertValid(TypeEvalContext.java:234) at com.jetbrains.python.psi.types.TypeEvalContext.getType(TypeEvalContext.java:194) at com.jetbrains.python.psi.impl.PyClassImpl.getOldStyleAncestorTypes(PyClassImpl.java:1687) at com.jetbrains.python.psi.impl.PyClassImpl.calculateNewStyleClass(PyClassImpl.java:1206) at com.jetbrains.python.psi.impl.PyClassImpl.access$600(PyClassImpl.java:59) at com.jetbrains.python.psi.impl.PyClassImpl$5.lambda$compute$0(PyClassImpl.java:1192) at com.intellij.psi.impl.PsiParameterizedCachedValue.doCompute(PsiParameterizedCachedValue.java:45) at com.intellij.util.CachedValueBase.getValueWithLock(CachedValueBase.java:222) at com.intellij.psi.impl.PsiCachedValue.getValueWithLock(PsiCachedValue.java:60) at com.intellij.psi.impl.PsiParameterizedCachedValue.getValue(PsiParameterizedCachedValue.java:35) at com.jetbrains.python.psi.impl.PyClassImpl.isNewStyleClass(PyClassImpl.java:1194) at com.jetbrains.python.psi.impl.PyClassImpl.lambda$getAncestorTypesWithMetaClassInstances$6(PyClassImpl.java:1432) at com.jetbrains.python.psi.PyUtil.getNullableParameterizedCachedValue(PyUtil.java:825) at com.jetbrains.python.psi.PyUtil.getParameterizedCachedValue(PyUtil.java:803) at com.jetbrains.python.psi.impl.PyClassImpl.getAncestorTypesWithMetaClassInstances(PyClassImpl.java:1430) at com.jetbrains.python.psi.impl.PyClassImpl.getAncestorTypes(PyClassImpl.java:1425) at com.jetbrains.python.psi.impl.PyClassImpl.getAncestorClasses(PyClassImpl.java:213) at com.jetbrains.python.psi.impl.PyClassImpl.visitMethods(PyClassImpl.java:988) at com.jetbrains.python.psi.impl.PyClassImpl.visitMethods(PyClassImpl.java:979) at com.millennialmedia.intellibot.psi.ref.RobotPythonWrapper.addDefinedKeywords(RobotPythonWrapper.java:70) at com.millennialmedia.intellibot.psi.ref.RobotPythonClass.getDefinedKeywords(RobotPythonClass.java:37) at com.millennialmedia.intellibot.psi.ref.ResolverUtils.resolveKeywordFromFile(ResolverUtils.java:39) at com.millennialmedia.intellibot.psi.ref.RobotKeywordReference.resolve(RobotKeywordReference.java:28) at com.millennialmedia.intellibot.ide.inspections.compilation.RobotKeywordNotFound.skip(RobotKeywordNotFound.java:28) at com.millennialmedia.intellibot.ide.inspections.SimpleInspectionVisitor.visitElement(SimpleInspectionVisitor.java:23) at com.intellij.psi.impl.PsiElementBase.accept(PsiElementBase.java:274) at com.intellij.codeInspection.InspectionEngine.acceptElements(InspectionEngine.java:75) at com.intellij.codeInspection.InspectionEngine.createVisitorAndAcceptElements(InspectionEngine.java:63) at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.runToolOnElements(LocalInspectionsPass.java:292) at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.lambda$null$5(LocalInspectionsPass.java:260) at com.intellij.util.AstLoadingFilter.disallowTreeLoading(AstLoadingFilter.java:126) at com.intellij.util.AstLoadingFilter.disallowTreeLoading(AstLoadingFilter.java:115) at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.lambda$visitPriorityElementsAndInit$6(LocalInspectionsPass.java:257) at com.intellij.concurrency.ApplierCompleter.execAndForkSubTasks(ApplierCompleter.java:133) at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1163) at com.intellij.concurrency.ApplierCompleter.lambda$wrapInReadActionAndIndicator$1(ApplierCompleter.java:105) at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:582) at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:532) at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:87) at com.intellij.concurrency.ApplierCompleter.wrapInReadActionAndIndicator(ApplierCompleter.java:116) at com.intellij.concurrency.ApplierCompleter.lambda$compute$0(ApplierCompleter.java:96) at com.intellij.openapi.application.impl.ReadMostlyRWLock.executeByImpatientReader(ReadMostlyRWLock.java:147) at com.intellij.openapi.application.impl.ApplicationImpl.executeByImpatientReader(ApplicationImpl.java:222) at com.intellij.concurrency.ApplierCompleter.compute(ApplierCompleter.java:96) at java.util.concurrent.CountedCompleter.exec(CountedCompleter.java:731) at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289) at java.util.concurrent.ForkJoinPool$WorkQueue.pollAndExecCC(ForkJoinPool.java:1190) at java.util.concurrent.ForkJoinPool.helpComplete(ForkJoinPool.java:1879) at java.util.concurrent.ForkJoinPool.awaitJoin(ForkJoinPool.java:2045) at java.util.concurrent.ForkJoinTask.doJoin(ForkJoinTask.java:390) at java.util.concurrent.ForkJoinTask.join(ForkJoinTask.java:719) at java.util.concurrent.ForkJoinPool.invoke(ForkJoinPool.java:2616) at com.intellij.concurrency.JobLauncherImpl.invokeConcurrentlyUnderProgress(JobLauncherImpl.java:65) at com.intellij.concurrency.JobLauncher.invokeConcurrentlyUnderProgress(JobLauncher.java:56) at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.visitPriorityElementsAndInit(LocalInspectionsPass.java:263) at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.inspect(LocalInspectionsPass.java:196) at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.collectInformationWithProgress(LocalInspectionsPass.java:115) at com.intellij.codeInsight.daemon.impl.ProgressableTextEditorHighlightingPass.doCollectInformation(ProgressableTextEditorHighlightingPass.java:84) at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:69) at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$null$1(PassExecutorService.java:423) at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1168) at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$doRun$2(PassExecutorService.java:416) at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:582) at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:532) at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:87) at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.doRun(PassExecutorService.java:415) at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$run$0(PassExecutorService.java:391) at com.intellij.openapi.application.impl.ReadMostlyRWLock.executeByImpatientReader(ReadMostlyRWLock.java:147) at com.intellij.openapi.application.impl.ApplicationImpl.executeByImpatientReader(ApplicationImpl.java:222) at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:389) at com.intellij.concurrency.JobLauncherImpl$VoidForkJoinTask$1.exec(JobLauncherImpl.java:161) at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289) at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056) at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692) at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157)
Issue still reproducing in PyCharm 2019.2.3 ava.lang.ClassCastException: class com.intellij.psi.impl.file.PsiDirectoryImpl cannot be cast to class com.jetbrains.python.psi.PyFile (com.intellij.psi.impl.file.PsiDirectoryImpl and com.jetbrains.python.psi.PyFile are in unnamed module of loader com.intellij.util.lang.UrlClassLoader @6504e3b2) at com.millennialmedia.intellibot.psi.element.HeadingImpl.findChildrenClass(HeadingImpl.java:441) at com.millennialmedia.intellibot.psi.element.HeadingImpl.collectImportFiles(HeadingImpl.java:386) at com.millennialmedia.intellibot.psi.element.HeadingImpl.getImportedFiles(HeadingImpl.java:349) at com.millennialmedia.intellibot.psi.element.RobotFileImpl.getImportedFiles(RobotFileImpl.java:84) at com.millennialmedia.intellibot.psi.ref.ResolverUtils.resolveKeywordFromFile(ResolverUtils.java:38) at com.millennialmedia.intellibot.psi.ref.RobotKeywordReference.resolve(RobotKeywordReference.java:28) at com.intellij.codeInsight.TargetElementUtil.doGetReferenceOrReferencedElement(TargetElementUtil.java:385) at com.intellij.codeInsight.TargetElementUtil.getReferenceOrReferencedElement(TargetElementUtil.java:363) at com.intellij.codeInsight.TargetElementUtil.doFindTargetElement(TargetElementUtil.java:235) at com.intellij.codeInsight.TargetElementUtil.findTargetElement(TargetElementUtil.java:207) at com.intellij.codeInsight.daemon.impl.IdentifierHighlighterPass.doCollectInformation(IdentifierHighlighterPass.java:82) at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:55) at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$null$1(PassExecutorService.java:429) at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1106) at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$doRun$2(PassExecutorService.java:422) at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:591) at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:537) at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:59) at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.doRun(PassExecutorService.java:421) at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$run$0(PassExecutorService.java:397) at com.intellij.openapi.application.impl.ReadMostlyRWLock.executeByImpatientReader(ReadMostlyRWLock.java:164) at com.intellij.openapi.application.impl.ApplicationImpl.executeByImpatientReader(ApplicationImpl.java:204) at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:395) at com.intellij.concurrency.JobLauncherImpl$VoidForkJoinTask$1.exec(JobLauncherImpl.java:161) at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:290) at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1020) at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1656) at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1594) at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:177)
Try a ver Pycharm 2.1 in this ver is working
@sprolo81 reproduced issue on Pycharm 2019.1.4 (MAC) and 2019.2.3(WIN10) :(
Solution
Pycharm 2017.3.7
pip | 10.0.1 | 19.2.3 robotframework | 3.1.2 | 3.1.2 robotframework-seleniumlibrary | 3.3.1 | 4.0.0 selenium | 3.141.0 | 4.0.0a3 setuptools | 39.1.0 | 41.4.0 urllib3 | 1.25.6 | 1.25.6
Solution
Pycharm 2017.3.7
I don't really thing anyone is willing to downgrade to two years old software :confused:
I am ahead too on every dependency you listed (although I don't understand what anything that's wrong has to do with RF-Selenium :confused:)
Entiendo lo que dices.
Yo tampoco se cual es el problema de RF. Pero mientras lo solucionan sigo trabajando así que funciona.😊
Slds,
Sebastian Prolo Tec Electronica/Diseño
El vie., 11 de oct. de 2019 a la(s) 11:38, Stavros Ntentos ( notifications@github.com) escribió:
Solution
Pycharm 2017.3.7
I don't really thing anyone is willing to downgrade to two years old software 😕
I am ahead too on every dependency you listed (although I don't understand what anything that's wrong has to do with RF-Selenium 😕)
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/millennialmedia/intellibot/issues/205?email_source=notifications&email_token=ANLHO3YIRZSGOHFOAXIXBBLQOCFWDA5CNFSM4FH2PH32YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBAGQKI#issuecomment-541091881, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANLHO3YHWXQXRIUWLZD4YHDQOCFWDANCNFSM4FH2PH3Q .
Anyone has update or solution on this yet?
I am having the same exception issue with IntelliBot @ SeleniumLibrary Patched (0.10.143.381) in PyCharm 2019.3.
I switched to visual studio code and once I figured it out been much happier. the ability to do proper debuging again was excellent.
I still have the same issue.
@patricia-fonseca try "intellibot #patched" in marketplace.
I installed "IntelliBot @SeleniumLibrary Patched", but when I am running the PyCharm IDE with the plugin, It always throw the fatal error. I don't know why, but I brought the error log here.
Can you investigate on this, I very new to Python language, Now I using PyCharm IDE for doing a Robot Framework run for test website.
And sorry if issue is duplicated in some way. I did search for "Fatal error" keyword. But it didn't appear anything.