Comments (8)
Thanks for reporting the error. I'll look into it.
from idea-plugin-protobuf.
+1
from idea-plugin-protobuf.
+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.
+1
from idea-plugin-protobuf.
+1
from idea-plugin-protobuf.
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.
+1
from idea-plugin-protobuf.
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)
- Structure view does not work in Intellij 14 HOT 1
- Support with RubyMine HOT 3
- Proto3 Not Supported HOT 11
- Compile Not Working HOT 1
- Deletes sources HOT 2
- PyCharm support HOT 3
- The readme's link to Protocol Buffers' documentation is old HOT 1
- CLion support HOT 3
- Does not work on Android Studio v1.4
- intellij idea structure view, null excepetion. HOT 1
- New release HOT 15
- The latest version (v0.5.10) is not on jetbrains plugins repository HOT 1
- Proto3 Support HOT 5
- Plugin 'com.nmatveev.idea-plugin-protobuf' failed to initialize and will be disabled.
- Can't use map type?
- How is this supposed to work? HOT 2
- 0.5.10 not on plugins.jetbrains.com HOT 1
- does proto3 support?
- Not supported in IntelliJ 2017.1 HOT 4
- Imported proto file shows file not found
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from idea-plugin-protobuf.