Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NoSuchMethodError in IDEA 2016.2 EAP #225

Closed
ohlle opened this issue May 17, 2016 · 7 comments
Closed

NoSuchMethodError in IDEA 2016.2 EAP #225

ohlle opened this issue May 17, 2016 · 7 comments
Labels
Milestone

Comments

@ohlle
Copy link

ohlle commented May 17, 2016

I'm getting the following stacktrace in IDEA 2016.2 EAP.

com.intellij.util.containers.ContainerUtil.intersection(Ljava/util/Collection;Ljava/util/Collection;)Ljava/util/Collection;
java.lang.NoSuchMethodError: com.intellij.util.containers.ContainerUtil.intersection(Ljava/util/Collection;Ljava/util/Collection;)Ljava/util/Collection;
    at mobi.hsz.idea.gitignore.codeInspection.IgnoreCoverEntryInspection$2.visitEntry(IgnoreCoverEntryInspection.java:153)
    at mobi.hsz.idea.gitignore.psi.IgnoreVisitor.visitEntryFile(IgnoreVisitor.java:19)
    at mobi.hsz.idea.gitignore.psi.impl.IgnoreEntryFileImpl.accept(IgnoreEntryFileImpl.java:20)
    at com.intellij.psi.impl.source.tree.SharedImplUtil.acceptChildren(SharedImplUtil.java:200)
    at com.intellij.psi.impl.source.PsiFileImpl.acceptChildren(PsiFileImpl.java:822)
    at mobi.hsz.idea.gitignore.codeInspection.IgnoreCoverEntryInspection.checkFile(IgnoreCoverEntryInspection.java:144)
    at com.intellij.codeInspection.LocalInspectionTool$1.visitFile(LocalInspectionTool.java:156)
    at mobi.hsz.idea.gitignore.psi.IgnoreFile.accept(IgnoreFile.java:120)
    at com.intellij.codeInspection.InspectionEngine.acceptElements(InspectionEngine.java:81)
    at com.intellij.codeInspection.InspectionEngine.createVisitorAndAcceptElements(InspectionEngine.java:69)
    at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.a(LocalInspectionsPass.java:294)
    at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.access$200(LocalInspectionsPass.java:73)
    at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass$2.process(LocalInspectionsPass.java:261)
    at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass$2.process(LocalInspectionsPass.java:256)
    at com.intellij.concurrency.ApplierCompleter.c(ApplierCompleter.java:123)
    at com.intellij.concurrency.ApplierCompleter.b(ApplierCompleter.java:212)
    at com.intellij.concurrency.ApplierCompleter.c(ApplierCompleter.java:141)
    at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1063)
    at com.intellij.concurrency.ApplierCompleter.a(ApplierCompleter.java:96)
    at com.intellij.openapi.progress.impl.CoreProgressManager.a(CoreProgressManager.java:472)
    at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:421)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:54)
    at com.intellij.concurrency.ApplierCompleter.b(ApplierCompleter.java:106)
    at com.intellij.concurrency.ApplierCompleter.compute(ApplierCompleter.java:91)
    at java.util.concurrent.CountedCompleter.exec(CountedCompleter.java:731)
    at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
    at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056)
    at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692)
    at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157)
@hsz hsz added the bug label May 17, 2016
@hsz hsz added this to the 1.3.4 milestone May 17, 2016
@hsz
Copy link
Member

hsz commented May 17, 2016

@ohlle Thank you for reporting this issue. What exacly IDE build and plugin version do you have ?

@ohlle
Copy link
Author

ohlle commented May 17, 2016

@hsz
IntelliJ IDEA 2016.2 EAP
Build #IU-162.74.16, built on May 13, 2016
JRE: 1.8.0_76-release-b66 amd64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o

.ignore
Version: 1.3.3

@bountin
Copy link

bountin commented May 17, 2016

Same issue on a mac with a simple .dockerignore (see below)

IntelliJ IDEA 2016.2 EAP
Build #IU-162.74.16, built on May 13, 2016
IntelliJ IDEA EAP User
Expiration date: June 12, 2016
JRE: 1.8.0_76-release-b185 x86_64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
node_modules
config.json
database.json

@ohlle
Copy link
Author

ohlle commented May 17, 2016

Oh, I forgot to mention. I'm using Ubuntu 16.04.

@hsz
Copy link
Member

hsz commented May 19, 2016

@oliversalzburg @sheltonn @ohlle @bountin
Can you confirm that attached build fixes the problem ?
idea-gitignore-1.3.3.zip

@oliversalzburg
Copy link

@hsz Looks good

@ohlle
Copy link
Author

ohlle commented May 19, 2016

@hsz I'm unable to reproduce the error with the new version of the plugin. Thanks!

@hsz hsz closed this as completed May 21, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants