File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

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
at org.apache.maven.surefire.testng.TestNGReporter.onTestFailure(
at org.testng.internal.Invoker.runTestListeners(
at org.testng.internal.Invoker.runTestListeners(
at org.testng.internal.Invoker.handleConfigurationFailure(
at org.testng.internal.Invoker.invokeConfigurations(
at org.testng.SuiteRunner.privateRun(
at org.testng.TestNG.createAndRunSuiteRunners(
at org.testng.TestNG.runSuitesLocally(
at org.apache.maven.surefire.testng.TestNGExecutor.executeTestNG(
at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(
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(
at org.apache.maven.surefire.booter.SurefireBooter.main(

What can be the reason for this.
I agree. Here's the link:
subject: Exception in Spring maven app
It's not a secret anymore!