[jboss-dev-forums] [Design of POJO Server] - No Security Context regression
scott.stark@jboss.org
do-not-reply at jboss.com
Wed Jun 11 16:32:52 EDT 2008
Tests that were working this morning before updating trunk are now failing with the following exception. There is not security setup to check so there should be no such assertion in the client side interceptor.
| java.lang.RuntimeException: No Security Context
| at org.jboss.aspects.security.SecurityActions$2.run(SecurityActions.java:131)
| at org.jboss.aspects.security.SecurityActions$2.run(SecurityActions.java:127)
| at java.security.AccessController.doPrivileged(Native Method)
| at org.jboss.aspects.security.SecurityActions.getPrincipal(SecurityActions.java:125)
| at org.jboss.aspects.security.SecurityClientInterceptor.invoke(SecurityClientInterceptor.java:49)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
| at AOPProxy$0.getViewManager(AOPProxy$0.java)
| at org.jboss.test.profileservice.test.AbstractProfileServiceTest.getManagementView(AbstractProfileServiceTest.java:147)
| at org.jboss.test.profileservice.test.ProfileServiceUnitTestCase.testSarDeploymentType(ProfileServiceUnitTestCase.java:244)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at junit.framework.TestCase.runTest(TestCase.java:154)
| at junit.framework.TestCase.runBare(TestCase.java:127)
| at junit.framework.TestResult$1.protect(TestResult.java:106)
| at junit.framework.TestResult.runProtected(TestResult.java:124)
| at junit.framework.TestResult.run(TestResult.java:109)
| at junit.framework.TestCase.run(TestCase.java:118)
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4157496#4157496
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4157496
More information about the jboss-dev-forums
mailing list