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

Error on opening pubspec.yaml in Intellij IDEA #18

Closed
LAPPIT opened this issue Oct 4, 2019 · 3 comments
Closed

Error on opening pubspec.yaml in Intellij IDEA #18

LAPPIT opened this issue Oct 4, 2019 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@LAPPIT
Copy link

LAPPIT commented Oct 4, 2019

What happened

Just opened pubspec.yaml and then this error occured. Has happened several times! I will disable this plugin for now.

Version information

IntelliJ IDEA 2019.2 • Flutter plugin io.flutter 39.0.4 • Dart plugin 192.6527

Error getting Flutter sdk information.

Exception

In file: file://C:/Users/Mariette/IdeaProjects/MinSockerbit/minsockerbit/pubspec.yaml

java.lang.IllegalArgumentException: Argument for @NotNull parameter 'elt' of com/intellij/codeInsight/daemon/impl/AnnotationHolderImpl.createInfoAnnotation must not be null
	at com.intellij.codeInsight.daemon.impl.AnnotationHolderImpl.$$$reportNull$$$0(AnnotationHolderImpl.java)
	at com.intellij.codeInsight.daemon.impl.AnnotationHolderImpl.createInfoAnnotation(AnnotationHolderImpl.java)
	at de.mariushoefler.flutter_enhancement_suite.editor.UrlAnnotator.annotate(UrlAnnotator.kt:39)
	at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.runAnnotators(DefaultHighlightVisitor.java:121)
	at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.visit(DefaultHighlightVisitor.java:86)
	at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.runVisitors(GeneralHighlightingPass.java:351)
	at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$collectHighlights$5(GeneralHighlightingPass.java:290)
	at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:311)
	at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$analyzeByVisitors$6(GeneralHighlightingPass.java:314)
	at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.analyze(DefaultHighlightVisitor.java:70)
	at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:314)
	at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.collectHighlights(GeneralHighlightingPass.java:281)
	at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.collectInformationWithProgress(GeneralHighlightingPass.java:225)
	at com.intellij.codeInsight.daemon.impl.ProgressableTextEditorHighlightingPass.doCollectInformation(ProgressableTextEditorHighlightingPass.java:84)
	at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:55)
	at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$null$1(PassExecutorService.java:429)
	at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1106)
	at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$doRun$2(PassExecutorService.java:422)
	at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:591)
	at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:537)
	at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:59)
	at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.doRun(PassExecutorService.java:421)
	at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$run$0(PassExecutorService.java:397)
	at com.intellij.openapi.application.impl.ReadMostlyRWLock.executeByImpatientReader(ReadMostlyRWLock.java:164)
	at com.intellij.openapi.application.impl.ApplicationImpl.executeByImpatientReader(ApplicationImpl.java:204)
	at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:395)
	at com.intellij.concurrency.JobLauncherImpl$VoidForkJoinTask$1.exec(JobLauncherImpl.java:161)
	at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:290)
	at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1020)
	at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1656)
	at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1594)
	at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:177)
@LAPPIT LAPPIT added the bug Something isn't working label Oct 4, 2019
@marius-h marius-h self-assigned this Oct 4, 2019
@marius-h
Copy link
Owner

marius-h commented Oct 4, 2019

Please try installing this version and report back to me if that fixed your issue.

To install it, go to the marketplace in IntelliJ and click on the three dots next to the "Installed" tab. Then, choose the option "Install plugin from disk" and select the zip-file which you just downloaded.

@LAPPIT
Copy link
Author

LAPPIT commented Oct 7, 2019 via email

@marius-h
Copy link
Owner

marius-h commented Oct 7, 2019

That's great to hear! I published a new version now publicly which should fix your issue for all users. Thanks again for reporting the issue and have fun coding :)

  • Marius

@marius-h marius-h closed this as completed Oct 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants