aspose file tools*
The moose likes Other Application Frameworks and the fly likes Exception in Spring maven app Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Bookmark "Exception in Spring maven app" Watch "Exception in Spring maven app" New topic
Author

Exception in Spring maven app

Pawanpreet Singh
Ranch Hand

Joined: Jun 12, 2005
Posts: 264

Hi Everyone,

I am building and testing a spring maven based application and while testing, i face this exception

org.apache.maven.surefire.booter.SurefireExecutionException: null; nested exception is java.lang.NullPointerException: n
ull
java.lang.NullPointerException
at org.apache.maven.surefire.report.AbstractTextReporter.testFailed(AbstractTextReporter.java:106)
at org.apache.maven.surefire.report.ReporterManager.testFailed(ReporterManager.java:299)
at org.apache.maven.surefire.report.ReporterManager.testFailed(ReporterManager.java:281)
at org.apache.maven.surefire.testng.TestNGReporter.onTestFailure(TestNGReporter.java:97)
at org.testng.internal.Invoker.runTestListeners(Invoker.java:1164)
at org.testng.internal.Invoker.runTestListeners(Invoker.java:1149)
at org.testng.internal.Invoker.handleConfigurationFailure(Invoker.java:191)
at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:170)
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:223)
at org.testng.SuiteRunner.run(SuiteRunner.java:145)
at org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:901)
at org.testng.TestNG.runSuitesLocally(TestNG.java:863)
at org.apache.maven.surefire.testng.TestNGExecutor.executeTestNG(TestNGExecutor.java:64)
at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:75)
at org.apache.maven.surefire.Surefire.run(Surefire.java:129)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:225)
at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:747)

What can be the reason for this.
 
 
subject: Exception in Spring maven app