EAP 107.130 constantly raising 2-3 IDE errors

Dmitry et al, I think there is some regression in EAP 107.130 as I get 2-3 IDE errors constantly. This is an environment that 107.130 upgraded from the previous EAP 107.40. The errors will pop up when doing nothing and trigger every few seconds. I had to invalidate all the caches and restart in order to make it work without constantly raising these errors. You might want to double check the upgrade path, some remnant remains that causes this. I submitted them via the feedback tool as well, just figured to give some more feedback.

Stub and PSI element type mismatch in __builtin__.py: stub com.jetbrains.python.psi.impl.stubs.PyFunctionStubImpl@169941, AST Py:NAMED_PARAMETER; Element(Py:NAMED_PARAMETER)
java.lang.Throwable
    at com.intellij.openapi.diagnostic.Logger.error(Logger.java:52)
    at com.intellij.psi.impl.source.PsiFileImpl$1.visitNode(PsiFileImpl.java:295)
    at com.intellij.psi.impl.source.tree.RecursiveTreeElementWalkingVisitor.visitComposite(RecursiveTreeElementWalkingVisitor.java:72)

com.jetbrains.python.psi.impl.PyNamedParameterImpl cannot be cast to com.jetbrains.python.psi.PyFunction: com.jetbrains.python.psi.impl.PyNamedParameterImpl cannot be cast to com.jetbrains.python.psi.PyFunction
java.lang.ClassCastException: com.jetbrains.python.psi.impl.PyNamedParameterImpl cannot be cast to com.jetbrains.python.psi.PyFunction
    at com.jetbrains.python.psi.impl.PyQualifiedReferenceImpl.resolveInner(PyQualifiedReferenceImpl.java:74)
    at com.jetbrains.python.psi.impl.PyReferenceImpl.a(PyReferenceImpl.java:103)
    at com.jetbrains.python.psi.impl.PyReferenceImpl.access$000(PyReferenceImpl.java:39)
    at com.jetbrains.python.psi.impl.PyReferenceImpl$CachingResolver.resolve(PyReferenceImpl.java:514)
    at com.jetbrains.python.psi.impl.PyReferenceImpl$CachingResolver.resolve(PyReferenceImpl.java:497)
    at com.intellij.psi.impl.source.resolve.ResolveCache$1.compute(ResolveCache.java:119)
    at com.intellij.psi.impl.source.resolve.ResolveCache.a(ResolveCache.java:126)
    at com.intellij.psi.impl.source.resolve.ResolveCache.resolveWithCaching(ResolveCache.java:133)
    at com.jetbrains.python.psi.impl.PyReferenceImpl.multiResolve(PyReferenceImpl.java:90)
    at com.jetbrains.python.psi.impl.PyReferenceExpressionImpl.followAssignmentsChain(PyReferenceExpressionImpl.java:118)

com.jetbrains.python.psi.impl.PyNamedParameterImpl cannot be cast to com.jetbrains.python.psi.PyFunction: com.jetbrains.python.psi.impl.PyNamedParameterImpl cannot be cast to com.jetbrains.python.psi.PyFunction
java.lang.ClassCastException: com.jetbrains.python.psi.impl.PyNamedParameterImpl cannot be cast to com.jetbrains.python.psi.PyFunction
    at com.jetbrains.python.psi.impl.PyQualifiedReferenceImpl.resolveInner(PyQualifiedReferenceImpl.java:74)
    at com.jetbrains.python.psi.impl.PyReferenceImpl.a(PyReferenceImpl.java:103)
    at com.jetbrains.python.psi.impl.PyReferenceImpl.access$000(PyReferenceImpl.java:39)
    at com.jetbrains.python.psi.impl.PyReferenceImpl$CachingResolver.resolve(PyReferenceImpl.java:514)
    at com.jetbrains.python.psi.impl.PyReferenceImpl$CachingResolver.resolve(PyReferenceImpl.java:497)
    at com.intellij.psi.impl.source.resolve.ResolveCache$1.compute(ResolveCache.java:119)
    at com.intellij.psi.impl.source.resolve.ResolveCache.a(ResolveCache.java:126)
    at com.intellij.psi.impl.source.resolve.ResolveCache.resolveWithCaching(ResolveCache.java:133)
    at com.jetbrains.python.psi.impl.PyReferenceImpl.multiResolve(PyReferenceImpl.java:90)
    at com.jetbrains.python.psi.impl.PyReferenceImpl.resolve(PyReferenceImpl.java:68)
    at com.jetbrains.python.inspections.PySetFunctionToLiteralInspection$Visitor.a(PySetFunctionToLiteralInspection.java:80)

Please sign in to leave a comment.