question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Argument for @NotNull parameter 'path' of fr/adrienbrault/idea/symfony2plugin/templating/path/TwigPath

See original GitHub issue

I updated PhpStorm and plugin has crashed.

PhpStorm 2017.3.1 Build #PS-173.3942.32, built on December 12, 2017 Licensed to imsxm.com

JRE: 1.8.0_152-release-1024-b8 x86_64 JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o Mac OS X 10.13.2

Argument for @NotNull parameter 'path' of fr/adrienbrault/idea/symfony2plugin/templating/path/TwigPath.<init> must not be null
java.lang.IllegalArgumentException: Argument for @NotNull parameter 'path' of fr/adrienbrault/idea/symfony2plugin/templating/path/TwigPath.<init> must not be null
	at fr.adrienbrault.idea.symfony2plugin.templating.path.TwigPath.$$$reportNull$$$0(TwigPath.java)
	at fr.adrienbrault.idea.symfony2plugin.templating.path.TwigPath.<init>(TwigPath.java)
	at fr.adrienbrault.idea.symfony2plugin.TwigHelper.getTwigNamespaces(TwigHelper.java:628)
	at fr.adrienbrault.idea.symfony2plugin.TwigHelper.getTwigNamespaces(TwigHelper.java:597)
	at fr.adrienbrault.idea.symfony2plugin.TwigHelper.getTemplatePsiElements(TwigHelper.java:259)
	at fr.adrienbrault.idea.symfony2plugin.templating.TemplateReference.multiResolve(TemplateReference.java:36)
	at com.intellij.psi.impl.source.resolve.reference.impl.PsiMultiReference.resolves(PsiMultiReference.java:52)
	at com.intellij.psi.impl.source.resolve.reference.impl.PsiMultiReference.lambda$static$0(PsiMultiReference.java:36)
	at java.util.TimSort.countRunAndMakeAscending(TimSort.java:355)
	at java.util.TimSort.sort(TimSort.java:220)
	at java.util.Arrays.sort(Arrays.java:1438)
	at com.intellij.psi.impl.source.resolve.reference.impl.PsiMultiReference.chooseReference(PsiMultiReference.java:72)
	at com.intellij.psi.impl.source.resolve.reference.impl.PsiMultiReference.getCanonicalText(PsiMultiReference.java:135)
	at com.jetbrains.php.codeInsight.PhpTargetElementEvaluator.getElementByReference(PhpTargetElementEvaluator.java:33)
	at com.jetbrains.php.codeInsight.PhpTargetElementEvaluator.getElementByReference(PhpTargetElementEvaluator.java:24)
	at com.intellij.codeInsight.TargetElementUtil.b(TargetElementUtil.java:384)
	at com.intellij.codeInsight.TargetElementUtil.a(TargetElementUtil.java:366)
	at com.intellij.codeInsight.TargetElementUtil.a(TargetElementUtil.java:236)
	at com.intellij.codeInsight.TargetElementUtil.findTargetElement(TargetElementUtil.java:208)
	at com.intellij.codeInsight.daemon.impl.IdentifierHighlighterPass.doCollectInformation(IdentifierHighlighterPass.java:92)
	at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:70)
	at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.d(PassExecutorService.java:437)
	at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1127)
	at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.b(PassExecutorService.java:430)
	at com.intellij.openapi.progress.impl.CoreProgressManager.a(CoreProgressManager.java:543)
	at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:488)
	at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:94)
	at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.a(PassExecutorService.java:429)
	at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.c(PassExecutorService.java:405)
	at com.intellij.openapi.application.impl.ReadMostlyRWLock.executeByImpatientReader(ReadMostlyRWLock.java:143)
	at com.intellij.openapi.application.impl.ApplicationImpl.executeByImpatientReader(ApplicationImpl.java:229)
	at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:403)
	at com.intellij.concurrency.JobLauncherImpl$VoidForkJoinTask$1.exec(JobLauncherImpl.java:170)
	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)

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:10 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
slowprogcommented, Dec 19, 2018

@Haehnchen Is it possible to implement support for multiple Symfony-projects for monorepos?

1reaction
slowprogcommented, Dec 13, 2017

I understood. I had two projects open and the plugin did not understand with which to work. My Bad.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Error:Argument for @NotNull parameter 'path' of org/jetbrains ...
When I click change select 1.8 i recive this error "Error:Argument for @NotNull parameter 'path' of org/jetbrains/idea/svn/dialogs/SvnFormatWorker.
Read more >
Using @NotNull on a Method Parameter - Baeldung
A guide to using @NotNull on method parameters. ... One way we can protect our code is to add annotations such as @NotNull...
Read more >
Using NotNull Annotation in method argument - java
A variable (like fields, local variables, and parameters) cannot should not hold null value ... A good way of using @NotNull would be...
Read more >
Getting an "Argument for @NotNull parameter ... - Bitbucket
I just updated to version 1.8.0.9-idea14 this morning and since then every time I save a file I am seeing an "Argument for...
Read more >
Error in SonarLint for IntelliJ: "Argument for @NotNull ...
SonarLint version=4.5.0.15320. java.lang.IllegalArgumentException: Argument for @NotNull parameter 'module' of com/intellij/openapi/roots/ ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found