Opened 3 years ago
Closed 3 years ago
#2582 closed enhancement (fixed)
petascope with full_stacktraces=false should not log irrelevant logs in the stack trace
Reported by: | Bang Pham Huu | Owned by: | Bang Pham Huu |
---|---|---|---|
Priority: | minor | Milestone: | 10.0 |
Component: | petascope | Version: | 9.8 |
Keywords: | Cc: | Dimitar Misev | |
Complexity: | Medium |
Description
This error appears in the petascope.log. Also note that it has
full_stacktraces=false
, but the exception is still very long
INFO [2022-04-15 13:24:52] AbstractController@838: Received request req-0: /rasdaman/ows?coverageid=S2_L2A_TCI_10m&request=DescribeCoverage&service=WCS&version=2.0.1 with user rasadmin WARN [2022-04-15 13:24:53] CrsUtil@696: Error while building the document from URL 'http://www.opengis.net/def/uom/UCUM/0/d' petascope.exceptions.PetascopeException: Error while building XML document 'null'. error 'The element type "link" must be terminated by the matching end-tag "</link>".', line '7', column '3'. at petascope.util.XMLUtil.buildDocument(XMLUtil.java:299) at petascope.util.CrsUtil.crsDefUrlToDocument(CrsUtil.java:693) at petascope.util.CrsUtil.crsDefUrlToXml(CrsUtil.java:629) at petascope.util.CrsUtil.getCrsDefinition(CrsUtil.java:509) at petascope.wcps.metadata.service.WcpsCoverageMetadataTranslator.buildAxes(WcpsCoverageMetadataTranslator.java:463) at petascope.wcps.metadata.service.WcpsCoverageMetadataTranslator.create(WcpsCoverageMetadataTranslator.java:113) at petascope.wcps.metadata.service.WcpsCoverageMetadataTranslator.translate(WcpsCoverageMetadataTranslator.java:166) at petascope.core.gml.GMLDescribeCoverageBuilder.buildWCSDescribeCoverageResult(GMLDescribeCoverageBuilder.java:169) at petascope.core.gml.GMLWCSRequestResultBuilder.buildDescribeCoverageResult(GMLWCSRequestResultBuilder.java:91) at petascope.wcs2.handlers.kvp.KVPWCSDescribeCoverageHandler.handle(KVPWCSDescribeCoverageHandler.java:108) at petascope.controller.handler.service.KVPWCSServiceHandler.handle(KVPWCSServiceHandler.java:74) at petascope.controller.PetascopeController.lambda$requestDispatcher$0(PetascopeController.java:159) at petascope.controller.AbstractController.handleRequest(AbstractController.java:882) at petascope.controller.PetascopeController.requestDispatcher(PetascopeController.java:212) at petascope.controller.PetascopeController.handleGet(PetascopeController.java:93) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205) at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:133) at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:116) at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:827) at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:738) at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:85) at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:963) at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:897) at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:970) at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:861) at javax.servlet.http.HttpServlet.service(HttpServlet.java:634) at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:846) at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) 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:53)
Change History (2)
comment:1 by , 3 years ago
comment:2 by , 3 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.
The problem is in
petascope.properites
hasfull_stacktraces=false
so petascope can support
full_stacktrace
andfull_stacktraces