You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I enabled the plugin in my PhpStorm project working on https://github.com/Behat/Symfony2Extension, which gives me autocompletion on places using the DI component (building of service definitions). However, I got a NullPointerException. I think it might be related to the fact that there is no dumped compiled container in the project. Here is the stack trace:
null keys not supported: null keys not supported
java.lang.NullPointerException: null keys not supported
at gnu.trove.THashMap.put(THashMap.java:162)
at com.intellij.util.indexing.ValueContainerImpl.a(ValueContainerImpl.java:66)
at com.intellij.util.indexing.ValueContainerImpl.addValue(ValueContainerImpl.java:55)
at com.intellij.util.indexing.ValueContainerMap$ValueContainerExternalizer.read(ValueContainerMap.java:121)
at com.intellij.util.indexing.ValueContainerMap$ValueContainerExternalizer.read(ValueContainerMap.java:66)
at com.intellij.util.io.PersistentHashMap.doGet(PersistentHashMap.java:427)
at com.intellij.util.io.PersistentHashMap.get(PersistentHashMap.java:398)
at com.intellij.util.indexing.MapIndexStorage$2$1.compute(MapIndexStorage.java:116)
at com.intellij.util.indexing.MapIndexStorage$2$1.compute(MapIndexStorage.java:104)
at com.intellij.util.indexing.ChangeTrackingValueContainer.a(ChangeTrackingValueContainer.java:117)
at com.intellij.util.indexing.ChangeTrackingValueContainer.getValueIterator(ChangeTrackingValueContainer.java:77)
at com.intellij.util.indexing.FileBasedIndexImpl$15.convert(FileBasedIndexImpl.java:980)
at com.intellij.util.indexing.FileBasedIndexImpl$15.convert(FileBasedIndexImpl.java:955)
at com.intellij.util.indexing.FileBasedIndexImpl.a(FileBasedIndexImpl.java:930)
at com.intellij.util.indexing.FileBasedIndexImpl.a(FileBasedIndexImpl.java:1001)
at com.intellij.util.indexing.FileBasedIndexImpl.getValues(FileBasedIndexImpl.java:871)
at fr.adrienbrault.idea.symfony2plugin.stubs.ContainerCollectionResolver$ParameterCollector.getParameters(ContainerCollectionResolver.java:320)
at fr.adrienbrault.idea.symfony2plugin.stubs.ContainerCollectionResolver$ParameterCollector.resolve(ContainerCollectionResolver.java:284)
at fr.adrienbrault.idea.symfony2plugin.stubs.ContainerCollectionResolver$ParameterCollector.access$100(ContainerCollectionResolver.java:249)
at fr.adrienbrault.idea.symfony2plugin.stubs.ContainerCollectionResolver$ServiceCollector.convertIndexToService(ContainerCollectionResolver.java:179)
at fr.adrienbrault.idea.symfony2plugin.stubs.ContainerCollectionResolver$ServiceCollector.getServices(ContainerCollectionResolver.java:153)
at fr.adrienbrault.idea.symfony2plugin.stubs.ContainerCollectionResolver$ServiceCollector.convertClassNameToServices(ContainerCollectionResolver.java:204)
at fr.adrienbrault.idea.symfony2plugin.stubs.ServiceIndexUtil.findServiceDefinitions(ServiceIndexUtil.java:72)
at fr.adrienbrault.idea.symfony2plugin.config.PhpClassServiceGotoDeclarationHandler.getGotoDeclarationTargets(PhpClassServiceGotoDeclarationHandler.java:23)
at com.intellij.codeInsight.navigation.actions.GotoDeclarationAction.findTargetElementsNoVS(GotoDeclarationAction.java:206)
at com.intellij.codeInsight.navigation.actions.GotoDeclarationAction.findAllTargetElements(GotoDeclarationAction.java:191)
at com.intellij.codeInsight.navigation.actions.GotoDeclarationAction.invoke(GotoDeclarationAction.java:80)
at com.intellij.codeInsight.actions.CodeInsightAction$1$1.run(CodeInsightAction.java:63)
at com.intellij.codeInsight.actions.CodeInsightAction$1.run(CodeInsightAction.java:70)
at com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:124)
at com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:99)
at com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:85)
at com.intellij.codeInsight.actions.CodeInsightAction.actionPerformedImpl(CodeInsightAction.java:55)
at com.intellij.codeInsight.actions.CodeInsightAction.actionPerformed(CodeInsightAction.java:41)
at com.intellij.openapi.keymap.impl.IdeMouseEventDispatcher.dispatchMouseEvent(IdeMouseEventDispatcher.java:220)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:519)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:335)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
The text was updated successfully, but these errors were encountered:
I enabled the plugin in my PhpStorm project working on https://github.com/Behat/Symfony2Extension, which gives me autocompletion on places using the DI component (building of service definitions). However, I got a NullPointerException. I think it might be related to the fact that there is no dumped compiled container in the project. Here is the stack trace:
The text was updated successfully, but these errors were encountered: