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

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

delphi - Dynamic file type icon -