pbyrne84 / DynamicReturnTypePlugin

135 stars 7 forks source link

Java Exception: _parameterValueFormatter cannot be null #72

Open act28 opened 7 years ago

act28 commented 7 years ago
_parameterValueFormatter cannot be null
java.lang.RuntimeException: _parameterValueFormatter cannot be null
    at com.ptby.dynamicreturntypeplugin.signature_processingv2.ChainedSignatureProcessor$FunctionConfiguration.parameterValueFormatter(ChainedSignatureProcessor.kt:95)
    at com.ptby.dynamicreturntypeplugin.signature_processingv2.SingleCallSignatureProcessor.processFunction(SingleCallSignatureProcessor.kt:64)
    at com.ptby.dynamicreturntypeplugin.signature_processingv2.SingleCallSignatureProcessor.getParameterFormatterForSignature(SingleCallSignatureProcessor.kt:22)
    at com.ptby.dynamicreturntypeplugin.signature_processingv2.ChainedSignatureProcessor.parseSignature(ChainedSignatureProcessor.kt:27)
    at com.ptby.dynamicreturntypeplugin.signature_processingv2.GetBySignature.getBySignature(GetBySignature.kt:23)
    at com.ptby.dynamicreturntypeplugin.DynamicReturnTypeProvider.getBySignature(DynamicReturnTypeProvider.kt:112)
    at com.jetbrains.php.PhpIndexImpl.getBySignatureInternal(PhpIndexImpl.java:550)
    at com.jetbrains.php.PhpIndexImpl.getBySignature(PhpIndexImpl.java:387)
    at com.jetbrains.php.PhpIndexImpl.completeType(PhpIndexImpl.java:146)
    at com.jetbrains.php.lang.psi.resolve.types.PhpType.global(PhpType.java:438)
    at com.jetbrains.php.PhpIndexImpl$1.internalCompute(PhpIndexImpl.java:99)
    at com.jetbrains.php.PhpIndexImpl$1.internalCompute(PhpIndexImpl.java:76)
    at com.intellij.openapi.util.Computable$NotNullCachedComputable.compute(Computable.java:56)
    at com.intellij.openapi.util.RecursionManager$2.doPreventingRecursion(RecursionManager.java:113)
    at com.jetbrains.php.PhpIndexImpl.completeThis(PhpIndexImpl.java:76)
    at com.jetbrains.php.lang.psi.resolve.types.PhpType.globalLocationAware(PhpType.java:412)
    at com.jetbrains.php.lang.psi.elements.impl.MemberReferenceImpl.resolveGlobal(MemberReferenceImpl.java:138)
    at com.jetbrains.php.lang.psi.elements.impl.MethodReferenceImpl.resolveGlobal(MethodReferenceImpl.java:84)
    at com.jetbrains.php.lang.psi.elements.impl.PhpReferenceImpl$1.resolve(PhpReferenceImpl.java:145)
    at com.jetbrains.php.lang.psi.elements.impl.PhpReferenceImpl$1.resolve(PhpReferenceImpl.java:142)
    at com.intellij.psi.impl.source.resolve.ResolveCache.lambda$resolve$0(ResolveCache.java:142)
    at com.intellij.openapi.util.RecursionManager$2.doPreventingRecursion(RecursionManager.java:113)
    at com.intellij.psi.impl.source.resolve.ResolveCache.resolve(ResolveCache.java:141)
    at com.intellij.psi.impl.source.resolve.ResolveCache.resolveWithCaching(ResolveCache.java:166)
    at com.intellij.psi.impl.source.resolve.ResolveCache.resolveWithCaching(ResolveCache.java:158)
    at com.jetbrains.php.lang.psi.elements.impl.PhpReferenceImpl.multiResolve(PhpReferenceImpl.java:137)
    at com.jetbrains.php.lang.psi.elements.impl.PhpReferenceImpl.resolve(PhpReferenceImpl.java:123)
    at com.jetbrains.php.ui.PhpParameterHintManager.<init>(PhpParameterHintManager.java:46)
    at com.jetbrains.php.ui.PhpInlayParameterHintsProvider.getParameterHints(PhpInlayParameterHintsProvider.kt:44)
    at com.intellij.codeInsight.hints.ParameterHintsPass.a(ParameterHintsPass.java:109)
    at com.intellij.codeInsight.hints.ParameterHintsPass.a(ParameterHintsPass.java:68)
    at java.lang.Iterable.forEach(Iterable.java:75)
    at com.intellij.codeInsight.hints.ParameterHintsPass.doCollectInformation(ParameterHintsPass.java:68)
    at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:70)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.a(PassExecutorService.java:438)
    at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1160)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.b(PassExecutorService.java:431)
    at com.intellij.openapi.progress.impl.CoreProgressManager.a(CoreProgressManager.java:548)
    at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:493)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:94)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.c(PassExecutorService.java:430)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.d(PassExecutorService.java:406)
    at com.intellij.openapi.application.impl.ReadMostlyRWLock.executeByImpatientReader(ReadMostlyRWLock.java:142)
    at com.intellij.openapi.application.impl.ApplicationImpl.executeByImpatientReader(ApplicationImpl.java:249)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:404)
    at com.intellij.concurrency.JobLauncherImpl$VoidForkJoinTask$1.exec(JobLauncherImpl.java:165)
    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)

PHPStorm 2017.2.4 Build #PS-172.4155.41