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

python - How to create a legend for 3D bar in matplotlib? -

java - Multi-Label Document Classification -

php - Dynamic url re-writing using htaccess -