org.hibernate.LazyInitializationException: could not initialize proxy - no Session

Apereo Issues | Dan McCallum | 3 years ago
  1. 0

    Probably a regression from SSP-1387. Looks like our old problems with first-time launches of the SSP portlet are back, or something very similar is back. Specifically, if there is no existing {{person}} record for the current user, the portlet launch will create it, but then the app itself doesn't function because of a 500 error from {{/api/1/session/getAuthenticatedPerson}}. If you reload the page, everything works fine. From the logs: {noformat} DEV: 16:41:12.345 [uPortal-PortletExecutor-2-RENDER-[ssp]] DEBUG o.j.s.s.u.UPortalSecurityFilter - Setting up GrantedAutorities for user 'admin' -- [ROLE_PERSON_EARLY_ALERT_READ, ROLE_PERSON_GOAL_WRITE, ROLE_PERSON_JOURNAL_ENTRY_WRITE, ROLE_MY_GPS_TOOL, ROLE_PERSON_EARLY_ALERT_RESPONSE_WRITE, ROLE_API_KEY_READ, ROLE_PERSON_MAP_READ, ROLE_ACCOMMODATION_WRITE, ROLE_PERSON_LEGACY_REMARK_WRITE, ROLE_STUDENT_INTAKE_WRITE, ROLE_PERSON_PROGRAM_STATUS_WRITE, ROLE_PERSON_DOCUMENT_WRITE, ROLE_PERSON_JOURNAL_ENTRY_READ, ROLE_PERSON_EARLY_ALERT_WRITE, ROLE_PERSON_PROGRAM_STATUS_READ, ROLE_PERSON_CHALLENGE_READ, ROLE_PERSON_APPOINTMENT_DELETE, ROLE_PERSON_TASK_WRITE, ROLE_PERSON_APPOINTMENT_READ, ROLE_DATA_INDIVIDUALIZED_LEARNING_PLAN, ROLE_PERSON_LEGACY_REMARK_READ, ROLE_PERSON_TASK_READ, ROLE_PERSON_DELETE, ROLE_DATA_COUNSELING_SERVICES, ROLE_SELF_HELP_GUIDE_ADMIN_WRITE, ROLE_DATA_ENGLISH_SECOND_LANGAGE, ROLE_PERSON_CASELOAD_READ, ROLE_PERSON_READ, ROLE_PERSON_GOAL_READ, ROLE_DATA_STAFF, ROLE_DATA_EARLY_ALERT, ROLE_DATA_EVERYONE, ROLE_PERSON_STUDENT_DOCUMENT_WRITE, ROLE_PERSON_CHALLENGE_DELETE, ROLE_REFERENCE_READ, ROLE_DATA_DISABILITY, ROLE_PERSON_EARLY_ALERT_DELETE, ROLE_PERSON_INSTRUCTION_READ, ROLE_PERSON_DOCUMENT_READ, ROLE_DATA_DISPLACED_WORKERS, ROLE_PERSON_STUDENT_DOCUMENT_READ, ROLE_SELF_HELP_GUIDE_ADMIN_READ, ROLE_PERSON_JOURNAL_ENTRY_DELETE, ROLE_REPORT_READ, ROLE_REFERENCE_WRITE, ROLE_PERSON_TASK_DELETE, ROLE_DATA_ACADEMIC_RESOURCE_CENTER, ROLE_SELF_HELP_GUIDE_ADMIN_DELETE, ROLE_PERSON_GOAL_DELETE, ROLE_DATA_MANAGER, ROLE_PERSON_EARLY_ALERT_RESPONSE_DELETE, ROLE_PERSON_WRITE, ROLE_STUDENT_INTAKE_READ, ROLE_PERSON_MAP_WRITE, ROLE_PERSON_DOCUMENT_DELETE, ROLE_PERSON_EARLY_ALERT_RESPONSE_READ, ROLE_PERSON_SEARCH_READ, ROLE_PERSON_APPOINTMENT_WRITE, ROLE_PERSON_CHALLENGE_WRITE, ROLE_API_KEY_WRITE, ROLE_DATA_FAST_FORWARD, ROLE_ACCOMMODATION_READ, ROLE_PERSON_TRANSCRIPT_READ, ROLE_PERSON_TEST_READ] DEV: 16:41:12.404 [uPortal-PortletExecutor-2-RENDER-[ssp]] DEBUG o.j.s.s.u.UPortalSecurityFilter - Setting up GrantedAutorities for user 'admin' -- [ROLE_PERSON_EARLY_ALERT_READ, ROLE_PERSON_GOAL_WRITE, ROLE_PERSON_JOURNAL_ENTRY_WRITE, ROLE_MY_GPS_TOOL, ROLE_PERSON_EARLY_ALERT_RESPONSE_WRITE, ROLE_API_KEY_READ, ROLE_PERSON_MAP_READ, ROLE_ACCOMMODATION_WRITE, ROLE_PERSON_LEGACY_REMARK_WRITE, ROLE_STUDENT_INTAKE_WRITE, ROLE_PERSON_PROGRAM_STATUS_WRITE, ROLE_PERSON_DOCUMENT_WRITE, ROLE_PERSON_JOURNAL_ENTRY_READ, ROLE_PERSON_EARLY_ALERT_WRITE, ROLE_PERSON_PROGRAM_STATUS_READ, ROLE_PERSON_CHALLENGE_READ, ROLE_PERSON_APPOINTMENT_DELETE, ROLE_PERSON_TASK_WRITE, ROLE_PERSON_APPOINTMENT_READ, ROLE_DATA_INDIVIDUALIZED_LEARNING_PLAN, ROLE_PERSON_LEGACY_REMARK_READ, ROLE_PERSON_TASK_READ, ROLE_PERSON_DELETE, ROLE_DATA_COUNSELING_SERVICES, ROLE_SELF_HELP_GUIDE_ADMIN_WRITE, ROLE_DATA_ENGLISH_SECOND_LANGAGE, ROLE_PERSON_CASELOAD_READ, ROLE_PERSON_READ, ROLE_PERSON_GOAL_READ, ROLE_DATA_STAFF, ROLE_DATA_EARLY_ALERT, ROLE_DATA_EVERYONE, ROLE_PERSON_STUDENT_DOCUMENT_WRITE, ROLE_PERSON_CHALLENGE_DELETE, ROLE_REFERENCE_READ, ROLE_DATA_DISABILITY, ROLE_PERSON_EARLY_ALERT_DELETE, ROLE_PERSON_INSTRUCTION_READ, ROLE_PERSON_DOCUMENT_READ, ROLE_DATA_DISPLACED_WORKERS, ROLE_PERSON_STUDENT_DOCUMENT_READ, ROLE_SELF_HELP_GUIDE_ADMIN_READ, ROLE_PERSON_JOURNAL_ENTRY_DELETE, ROLE_REPORT_READ, ROLE_REFERENCE_WRITE, ROLE_PERSON_TASK_DELETE, ROLE_DATA_ACADEMIC_RESOURCE_CENTER, ROLE_SELF_HELP_GUIDE_ADMIN_DELETE, ROLE_PERSON_GOAL_DELETE, ROLE_DATA_MANAGER, ROLE_PERSON_EARLY_ALERT_RESPONSE_DELETE, ROLE_PERSON_WRITE, ROLE_STUDENT_INTAKE_READ, ROLE_PERSON_MAP_WRITE, ROLE_PERSON_DOCUMENT_DELETE, ROLE_PERSON_EARLY_ALERT_RESPONSE_READ, ROLE_PERSON_SEARCH_READ, ROLE_PERSON_APPOINTMENT_WRITE, ROLE_PERSON_CHALLENGE_WRITE, ROLE_API_KEY_WRITE, ROLE_DATA_FAST_FORWARD, ROLE_ACCOMMODATION_READ, ROLE_PERSON_TRANSCRIPT_READ, ROLE_PERSON_TEST_READ] DEV: 16:41:13.614 [http-8080-4] INFO o.j.ssp.security.UserDetailsService - Unable to load admin's record., creating user in ssp DEV: 16:41:13.616 [http-8080-4] DEBUG o.j.s.s.i.UPortalPersonAttributesService - Fetching attributes for user 'admin' DEV: 16:41:13.638 [http-8080-4] DEBUG o.j.s.s.i.UPortalPersonAttributesService - Retrieved the following attributes for user admin: {SSP_ROLES=[SSP_ADMINISTRATOR], uid=[admin], lastName=[Administrator], mail=[amy.administrator@university.edu], sn=[Administrator], alternateEmailAddress=[amy.webmaster@university.edu, amy.geologist@university.edu], user.login.id=[admin], department=[IT Services], primaryEmailAddress=[amy.administrator@university.edu], givenName=[Amy], title=[Portal Administrator], username=[admin], telephoneNumber=[(555) 555-5555], schoolId=[admin], firstName=[Amy], displayName=[Amy Administrator]} DEV: 16:41:13.638 [http-8080-4] DEBUG o.j.s.service.impl.PersonServiceImpl - Creating User Name: "Amy Administrator" Id: org.jasig.ssp.model.Person@c0000000 DEV: 16:41:13.654 [http-8080-4] DEBUG o.j.s.s.impl.SecurityServiceImpl - Using the No Authentication Admin User DEV: 16:41:13.714 [http-8080-4] DEBUG o.j.s.service.impl.PersonServiceImpl - User successfully created DEV: 16:41:13.742 [http-8080-4] DEBUG o.j.s.s.e.i.ExternalPersonServiceImpl - Skipping external data sync for person [id: ac104331-40a3-100e-8140-a340e4330000] [schoolId: admin] because there is no corresponding external record. DEV: 16:41:13.742 [http-8080-4] INFO o.j.s.service.impl.PersonServiceImpl - Successfully Created Account for admin DEV: 16:41:13.746 [http-8080-4] DEBUG o.j.ssp.security.UserDetailsService - Loaded User: org.jasig.ssp.security.SspUser@50867fd5: Username: admin; Password: [PROTECTED]; Enabled: true; AccountNonExpired: true; credentialsNonExpired: true; AccountNonLocked: true; Granted Authorities: ROLE_ACCOMMODATION_READ,ROLE_ACCOMMODATION_WRITE,ROLE_API_KEY_READ,ROLE_API_KEY_WRITE,ROLE_DATA_ACADEMIC_RESOURCE_CENTER,ROLE_DATA_COUNSELING_SERVICES,ROLE_DATA_DISABILITY,ROLE_DATA_DISPLACED_WORKERS,ROLE_DATA_EARLY_ALERT,ROLE_DATA_ENGLISH_SECOND_LANGAGE,ROLE_DATA_EVERYONE,ROLE_DATA_FAST_FORWARD,ROLE_DATA_INDIVIDUALIZED_LEARNING_PLAN,ROLE_DATA_MANAGER,ROLE_DATA_STAFF,ROLE_MY_GPS_TOOL,ROLE_PERSON_APPOINTMENT_DELETE,ROLE_PERSON_APPOINTMENT_READ,ROLE_PERSON_APPOINTMENT_WRITE,ROLE_PERSON_CASELOAD_READ,ROLE_PERSON_CHALLENGE_DELETE,ROLE_PERSON_CHALLENGE_READ,ROLE_PERSON_CHALLENGE_WRITE,ROLE_PERSON_DELETE,ROLE_PERSON_DOCUMENT_DELETE,ROLE_PERSON_DOCUMENT_READ,ROLE_PERSON_DOCUMENT_WRITE,ROLE_PERSON_EARLY_ALERT_DELETE,ROLE_PERSON_EARLY_ALERT_READ,ROLE_PERSON_EARLY_ALERT_RESPONSE_DELETE,ROLE_PERSON_EARLY_ALERT_RESPONSE_READ,ROLE_PERSON_EARLY_ALERT_RESPONSE_WRITE,ROLE_PERSON_EARLY_ALERT_WRITE,ROLE_PERSON_GOAL_DELETE,ROLE_PERSON_GOAL_READ,ROLE_PERSON_GOAL_WRITE,ROLE_PERSON_INSTRUCTION_READ,ROLE_PERSON_JOURNAL_ENTRY_DELETE,ROLE_PERSON_JOURNAL_ENTRY_READ,ROLE_PERSON_JOURNAL_ENTRY_WRITE,ROLE_PERSON_LEGACY_REMARK_READ,ROLE_PERSON_LEGACY_REMARK_WRITE,ROLE_PERSON_MAP_READ,ROLE_PERSON_MAP_WRITE,ROLE_PERSON_PROGRAM_STATUS_READ,ROLE_PERSON_PROGRAM_STATUS_WRITE,ROLE_PERSON_READ,ROLE_PERSON_SEARCH_READ,ROLE_PERSON_STUDENT_DOCUMENT_READ,ROLE_PERSON_STUDENT_DOCUMENT_WRITE,ROLE_PERSON_TASK_DELETE,ROLE_PERSON_TASK_READ,ROLE_PERSON_TASK_WRITE,ROLE_PERSON_TEST_READ,ROLE_PERSON_TRANSCRIPT_READ,ROLE_PERSON_WRITE,ROLE_REFERENCE_READ,ROLE_REFERENCE_WRITE,ROLE_REPORT_READ,ROLE_SELF_HELP_GUIDE_ADMIN_DELETE,ROLE_SELF_HELP_GUIDE_ADMIN_READ,ROLE_SELF_HELP_GUIDE_ADMIN_WRITE,ROLE_STUDENT_INTAKE_READ,ROLE_STUDENT_INTAKE_WRITE DEV: 16:41:13.808 [http-8080-4] ERROR o.j.ssp.web.api.SessionController - Error: org.hibernate.LazyInitializationException: could not initialize proxy - no Session at org.hibernate.proxy.AbstractLazyInitializer.initialize(AbstractLazyInitializer.java:149) ~[hibernate-core-4.0.1.Final.jar:4.0.1.Final] at org.hibernate.proxy.AbstractLazyInitializer.getImplementation(AbstractLazyInitializer.java:195) ~[hibernate-core-4.0.1.Final.jar:4.0.1.Final] at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:185) ~[hibernate-core-4.0.1.Final.jar:4.0.1.Final] at org.jasig.ssp.model.Person_$$_javassist_55.getId(Person_$$_javassist_55.java) ~[Person.class:na] at org.jasig.ssp.transferobject.PersonLiteTO.<init>(PersonLiteTO.java:83) ~[PersonLiteTO.class:na] at org.jasig.ssp.transferobject.AbstractAuditableTO.from(AbstractAuditableTO.java:153) ~[AbstractAuditableTO.class:na] at org.jasig.ssp.transferobject.PersonTO.from(PersonTO.java:205) ~[PersonTO.class:na] at org.jasig.ssp.transferobject.PersonTO.from(PersonTO.java:63) ~[PersonTO.class:na] at org.jasig.ssp.factory.AbstractTOFactory.from(AbstractTOFactory.java:58) ~[AbstractTOFactory.class:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.6.0_37] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) ~[na:1.6.0_37] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) ~[na:1.6.0_37] at java.lang.reflect.Method.invoke(Method.java:597) ~[na:1.6.0_37] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:319) ~[spring-aop-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:196) ~[spring-aop-3.1.2.RELEASE.jar:3.1.2.RELEASE] at $Proxy348.from(Unknown Source) ~[na:na] at org.jasig.ssp.web.api.SessionController.getAuthenticatedPerson(SessionController.java:137) ~[SessionController.class:na] at org.jasig.ssp.web.api.SessionController$$FastClassByCGLIB$$112d51a8.invoke(<generated>) ~[cglib-2.2.2.jar:na] at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) ~[cglib-2.2.2.jar:na] at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:618) ~[spring-aop-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.jasig.ssp.web.api.SessionController$$EnhancerByCGLIB$$2f9cf218.getAuthenticatedPerson(<generated>) ~[cglib-2.2.2.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.6.0_37] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) ~[na:1.6.0_37] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) ~[na:1.6.0_37] at java.lang.reflect.Method.invoke(Method.java:597) ~[na:1.6.0_37] at org.springframework.web.method.support.InvocableHandlerMethod.invoke(InvocableHandlerMethod.java:213) ~[spring-web-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:126) ~[spring-web-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:96) ~[spring-webmvc-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:617) ~[spring-webmvc-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:578) ~[spring-webmvc-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:80) ~[spring-webmvc-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:923) ~[spring-webmvc-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:852) ~[spring-webmvc-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:882) ~[spring-webmvc-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:778) ~[spring-webmvc-3.1.2.RELEASE.jar:3.1.2.RELEASE] at javax.servlet.http.HttpServlet.service(HttpServlet.java:617) [servlet-api.jar:na] at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) [servlet-api.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) [catalina.jar:6.0.35] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:6.0.35] at org.jasig.ssp.security.uportal.KeepSessionAliveFilter.doFilter(KeepSessionAliveFilter.java:97) [KeepSessionAliveFilter.class:na] at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346) [spring-web-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:259) [spring-web-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [catalina.jar:6.0.35] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:6.0.35] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330) [spring-security-web-3.1.3.RELEASE.jar:3.1.3.RELEASE] at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:118) [spring-security-web-3.1.3.RELEASE.jar:3.1.3.RELEASE] at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:84) [spring-security-web-3.1.3.RELEASE.jar:3.1.3.RELEASE] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) [spring-security-web-3.1.3.RELEASE.jar:3.1.3.RELEASE] at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113) [spring-security-web-3.1.3.RELEASE.jar:3.1.3.RELEASE] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) [spring-security-web-3.1.3.RELEASE.jar:3.1.3.RELEASE] at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:113) [spring-security-web-3.1.3.RELEASE.jar:3.1.3.RELEASE] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) [spring-security-web-3.1.3.RELEASE.jar:3.1.3.RELEASE] at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:54) [spring-security-web-3.1.3.RELEASE.jar:3.1.3.RELEASE] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) [spring-security-web-3.1.3.RELEASE.jar:3.1.3.RELEASE] at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:45) [spring-security-web-3.1.3.RELEASE.jar:3.1.3.RELEASE] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) [spring-security-web-3.1.3.RELEASE.jar:3.1.3.RELEASE] at org.jasig.ssp.security.uportal.UPortalPreAuthenticatedProcessingFilter.doFilter(UPortalPreAuthenticatedProcessingFilter.java:98) [UPortalPreAuthenticatedProcessingFilter.class:na] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) [spring-security-web-3.1.3.RELEASE.jar:3.1.3.RELEASE] at org.springframework.security.oauth2.provider.authentication.OAuth2AuthenticationProcessingFilter.doFilter(OAuth2AuthenticationProcessingFilter.java:131) [spring-security-oauth2-1.0.5.RELEASE.jar:na] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) [spring-security-web-3.1.3.RELEASE.jar:3.1.3.RELEASE] at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87) [spring-security-web-3.1.3.RELEASE.jar:3.1.3.RELEASE] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) [spring-security-web-3.1.3.RELEASE.jar:3.1.3.RELEASE] at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:192) [spring-security-web-3.1.3.RELEASE.jar:3.1.3.RELEASE] at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:160) [spring-security-web-3.1.3.RELEASE.jar:3.1.3.RELEASE] at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346) [spring-web-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:259) [spring-web-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [catalina.jar:6.0.35] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:6.0.35] at org.jasig.ssp.security.uportal.RequestAndResponseAccessFilter.doFilter(RequestAndResponseAccessFilter.java:61) [RequestAndResponseAccessFilter.class:na] at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346) [spring-web-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:259) [spring-web-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [catalina.jar:6.0.35] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:6.0.35] at org.jasig.ssp.security.RequestCleanupServletFilter.doFilter(RequestCleanupServletFilter.java:40) [RequestCleanupServletFilter.class:na] at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346) [spring-web-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:259) [spring-web-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [catalina.jar:6.0.35] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:6.0.35] at org.springframework.orm.hibernate4.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:119) [spring-orm-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76) [spring-web-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [catalina.jar:6.0.35] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:6.0.35] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) [catalina.jar:6.0.35] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) [catalina.jar:6.0.35] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) [catalina.jar:6.0.35] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [catalina.jar:6.0.35] at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:615) [catalina.jar:6.0.35] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [catalina.jar:6.0.35] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293) [catalina.jar:6.0.35] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859) [tomcat-coyote.jar:6.0.35] at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:602) [tomcat-coyote.jar:6.0.35] at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489) [tomcat-coyote.jar:6.0.35] at java.lang.Thread.run(Thread.java:680) [na:1.6.0_37] {noformat} This was on my local SqlServer instance... haven't tried Postgres yet. Note that the error is different than when we've seen this in the past (SSP-397, SSP-588). The symptoms are a bit different too... the portlet does render now, it just can't look up the currently authenticated person. Interestingly, {{OpenSessionInViewFilter}} is still on the stack... so something else is closing the Hib {{Session}}?

    Apereo Issues | 3 years ago | Dan McCallum
    org.hibernate.LazyInitializationException: could not initialize proxy - no Session
  2. 0

    Probably a regression from SSP-1387. Looks like our old problems with first-time launches of the SSP portlet are back, or something very similar is back. Specifically, if there is no existing {{person}} record for the current user, the portlet launch will create it, but then the app itself doesn't function because of a 500 error from {{/api/1/session/getAuthenticatedPerson}}. If you reload the page, everything works fine. From the logs: {noformat} DEV: 16:41:12.345 [uPortal-PortletExecutor-2-RENDER-[ssp]] DEBUG o.j.s.s.u.UPortalSecurityFilter - Setting up GrantedAutorities for user 'admin' -- [ROLE_PERSON_EARLY_ALERT_READ, ROLE_PERSON_GOAL_WRITE, ROLE_PERSON_JOURNAL_ENTRY_WRITE, ROLE_MY_GPS_TOOL, ROLE_PERSON_EARLY_ALERT_RESPONSE_WRITE, ROLE_API_KEY_READ, ROLE_PERSON_MAP_READ, ROLE_ACCOMMODATION_WRITE, ROLE_PERSON_LEGACY_REMARK_WRITE, ROLE_STUDENT_INTAKE_WRITE, ROLE_PERSON_PROGRAM_STATUS_WRITE, ROLE_PERSON_DOCUMENT_WRITE, ROLE_PERSON_JOURNAL_ENTRY_READ, ROLE_PERSON_EARLY_ALERT_WRITE, ROLE_PERSON_PROGRAM_STATUS_READ, ROLE_PERSON_CHALLENGE_READ, ROLE_PERSON_APPOINTMENT_DELETE, ROLE_PERSON_TASK_WRITE, ROLE_PERSON_APPOINTMENT_READ, ROLE_DATA_INDIVIDUALIZED_LEARNING_PLAN, ROLE_PERSON_LEGACY_REMARK_READ, ROLE_PERSON_TASK_READ, ROLE_PERSON_DELETE, ROLE_DATA_COUNSELING_SERVICES, ROLE_SELF_HELP_GUIDE_ADMIN_WRITE, ROLE_DATA_ENGLISH_SECOND_LANGAGE, ROLE_PERSON_CASELOAD_READ, ROLE_PERSON_READ, ROLE_PERSON_GOAL_READ, ROLE_DATA_STAFF, ROLE_DATA_EARLY_ALERT, ROLE_DATA_EVERYONE, ROLE_PERSON_STUDENT_DOCUMENT_WRITE, ROLE_PERSON_CHALLENGE_DELETE, ROLE_REFERENCE_READ, ROLE_DATA_DISABILITY, ROLE_PERSON_EARLY_ALERT_DELETE, ROLE_PERSON_INSTRUCTION_READ, ROLE_PERSON_DOCUMENT_READ, ROLE_DATA_DISPLACED_WORKERS, ROLE_PERSON_STUDENT_DOCUMENT_READ, ROLE_SELF_HELP_GUIDE_ADMIN_READ, ROLE_PERSON_JOURNAL_ENTRY_DELETE, ROLE_REPORT_READ, ROLE_REFERENCE_WRITE, ROLE_PERSON_TASK_DELETE, ROLE_DATA_ACADEMIC_RESOURCE_CENTER, ROLE_SELF_HELP_GUIDE_ADMIN_DELETE, ROLE_PERSON_GOAL_DELETE, ROLE_DATA_MANAGER, ROLE_PERSON_EARLY_ALERT_RESPONSE_DELETE, ROLE_PERSON_WRITE, ROLE_STUDENT_INTAKE_READ, ROLE_PERSON_MAP_WRITE, ROLE_PERSON_DOCUMENT_DELETE, ROLE_PERSON_EARLY_ALERT_RESPONSE_READ, ROLE_PERSON_SEARCH_READ, ROLE_PERSON_APPOINTMENT_WRITE, ROLE_PERSON_CHALLENGE_WRITE, ROLE_API_KEY_WRITE, ROLE_DATA_FAST_FORWARD, ROLE_ACCOMMODATION_READ, ROLE_PERSON_TRANSCRIPT_READ, ROLE_PERSON_TEST_READ] DEV: 16:41:12.404 [uPortal-PortletExecutor-2-RENDER-[ssp]] DEBUG o.j.s.s.u.UPortalSecurityFilter - Setting up GrantedAutorities for user 'admin' -- [ROLE_PERSON_EARLY_ALERT_READ, ROLE_PERSON_GOAL_WRITE, ROLE_PERSON_JOURNAL_ENTRY_WRITE, ROLE_MY_GPS_TOOL, ROLE_PERSON_EARLY_ALERT_RESPONSE_WRITE, ROLE_API_KEY_READ, ROLE_PERSON_MAP_READ, ROLE_ACCOMMODATION_WRITE, ROLE_PERSON_LEGACY_REMARK_WRITE, ROLE_STUDENT_INTAKE_WRITE, ROLE_PERSON_PROGRAM_STATUS_WRITE, ROLE_PERSON_DOCUMENT_WRITE, ROLE_PERSON_JOURNAL_ENTRY_READ, ROLE_PERSON_EARLY_ALERT_WRITE, ROLE_PERSON_PROGRAM_STATUS_READ, ROLE_PERSON_CHALLENGE_READ, ROLE_PERSON_APPOINTMENT_DELETE, ROLE_PERSON_TASK_WRITE, ROLE_PERSON_APPOINTMENT_READ, ROLE_DATA_INDIVIDUALIZED_LEARNING_PLAN, ROLE_PERSON_LEGACY_REMARK_READ, ROLE_PERSON_TASK_READ, ROLE_PERSON_DELETE, ROLE_DATA_COUNSELING_SERVICES, ROLE_SELF_HELP_GUIDE_ADMIN_WRITE, ROLE_DATA_ENGLISH_SECOND_LANGAGE, ROLE_PERSON_CASELOAD_READ, ROLE_PERSON_READ, ROLE_PERSON_GOAL_READ, ROLE_DATA_STAFF, ROLE_DATA_EARLY_ALERT, ROLE_DATA_EVERYONE, ROLE_PERSON_STUDENT_DOCUMENT_WRITE, ROLE_PERSON_CHALLENGE_DELETE, ROLE_REFERENCE_READ, ROLE_DATA_DISABILITY, ROLE_PERSON_EARLY_ALERT_DELETE, ROLE_PERSON_INSTRUCTION_READ, ROLE_PERSON_DOCUMENT_READ, ROLE_DATA_DISPLACED_WORKERS, ROLE_PERSON_STUDENT_DOCUMENT_READ, ROLE_SELF_HELP_GUIDE_ADMIN_READ, ROLE_PERSON_JOURNAL_ENTRY_DELETE, ROLE_REPORT_READ, ROLE_REFERENCE_WRITE, ROLE_PERSON_TASK_DELETE, ROLE_DATA_ACADEMIC_RESOURCE_CENTER, ROLE_SELF_HELP_GUIDE_ADMIN_DELETE, ROLE_PERSON_GOAL_DELETE, ROLE_DATA_MANAGER, ROLE_PERSON_EARLY_ALERT_RESPONSE_DELETE, ROLE_PERSON_WRITE, ROLE_STUDENT_INTAKE_READ, ROLE_PERSON_MAP_WRITE, ROLE_PERSON_DOCUMENT_DELETE, ROLE_PERSON_EARLY_ALERT_RESPONSE_READ, ROLE_PERSON_SEARCH_READ, ROLE_PERSON_APPOINTMENT_WRITE, ROLE_PERSON_CHALLENGE_WRITE, ROLE_API_KEY_WRITE, ROLE_DATA_FAST_FORWARD, ROLE_ACCOMMODATION_READ, ROLE_PERSON_TRANSCRIPT_READ, ROLE_PERSON_TEST_READ] DEV: 16:41:13.614 [http-8080-4] INFO o.j.ssp.security.UserDetailsService - Unable to load admin's record., creating user in ssp DEV: 16:41:13.616 [http-8080-4] DEBUG o.j.s.s.i.UPortalPersonAttributesService - Fetching attributes for user 'admin' DEV: 16:41:13.638 [http-8080-4] DEBUG o.j.s.s.i.UPortalPersonAttributesService - Retrieved the following attributes for user admin: {SSP_ROLES=[SSP_ADMINISTRATOR], uid=[admin], lastName=[Administrator], mail=[amy.administrator@university.edu], sn=[Administrator], alternateEmailAddress=[amy.webmaster@university.edu, amy.geologist@university.edu], user.login.id=[admin], department=[IT Services], primaryEmailAddress=[amy.administrator@university.edu], givenName=[Amy], title=[Portal Administrator], username=[admin], telephoneNumber=[(555) 555-5555], schoolId=[admin], firstName=[Amy], displayName=[Amy Administrator]} DEV: 16:41:13.638 [http-8080-4] DEBUG o.j.s.service.impl.PersonServiceImpl - Creating User Name: "Amy Administrator" Id: org.jasig.ssp.model.Person@c0000000 DEV: 16:41:13.654 [http-8080-4] DEBUG o.j.s.s.impl.SecurityServiceImpl - Using the No Authentication Admin User DEV: 16:41:13.714 [http-8080-4] DEBUG o.j.s.service.impl.PersonServiceImpl - User successfully created DEV: 16:41:13.742 [http-8080-4] DEBUG o.j.s.s.e.i.ExternalPersonServiceImpl - Skipping external data sync for person [id: ac104331-40a3-100e-8140-a340e4330000] [schoolId: admin] because there is no corresponding external record. DEV: 16:41:13.742 [http-8080-4] INFO o.j.s.service.impl.PersonServiceImpl - Successfully Created Account for admin DEV: 16:41:13.746 [http-8080-4] DEBUG o.j.ssp.security.UserDetailsService - Loaded User: org.jasig.ssp.security.SspUser@50867fd5: Username: admin; Password: [PROTECTED]; Enabled: true; AccountNonExpired: true; credentialsNonExpired: true; AccountNonLocked: true; Granted Authorities: ROLE_ACCOMMODATION_READ,ROLE_ACCOMMODATION_WRITE,ROLE_API_KEY_READ,ROLE_API_KEY_WRITE,ROLE_DATA_ACADEMIC_RESOURCE_CENTER,ROLE_DATA_COUNSELING_SERVICES,ROLE_DATA_DISABILITY,ROLE_DATA_DISPLACED_WORKERS,ROLE_DATA_EARLY_ALERT,ROLE_DATA_ENGLISH_SECOND_LANGAGE,ROLE_DATA_EVERYONE,ROLE_DATA_FAST_FORWARD,ROLE_DATA_INDIVIDUALIZED_LEARNING_PLAN,ROLE_DATA_MANAGER,ROLE_DATA_STAFF,ROLE_MY_GPS_TOOL,ROLE_PERSON_APPOINTMENT_DELETE,ROLE_PERSON_APPOINTMENT_READ,ROLE_PERSON_APPOINTMENT_WRITE,ROLE_PERSON_CASELOAD_READ,ROLE_PERSON_CHALLENGE_DELETE,ROLE_PERSON_CHALLENGE_READ,ROLE_PERSON_CHALLENGE_WRITE,ROLE_PERSON_DELETE,ROLE_PERSON_DOCUMENT_DELETE,ROLE_PERSON_DOCUMENT_READ,ROLE_PERSON_DOCUMENT_WRITE,ROLE_PERSON_EARLY_ALERT_DELETE,ROLE_PERSON_EARLY_ALERT_READ,ROLE_PERSON_EARLY_ALERT_RESPONSE_DELETE,ROLE_PERSON_EARLY_ALERT_RESPONSE_READ,ROLE_PERSON_EARLY_ALERT_RESPONSE_WRITE,ROLE_PERSON_EARLY_ALERT_WRITE,ROLE_PERSON_GOAL_DELETE,ROLE_PERSON_GOAL_READ,ROLE_PERSON_GOAL_WRITE,ROLE_PERSON_INSTRUCTION_READ,ROLE_PERSON_JOURNAL_ENTRY_DELETE,ROLE_PERSON_JOURNAL_ENTRY_READ,ROLE_PERSON_JOURNAL_ENTRY_WRITE,ROLE_PERSON_LEGACY_REMARK_READ,ROLE_PERSON_LEGACY_REMARK_WRITE,ROLE_PERSON_MAP_READ,ROLE_PERSON_MAP_WRITE,ROLE_PERSON_PROGRAM_STATUS_READ,ROLE_PERSON_PROGRAM_STATUS_WRITE,ROLE_PERSON_READ,ROLE_PERSON_SEARCH_READ,ROLE_PERSON_STUDENT_DOCUMENT_READ,ROLE_PERSON_STUDENT_DOCUMENT_WRITE,ROLE_PERSON_TASK_DELETE,ROLE_PERSON_TASK_READ,ROLE_PERSON_TASK_WRITE,ROLE_PERSON_TEST_READ,ROLE_PERSON_TRANSCRIPT_READ,ROLE_PERSON_WRITE,ROLE_REFERENCE_READ,ROLE_REFERENCE_WRITE,ROLE_REPORT_READ,ROLE_SELF_HELP_GUIDE_ADMIN_DELETE,ROLE_SELF_HELP_GUIDE_ADMIN_READ,ROLE_SELF_HELP_GUIDE_ADMIN_WRITE,ROLE_STUDENT_INTAKE_READ,ROLE_STUDENT_INTAKE_WRITE DEV: 16:41:13.808 [http-8080-4] ERROR o.j.ssp.web.api.SessionController - Error: org.hibernate.LazyInitializationException: could not initialize proxy - no Session at org.hibernate.proxy.AbstractLazyInitializer.initialize(AbstractLazyInitializer.java:149) ~[hibernate-core-4.0.1.Final.jar:4.0.1.Final] at org.hibernate.proxy.AbstractLazyInitializer.getImplementation(AbstractLazyInitializer.java:195) ~[hibernate-core-4.0.1.Final.jar:4.0.1.Final] at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:185) ~[hibernate-core-4.0.1.Final.jar:4.0.1.Final] at org.jasig.ssp.model.Person_$$_javassist_55.getId(Person_$$_javassist_55.java) ~[Person.class:na] at org.jasig.ssp.transferobject.PersonLiteTO.<init>(PersonLiteTO.java:83) ~[PersonLiteTO.class:na] at org.jasig.ssp.transferobject.AbstractAuditableTO.from(AbstractAuditableTO.java:153) ~[AbstractAuditableTO.class:na] at org.jasig.ssp.transferobject.PersonTO.from(PersonTO.java:205) ~[PersonTO.class:na] at org.jasig.ssp.transferobject.PersonTO.from(PersonTO.java:63) ~[PersonTO.class:na] at org.jasig.ssp.factory.AbstractTOFactory.from(AbstractTOFactory.java:58) ~[AbstractTOFactory.class:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.6.0_37] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) ~[na:1.6.0_37] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) ~[na:1.6.0_37] at java.lang.reflect.Method.invoke(Method.java:597) ~[na:1.6.0_37] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:319) ~[spring-aop-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:196) ~[spring-aop-3.1.2.RELEASE.jar:3.1.2.RELEASE] at $Proxy348.from(Unknown Source) ~[na:na] at org.jasig.ssp.web.api.SessionController.getAuthenticatedPerson(SessionController.java:137) ~[SessionController.class:na] at org.jasig.ssp.web.api.SessionController$$FastClassByCGLIB$$112d51a8.invoke(<generated>) ~[cglib-2.2.2.jar:na] at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) ~[cglib-2.2.2.jar:na] at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:618) ~[spring-aop-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.jasig.ssp.web.api.SessionController$$EnhancerByCGLIB$$2f9cf218.getAuthenticatedPerson(<generated>) ~[cglib-2.2.2.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.6.0_37] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) ~[na:1.6.0_37] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) ~[na:1.6.0_37] at java.lang.reflect.Method.invoke(Method.java:597) ~[na:1.6.0_37] at org.springframework.web.method.support.InvocableHandlerMethod.invoke(InvocableHandlerMethod.java:213) ~[spring-web-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:126) ~[spring-web-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:96) ~[spring-webmvc-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:617) ~[spring-webmvc-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:578) ~[spring-webmvc-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:80) ~[spring-webmvc-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:923) ~[spring-webmvc-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:852) ~[spring-webmvc-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:882) ~[spring-webmvc-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:778) ~[spring-webmvc-3.1.2.RELEASE.jar:3.1.2.RELEASE] at javax.servlet.http.HttpServlet.service(HttpServlet.java:617) [servlet-api.jar:na] at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) [servlet-api.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) [catalina.jar:6.0.35] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:6.0.35] at org.jasig.ssp.security.uportal.KeepSessionAliveFilter.doFilter(KeepSessionAliveFilter.java:97) [KeepSessionAliveFilter.class:na] at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346) [spring-web-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:259) [spring-web-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [catalina.jar:6.0.35] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:6.0.35] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330) [spring-security-web-3.1.3.RELEASE.jar:3.1.3.RELEASE] at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:118) [spring-security-web-3.1.3.RELEASE.jar:3.1.3.RELEASE] at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:84) [spring-security-web-3.1.3.RELEASE.jar:3.1.3.RELEASE] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) [spring-security-web-3.1.3.RELEASE.jar:3.1.3.RELEASE] at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113) [spring-security-web-3.1.3.RELEASE.jar:3.1.3.RELEASE] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) [spring-security-web-3.1.3.RELEASE.jar:3.1.3.RELEASE] at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:113) [spring-security-web-3.1.3.RELEASE.jar:3.1.3.RELEASE] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) [spring-security-web-3.1.3.RELEASE.jar:3.1.3.RELEASE] at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:54) [spring-security-web-3.1.3.RELEASE.jar:3.1.3.RELEASE] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) [spring-security-web-3.1.3.RELEASE.jar:3.1.3.RELEASE] at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:45) [spring-security-web-3.1.3.RELEASE.jar:3.1.3.RELEASE] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) [spring-security-web-3.1.3.RELEASE.jar:3.1.3.RELEASE] at org.jasig.ssp.security.uportal.UPortalPreAuthenticatedProcessingFilter.doFilter(UPortalPreAuthenticatedProcessingFilter.java:98) [UPortalPreAuthenticatedProcessingFilter.class:na] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) [spring-security-web-3.1.3.RELEASE.jar:3.1.3.RELEASE] at org.springframework.security.oauth2.provider.authentication.OAuth2AuthenticationProcessingFilter.doFilter(OAuth2AuthenticationProcessingFilter.java:131) [spring-security-oauth2-1.0.5.RELEASE.jar:na] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) [spring-security-web-3.1.3.RELEASE.jar:3.1.3.RELEASE] at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87) [spring-security-web-3.1.3.RELEASE.jar:3.1.3.RELEASE] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) [spring-security-web-3.1.3.RELEASE.jar:3.1.3.RELEASE] at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:192) [spring-security-web-3.1.3.RELEASE.jar:3.1.3.RELEASE] at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:160) [spring-security-web-3.1.3.RELEASE.jar:3.1.3.RELEASE] at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346) [spring-web-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:259) [spring-web-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [catalina.jar:6.0.35] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:6.0.35] at org.jasig.ssp.security.uportal.RequestAndResponseAccessFilter.doFilter(RequestAndResponseAccessFilter.java:61) [RequestAndResponseAccessFilter.class:na] at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346) [spring-web-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:259) [spring-web-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [catalina.jar:6.0.35] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:6.0.35] at org.jasig.ssp.security.RequestCleanupServletFilter.doFilter(RequestCleanupServletFilter.java:40) [RequestCleanupServletFilter.class:na] at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346) [spring-web-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:259) [spring-web-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [catalina.jar:6.0.35] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:6.0.35] at org.springframework.orm.hibernate4.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:119) [spring-orm-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76) [spring-web-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [catalina.jar:6.0.35] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:6.0.35] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) [catalina.jar:6.0.35] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) [catalina.jar:6.0.35] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) [catalina.jar:6.0.35] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [catalina.jar:6.0.35] at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:615) [catalina.jar:6.0.35] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [catalina.jar:6.0.35] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293) [catalina.jar:6.0.35] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859) [tomcat-coyote.jar:6.0.35] at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:602) [tomcat-coyote.jar:6.0.35] at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489) [tomcat-coyote.jar:6.0.35] at java.lang.Thread.run(Thread.java:680) [na:1.6.0_37] {noformat} This was on my local SqlServer instance... haven't tried Postgres yet. Note that the error is different than when we've seen this in the past (SSP-397, SSP-588). The symptoms are a bit different too... the portlet does render now, it just can't look up the currently authenticated person. Interestingly, {{OpenSessionInViewFilter}} is still on the stack... so something else is closing the Hib {{Session}}?

    Apereo Issues | 3 years ago | Dan McCallum
    org.hibernate.LazyInitializationException: could not initialize proxy - no Session
  3. 0

    Getting "could not initialize proxy - no Session" despite the fact I'm using a @Transactional annotation

    Stack Overflow | 4 years ago | Dave
    org.hibernate.LazyInitializationException: could not initialize proxy - no Session
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    LazyInitializationException: could not initialize proxy - no Session in Spring and Hibernate

    Stack Overflow | 2 years ago | Juanjo
    org.hibernate.LazyInitializationException: could not initialize proxy - no Session
  6. 0

    Accessing an object's fields without an active session

    Stack Overflow | 4 years ago | Dave
    org.hibernate.LazyInitializationException: could not initialize proxy - no Session

  1. MoYapro 2 times, last 4 weeks ago
14 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. org.hibernate.LazyInitializationException

    could not initialize proxy - no Session

    at org.hibernate.proxy.AbstractLazyInitializer.initialize()
  2. Hibernate
    JavassistLazyInitializer.invoke
    1. org.hibernate.proxy.AbstractLazyInitializer.initialize(AbstractLazyInitializer.java:149)[hibernate-core-4.0.1.Final.jar:4.0.1.Final]
    2. org.hibernate.proxy.AbstractLazyInitializer.getImplementation(AbstractLazyInitializer.java:195)[hibernate-core-4.0.1.Final.jar:4.0.1.Final]
    3. org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:185)[hibernate-core-4.0.1.Final.jar:4.0.1.Final]
    3 frames
  3. org.jasig.ssp
    AbstractTOFactory.from
    1. org.jasig.ssp.model.Person_$$_javassist_55.getId(Person_$$_javassist_55.java)[Person.class:na]
    2. org.jasig.ssp.transferobject.PersonLiteTO.<init>(PersonLiteTO.java:83)[PersonLiteTO.class:na]
    3. org.jasig.ssp.transferobject.AbstractAuditableTO.from(AbstractAuditableTO.java:153)[AbstractAuditableTO.class:na]
    4. org.jasig.ssp.transferobject.PersonTO.from(PersonTO.java:205)[PersonTO.class:na]
    5. org.jasig.ssp.transferobject.PersonTO.from(PersonTO.java:63)[PersonTO.class:na]
    6. org.jasig.ssp.factory.AbstractTOFactory.from(AbstractTOFactory.java:58)[AbstractTOFactory.class:na]
    6 frames
  4. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.6.0_37]
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)[na:1.6.0_37]
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)[na:1.6.0_37]
    4. java.lang.reflect.Method.invoke(Method.java:597)[na:1.6.0_37]
    4 frames
  5. Spring AOP
    JdkDynamicAopProxy.invoke
    1. org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:319)[spring-aop-3.1.2.RELEASE.jar:3.1.2.RELEASE]
    2. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:196)[spring-aop-3.1.2.RELEASE.jar:3.1.2.RELEASE]
    2 frames
  6. Unknown
    $Proxy348.from
    1. $Proxy348.from(Unknown Source)[na:na]
    1 frame
  7. org.jasig.ssp
    SessionController$$FastClassByCGLIB$$112d51a8.invoke
    1. org.jasig.ssp.web.api.SessionController.getAuthenticatedPerson(SessionController.java:137)[SessionController.class:na]
    2. org.jasig.ssp.web.api.SessionController$$FastClassByCGLIB$$112d51a8.invoke(<generated>)[cglib-2.2.2.jar:na]
    2 frames
  8. IDEA
    MethodProxy.invoke
    1. net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)[cglib-2.2.2.jar:na]
    1 frame
  9. Spring AOP
    Cglib2AopProxy$DynamicAdvisedInterceptor.intercept
    1. org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:618)[spring-aop-3.1.2.RELEASE.jar:3.1.2.RELEASE]
    1 frame
  10. org.jasig.ssp
    SessionController$$EnhancerByCGLIB$$2f9cf218.getAuthenticatedPerson
    1. org.jasig.ssp.web.api.SessionController$$EnhancerByCGLIB$$2f9cf218.getAuthenticatedPerson(<generated>)[cglib-2.2.2.jar:na]
    1 frame
  11. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.6.0_37]
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)[na:1.6.0_37]
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)[na:1.6.0_37]
    4. java.lang.reflect.Method.invoke(Method.java:597)[na:1.6.0_37]
    4 frames
  12. Spring
    InvocableHandlerMethod.invokeForRequest
    1. org.springframework.web.method.support.InvocableHandlerMethod.invoke(InvocableHandlerMethod.java:213)[spring-web-3.1.2.RELEASE.jar:3.1.2.RELEASE]
    2. org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:126)[spring-web-3.1.2.RELEASE.jar:3.1.2.RELEASE]
    2 frames
  13. Spring MVC
    FrameworkServlet.doGet
    1. org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:96)[spring-webmvc-3.1.2.RELEASE.jar:3.1.2.RELEASE]
    2. org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:617)[spring-webmvc-3.1.2.RELEASE.jar:3.1.2.RELEASE]
    3. org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:578)[spring-webmvc-3.1.2.RELEASE.jar:3.1.2.RELEASE]
    4. org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:80)[spring-webmvc-3.1.2.RELEASE.jar:3.1.2.RELEASE]
    5. org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:923)[spring-webmvc-3.1.2.RELEASE.jar:3.1.2.RELEASE]
    6. org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:852)[spring-webmvc-3.1.2.RELEASE.jar:3.1.2.RELEASE]
    7. org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:882)[spring-webmvc-3.1.2.RELEASE.jar:3.1.2.RELEASE]
    8. org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:778)[spring-webmvc-3.1.2.RELEASE.jar:3.1.2.RELEASE]
    8 frames
  14. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:617)[servlet-api.jar:na]
    2. javax.servlet.http.HttpServlet.service(HttpServlet.java:717)[servlet-api.jar:na]
    2 frames
  15. Glassfish Core
    ApplicationFilterChain.doFilter
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)[catalina.jar:6.0.35]
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)[catalina.jar:6.0.35]
    2 frames
  16. org.jasig.ssp
    KeepSessionAliveFilter.doFilter
    1. org.jasig.ssp.security.uportal.KeepSessionAliveFilter.doFilter(KeepSessionAliveFilter.java:97)[KeepSessionAliveFilter.class:na]
    1 frame
  17. Spring
    DelegatingFilterProxy.doFilter
    1. org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)[spring-web-3.1.2.RELEASE.jar:3.1.2.RELEASE]
    2. org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:259)[spring-web-3.1.2.RELEASE.jar:3.1.2.RELEASE]
    2 frames
  18. Glassfish Core
    ApplicationFilterChain.doFilter
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)[catalina.jar:6.0.35]
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)[catalina.jar:6.0.35]
    2 frames
  19. Spring Security
    FilterChainProxy$VirtualFilterChain.doFilter
    1. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)[spring-security-web-3.1.3.RELEASE.jar:3.1.3.RELEASE]
    2. org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:118)[spring-security-web-3.1.3.RELEASE.jar:3.1.3.RELEASE]
    3. org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:84)[spring-security-web-3.1.3.RELEASE.jar:3.1.3.RELEASE]
    4. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)[spring-security-web-3.1.3.RELEASE.jar:3.1.3.RELEASE]
    5. org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113)[spring-security-web-3.1.3.RELEASE.jar:3.1.3.RELEASE]
    6. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)[spring-security-web-3.1.3.RELEASE.jar:3.1.3.RELEASE]
    7. org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:113)[spring-security-web-3.1.3.RELEASE.jar:3.1.3.RELEASE]
    8. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)[spring-security-web-3.1.3.RELEASE.jar:3.1.3.RELEASE]
    9. org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:54)[spring-security-web-3.1.3.RELEASE.jar:3.1.3.RELEASE]
    10. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)[spring-security-web-3.1.3.RELEASE.jar:3.1.3.RELEASE]
    11. org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:45)[spring-security-web-3.1.3.RELEASE.jar:3.1.3.RELEASE]
    12. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)[spring-security-web-3.1.3.RELEASE.jar:3.1.3.RELEASE]
    12 frames
  20. org.jasig.ssp
    UPortalPreAuthenticatedProcessingFilter.doFilter
    1. org.jasig.ssp.security.uportal.UPortalPreAuthenticatedProcessingFilter.doFilter(UPortalPreAuthenticatedProcessingFilter.java:98)[UPortalPreAuthenticatedProcessingFilter.class:na]
    1 frame
  21. Spring Security
    FilterChainProxy$VirtualFilterChain.doFilter
    1. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)[spring-security-web-3.1.3.RELEASE.jar:3.1.3.RELEASE]
    1 frame
  22. OAuth2 for Spring Security
    OAuth2AuthenticationProcessingFilter.doFilter
    1. org.springframework.security.oauth2.provider.authentication.OAuth2AuthenticationProcessingFilter.doFilter(OAuth2AuthenticationProcessingFilter.java:131)[spring-security-oauth2-1.0.5.RELEASE.jar:na]
    1 frame
  23. Spring Security
    FilterChainProxy.doFilter
    1. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)[spring-security-web-3.1.3.RELEASE.jar:3.1.3.RELEASE]
    2. org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87)[spring-security-web-3.1.3.RELEASE.jar:3.1.3.RELEASE]
    3. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)[spring-security-web-3.1.3.RELEASE.jar:3.1.3.RELEASE]
    4. org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:192)[spring-security-web-3.1.3.RELEASE.jar:3.1.3.RELEASE]
    5. org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:160)[spring-security-web-3.1.3.RELEASE.jar:3.1.3.RELEASE]
    5 frames
  24. Spring
    DelegatingFilterProxy.doFilter
    1. org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)[spring-web-3.1.2.RELEASE.jar:3.1.2.RELEASE]
    2. org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:259)[spring-web-3.1.2.RELEASE.jar:3.1.2.RELEASE]
    2 frames
  25. Glassfish Core
    ApplicationFilterChain.doFilter
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)[catalina.jar:6.0.35]
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)[catalina.jar:6.0.35]
    2 frames
  26. org.jasig.ssp
    RequestAndResponseAccessFilter.doFilter
    1. org.jasig.ssp.security.uportal.RequestAndResponseAccessFilter.doFilter(RequestAndResponseAccessFilter.java:61)[RequestAndResponseAccessFilter.class:na]
    1 frame
  27. Spring
    DelegatingFilterProxy.doFilter
    1. org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)[spring-web-3.1.2.RELEASE.jar:3.1.2.RELEASE]
    2. org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:259)[spring-web-3.1.2.RELEASE.jar:3.1.2.RELEASE]
    2 frames
  28. Glassfish Core
    ApplicationFilterChain.doFilter
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)[catalina.jar:6.0.35]
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)[catalina.jar:6.0.35]
    2 frames
  29. org.jasig.ssp
    RequestCleanupServletFilter.doFilter
    1. org.jasig.ssp.security.RequestCleanupServletFilter.doFilter(RequestCleanupServletFilter.java:40)[RequestCleanupServletFilter.class:na]
    1 frame
  30. Spring
    DelegatingFilterProxy.doFilter
    1. org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)[spring-web-3.1.2.RELEASE.jar:3.1.2.RELEASE]
    2. org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:259)[spring-web-3.1.2.RELEASE.jar:3.1.2.RELEASE]
    2 frames
  31. Glassfish Core
    ApplicationFilterChain.doFilter
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)[catalina.jar:6.0.35]
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)[catalina.jar:6.0.35]
    2 frames
  32. Spring ORM
    OpenSessionInViewFilter.doFilterInternal
    1. org.springframework.orm.hibernate4.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:119)[spring-orm-3.1.2.RELEASE.jar:3.1.2.RELEASE]
    1 frame
  33. Spring
    OncePerRequestFilter.doFilter
    1. org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)[spring-web-3.1.2.RELEASE.jar:3.1.2.RELEASE]
    1 frame
  34. Glassfish Core
    CoyoteAdapter.service
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)[catalina.jar:6.0.35]
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)[catalina.jar:6.0.35]
    3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)[catalina.jar:6.0.35]
    4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)[catalina.jar:6.0.35]
    5. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)[catalina.jar:6.0.35]
    6. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)[catalina.jar:6.0.35]
    7. org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:615)[catalina.jar:6.0.35]
    8. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)[catalina.jar:6.0.35]
    9. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)[catalina.jar:6.0.35]
    9 frames
  35. Grizzly HTTP
    JIoEndpoint$Worker.run
    1. org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)[tomcat-coyote.jar:6.0.35]
    2. org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:602)[tomcat-coyote.jar:6.0.35]
    3. org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)[tomcat-coyote.jar:6.0.35]
    3 frames
  36. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:680)[na:1.6.0_37]
    1 frame