Coder Social home page Coder Social logo

[v0.14.191.8026] Exception: Argument for @NotNull parameter 'baseDir' while comparing two branches in PyCharm CE about intellibot HOT 6 CLOSED

lte2000 avatar lte2000 commented on July 26, 2024
[v0.14.191.8026] Exception: Argument for @NotNull parameter 'baseDir' while comparing two branches in PyCharm CE

from intellibot.

Comments (6)

lte2000 avatar lte2000 commented on July 26, 2024 1

Please try attached patch v0.14.191.8026.2:
intellibot.zip

from intellibot.

lte2000 avatar lte2000 commented on July 26, 2024 1

I see different com.intellij.psi.SingleRootFileViewProvider for same file:
com.intellij.psi.SingleRootFileViewProvider{vFile=file://C:/merck/robot/dih-front-end-package/robot_tests/Keywords/CommonKeyword/CommonKeyword.robot, vFileId=19880, content=VirtualFileContent{size=6869}, eventSystemEnabled=true}(4e33545d);

com.intellij.psi.SingleRootFileViewProvider{vFile=file://C:/merck/robot/dih-front-end-package/robot_tests/Keywords/CommonKeyword/CommonKeyword.robot, vFileId=19880, content=VirtualFileContent{size=6869}, eventSystemEnabled=true}(1dfec2b0)

I can't reproduce it locally.
Do you have multiple plugin installed for robotframework?
Can you try with "menu File -> Invalidate Caches / Restart..."?

from intellibot.

sstankevych999 avatar sstankevych999 commented on July 26, 2024

Seems it helped. I'm going to confirm it in a few days, Thanks

from intellibot.

sstankevych999 avatar sstankevych999 commented on July 26, 2024

On the next day after restarting PyCharm I'm getting some errors.
I have only a few opened robot, py, and yaml files. I do not perform any interaction - I am just seeing on the opened windows ((

com.intellij.diagnostic.PluginException: Element: class com.millennialmedia.intellibot.psi.element.KeywordDefinitionImpl #Robot because: different providers: com.intellij.psi.SingleRootFileViewProvider{vFile=file://C:/merck/robot/dih-front-end-package/robot_tests/Keywords/CommonKeyword/CommonKeyword.robot, vFileId=19880, content=VirtualFileContent{size=6869}, eventSystemEnabled=true}(4e33545d); com.intellij.psi.SingleRootFileViewProvider{vFile=file://C:/merck/robot/dih-front-end-package/robot_tests/Keywords/CommonKeyword/CommonKeyword.robot, vFileId=19880, content=VirtualFileContent{size=6869}, eventSystemEnabled=true}(1dfec2b0) invalidated at: see attachment [Plugin: com.millennialmedia.intellibot@lte2000] at com.intellij.diagnostic.PluginProblemReporterImpl.createPluginExceptionByClass(PluginProblemReporterImpl.java:23) at com.intellij.diagnostic.PluginException.createByClass(PluginException.java:92) at com.intellij.psi.util.PsiUtilCore.ensureValid(PsiUtilCore.java:478) at com.intellij.psi.impl.smartPointers.SmartPointerManagerImpl.ensureValid(SmartPointerManagerImpl.java:108) at com.intellij.psi.impl.smartPointers.SmartPointerManagerImpl.createSmartPsiElementPointer(SmartPointerManagerImpl.java:81) at com.intellij.psi.impl.smartPointers.SmartPointerManagerImpl.createSmartPsiElementPointer(SmartPointerManagerImpl.java:74) at com.intellij.psi.impl.smartPointers.SmartPointerManagerImpl.createSmartPsiElementPointer(SmartPointerManagerImpl.java:69) at com.intellij.psi.SmartPointerManager.createPointer(SmartPointerManager.java:32) at com.intellij.model.psi.impl.Psi2Symbol$MyPointer.<init>(Psi2Symbol.java:41) at com.intellij.model.psi.impl.Psi2Symbol.<init>(Psi2Symbol.java:17) at com.intellij.model.psi.impl.PsiSymbolServiceImpl.asSymbol(PsiSymbolServiceImpl.java:20) at com.intellij.model.psi.impl.EvaluatorReference.resolveReference(EvaluatorReference.kt:26) at com.intellij.model.psi.impl.TargetData$Referenced.getTargets(classes.kt:54) at com.intellij.model.psi.impl.TargetsKt.targetSymbols(targets.kt:28) at com.intellij.model.psi.impl.TargetSymbolsDataRule.getData(TargetSymbolsDataRule.kt:14) at com.intellij.ide.impl.DataManagerImpl.getRulesData(DataManagerImpl.java:139) at com.intellij.ide.impl.DataManagerImpl.lambda$getDataRule$4(DataManagerImpl.java:127) at com.intellij.ide.impl.DataManagerImpl.getDataFromProvider(DataManagerImpl.java:77) at com.intellij.ide.impl.DataManagerImpl.getDataFromProvider(DataManagerImpl.java:56) at com.intellij.ide.impl.DataManagerImpl.lambda$getDataFromProvider$1(DataManagerImpl.java:77) at com.intellij.openapi.actionSystem.DataKey.getData(DataKey.java:68) at com.intellij.find.actions.SearchTargetsDataRule.getData(SearchTargetsDataRule.kt:16) at com.intellij.find.actions.SearchTargetsDataRule.getData(SearchTargetsDataRule.kt:11) at com.intellij.ide.impl.DataManagerImpl.getRulesData(DataManagerImpl.java:139) at com.intellij.ide.impl.DataManagerImpl.lambda$getDataRule$4(DataManagerImpl.java:127) at com.intellij.ide.impl.DataManagerImpl.getDataFromProvider(DataManagerImpl.java:77) at com.intellij.openapi.actionSystem.impl.PreCachedDataContext.getData(PreCachedDataContext.java:182) at com.intellij.openapi.actionSystem.DataContext.getData(DataContext.java:42) at com.intellij.openapi.actionSystem.impl.ActionUpdater.ensureSlowDataKeysPreCached(ActionUpdater.java:409) at com.intellij.openapi.actionSystem.impl.ActionUpdater.lambda$callAction$5(ActionUpdater.java:186) at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1152) at com.intellij.openapi.actionSystem.impl.ActionUpdater.callAction(ActionUpdater.java:186) at com.intellij.openapi.actionSystem.impl.ActionUpdater.updateActionReal(ActionUpdater.java:127) at com.intellij.openapi.actionSystem.impl.ActionUpdater.lambda$new$0(ActionUpdater.java:112) at com.intellij.openapi.actionSystem.impl.ActionUpdater.update(ActionUpdater.java:634) at com.intellij.openapi.actionSystem.impl.ActionUpdater.expandGroupChild(ActionUpdater.java:478) at com.intellij.openapi.actionSystem.impl.ActionUpdater.lambda$doExpandActionGroup$20(ActionUpdater.java:457) at com.intellij.util.containers.ContainerUtil.concat(ContainerUtil.java:1400) at com.intellij.openapi.actionSystem.impl.ActionUpdater.doExpandActionGroup(ActionUpdater.java:457) at com.intellij.openapi.actionSystem.impl.ActionUpdater.expandGroupChild(ActionUpdater.java:535) at com.intellij.openapi.actionSystem.impl.ActionUpdater.lambda$doExpandActionGroup$20(ActionUpdater.java:457) at com.intellij.util.containers.ContainerUtil.concat(ContainerUtil.java:1400) at com.intellij.openapi.actionSystem.impl.ActionUpdater.doExpandActionGroup(ActionUpdater.java:457) at com.intellij.openapi.actionSystem.impl.ActionUpdater.expandActionGroup(ActionUpdater.java:260) at com.intellij.openapi.actionSystem.impl.ActionUpdater.lambda$expandActionGroupAsync$12(ActionUpdater.java:321) at com.intellij.openapi.actionSystem.impl.ActionUpdater.lambda$expandActionGroupAsync$13(ActionUpdater.java:339) at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1152) at com.intellij.openapi.actionSystem.impl.ActionUpdater.lambda$tryRunReadActionAndCancelBeforeWrite$17(ActionUpdater.java:371) at com.intellij.openapi.progress.util.ProgressIndicatorUtils.runActionAndCancelBeforeWrite(ProgressIndicatorUtils.java:158) at com.intellij.openapi.actionSystem.impl.ActionUpdater.tryRunReadActionAndCancelBeforeWrite(ActionUpdater.java:367) at com.intellij.openapi.actionSystem.impl.ActionUpdater.lambda$expandActionGroupAsync$14(ActionUpdater.java:339) at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$2(CoreProgressManager.java:189) at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$executeProcessUnderProgress$12(CoreProgressManager.java:608) at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:683) at com.intellij.openapi.progress.impl.CoreProgressManager.computeUnderProgress(CoreProgressManager.java:639) at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:607) at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:60) at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:176) at com.intellij.openapi.progress.util.BackgroundTaskUtil.runUnderDisposeAwareIndicator(BackgroundTaskUtil.java:365) at com.intellij.openapi.actionSystem.impl.ActionUpdater.lambda$expandActionGroupAsync$15(ActionUpdater.java:338) at com.intellij.util.concurrency.BoundedTaskExecutor.doRun(BoundedTaskExecutor.java:241) at com.intellij.util.concurrency.BoundedTaskExecutor.access$200(BoundedTaskExecutor.java:31) at com.intellij.util.concurrency.BoundedTaskExecutor$1.execute(BoundedTaskExecutor.java:214) at com.intellij.util.ConcurrencyUtil.runUnderThreadName(ConcurrencyUtil.java:212) at com.intellij.util.concurrency.BoundedTaskExecutor$1.run(BoundedTaskExecutor.java:203) 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:829) Caused by: com.intellij.psi.PsiInvalidElementAccessException: Element: class com.millennialmedia.intellibot.psi.element.KeywordDefinitionImpl #Robot because: different providers: com.intellij.psi.SingleRootFileViewProvider{vFile=file://C:/merck/robot/dih-front-end-package/robot_tests/Keywords/CommonKeyword/CommonKeyword.robot, vFileId=19880, content=VirtualFileContent{size=6869}, eventSystemEnabled=true}(4e33545d); com.intellij.psi.SingleRootFileViewProvider{vFile=file://C:/merck/robot/dih-front-end-package/robot_tests/Keywords/CommonKeyword/CommonKeyword.robot, vFileId=19880, content=VirtualFileContent{size=6869}, eventSystemEnabled=true}(1dfec2b0) invalidated at: see attachment ... 70 more

from intellibot.

sstankevych999 avatar sstankevych999 commented on July 26, 2024

@lte2000 I did it and will inform you the result in a few hours

from intellibot.

sstankevych999 avatar sstankevych999 commented on July 26, 2024

Fixed

from intellibot.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.