java - NullPointerException on NamespaceManager access -


what reasons namespacemanager.get() throw nullpointerexception.

can me identify possible reason(s) namespacemanager null , get() throw npe?

this junit test code:

@contextconfiguration(locations = { "classpath:service/client-config.xml" }) @runwith(springjunit4classrunner.class) public class mydaotest {     private final localservicetesthelper helper =             new localservicetesthelper(new localdatastoreservicetestconfig()                 .setdefaulthighrepjobpolicyunappliedjobpercentage(0));               @before     public void setup() {         helper.setup();     }     @after     public void teardown() {         helper.teardown();     }        @test     public void test() {     }    } 

basically, client-config.xml configured <mvc:annotation-driven />


Comments

Popular posts from this blog

user interface - Python attempting to create a simple gui, getting "AttributeError: 'MainMenu' object has no attribute 'intro_screen'" -

jquery - Common JavaScript snippet to share files on Google Drive, Dropbox, Box.net or SkyDrive -

Android Gson.fromJson error -