NullPointerException at net.java.games.util.plugins.Plugins.scanPlugins

Hello.
I had dowanloaded sources from jinput.java.net; built it on linux with java 1.7.
libjinput-linux.so i’d copied to /usr/lib

When i connect jinput.jar to the project without any code - it crashes with:


Exception in thread "main" java.lang.NullPointerException
	at net.java.games.util.plugins.Plugins.scanPlugins(Plugins.java:78)
	at net.java.games.util.plugins.Plugins.<init>(Plugins.java:73)
	at net.java.games.util.plugins.test.PluginTest.<init>(PluginTest.java:85)
	at net.java.games.util.plugins.test.PluginTest.main(PluginTest.java:112)

What is wrong? :’(