Hi,

All of a sudden I have started to get 4 failed tests when I run mvn
jetty:run-war

Tests in error:
  testExecute(org.appfuse.webapp.action.SignupActionTest)
  testAddExistingUser(org.appfuse.service.UserExistsExceptionTest)
  testSave(org.appfuse.webapp.action.UserActionTest)
  testSaveConflictingUser(org.appfuse.webapp.action.UserActionTest)

Tests run: 66, Failures: 0, Errors: 4, Skipped: 0

They all start with:
java.lang.NullPointerException
at org.appfuse.service.UserSecurityAdvice.before(UserSecurityAdvice.java:54)
at
org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:49)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at
org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at
org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)

I am not aware of making any change that could result in this, also when I
run the tests in eclipse they successfully finish

When I start the application with:
mvn jetty:run-war -Dmaven.test.skip=true
it starts successfully and I don't get any errors, signing in both as admin
and regular user or signing up a new user.

Does anyone have a clue of what could be causing this?

best regards,
Magnus

Reply via email to