but when i execute my program i receive a NullPointerException at
recognizer is null because it's missing in your config file. The configuration manager fails to find recognizer component and returns null.
You need to make sure you have a proper config file
Is it possible it's a security issue?
No
i encountered a problem while following this tutorial to create
Instead of following some broken tutorial from the web you should better read official one:
http://cmusphinx.sourceforge.net/wiki/tutorial
to understand the basics. Also, you can use any demo from Sphinx4 which fits you needs instead of writing your own code as recommended by the blog author. This way you could reach your goals faster.