doctype html html lang en head title HTTP Status 500 Internal Server E

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
<!doctype html><html lang="en"><head><title>HTTP Status 500 – Internal Server Error</title><style type="text/css">h1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} h2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} h3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} body {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} b {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} p {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;} a {color:black;} a.name {color:black;} .line {height:1px;background-color:#525D76;border:none;}</style></head><body><h1>HTTP Status 500 – Internal Server Error</h1><hr class="line" /><p><b>Type</b> Exception Report</p><p><b>Message</b> Request processing failed; nested exception is java.lang.IllegalArgumentException: Illegal character in path at index 26: http:&#47;&#47;nsng01&#47;sign-service &#47;sign&#47;xades-bes&#47;enveloped?engine=STAX&amp;keyId=li-key&amp;elementId=signed-data-container</p><p><b>Description</b> The server encountered an unexpected condition that prevented it from fulfilling the request.</p><p><b>Exception</b></p><pre>org.springframework.web.util.NestedServletException: Request processing failed; nested exception is java.lang.IllegalArgumentException: Illegal character in path at index 26: http:&#47;&#47;nsng01&#47;sign-service &#47;sign&#47;xades-bes&#47;enveloped?engine=STAX&amp;keyId=li-key&amp;elementId=signed-data-container
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006)
org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:901)
javax.servlet.http.HttpServlet.service(HttpServlet.java:660)
org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:875)
javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
</pre><p><b>Root Cause</b></p><pre>java.lang.IllegalArgumentException: Illegal character in path at index 26: http:&#47;&#47;nsng01&#47;sign-service &#47;sign&#47;xades-bes&#47;enveloped?engine=STAX&amp;keyId=li-key&amp;elementId=signed-data-container
java.net.URI.create(URI.java:852)
ru.lanit.hcs.integration.emergency.dao.rest.spring.impl.HCSRestDAOImpl.postXml(HCSRestDAOImpl.java:99)
ru.lanit.hcs.integration.emergency.logic.service.impl.SignServiceImpl.addEnvelopedSignature(SignServiceImpl.java:41)
ru.lanit.hcs.integration.emergency.logic.service.impl.XmlServiceImpl.signLightweightIntegrationResponse(XmlServiceImpl.java:630)
ru.lanit.hcs.integration.emergency.web.controller.LightweightIntegrationRestController.processGetStateRequest(LightweightIntegrationRestController.java:561)
ru.lanit.hcs.integration.emergency.web.controller.LightweightIntegrationRestController.post(LightweightIntegrationRestController.java:184)
sun.reflect.GeneratedMethodAccessor68.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
java.lang.reflect.Method.invoke(Method.java:498)
org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:215)
org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:142)
org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:102)
org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:895)
org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:800)
org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1038)
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:942)
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:998)
org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:901)
javax.servlet.http.HttpServlet.service(HttpServlet.java:660)
org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:875)
javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
</pre><p><b>Root Cause</b></p><pre>java.net.URISyntaxException: Illegal character in path at index 26: http:&#47;&#47;nsng01&#47;sign-service &#47;sign&#47;xades-bes&#47;enveloped?engine=STAX&amp;keyId=li-key&amp;elementId=signed-data-container
java.net.URI$Parser.fail(URI.java:2848)
java.net.URI$Parser.checkChars(URI.java:3021)
java.net.URI$Parser.parseHierarchical(URI.java:3105)
java.net.URI$Parser.parse(URI.java:3053)
java.net.URI.&lt;init&gt;(URI.java:588)
java.net.URI.create(URI.java:850)
ru.lanit.hcs.integration.emergency.dao.rest.spring.impl.HCSRestDAOImpl.postXml(HCSRestDAOImpl.java:99)
ru.lanit.hcs.integration.emergency.logic.service.impl.SignServiceImpl.addEnvelopedSignature(SignServiceImpl.java:41)
ru.lanit.hcs.integration.emergency.logic.service.impl.XmlServiceImpl.signLightweightIntegrationResponse(XmlServiceImpl.java:630)
ru.lanit.hcs.integration.emergency.web.controller.LightweightIntegrationRestController.processGetStateRequest(LightweightIntegrationRestController.java:561)
ru.lanit.hcs.integration.emergency.web.controller.LightweightIntegrationRestController.post(LightweightIntegrationRestController.java:184)
sun.reflect.GeneratedMethodAccessor68.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
java.lang.reflect.Method.invoke(Method.java:498)
org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:215)
org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:142)
org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:102)
org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:895)
org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:800)
org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1038)
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:942)
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:998)
org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:901)
javax.servlet.http.HttpServlet.service(HttpServlet.java:660)
org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:875)
javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
</pre><p><b>Note</b> The full stack trace of the root cause is available in the server logs.</p><hr class="line" /><h3>Apache Tomcat/9.0.12</h3></body></html>