Argument for @NotNull parameter 'path' of fr/adrienbrault/idea/symfony2plugin/templating/path/TwigPath.
It is constantly thhrowing this exception. What can be done to solve it?
I think it is related to this. It started to throw error when I added a path to Twig config.

I encountered the same bug. Problem occurs when path starts with / (I'm using linux, not sure if windows has same problem with absolute paths). After saving there is an IDE plugin exception and added entry cannot be removed from settings window (just like on @vuras screenshot).
For now the only way to fix this is either remove added template from .idea/symfony2.xml file (looks like this: <twig_namespace custom="true" namespaceType="ADD_PATH" />, or set path propery by hand in the same place, f.ex. <twig_namespace custom="true" namespaceType="ADD_PATH" path="/var/www/project/templates" />.
Most helpful comment
I encountered the same bug. Problem occurs when path starts with
/(I'm using linux, not sure if windows has same problem with absolute paths). After saving there is an IDE plugin exception and added entry cannot be removed from settings window (just like on @vuras screenshot).For now the only way to fix this is either remove added template from
.idea/symfony2.xmlfile (looks like this:<twig_namespace custom="true" namespaceType="ADD_PATH" />, or setpathpropery by hand in the same place, f.ex.<twig_namespace custom="true" namespaceType="ADD_PATH" path="/var/www/project/templates" />.