Codium-ai / codiumai-jetbrains-release

59 stars 8 forks source link

[0.6.16][WebStorm 2023.2.3] java.lang.Throwable: Unwrapped type: modt() #136

Open gramcha opened 1 year ago

gramcha commented 1 year ago

User Description

User did not enter any detailed information.

Stack Trace

java.lang.Throwable: Unwrapped type: modt()
    at com.intellij.openapi.diagnostic.Logger.error(Logger.java:370)
    at com.intellij.lang.javascript.psi.resolve.JSCompleteTypeEvaluationProcessor.passToBaseProcessor(JSCompleteTypeEvaluationProcessor.java:104)
    at com.intellij.lang.javascript.psi.resolve.JSCompleteTypeEvaluationProcessor.doAddType(JSCompleteTypeEvaluationProcessor.java:55)
    at com.intellij.lang.javascript.psi.resolve.JSCompleteTypeEvaluationProcessor.process(JSCompleteTypeEvaluationProcessor.java:40)
    at com.intellij.lang.javascript.psi.resolve.JSCompleteTypeEvaluationProcessor.evaluateTypes(JSCompleteTypeEvaluationProcessor.java:131)
    at com.intellij.lang.javascript.psi.resolve.JSCompleteTypeEvaluationProcessor.evaluateTypes(JSCompleteTypeEvaluationProcessor.java:122)
    at com.intellij.lang.javascript.psi.resolve.JSTypeEvaluator.evaluateExpressionOrElementTypes(JSTypeEvaluator.java:115)
    at com.intellij.lang.javascript.psi.resolve.WalkUpResolveProcessor.<init>(WalkUpResolveProcessor.java:136)
    at com.intellij.lang.javascript.psi.impl.JSDestructuringPropertyReference.doResolve(JSDestructuringPropertyReference.java:54)
    at com.intellij.lang.javascript.psi.impl.JSDestructuringPropertyReference.lambda$multiResolve$0(JSDestructuringPropertyReference.java:30)
    at com.intellij.lang.javascript.psi.resolve.JSResolveUtil$5.get(JSResolveUtil.java:1715)
    at com.intellij.lang.javascript.psi.resolve.JSResolveUtil$5.get(JSResolveUtil.java:1712)
    at com.intellij.lang.javascript.psi.resolve.JSEvaluatorComplexityTracker.runTask(JSEvaluatorComplexityTracker.java:72)
    at com.intellij.lang.javascript.psi.resolve.JSComplexityAwareRecursionGuard.lambda$getCachedValue$0(JSComplexityAwareRecursionGuard.java:71)
    at com.intellij.lang.javascript.psi.resolve.JSResolveUtil$4.lambda$calculateWithCaching$0(JSResolveUtil.java:1728)
    at com.intellij.psi.impl.source.resolve.ResolveCache.lambda$resolveWithCaching$5(ResolveCache.java:268)
    at com.intellij.openapi.util.Computable.get(Computable.java:16)
    at com.intellij.psi.impl.source.resolve.ResolveCache.lambda$loggingResolver$4(ResolveCache.java:234)
    at com.intellij.openapi.util.Computable.get(Computable.java:16)
    at com.intellij.psi.impl.source.resolve.ResolveCache.resolve(ResolveCache.java:213)
    at com.intellij.psi.impl.source.resolve.ResolveCache.resolveWithCaching(ResolveCache.java:268)
    at com.intellij.lang.javascript.psi.resolve.JSResolveUtil$4.calculateWithCaching(JSResolveUtil.java:1726)
    at com.intellij.lang.javascript.psi.resolve.JSComplexityAwareRecursionGuard.getCachedValue(JSComplexityAwareRecursionGuard.java:74)
    at com.intellij.lang.javascript.psi.resolve.JSResolveUtil.resolve

<TRIMMED STACKTRACE>

ompute(actions.kt:60)
    at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:909)
    at ai.codium.elements.CutElement$context$2.invoke(CutElement.kt:143)
    at ai.codium.elements.CutElement$context$2.invoke(CutElement.kt:29)
    at kotlin.SynchronizedLazyImpl.getValue(LazyJVM.kt:74)
    at ai.codium.elements.CutElement.getContext(CutElement.kt:29)
    at ai.codium.AnalysisManagerKt$runAnalysis$2$1.run(AnalysisManager.kt:105)
    at com.intellij.openapi.progress.impl.CoreProgressManager.startTask(CoreProgressManager.java:428)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl.startTask(ProgressManagerImpl.java:115)
    at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcessWithProgressAsynchronously$6(CoreProgressManager.java:478)
    at com.intellij.openapi.progress.impl.ProgressRunner.lambda$submit$4(ProgressRunner.java:251)
    at com.intellij.openapi.progress.ProgressManager.lambda$runProcess$0(ProgressManager.java:71)
    at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$2(CoreProgressManager.java:186)
    at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$executeProcessUnderProgress$13(CoreProgressManager.java:604)
    at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:679)
    at com.intellij.openapi.progress.impl.CoreProgressManager.computeUnderProgress(CoreProgressManager.java:635)
    at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:603)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:61)
    at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:173)
    at com.intellij.openapi.progress.ProgressManager.runProcess(ProgressManager.java:71)
    at com.intellij.openapi.progress.impl.ProgressRunner.lambda$submit$5(ProgressRunner.java:251)
    at com.intellij.openapi.progress.impl.ProgressRunner.lambda$launchTask$18(ProgressRunner.java:465)
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
    at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:702)
    at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:699)
    at java.base/java.security.AccessController.doPrivileged(AccessController.java:399)
    at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Executors.java:699)
    at java.base/java.lang.Thread.run(Thread.java:833)

Other Information

=== About ===
Build version: WebStorm 2023.2.3 Build: #WS-232.10072.28 October 11, 2023
Theme: Light
JRE: 17.0.8.1+7-b1000.32, JetBrains s.r.o.
JVM: 17.0.8.1+7-b1000.32, OpenJDK 64-Bit Server VM, JetBrains s.r.o.
Operating System: Mac OS X 13.0 (aarch64)

=== Plugins ===
Custom plugins: [CodiumAI - Integrity Agent powered by GPT-3.5&4 (0.6.16), .ignore (4.5.2), Makefile Language (232.8660.88), AWS Toolkit (1.85-232), Space (232.10072.29), String Manipulation (9.11.3), AI Assistant (232.9826), SonarLint (10.0.0.76954), ESLint Restart Service Action (0.0.1)]
Disabled plugins:[SonarQube Analyzer (2.9.9), GapStyle Color Scheme (4.1), IDE Features Trainer (232.9559.6), Vuesion Theme (1.9.2), SSH Remote Run (232.10072.28), Gradianto (5.5), ANSI Highlighter Premium (23.2.0), Node.js Remote Interpreter (232.10072.28), deep-js-completion (2020.06.22.001), Angular and AngularJS (232.10072.28), Properties (232.8660.88), Ideolog (222.1.0.0), FTP/SFTP/WebDAV Connectivity (232.10072.28), Vagrant (232.10072.28), Cucumber + (15.3.3), Key Promoter X (2023.2.0), Jenkins Pipeline Linter (0.6.0)]