java.lang.IllegalStateException: Unknown literal: PsiErrorElement:'&', '^' or '|' expected, got '".to_string(), None))); expect!(parse(&["mprovision' (`".to_string(), None))); expect!(parse(&["mprovision`)

GitHub | zummenix | 3 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Unknown literal Exception

    GitHub | 3 months ago | zummenix
    java.lang.IllegalStateException: Unknown literal: PsiErrorElement:'&', '^' or '|' expected, got '".to_string(), None))); expect!(parse(&["mprovision' (`".to_string(), None))); expect!(parse(&["mprovision`)
  2. 0

    NPE at com.intellij.lang.javascript.inspections.JSUnusedLocalSymbolsInspection$1.registerReferencedFromReference

    YouTrack | 2 years ago
    java.lang.ClassCastException: com.intellij.lang.javascript.psi.impl.JSExpressionStatementImpl cannot be cast to com.intellij.lang.javascript.psi.JSNamedElement
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalStateException

      Unknown literal: PsiErrorElement:'&', '^' or '|' expected, got '".to_string(), None))); expect!(parse(&["mprovision' (`".to_string(), None))); expect!(parse(&["mprovision`)

      at org.rust.lang.core.psi.RsLiteralKindKt.getKind()
    2. org.rust.lang
      RsLiteralKindKt.getKind
      1. org.rust.lang.core.psi.RsLiteralKindKt.getKind(RsLiteralKind.kt:103)
      1 frame
    3. org.rust.ide
      RsApproxConstantInspection$buildVisitor$1.visitLitExpr
      1. org.rust.ide.inspections.RsApproxConstantInspection$buildVisitor$1.visitLitExpr(RsApproxConstantInspection.kt:13)
      1 frame
    4. org.rust.lang
      RsLitExprImpl.accept
      1. org.rust.lang.core.psi.impl.RsLitExprImpl.accept(RsLitExprImpl.java:20)
      2. org.rust.lang.core.psi.impl.RsLitExprImpl.accept(RsLitExprImpl.java:24)
      2 frames
    5. IDEA
      ApplierCompleter.compute
      1. com.intellij.codeInspection.InspectionEngine.acceptElements(InspectionEngine.java:81)
      2. com.intellij.codeInspection.InspectionEngine.createVisitorAndAcceptElements(InspectionEngine.java:69)
      3. com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.runToolOnElements(LocalInspectionsPass.java:280)
      4. com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.lambda$visitPriorityElementsAndInit$3(LocalInspectionsPass.java:249)
      5. com.intellij.concurrency.ApplierCompleter.execAndForkSubTasks(ApplierCompleter.java:123)
      6. com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1055)
      7. com.intellij.concurrency.ApplierCompleter.lambda$wrapInReadActionAndIndicator$0(ApplierCompleter.java:96)
      8. com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:568)
      9. com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:519)
      10. com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:54)
      11. com.intellij.concurrency.ApplierCompleter.wrapInReadActionAndIndicator(ApplierCompleter.java:106)
      12. com.intellij.concurrency.ApplierCompleter.compute(ApplierCompleter.java:91)
      12 frames
    6. Java RT
      ForkJoinPool.invoke
      1. java.util.concurrent.CountedCompleter.exec(CountedCompleter.java:731)
      2. java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
      3. java.util.concurrent.ForkJoinPool$WorkQueue.pollAndExecCC(ForkJoinPool.java:1190)
      4. java.util.concurrent.ForkJoinPool.helpComplete(ForkJoinPool.java:1879)
      5. java.util.concurrent.ForkJoinPool.awaitJoin(ForkJoinPool.java:2045)
      6. java.util.concurrent.ForkJoinTask.doJoin(ForkJoinTask.java:390)
      7. java.util.concurrent.ForkJoinTask.join(ForkJoinTask.java:719)
      8. java.util.concurrent.ForkJoinPool.invoke(ForkJoinPool.java:2616)
      8 frames
    7. IDEA
      JobLauncherImpl$VoidForkJoinTask$1.exec
      1. com.intellij.concurrency.JobLauncherImpl.invokeConcurrentlyUnderProgress(JobLauncherImpl.java:61)
      2. com.intellij.concurrency.JobLauncher.invokeConcurrentlyUnderProgress(JobLauncher.java:57)
      3. com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.visitPriorityElementsAndInit(LocalInspectionsPass.java:251)
      4. com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.inspect(LocalInspectionsPass.java:222)
      5. com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.collectInformationWithProgress(LocalInspectionsPass.java:131)
      6. com.intellij.codeInsight.daemon.impl.ProgressableTextEditorHighlightingPass.doCollectInformation(ProgressableTextEditorHighlightingPass.java:82)
      7. com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:70)
      8. com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$null$0(PassExecutorService.java:433)
      9. com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1061)
      10. com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$doRun$1(PassExecutorService.java:426)
      11. com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:568)
      12. com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:519)
      13. com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:54)
      14. com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.doRun(PassExecutorService.java:425)
      15. com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:405)
      16. com.intellij.concurrency.JobLauncherImpl$VoidForkJoinTask$1.exec(JobLauncherImpl.java:155)
      16 frames
    8. Java RT
      ForkJoinWorkerThread.run
      1. java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
      2. java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056)
      3. java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692)
      4. java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157)
      4 frames