java.lang.NoSuchMethodError: com.intellij.codeInsight.completion.CompletionResultSet.addLookupAdvertisement(L java/lang/String;)V

GitHub | GoogleCodeExporter | 2 years 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

    Error when editing .sh files

    GitHub | 2 years ago | GoogleCodeExporter
    java.lang.NoSuchMethodError: com.intellij.codeInsight.completion.CompletionResultSet.addLookupAdvertisement(L java/lang/String;)V

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

      com.intellij.codeInsight.completion.CompletionResultSet.addLookupAdvertisement(L java/lang/String;)V

      at com.ansorgit.plugins.bash.editor.codecompletion.CommandNameCompletionProvider.addBashCompletions()
    2. com.ansorgit.plugins
      BashCompletionProvider.addCompletions
      1. com.ansorgit.plugins.bash.editor.codecompletion.CommandNameCompletionProvider.addBashCompletions(CommandNameCompletionProvider.java:111)
      2. com.ansorgit.plugins.bash.editor.codecompletion.BashCompletionProvider.addCompletions(BashCompletionProvider.java:49)
      2 frames
    3. IDEA
      ApplicationImpl$6.run
      1. com.intellij.codeInsight.completion.CompletionProvider.addCompletionVariants(CompletionProvider.java:36)
      2. com.intellij.codeInsight.completion.CompletionContributor.fillCompletionVariants(CompletionContributor.java:156)
      3. com.intellij.codeInsight.completion.CompletionService.getVariantsFromContributors(CompletionService.java:83)
      4. com.intellij.codeInsight.completion.CompletionService.performCompletion(CompletionService.java:114)
      5. com.intellij.codeInsight.completion.CodeCompletionHandlerBase$2$1$1.run(CodeCompletionHandlerBase.java:357)
      6. com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:918)
      7. com.intellij.codeInsight.completion.CodeCompletionHandlerBase$2$1.run(CodeCompletionHandlerBase.java:348)
      8. com.intellij.openapi.progress.impl.ProgressManagerImpl$2.run(ProgressManagerImpl.java:181)
      9. com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:221)
      10. com.intellij.openapi.progress.impl.ProgressManagerImpl.runProcess(ProgressManagerImpl.java:172)
      11. com.intellij.codeInsight.completion.CodeCompletionHandlerBase$2.run(CodeCompletionHandlerBase.java:344)
      12. com.intellij.openapi.application.impl.ApplicationImpl$6.run(ApplicationImpl.java:457)
      12 frames
    4. Java RT
      Thread.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
      2. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      3. java.util.concurrent.FutureTask.run(FutureTask.java:138)
      4. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      5. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      6. java.lang.Thread.run(Thread.java:680)
      6 frames
    5. IDEA
      ApplicationImpl$1$1.run
      1. com.intellij.openapi.application.impl.ApplicationImpl$1$1.run(ApplicationImpl.java:148)
      1 frame