Code Monkey home page Code Monkey logo

Comments (8)

tcripps avatar tcripps commented on July 24, 2024

Thanks for reporting the error. I'll look into it.

from idea-plugin-protobuf.

markkolich avatar markkolich commented on July 24, 2024

+1

from idea-plugin-protobuf.

rijnb avatar rijnb commented on July 24, 2024

+1

Here's my stack trace:
com.intellij.psi.impl.source.resolve.ResolveCache.resolveWithCaching(Lcom/intellij/psi/PsiReference;Lcom/intellij/psi/impl/source/resolve/ResolveCache$Resolver;ZZ)Lcom/intellij/psi/PsiElement;: com.intellij.psi.impl.source.resolve.ResolveCache.resolveWithCaching(Lcom/intellij/psi/PsiReference;Lcom/intellij/psi/impl/source/resolve/ResolveCache$Resolver;ZZ)Lcom/intellij/psi/PsiElement;
java.lang.NoSuchMethodError: com.intellij.psi.impl.source.resolve.ResolveCache.resolveWithCaching(Lcom/intellij/psi/PsiReference;Lcom/intellij/psi/impl/source/resolve/ResolveCache$Resolver;ZZ)Lcom/intellij/psi/PsiElement;
at protobuf.lang.psi.impl.reference.PbRefImpl.resolve(PbRefImpl.java:248)
at protobuf.annotator.PbAnnotator.visitRef(PbAnnotator.java:114)
at protobuf.lang.psi.impl.reference.PbRefImpl.accept(PbRefImpl.java:99)
at protobuf.annotator.PbAnnotator.annotate(PbAnnotator.java:38)
at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.a(DefaultHighlightVisitor.java:160)
at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.visit(DefaultHighlightVisitor.java:103)
at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass$5.run(GeneralHighlightingPass.java:312)
at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.a(GeneralHighlightingPass.java:397)
at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.access$300(GeneralHighlightingPass.java:64)
at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass$6.run(GeneralHighlightingPass.java:403)
at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.analyze(DefaultHighlightVisitor.java:87)
at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.a(GeneralHighlightingPass.java:400)
at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.access$300(GeneralHighlightingPass.java:64)
at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass$6.run(GeneralHighlightingPass.java:403)
at com.intellij.codeInsight.daemon.impl.RefCountHolder.analyze(RefCountHolder.java:318)
at com.intellij.codeInsight.daemon.impl.analysis.HighlightVisitorImpl.analyze(HighlightVisitorImpl.java:173)
at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.a(GeneralHighlightingPass.java:400)
at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.a(GeneralHighlightingPass.java:388)
at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.collectInformationWithProgress(GeneralHighlightingPass.java:230)
at com.intellij.codeInsight.daemon.impl.ProgressableTextEditorHighlightingPass.doCollectInformation(ProgressableTextEditorHighlightingPass.java:86)
at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:61)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass$1$1.run(PassExecutorService.java:380)
at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1154)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass$1.run(PassExecutorService.java:371)
at com.intellij.openapi.progress.ProgressManager.executeProcessUnderProgress(ProgressManager.java:209)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:212)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.a(PassExecutorService.java:368)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:344)
at com.intellij.concurrency.JobLauncherImpl$VoidForkJoinTask.exec(JobLauncherImpl.java:193)
at jsr166e.ForkJoinTask.doExec(ForkJoinTask.java:260)
at jsr166e.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:858)
at jsr166e.ForkJoinPool.scan(ForkJoinPool.java:1687)
at jsr166e.ForkJoinPool.runWorker(ForkJoinPool.java:1642)
at jsr166e.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:109)

from idea-plugin-protobuf.

1angerhans avatar 1angerhans commented on July 24, 2024

+1

from idea-plugin-protobuf.

skanjo avatar skanjo commented on July 24, 2024

+1

from idea-plugin-protobuf.

tcripps avatar tcripps commented on July 24, 2024

I've done a lot of digging. The non-generified method was removed from the ResolveCache class in commit: 181ae2e on 8/5/13. That seems like a while ago. I'm not sure if that would have made the cutoff for IDEA 13.0 or would have appeared in an update. It doesn't really matter in the end, though. Building against the 13 SDK seems to work, though I don't fully understand why. The previous version was built against 12 and it didn't exhibit the bug. Since 14 is almost out, I think this is an argument for changing the min version to 13.

from idea-plugin-protobuf.

chenleijava avatar chenleijava commented on July 24, 2024

+1

from idea-plugin-protobuf.

tcripps avatar tcripps commented on July 24, 2024

Thanks everyone for reporting the issue. Please install v0.5.7 of the plugin. It should address the problem. Happy coding.

from idea-plugin-protobuf.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.