Unexpected Error

Sorry, an unexpected error occurred. Please try again.

Report Error

Request URI

/luna/servlet/login

Parameters

JSESSIONID = [ed816ef9-e4a0-4696-b438-00ed5dde67b6]
returnUrl = [http://images.lib.ncsu.edu/luna/servlet/user/groups/create]

Request Attributes

javax.servlet.forward.context_path = [/luna]
exception = [org.springframework.dao.DataRetrievalFailureException: Unexpected error, unable to retrieve Categories for parentCategoryId=0; nested exception is com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.]
javax.servlet.forward.servlet_path = [/servlet]
org.springframework.web.context.request.async.WebAsyncManager.WEB_ASYNC_MANAGER = [org.springframework.web.context.request.async.WebAsyncManager@27225ae8]
javax.servlet.error.status_code = [200]
org.springframework.web.servlet.DispatcherServlet.CONTEXT = [WebApplicationContext for namespace 'luna-servlet': startup date [Tue May 24 06:59:23 EDT 2022]; parent: Root WebApplicationContext]
headerLogo = [../common/headerLogo.jsp]
javax.servlet.jsp.jstl.fmt.localizationContext.request = [org.springframework.web.servlet.support.JstlUtils$SpringLocalizationContext@29e5a07c]
org.springframework.web.servlet.HandlerMapping.introspectTypeLevelMapping = [false]
pageTitle = []
javax.servlet.include.request_uri = [/luna/WEB-INF/views/jsp/insight/../errors/error.jsp]
pageSize = [50]
thumbnailResolution = [1]
REQUEST_URL = [https://images.lib.ncsu.edu/luna/servlet/login]
javax.servlet.include.mapping = [org.apache.catalina.core.ApplicationMappingImpl@2dda3198]
org.apache.shiro.web.servlet.ShiroHttpServletRequest_REFERENCED_SESSION_IS_NEW = [true]
adsContent = [../common/adsContent.jsp]
org.springframework.web.servlet.DispatcherServlet.LOCALE_RESOLVER = [org.springframework.web.servlet.i18n.AcceptHeaderLocaleResolver@708fca75]
org.springframework.web.servlet.HandlerMapping.bestMatchingPattern = [/login]
javax.servlet.include.context_path = [/luna]
org.springframework.web.servlet.DispatcherServlet.OUTPUT_FLASH_MAP = [FlashMap [attributes={}, targetRequestPath=null, targetRequestParams={}]]
shiroFilter.FILTERED = [true]
javax.servlet.error.exception_type = [class org.springframework.dao.DataRetrievalFailureException]
org.springframework.web.servlet.DispatcherServlet.FLASH_MAP_MANAGER = [org.springframework.web.servlet.support.SessionFlashMapManager@49a20b33]
javax.servlet.forward.mapping = [org.apache.catalina.core.ApplicationMappingImpl@68d8aa47]
mainNav = [../common/mainNav.jsp]
javax.servlet.forward.request_uri = [/luna/servlet/login]
javax.servlet.forward.path_info = [/login]
javax.servlet.request.key_size = [256]
javax.servlet.error.message = [Unexpected error, unable to retrieve Categories for parentCategoryId=0; nested exception is com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.]
javax.servlet.error.servlet_name = [luna]
javax.servlet.request.cipher_suite = [ECDHE-RSA-AES256-GCM-SHA384]
org.springframework.web.servlet.DispatcherServlet.THEME_SOURCE = [WebApplicationContext for namespace 'luna-servlet': startup date [Tue May 24 06:59:23 EDT 2022]; parent: Root WebApplicationContext]
javax.servlet.request.ssl_session_id = [4c62dc88abfa406702702903cb20cc30b463b39eb0517ba250e8a1387b3ff315]
rc = [org.springframework.web.servlet.support.RequestContext@5d1858ae]
javax.servlet.include.servlet_path = [/WEB-INF/views/jsp/errors/error.jsp]
javax.servlet.forward.query_string = [returnUrl=http%3A%2F%2Fimages.lib.ncsu.edu%2Fluna%2Fservlet%2Fuser%2Fgroups%2Fcreate&JSESSIONID=ed816ef9-e4a0-4696-b438-00ed5dde67b6]
quickSearch = [../common/quickSearch.jsp]
mainContent = [../errors/error.jsp]
encodingFilter.FILTERED = [true]
org.springframework.web.servlet.HandlerMapping.pathWithinHandlerMapping = [/login]
javax.servlet.error.request_uri = [/luna/servlet/login]
htitle = [error.htitle]
org.springframework.web.servlet.DispatcherServlet.THEME_RESOLVER = [com.lunaimaging.insight.web.servlet.theme.CollectionThemeResolver@18b51eb1]
javax.servlet.jsp.jstl.fmt.locale.request = [en_US]
javax.servlet.error.exception = [org.springframework.dao.DataRetrievalFailureException: Unexpected error, unable to retrieve Categories for parentCategoryId=0; nested exception is com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.]

Session Attributes

res = [1]
appConfig = [com.lunaimaging.insight.core.domain.ApplicationConfiguration@6b1ba355]
EXTENDED_COLLECTION_PROPERTIES = [ExtendedCollectionsProperties[All Collections] ]
AUTHENTICATED_ENTITY = [IpRange[1][null-null] ]
LUNA_COLLECTIONS_IN_CONTEXT = [[MediaCollection[NCSULIB~1~1]Design Library Image Collection, MediaCollection[NCSULIB~2~2]Insidewood Images]]
ua = [CCBot/2.0 (https://commoncrawl.org/faq/)]
pgs = [50]

StackTrace

org.springframework.dao.DataRetrievalFailureException: Unexpected error, unable to retrieve Categories for parentCategoryId=0; nested exception is com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
at com.lunaimaging.insight.core.dao.jdbc.JdbcCategoriesDao: getSubCategories()   JdbcCategoriesDao.java ( 147 )
at com.lunaimaging.insight.core.domain.logic.StandardInsight: getTopCategories()   StandardInsight.java ( 4401 )
at com.lunaimaging.insight.web.servlet.UserSettingsInterceptor: setCategories()   UserSettingsInterceptor.java ( 181 )
at com.lunaimaging.insight.web.servlet.UserSettingsInterceptor: preHandle()   UserSettingsInterceptor.java ( 99 )
at org.springframework.web.servlet.HandlerExecutionChain: applyPreHandle()   HandlerExecutionChain.java ( 130 )
at org.springframework.web.servlet.DispatcherServlet: doDispatch()   DispatcherServlet.java ( 913 )
at org.springframework.web.servlet.DispatcherServlet: doService()   DispatcherServlet.java ( 851 )
at org.springframework.web.servlet.FrameworkServlet: processRequest()   FrameworkServlet.java ( 953 )
at org.springframework.web.servlet.FrameworkServlet: doGet()   FrameworkServlet.java ( 844 )
at javax.servlet.http.HttpServlet: service()   HttpServlet.java ( 626 )
at org.springframework.web.servlet.FrameworkServlet: service()   FrameworkServlet.java ( 829 )
at javax.servlet.http.HttpServlet: service()   HttpServlet.java ( 733 )
at org.apache.catalina.core.ApplicationFilterChain: internalDoFilter()   ApplicationFilterChain.java ( 231 )
at org.apache.catalina.core.ApplicationFilterChain: doFilter()   ApplicationFilterChain.java ( 166 )
at org.apache.tomcat.websocket.server.WsFilter: doFilter()   WsFilter.java ( 52 )
at org.apache.catalina.core.ApplicationFilterChain: internalDoFilter()   ApplicationFilterChain.java ( 193 )
at org.apache.catalina.core.ApplicationFilterChain: doFilter()   ApplicationFilterChain.java ( 166 )
at org.springframework.web.filter.CharacterEncodingFilter: doFilterInternal()   CharacterEncodingFilter.java ( 88 )
at org.springframework.web.filter.OncePerRequestFilter: doFilter()   OncePerRequestFilter.java ( 106 )
at org.apache.catalina.core.ApplicationFilterChain: internalDoFilter()   ApplicationFilterChain.java ( 193 )
at org.apache.catalina.core.ApplicationFilterChain: doFilter()   ApplicationFilterChain.java ( 166 )
at org.apache.shiro.web.servlet.AbstractShiroFilter: executeChain()   AbstractShiroFilter.java ( 449 )
at org.apache.shiro.web.servlet.AbstractShiroFilter$1: call()   AbstractShiroFilter.java ( 365 )
at org.apache.shiro.subject.support.SubjectCallable: doCall()   SubjectCallable.java ( 90 )
at org.apache.shiro.subject.support.SubjectCallable: call()   SubjectCallable.java ( 83 )
at org.apache.shiro.subject.support.DelegatingSubject: execute()   DelegatingSubject.java ( 383 )
at org.apache.shiro.web.servlet.AbstractShiroFilter: doFilterInternal()   AbstractShiroFilter.java ( 362 )
at org.apache.shiro.web.servlet.OncePerRequestFilter: doFilter()   OncePerRequestFilter.java ( 125 )
at org.springframework.web.filter.DelegatingFilterProxy: invokeDelegate()   DelegatingFilterProxy.java ( 343 )
at org.springframework.web.filter.DelegatingFilterProxy: doFilter()   DelegatingFilterProxy.java ( 260 )
at org.apache.catalina.core.ApplicationFilterChain: internalDoFilter()   ApplicationFilterChain.java ( 193 )
at org.apache.catalina.core.ApplicationFilterChain: doFilter()   ApplicationFilterChain.java ( 166 )
at com.lunaimaging.security.client.filter.HttpsFilter: doFilter()   HttpsFilter.java ( 120 )
at org.apache.catalina.core.ApplicationFilterChain: internalDoFilter()   ApplicationFilterChain.java ( 193 )
at org.apache.catalina.core.ApplicationFilterChain: doFilter()   ApplicationFilterChain.java ( 166 )
at com.lunaimaging.insight.web.filter.TrackingFilter: doFilter()   TrackingFilter.java ( 140 )
at org.apache.catalina.core.ApplicationFilterChain: internalDoFilter()   ApplicationFilterChain.java ( 193 )
at org.apache.catalina.core.ApplicationFilterChain: doFilter()   ApplicationFilterChain.java ( 166 )
at org.apache.catalina.core.StandardWrapperValve: invoke()   StandardWrapperValve.java ( 199 )
at org.apache.catalina.core.StandardContextValve: invoke()   StandardContextValve.java ( 97 )
at org.apache.catalina.authenticator.AuthenticatorBase: invoke()   AuthenticatorBase.java ( 544 )
at org.apache.catalina.core.StandardHostValve: invoke()   StandardHostValve.java ( 143 )
at org.apache.catalina.valves.ErrorReportValve: invoke()   ErrorReportValve.java ( 81 )
at org.apache.catalina.core.StandardEngineValve: invoke()   StandardEngineValve.java ( 78 )
at org.apache.catalina.connector.CoyoteAdapter: service()   CoyoteAdapter.java ( 343 )
at org.apache.coyote.ajp.AjpProcessor: service()   AjpProcessor.java ( 525 )
at org.apache.coyote.AbstractProcessorLight: process()   AbstractProcessorLight.java ( 65 )
at org.apache.coyote.AbstractProtocol$ConnectionHandler: process()   AbstractProtocol.java ( 831 )
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor: doRun()   NioEndpoint.java ( 1634 )
at org.apache.tomcat.util.net.SocketProcessorBase: run()   SocketProcessorBase.java ( 49 )
at java.util.concurrent.ThreadPoolExecutor: runWorker()   ThreadPoolExecutor.java ( 1149 )
at java.util.concurrent.ThreadPoolExecutor$Worker: run()   ThreadPoolExecutor.java ( 624 )
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable: run()   TaskThread.java ( 61 )
at java.lang.Thread: run()   Thread.java ( 748 )