I started  with a clean DB and let CAS create the registeredserviceimpl tables. 
When I try and create the first entry: 
https://dev.xxx.utah.edu/cas/services/j_acegi_cas_security_check.

I get the following trace: (Note that writes to com_audir_trail are working).  
Any ideas?

Thanks,

Bryan

Attributes: [ROLE_ADMIN]>
2012-05-17 11:50:40,600 DEBUG 
[org.springframework.security.web.access.intercept.FilterSecurityInterceptor] - 
<Previously Authenticated: 
org.springframework.security.cas.authentication.CasAuthenticationToken@3dd2b6b: 
Principal: org.springframework.security.core.userdetails.User@c252bccf: 
Username: u0519980; Password: [PROTECTED]; Enabled: true; AccountNonExpired: 
true; credentialsNonExpired: true; AccountNonLocked: true; Granted Authorities: 
ROLE_ADMIN; Credentials: [PROTECTED]; Authenticated: true; Details: 
org.springframework.security.web.authentication.WebAuthenticationDetails@0: 
RemoteIpAddress: 128.110.208.60; SessionId: 81E1BAC7C5626C5463E441ABC90C5514; 
Granted Authorities: ROLE_ADMIN Assertion: 
org.jasig.cas.client.validation.AssertionImpl@6d9b4e60 Credentials 
(Service/Proxy Ticket): ST-1-Rd5kD1vLCphtwOreZoTE-idm-1>
2012-05-17 11:50:40,601 DEBUG 
[org.springframework.security.access.vote.AffirmativeBased] - <Voter: 
org.springframework.security.access.vote.RoleVoter@48262730, returned: 1>
2012-05-17 11:50:40,601 DEBUG 
[org.springframework.security.web.access.intercept.FilterSecurityInterceptor] - 
<Authorization successful>
2012-05-17 11:50:40,601 DEBUG 
[org.springframework.security.web.access.intercept.FilterSecurityInterceptor] - 
<RunAsManager did not change Authentication object>
2012-05-17 11:50:40,601 DEBUG 
[org.springframework.security.web.FilterChainProxy] - </services/add.html?id= 
reached end of additional filter chain; proceeding with original chain>
2012-05-17 11:50:40,601 DEBUG 
[org.springframework.web.servlet.DispatcherServlet] - <DispatcherServlet with 
name 'cas' processing POST request for [/cas/services/add.html]>
2012-05-17 11:50:40,601 DEBUG 
[org.springframework.web.servlet.handler.SimpleUrlHandlerMapping] - <Mapping 
[/services/add.html] to HandlerExecutionChain with handler 
[org.jasig.cas.services.web.RegisteredServiceSimpleFormController@7a5d50c4] and 
1 interceptor>
2012-05-17 11:50:40,602 DEBUG [org.springframework.validation.DataBinder] - 
<DataBinder requires binding of required fields 
[description,serviceId,name,allowedToProxy,enabled,ssoEnabled,anonymousAccess,evaluationOrder]>
2012-05-17 11:50:40,606 DEBUG [org.springframework.validation.DataBinder] - 
<Field [id] has been removed from PropertyValues and will not be bound, because 
it has not been found in the list of allowed fields>
2012-05-17 11:50:40,612 DEBUG [org.springframework.validation.ValidationUtils] 
- <Invoking validator 
[org.jasig.cas.services.web.support.RegisteredServiceValidator@4bb17b4c]>
2012-05-17 11:50:40,613 DEBUG [org.springframework.validation.ValidationUtils] 
- <Validator found no errors>
2012-05-17 11:50:40,614 DEBUG 
[org.springframework.transaction.annotation.AnnotationTransactionAttributeSource]
 - <Adding transactional method 'save' with attribute: 
PROPAGATION_REQUIRED,ISOLATION_DEFAULT; ''>
2012-05-17 11:50:40,614 DEBUG 
[org.springframework.beans.factory.support.DefaultListableBeanFactory] - 
<Returning cached instance of singleton bean 'transactionManager'>
2012-05-17 11:50:40,614 DEBUG 
[org.springframework.orm.jpa.JpaTransactionManager] - <Creating new transaction 
with name [org.jasig.cas.services.DefaultServicesManagerImpl.save]: 
PROPAGATION_REQUIRED,ISOLATION_DEFAULT; ''>
2012-05-17 11:50:40,614 DEBUG 
[org.springframework.orm.jpa.JpaTransactionManager] - <Opened new EntityManager 
[org.hibernate.ejb.EntityManagerImpl@7115e166] for JPA transaction>
2012-05-17 11:50:40,615 DEBUG 
[org.springframework.orm.jpa.JpaTransactionManager] - <Exposing JPA transaction 
as JDBC transaction 
[org.springframework.orm.jpa.vendor.HibernateJpaDialect$HibernateConnectionHandle@44ce4dda]>
Hibernate: select hibernate_sequence.nextval from dual
2012-05-17 11:50:40,667 DEBUG 
[org.springframework.orm.jpa.JpaTransactionManager] - <Initiating transaction 
rollback>
2012-05-17 11:50:40,667 DEBUG 
[org.springframework.orm.jpa.JpaTransactionManager] - <Rolling back JPA 
transaction on EntityManager [org.hibernate.ejb.EntityManagerImpl@7115e166]>
2012-05-17 11:50:40,669 DEBUG 
[org.springframework.orm.jpa.JpaTransactionManager] - <Closing JPA 
EntityManager [org.hibernate.ejb.EntityManagerImpl@7115e166] after transaction>
2012-05-17 11:50:40,669 DEBUG 
[org.springframework.orm.jpa.EntityManagerFactoryUtils] - <Closing JPA 
EntityManager>
2012-05-17 11:50:40,670 DEBUG 
[org.springframework.web.servlet.DispatcherServlet] - <Could not complete 
request>
java.lang.NullPointerException
        at 
com.github.inspektr.audit.AuditTrailManagementAspect.executeAuditCode(AuditTrailManagementAspect.java:147)
        at 
com.github.inspektr.audit.AuditTrailManagementAspect.handleAuditTrail(AuditTrailManagementAspect.java:139)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:616)
        at 
org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:621)
        at 
org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:610)
        at 
org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:65)
        at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:161)
        at 
org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)
        at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
        at 
org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
        at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
        at 
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
        at $Proxy28.save(Unknown Source)
at 
org.jasig.cas.services.web.RegisteredServiceSimpleFormController.onSubmit(RegisteredServiceSimpleFormController.java:79)

-- 
You are currently subscribed to [email protected] as: 
[email protected]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user

Reply via email to