Error processing navigation template: /HeaderIncludes.vm, using module: VelocityNavigation

37 views
Skip to first unread message

hindex100

unread,
Sep 6, 2017, 10:40:17 AM9/6/17
to xnat_discussion

Hi XNAT team, 


We are running XNAT1.6.4. After restarting the Tomcat, it has the following errors:  


 cat turbine.log

 ERROR org.apache.turbine.util.template.TemplateNavigation - Error processing navigation template: /HeaderIncludes.vm, using module: VelocityNavigation

org.apache.turbine.util.TurbineException: Error rendering Velocity template: navigations//HeaderIncludes.vm

at org.apache.turbine.services.velocity.TurbineVelocityService.renderingError(TurbineVelocityService.java:471)

at org.apache.turbine.services.velocity.TurbineVelocityService.handleRequest(TurbineVelocityService.java:287)

at org.apache.turbine.services.velocity.TurbineVelocity.handleRequest(TurbineVelocity.java:71)

at org.apache.turbine.modules.navigations.VelocityNavigation.buildTemplate(VelocityNavigation.java:100)

at org.apache.turbine.modules.navigations.TemplateNavigation.doBuild(TemplateNavigation.java:66)

at org.apache.turbine.modules.Navigation.build(Navigation.java:57)

at org.apache.turbine.modules.NavigationLoader.eval(NavigationLoader.java:104)

at org.apache.turbine.util.template.TemplateNavigation.toString(TemplateNavigation.java:106)

at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:321)

at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:271)

at org.apache.velocity.Template.merge(Template.java:296)

at org.apache.velocity.app.Velocity.mergeTemplate(Velocity.java:492)

at org.apache.velocity.app.Velocity.mergeTemplate(Velocity.java:461)

at org.apache.turbine.services.velocity.TurbineVelocityService.executeRequest(TurbineVelocityService.java:415)

at org.apache.turbine.services.velocity.TurbineVelocityService.handleRequest(TurbineVelocityService.java:281)

at org.apache.turbine.services.velocity.TurbineVelocity.handleRequest(TurbineVelocity.java:71)

at org.apache.turbine.modules.navigations.VelocityNavigation.buildTemplate(VelocityNavigation.java:100)

at org.apache.turbine.modules.navigations.TemplateNavigation.doBuild(TemplateNavigation.java:66)

at org.apache.turbine.modules.Navigation.build(Navigation.java:57)

at org.apache.turbine.modules.NavigationLoader.eval(NavigationLoader.java:104)

at org.apache.turbine.util.template.TemplateNavigation.toString(TemplateNavigation.java:106)

at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:321)

at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:271)

at org.apache.velocity.Template.merge(Template.java:296)

at org.apache.velocity.app.Velocity.mergeTemplate(Velocity.java:492)

at org.apache.velocity.app.Velocity.mergeTemplate(Velocity.java:461)

at org.apache.turbine.services.velocity.TurbineVelocityService.executeRequest(TurbineVelocityService.java:415)

at org.apache.turbine.services.velocity.TurbineVelocityService.handleRequest(TurbineVelocityService.java:281)

at org.apache.turbine.services.velocity.TurbineVelocity.handleRequest(TurbineVelocity.java:71)

at org.apache.turbine.modules.layouts.VelocityOnlyLayout.doBuild(VelocityOnlyLayout.java:116)

at org.apache.turbine.modules.Layout.build(Layout.java:53)

at org.apache.turbine.modules.LayoutLoader.exec(LayoutLoader.java:98)

at org.apache.turbine.modules.pages.DefaultPage.doBuild(DefaultPage.java:146)

at org.apache.turbine.modules.Page.build(Page.java:53)

at org.apache.turbine.modules.PageLoader.exec(PageLoader.java:98)

at org.apache.turbine.Turbine.handleException(Turbine.java:963)

at org.apache.turbine.Turbine.doGet(Turbine.java:822)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:621)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)

at net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:206)

at net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:179)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)

at org.nrg.xnat.restlet.util.UpdateExpirationCookie.doFilter(UpdateExpirationCookie.java:38)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)

at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:369)

at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:109)

at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83)

at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:381)

at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:97)

at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:381)

at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:100)

at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:381)

at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:78)

at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:381)

at org.nrg.xnat.security.XnatArcSpecFilter.doFilter(XnatArcSpecFilter.java:40)

at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:381)

at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:54)

at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:381)

at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:35)

at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:381)

at org.nrg.xnat.security.XnatBasicAuthenticationFilter.doFilter(XnatBasicAuthenticationFilter.java:134)

at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:381)

at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:187)

at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:381)

at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:105)

at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:381)

at org.springframework.security.web.session.ConcurrentSessionFilter.doFilter(ConcurrentSessionFilter.java:109)

at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:381)

at org.nrg.xnat.security.XnatExpiredPasswordFilter.doFilter(XnatExpiredPasswordFilter.java:149)

at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:381)

at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:79)

at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:381)

at org.springframework.security.web.access.channel.ChannelProcessingFilter.doFilter(ChannelProcessingFilter.java:109)

at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:381)

at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:168)

at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:237)

at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)

at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224)

at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)

at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)

at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)

at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)

at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)

at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)

at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)

at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:987)

at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:579)

at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:307)

at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

at java.lang.Thread.run(Thread.java:745)

Caused by: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getSingularDisplayNameForImageSession' in  class org.nrg.xdat.display.DisplayManager threw exception class org.nrg.config.exceptions.ConfigServiceException : file size must be less than 10485760 characters.

at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:309)

at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:207)

at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:250)

at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:271)




 cat velocity.log

2017-09-06 09:55:44,926 [pool-2-thread-1] ERROR velocity - VM #xdatStringBoxOnChange: error : too few arguments to macro. Wanted 6 got 0

2017-09-06 09:55:44,927 [pool-2-thread-1] ERROR velocity - VM #xdatStringBoxOnChange: error : too few arguments to macro. Wanted 6 got 0

2017-09-06 09:55:44,927 [pool-2-thread-1] ERROR velocity - VM #xdatStringBoxOnChange: error : too few arguments to macro. Wanted 6 got 0

2017-09-06 09:55:44,963 [pool-2-thread-1] ERROR velocity - VM #xdatSearchForm: error : too few arguments to macro. Wanted 2 got 0

2017-09-06 09:55:45,003 [pool-2-thread-1] ERROR velocity - VM #displayFileSystem: error : too few arguments to macro. Wanted 1 got 0

2017-09-06 09:55:45,004 [pool-2-thread-1] ERROR velocity - VM #auditBoxes: error : too few arguments to macro. Wanted 4 got 0

2017-09-06 09:56:15,479 [http-bio-9090-exec-1] ERROR velocity - Method getSingularDisplayNameForImageSession threw exception for reference $displayManager in template navigations//HeaderIncludes.vm at  [34,73]

2017-09-06 09:56:15,519 [http-bio-9090-exec-1] ERROR velocity - Left side ($data.getSession().getAttribute("user").getUsername()) of '==' operation has null value. If a reference, it may not be in the context. Operation not possible. navigations//DefaultTop.vm [line 148, column 64]

2017-09-06 09:56:15,519 [http-bio-9090-exec-1] ERROR velocity - Left side ($sessionCount) of '>' operation has null value. Operation not possible. navigations//DefaultTop.vm [line 167, column 21]

2017-09-06 09:56:15,519 [http-bio-9090-exec-1] ERROR velocity - Left side ($sessionIpCount) of '>' operation has null value. Operation not possible. navigations//DefaultTop.vm [line 167, column 44]

2017-09-06 09:56:15,519 [http-bio-9090-exec-1] ERROR velocity - Left side ($sessionCount) of '<' operation has null value. Operation not possible. navigations//DefaultTop.vm [line 214, column 22]

2017-09-06 09:56:15,599 [http-bio-9090-exec-1] ERROR velocity - Left side ($data.getSession().getAttribute("user").getUsername()) of '==' operation has null value. If a reference, it may not be in the context. Operation not possible. navigations//DefaultTop.vm [line 4, column 76]

2017-09-06 09:56:15,599 [http-bio-9090-exec-1] ERROR velocity - Left side ($data.getSession().getAttribute("user").getUsername()) of '==' operation has null value. If a reference, it may not be in the context. Operation not possible. navigations//DefaultTop.vm [line 4, column 76]

2017-09-06 09:56:15,599 [http-bio-9090-exec-1] ERROR velocity - Left side ($data.getSession().getAttribute("user").getUsername()) of '==' operation has null value. If a reference, it may not be in the context. Operation not possible. navigations//DefaultTop.vm [line 4, column 76]

2017-09-06 09:56:15,599 [http-bio-9090-exec-1] ERROR velocity - Left side ($data.getSession().getAttribute("user").getUsername()) of '==' operation has null value. If a reference, it may not be in the context. Operation not possible. navigations//DefaultTop.vm [line 4, column 76]

2017-09-06 09:56:15,599 [http-bio-9090-exec-1] ERROR velocity - Left side ($data.getSession().getAttribute("user").getUsername()) of '==' operation has null value. If a reference, it may not be in the context. Operation not possible. navigations//DefaultTop.vm [line 4, column 76]

2017-09-06 09:56:15,599 [http-bio-9090-exec-1] ERROR velocity - Left side ($data.getSession().getAttribute("user").getUsername()) of '==' operation has null value. If a reference, it may not be in the context. Operation not possible. navigations//DefaultTop.vm [line 4, column 76]

2017-09-06 09:56:33,139 [http-bio-9090-exec-2] ERROR velocity - Method getSingularDisplayNameForImageSession threw exception for reference $displayManager in template navigations//HeaderIncludes.vm at  [34,73]

2017-09-06 09:56:33,156 [http-bio-9090-exec-2] ERROR velocity - Left side ($data.getSession().getAttribute("user").getUsername()) of '==' operation has null value. If a reference, it may not be in the context. Operation not possible. navigations//DefaultTop.vm [line 148, column 64]

2017-09-06 09:56:33,156 [http-bio-9090-exec-2] ERROR velocity - Left side ($sessionCount) of '>' operation has null value. Operation not possible. navigations//DefaultTop.vm [line 167, column 21]

2017-09-06 09:56:33,156 [http-bio-9090-exec-2] ERROR velocity - Left side ($sessionIpCount) of '>' operation has null value. Operation not possible. navigations//DefaultTop.vm [line 167, column 44]

2017-09-06 09:56:33,156 [http-bio-9090-exec-2] ERROR velocity - Left side ($sessionCount) of '<' operation has null value. Operation not possible. navigations//DefaultTop.vm [line 214, column 22]

2017-09-06 09:56:33,165 [http-bio-9090-exec-2] ERROR velocity - Left side ($data.getSession().getAttribute("user").getUsername()) of '==' operation has null value. If a reference, it may not be in the context. Operation not possible. navigations//DefaultTop.vm [line 4, column 76]

2017-09-06 09:56:33,166 [http-bio-9090-exec-2] ERROR velocity - Left side ($data.getSession().getAttribute("user").getUsername()) of '==' operation has null value. If a reference, it may not be in the context. Operation not possible. navigations//DefaultTop.vm [line 4, column 76]

2017-09-06 09:56:33,167 [http-bio-9090-exec-2] ERROR velocity - Left side ($data.getSession().getAttribute("user").getUsername()) of '==' operation has null value. If a reference, it may not be in the context. Operation not possible. navigations//DefaultTop.vm [line 4, column 76]

2017-09-06 09:56:33,169 [http-bio-9090-exec-2] ERROR velocity - Left side ($data.getSession().getAttribute("user").getUsername()) of '==' operation has null value. If a reference, it may not be in the context. Operation not possible. navigations//DefaultTop.vm [line 4, column 76]

2017-09-06 09:56:33,169 [http-bio-9090-exec-2] ERROR velocity - Left side ($data.getSession().getAttribute("user").getUsername()) of '==' operation has null value. If a reference, it may not be in the context. Operation not possible. navigations//DefaultTop.vm [line 4, column 76]

2017-09-06 09:56:33,170 [http-bio-9090-exec-2] ERROR velocity - Left side ($data.getSession().getAttribute("user").getUsername()) of '==' operation has null value. If a reference, it may not be in the context. Operation not possible. navigations//DefaultTop.vm [line 4, column 76]

2017-09-06 09:56:41,673 [http-bio-9090-exec-6] ERROR velocity - Method getSingularDisplayNameForImageSession threw exception for reference $displayManager in template navigations//HeaderIncludes.vm at  [34,73]

2017-09-06 09:56:41,688 [http-bio-9090-exec-6] ERROR velocity - Left side ($data.getSession().getAttribute("user").getUsername()) of '==' operation has null value. If a reference, it may not be in the context. Operation not possible. navigations//DefaultTop.vm [line 148, column 64]

2017-09-06 09:56:41,688 [http-bio-9090-exec-6] ERROR velocity - Left side ($sessionCount) of '>' operation has null value. Operation not possible. navigations//DefaultTop.vm [line 167, column 21]

2017-09-06 09:56:41,688 [http-bio-9090-exec-6] ERROR velocity - Left side ($sessionIpCount) of '>' operation has null value. Operation not possible. navigations//DefaultTop.vm [line 167, column 44]

2017-09-06 09:56:41,688 [http-bio-9090-exec-6] ERROR velocity - Left side ($sessionCount) of '<' operation has null value. Operation not possible. navigations//DefaultTop.vm [line 214, column 22]

2017-09-06 09:56:41,697 [http-bio-9090-exec-6] ERROR velocity - Left side ($data.getSession().getAttribute("user").getUsername()) of '==' operation has null value. If a reference, it may not be in the context. Operation not possible. navigations//DefaultTop.vm [line 4, column 76]

2017-09-06 09:56:41,697 [http-bio-9090-exec-6] ERROR velocity - Left side ($data.getSession().getAttribute("user").getUsername()) of '==' operation has null value. If a reference, it may not be in the context. Operation not possible. navigations//DefaultTop.vm [line 4, column 76]

2017-09-06 09:56:41,697 [http-bio-9090-exec-6] ERROR velocity - Left side ($data.getSession().getAttribute("user").getUsername()) of '==' operation has null value. If a reference, it may not be in the context. Operation not possible. navigations//DefaultTop.vm [line 4, column 76]

2017-09-06 09:56:41,697 [http-bio-9090-exec-6] ERROR velocity - Left side ($data.getSession().getAttribute("user").getUsername()) of '==' operation has null value. If a reference, it may not be in the context. Operation not possible. navigations//DefaultTop.vm [line 4, column 76]

2017-09-06 09:56:41,697 [http-bio-9090-exec-6] ERROR velocity - Left side ($data.getSession().getAttribute("user").getUsername()) of '==' operation has null value. If a reference, it may not be in the context. Operation not possible. navigations//DefaultTop.vm [line 4, column 76]

2017-09-06 09:56:41,697 [http-bio-9090-exec-6] ERROR velocity - Left side ($data.getSession().getAttribute("user").getUsername()) of '==' operation has null value. If a reference, it may not be in the context. Operation not possible. navigations//DefaultTop.vm [line 4, column 76]

2017-09-06 09:59:30,594 [http-bio-9090-exec-1] ERROR velocity - Method getSingularDisplayNameForImageSession threw exception for reference $displayManager in template navigations//HeaderIncludes.vm at  [34,73]

2017-09-06 09:59:30,612 [http-bio-9090-exec-1] ERROR velocity - Left side ($data.getSession().getAttribute("user").getUsername()) of '==' operation has null value. If a reference, it may not be in the context. Operation not possible. navigations//DefaultTop.vm [line 148, column 64]

2017-09-06 09:59:30,612 [http-bio-9090-exec-1] ERROR velocity - Left side ($sessionCount) of '>' operation has null value. Operation not possible. navigations//DefaultTop.vm [line 167, column 21]

2017-09-06 09:59:30,612 [http-bio-9090-exec-1] ERROR velocity - Left side ($sessionIpCount) of '>' operation has null value. Operation not possible. navigations//DefaultTop.vm [line 167, column 44]

2017-09-06 09:59:30,612 [http-bio-9090-exec-1] ERROR velocity - Left side ($sessionCount) of '<' operation has null value. Operation not possible. navigations//DefaultTop.vm [line 214, column 22]

2017-09-06 09:59:30,622 [http-bio-9090-exec-1] ERROR velocity - Left side ($data.getSession().getAttribute("user").getUsername()) of '==' operation has null value. If a reference, it may not be in the context. Operation not possible. navigations//DefaultTop.vm [line 4, column 76]

2017-09-06 09:59:30,622 [http-bio-9090-exec-1] ERROR velocity - Left side ($data.getSession().getAttribute("user").getUsername()) of '==' operation has null value. If a reference, it may not be in the context. Operation not possible. navigations//DefaultTop.vm [line 4, column 76]

2017-09-06 09:59:30,622 [http-bio-9090-exec-1] ERROR velocity - Left side ($data.getSession().getAttribute("user").getUsername()) of '==' operation has null value. If a reference, it may not be in the context. Operation not possible. navigations//DefaultTop.vm [line 4, column 76]

2017-09-06 09:59:30,622 [http-bio-9090-exec-1] ERROR velocity - Left side ($data.getSession().getAttribute("user").getUsername()) of '==' operation has null value. If a reference, it may not be in the context. Operation not possible. navigations//DefaultTop.vm [line 4, column 76]

2017-09-06 09:59:30,623 [http-bio-9090-exec-1] ERROR velocity - Left side ($data.getSession().getAttribute("user").getUsername()) of '==' operation has null value. If a reference, it may not be in the context. Operation not possible. navigations//DefaultTop.vm [line 4, column 76]

2017-09-06 09:59:30,623 [http-bio-9090-exec-1] ERROR velocity - Left side ($data.getSession().getAttribute("user").getUsername()) of '==' operation has null value. If a reference, it may not be in the context. Operation not possible. navigations//DefaultTop.vm [line 4, column 76]

2017-09-06 09:59:56,146 [http-bio-9090-exec-4] ERROR velocity - Method getSingularDisplayNameForImageSession threw exception for reference $displayManager in template navigations//HeaderIncludes.vm at  [34,73]

2017-09-06 09:59:56,161 [http-bio-9090-exec-4] ERROR velocity - Left side ($data.getSession().getAttribute("user").getUsername()) of '==' operation has null value. If a reference, it may not be in the context. Operation not possible. navigations//DefaultTop.vm [line 148, column 64]

2017-09-06 09:59:56,161 [http-bio-9090-exec-4] ERROR velocity - Left side ($sessionCount) of '>' operation has null value. Operation not possible. navigations//DefaultTop.vm [line 167, column 21]

2017-09-06 09:59:56,161 [http-bio-9090-exec-4] ERROR velocity - Left side ($sessionIpCount) of '>' operation has null value. Operation not possible. navigations//DefaultTop.vm [line 167, column 44]

2017-09-06 09:59:56,162 [http-bio-9090-exec-4] ERROR velocity - Left side ($sessionCount) of '<' operation has null value. Operation not possible. navigations//DefaultTop.vm [line 214, column 22]

2017-09-06 09:59:56,170 [http-bio-9090-exec-4] ERROR velocity - Left side ($data.getSession().getAttribute("user").getUsername()) of '==' operation has null value. If a reference, it may not be in the context. Operation not possible. navigations//DefaultTop.vm [line 4, column 76]

2017-09-06 09:59:56,170 [http-bio-9090-exec-4] ERROR velocity - Left side ($data.getSession().getAttribute("user").getUsername()) of '==' operation has null value. If a reference, it may not be in the context. Operation not possible. navigations//DefaultTop.vm [line 4, column 76]

2017-09-06 09:59:56,170 [http-bio-9090-exec-4] ERROR velocity - Left side ($data.getSession().getAttribute("user").getUsername()) of '==' operation has null value. If a reference, it may not be in the context. Operation not possible. navigations//DefaultTop.vm [line 4, column 76]

2017-09-06 09:59:56,170 [http-bio-9090-exec-4] ERROR velocity - Left side ($data.getSession().getAttribute("user").getUsername()) of '==' operation has null value. If a reference, it may not be in the context. Operation not possible. navigations//DefaultTop.vm [line 4, column 76]

2017-09-06 09:59:56,170 [http-bio-9090-exec-4] ERROR velocity - Left side ($data.getSession().getAttribute("user").getUsername()) of '==' operation has null value. If a reference, it may not be in the context. Operation not possible. navigations//DefaultTop.vm [line 4, column 76]

2017-09-06 09:59:56,170 [http-bio-9090-exec-4] ERROR velocity - Left side ($data.getSession().getAttribute("user").getUsername()) of '==' operation has null value. If a reference, it may not be in the context. Operation not possible. navigations//DefaultTop.vm [line 4, column 76]

2017-09-06 10:01:38,752 [http-bio-9090-exec-10] ERROR velocity - Method getSingularDisplayNameForImageSession threw exception for reference $displayManager in template navigations//HeaderIncludes.vm at  [34,73]

2017-09-06 10:01:38,769 [http-bio-9090-exec-10] ERROR velocity - Left side ($data.getSession().getAttribute("user").getUsername()) of '==' operation has null value. If a reference, it may not be in the context. Operation not possible. navigations//DefaultTop.vm [line 148, column 64]

2017-09-06 10:01:38,769 [http-bio-9090-exec-10] ERROR velocity - Left side ($sessionCount) of '>' operation has null value. Operation not possible. navigations//DefaultTop.vm [line 167, column 21]

2017-09-06 10:01:38,769 [http-bio-9090-exec-10] ERROR velocity - Left side ($sessionIpCount) of '>' operation has null value. Operation not possible. navigations//DefaultTop.vm [line 167, column 44]

2017-09-06 10:01:38,769 [http-bio-9090-exec-10] ERROR velocity - Left side ($sessionCount) of '<' operation has null value. Operation not possible. navigations//DefaultTop.vm [line 214, column 22]

2017-09-06 10:01:38,777 [http-bio-9090-exec-10] ERROR velocity - Left side ($data.getSession().getAttribute("user").getUsername()) of '==' operation has null value. If a reference, it may not be in the context. Operation not possible. navigations//DefaultTop.vm [line 4, column 76]

2017-09-06 10:01:38,777 [http-bio-9090-exec-10] ERROR velocity - Left side ($data.getSession().getAttribute("user").getUsername()) of '==' operation has null value. If a reference, it may not be in the context. Operation not possible. navigations//DefaultTop.vm [line 4, column 76]

2017-09-06 10:01:38,777 [http-bio-9090-exec-10] ERROR velocity - Left side ($data.getSession().getAttribute("user").getUsername()) of '==' operation has null value. If a reference, it may not be in the context. Operation not possible. navigations//DefaultTop.vm [line 4, column 76]

2017-09-06 10:01:38,777 [http-bio-9090-exec-10] ERROR velocity - Left side ($data.getSession().getAttribute("user").getUsername()) of '==' operation has null value. If a reference, it may not be in the context. Operation not possible. navigations//DefaultTop.vm [line 4, column 76]

2017-09-06 10:01:38,777 [http-bio-9090-exec-10] ERROR velocity - Left side ($data.getSession().getAttribute("user").getUsername()) of '==' operation has null value. If a reference, it may not be in the context. Operation not possible. navigations//DefaultTop.vm [line 4, column 76]

2017-09-06 10:01:38,778 [http-bio-9090-exec-10] ERROR velocity - Left side ($data.getSession().getAttribute("user").getUsername()) of '==' operation has null value. If a reference, it may not be in the context. Operation not possible. navigations//DefaultTop.vm [line 4, column 76]

2017-09-06 10:04:58,228 [http-bio-9090-exec-7] ERROR velocity - Method getSingularDisplayNameForImageSession threw exception for reference $displayManager in template navigations//HeaderIncludes.vm at  [34,73]

2017-09-06 10:04:58,244 [http-bio-9090-exec-7] ERROR velocity - Left side ($data.getSession().getAttribute("user").getUsername()) of '==' operation has null value. If a reference, it may not be in the context. Operation not possible. navigations//DefaultTop.vm [line 148, column 64]

2017-09-06 10:04:58,244 [http-bio-9090-exec-7] ERROR velocity - Left side ($sessionCount) of '>' operation has null value. Operation not possible. navigations//DefaultTop.vm [line 167, column 21]

2017-09-06 10:04:58,244 [http-bio-9090-exec-7] ERROR velocity - Left side ($sessionIpCount) of '>' operation has null value. Operation not possible. navigations//DefaultTop.vm [line 167, column 44]

2017-09-06 10:04:58,244 [http-bio-9090-exec-7] ERROR velocity - Left side ($sessionCount) of '<' operation has null value. Operation not possible. navigations//DefaultTop.vm [line 214, column 22]

2017-09-06 10:04:58,253 [http-bio-9090-exec-7] ERROR velocity - Left side ($data.getSession().getAttribute("user").getUsername()) of '==' operation has null value. If a reference, it may not be in the context. Operation not possible. navigations//DefaultTop.vm [line 4, column 76]

2017-09-06 10:04:58,253 [http-bio-9090-exec-7] ERROR velocity - Left side ($data.getSession().getAttribute("user").getUsername()) of '==' operation has null value. If a reference, it may not be in the context. Operation not possible. navigations//DefaultTop.vm [line 4, column 76]

2017-09-06 10:04:58,253 [http-bio-9090-exec-7] ERROR velocity - Left side ($data.getSession().getAttribute("user").getUsername()) of '==' operation has null value. If a reference, it may not be in the context. Operation not possible. navigations//DefaultTop.vm [line 4, column 76]

2017-09-06 10:04:58,253 [http-bio-9090-exec-7] ERROR velocity - Left side ($data.getSession().getAttribute("user").getUsername()) of '==' operation has null value. If a reference, it may not be in the context. Operation not possible. navigations//DefaultTop.vm [line 4, column 76]

2017-09-06 10:04:58,253 [http-bio-9090-exec-7] ERROR velocity - Left side ($data.getSession().getAttribute("user").getUsername()) of '==' operation has null value. If a reference, it may not be in the context. Operation not possible. navigations//DefaultTop.vm [line 4, column 76]

2017-09-06 10:04:58,253 [http-bio-9090-exec-7] ERROR velocity - Left side ($data.getSession().getAttribute("user").getUsername()) of '==' operation has null value. If a reference, it may not be in the context. Operation not possible. navigations//DefaultTop.vm [line 4, column 76]

2017-09-06 10:05:00,123 [http-bio-9090-exec-9] ERROR velocity - Method getSingularDisplayNameForImageSession threw exception for reference $displayManager in template navigations//HeaderIncludes.vm at  [34,73]

2017-09-06 10:05:00,138 [http-bio-9090-exec-9] ERROR velocity - Left side ($data.getSession().getAttribute("user").getUsername()) of '==' operation has null value. If a reference, it may not be in the context. Operation not possible. navigations//DefaultTop.vm [line 148, column 64]

2017-09-06 10:05:00,138 [http-bio-9090-exec-9] ERROR velocity - Left side ($sessionCount) of '>' operation has null value. Operation not possible. navigations//DefaultTop.vm [line 167, column 21]

2017-09-06 10:05:00,138 [http-bio-9090-exec-9] ERROR velocity - Left side ($sessionIpCount) of '>' operation has null value. Operation not possible. navigations//DefaultTop.vm [line 167, column 44]

2017-09-06 10:05:00,138 [http-bio-9090-exec-9] ERROR velocity - Left side ($sessionCount) of '<' operation has null value. Operation not possible. navigations//DefaultTop.vm [line 214, column 22]

2017-09-06 10:05:00,146 [http-bio-9090-exec-9] ERROR velocity - Left side ($data.getSession().getAttribute("user").getUsername()) of '==' operation has null value. If a reference, it may not be in the context. Operation not possible. navigations//DefaultTop.vm [line 4, column 76]

2017-09-06 10:05:00,147 [http-bio-9090-exec-9] ERROR velocity - Left side ($data.getSession().getAttribute("user").getUsername()) of '==' operation has null value. If a reference, it may not be in the context. Operation not possible. navigations//DefaultTop.vm [line 4, column 76]

2017-09-06 10:05:00,147 [http-bio-9090-exec-9] ERROR velocity - Left side ($data.getSession().getAttribute("user").getUsername()) of '==' operation has null value. If a reference, it may not be in the context. Operation not possible. navigations//DefaultTop.vm [line 4, column 76]

2017-09-06 10:05:00,147 [http-bio-9090-exec-9] ERROR velocity - Left side ($data.getSession().getAttribute("user").getUsername()) of '==' operation has null value. If a reference, it may not be in the context. Operation not possible. navigations//DefaultTop.vm [line 4, column 76]

2017-09-06 10:05:00,147 [http-bio-9090-exec-9] ERROR velocity - Left side ($data.getSession().getAttribute("user").getUsername()) of '==' operation has null value. If a reference, it may not be in the context. Operation not possible. navigations//DefaultTop.vm [line 4, column 76]

2017-09-06 10:05:00,147 [http-bio-9090-exec-9] ERROR velocity - Left side ($data.getSession().getAttribute("user").getUsername()) of '==' operation has null value. If a reference, it may not be in the context. Operation not possible. navigations//DefaultTop.vm [line 4, column 76]

2017-09-06 10:09:56,081 [http-bio-9090-exec-6] ERROR velocity - Method getSingularDisplayNameForImageSession threw exception for reference $displayManager in template navigations//HeaderIncludes.vm at  [34,73]

2017-09-06 10:09:56,097 [http-bio-9090-exec-6] ERROR velocity - Left side ($data.getSession().getAttribute("user").getUsername()) of '==' operation has null value. If a reference, it may not be in the context. Operation not possible. navigations//DefaultTop.vm [line 148, column 64]

2017-09-06 10:09:56,097 [http-bio-9090-exec-6] ERROR velocity - Left side ($sessionCount) of '>' operation has null value. Operation not possible. navigations//DefaultTop.vm [line 167, column 21]

2017-09-06 10:09:56,097 [http-bio-9090-exec-6] ERROR velocity - Left side ($sessionIpCount) of '>' operation has null value. Operation not possible. navigations//DefaultTop.vm [line 167, column 44]

2017-09-06 10:09:56,097 [http-bio-9090-exec-6] ERROR velocity - Left side ($sessionCount) of '<' operation has null value. Operation not possible. navigations//DefaultTop.vm [line 214, column 22]

2017-09-06 10:09:56,105 [http-bio-9090-exec-6] ERROR velocity - Left side ($data.getSession().getAttribute("user").getUsername()) of '==' operation has null value. If a reference, it may not be in the context. Operation not possible. navigations//DefaultTop.vm [line 4, column 76]

2017-09-06 10:09:56,105 [http-bio-9090-exec-6] ERROR velocity - Left side ($data.getSession().getAttribute("user").getUsername()) of '==' operation has null value. If a reference, it may not be in the context. Operation not possible. navigations//DefaultTop.vm [line 4, column 76]

2017-09-06 10:09:56,105 [http-bio-9090-exec-6] ERROR velocity - Left side ($data.getSession().getAttribute("user").getUsername()) of '==' operation has null value. If a reference, it may not be in the context. Operation not possible. navigations//DefaultTop.vm [line 4, column 76]

2017-09-06 10:09:56,105 [http-bio-9090-exec-6] ERROR velocity - Left side ($data.getSession().getAttribute("user").getUsername()) of '==' operation has null value. If a reference, it may not be in the context. Operation not possible. navigations//DefaultTop.vm [line 4, column 76]

2017-09-06 10:09:56,105 [http-bio-9090-exec-6] ERROR velocity - Left side ($data.getSession().getAttribute("user").getUsername()) of '==' operation has null value. If a reference, it may not be in the context. Operation not possible. navigations//DefaultTop.vm [line 4, column 76]

2017-09-06 10:09:56,105 [http-bio-9090-exec-6] ERROR velocity - Left side ($data.getSession().getAttribute("user").getUsername()) of '==' operation has null value. If a reference, it may not be in the context. Operation not possible. navigations//DefaultTop.vm [line 4, column 76]



cat xdat.log 


[org.springframework.jms.listener.DefaultMessageListenerContainer#0-1] ERROR org.nrg.xnat.archive.XNATSessionBuilder - 

org.nrg.session.SessionBuilder$NoUniqueSessionException: No session found

at org.nrg.dcm.xnat.DICOMSessionBuilder.getStudyInstanceUID(DICOMSessionBuilder.java:282)

at org.nrg.dcm.xnat.DICOMSessionBuilder.<init>(DICOMSessionBuilder.java:234)

at org.nrg.dcm.xnat.DICOMSessionBuilder.<init>(DICOMSessionBuilder.java:242)

at org.nrg.dcm.xnat.DICOMSessionBuilder.<init>(DICOMSessionBuilder.java:262)

at org.nrg.xnat.archive.XNATSessionBuilder.call(XNATSessionBuilder.java:211)

at org.nrg.xnat.helpers.prearchive.PrearcDatabase$12.extSync(PrearcDatabase.java:718)

at org.nrg.xnat.helpers.prearchive.PrearcDatabase$12.extSync(PrearcDatabase.java:691)

at org.nrg.xnat.helpers.prearchive.PrearcDatabase$LockAndSync.run(PrearcDatabase.java:1241)

at org.nrg.xnat.helpers.prearchive.PrearcDatabase.buildSession(PrearcDatabase.java:691)

at org.nrg.xnat.helpers.prearchive.SessionXmlRebuilderRequestListener.onSessionXmlRebuilderRequest(SessionXmlRebuilderRequestListener.java:40)

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:606)

at org.springframework.util.MethodInvoker.invoke(MethodInvoker.java:273)

at org.springframework.jms.listener.adapter.MessageListenerAdapter.invokeListenerMethod(MessageListenerAdapter.java:463)

at org.springframework.jms.listener.adapter.MessageListenerAdapter.onMessage(MessageListenerAdapter.java:355)

at org.springframework.jms.listener.AbstractMessageListenerContainer.doInvokeListener(AbstractMessageListenerContainer.java:535)

at org.springframework.jms.listener.AbstractMessageListenerContainer.invokeListener(AbstractMessageListenerContainer.java:495)

at org.springframework.jms.listener.AbstractMessageListenerContainer.doExecuteListener(AbstractMessageListenerContainer.java:467)

at org.springframework.jms.listener.AbstractPollingMessageListenerContainer.doReceiveAndExecute(AbstractPollingMessageListenerContainer.java:325)

at org.springframework.jms.listener.AbstractPollingMessageListenerContainer.receiveAndExecute(AbstractPollingMessageListenerContainer.java:263)

at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.invokeListener(DefaultMessageListenerContainer.java:1058)

at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.executeOngoingLoop(DefaultMessageListenerContainer.java:1050)

at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.run(DefaultMessageListenerContainer.java:947)

at java.lang.Thread.run(Thread.java:745)


at org.apache.velocity.Template.merge(Template.java:296)

at org.apache.velocity.app.Velocity.mergeTemplate(Velocity.java:492)

at org.apache.velocity.app.Velocity.mergeTemplate(Velocity.java:461)

at org.apache.turbine.services.velocity.TurbineVelocityService.executeRequest(TurbineVelocityService.java:415)

at org.apache.turbine.services.velocity.TurbineVelocityService.handleRequest(TurbineVelocityService.java:281)

... 95 more



Could you please help? 


Best,
Chen

Herrick, Rick

unread,
Sep 6, 2017, 2:59:45 PM9/6/17
to xnat_di...@googlegroups.com

Try a couple things (you should shut down Tomcat before and start it back up after each of these):

 

First, clear the prearchive table in the database:

 

$ psql -c "DELETE FROM xdat_search.prearchive"

DELETE 0

 

When you restart Tomcat, the contents of the prearchive table will be generated from any data found in the prearchive folder. It’s possible there’s a stale entry in the table that’s messing things up.

 

If you’re still seeing errors afterwards, clear the prearchive table again, then clear the contents of the prearchive folder as well. You can move the files from the prearchive folder elsewhere if you want to try resending them later, but getting that data out of the prearchive folder should start you off with a clean prearchive database and hopefully fix at least the prearchive issue in the logs below.

 

Now, that said, I’m not sure that the prearchive is your sole problem. This is very odd:

 

Caused by: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getSingularDisplayNameForImageSession' in  class org.nrg.xdat.display.DisplayManager threw exception class org.nrg.config.exceptions.ConfigServiceException : file size must be less than 10485760 characters.

 

The first thing to check is the file WEB-INF/conf/siteConfiguration.properties. The default version of that file is pretty small, only slightly larger than 2K. Check the size there to see if it’s larger than 10MB. You can also look for any files that match the pattern “*-config.properties”. The configuration service looks for those files and tries to load them as extra configuration properties.

 

Let me know what you find with these.

 

-- 

Rick Herrick

Sr. Programmer/Analyst

Neuroinformatics Research Group

Washington University School of Medicine

Phone: +1 (314) 273-1645

--
You received this message because you are subscribed to the Google Groups "xnat_discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to xnat_discussi...@googlegroups.com.
To post to this group, send email to xnat_di...@googlegroups.com.
Visit this group at https://groups.google.com/group/xnat_discussion.
For more options, visit https://groups.google.com/d/optout.

 


The materials in this message are private and may contain Protected Healthcare Information or other information of a sensitive nature. If you are not the intended recipient, be advised that any unauthorized use, disclosure, copying or the taking of any action in reliance on the contents of this information is strictly prohibited. If you have received this email in error, please immediately notify the sender via telephone or return mail.

hindex100

unread,
Sep 6, 2017, 4:07:55 PM9/6/17
to xnat_discussion
Hi Rick, 

I followed your instructions about  xdat_search.prearchive and the prearchive folder. 
It still have the error Caused by: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getSingularDisplayNameForImageSession' in  class org.nrg.xdat.display.DisplayManager threw exception class org.nrg.config.exceptions.ConfigServiceException : file size must be less than 10485760 characters.

Here are the properties file sizes. 

WEB-INF/conf$ ls -alth

total 192K

drwxr-sr-x 2 xnat xnat 4.0K Sep  6 15:57 .

drwxr-sr-x 7 xnat xnat 4.0K Sep  6 15:00 ..

-rw-r--r-- 1 xnat xnat 1.8K Sep  6 15:00 anon-script-config.xml

-rw-r--r-- 1 xnat xnat  939 Sep  6 15:00 config-services-config.xml

-rw-r--r-- 1 xnat xnat 1001 Sep  6 15:00 ehcache.xml

-rw-r--r-- 1 xnat xnat 9.0K Sep  6 15:00 log4j.properties

-rw-r--r-- 1 xnat xnat 3.3K Sep  6 15:00 mail-services-config.encrypted.sample.xml

-rw-r--r-- 1 xnat xnat 1.7K Sep  6 15:00 mail-services-config.smtps.sample.xml

-rw-r--r-- 1 xnat xnat 1.3K Sep  6 15:00 mail-services-config.xml

-rw-r--r-- 1 xnat xnat 2.4K Sep  6 15:00 orm-config.xml

-rw-r--r-- 1 xnat xnat 3.2K Sep  6 15:00 tags

-rw-r--r-- 1 xnat xnat  245 Sep  6 15:00 tip.txt

-rw-r--r-- 1 xnat xnat  26K Sep  6 15:00 TurbineResources.properties

-rw-r--r-- 1 xnat xnat 2.1K Sep  6 15:00 xnat.properties

-rw-r--r-- 1 xnat xnat  14K Sep  6 15:00 xnat-security.xml

-rw-r--r-- 1 xnat xnat  631 Sep  6 15:00 componentConfiguration.xml

-rw-r--r-- 1 xnat xnat  994 Sep  6 15:00 datasource-config.xml

-rw-r--r-- 1 xnat xnat 2.4K Sep  6 15:00 dicom-import-context.xml

-rw-r--r-- 1 xnat xnat 2.4K Sep  6 15:00 InstanceSettings.xml

-rw-r--r-- 1 xnat xnat 8.3K Sep  6 15:00 mq-context.xml

-rw-r--r-- 1 xnat xnat  795 Sep  6 15:00 prearc-config.xml

-rw-r--r-- 1 xnat xnat 3.8K Sep  6 15:00 root-spring-config.xml

-rw-r--r-- 1 xnat xnat 7.1K Sep  6 15:00 scheduler-context.xml

-rw-r--r-- 1 xnat xnat 1.6K Sep  6 15:00 services-context.xml

-rw-r--r-- 1 xnat xnat 2.4K Sep  6 15:00 siteConfiguration.properties

-rw-r--r-- 1 xnat xnat  822 Sep  6 15:00 framework-services-config.xml

-rw-r--r-- 1 xnat xnat  837 Sep  6 15:00 turbine-om.properties

-rw-r--r-- 1 xnat xnat  883 Sep  6 15:00 xnat-intake.xml

-rw-r--r-- 1 xnat xnat  626 Sep  6 15:00 roleConfiguration.xml

-rw-r--r-- 1 xnat xnat  991 Sep  6 15:00 xdat-services-config.xml

-rw-r--r-- 1 xnat xnat 1.8K Sep  6 15:00 notify-services-config.xml

-rw-r--r-- 1 xnat xnat 4.2K Sep  6 15:00 services.properties

-rw-r--r-- 1 xnat xnat  121 Sep  6 15:00 id.das


I tried it works on a empty new databases. 
Could please let me know database table might cause this issue? 

Thanks a lot for your help!
Best,
Chen
...
Reply all
Reply to author
Forward
0 new messages