Что такое ConnectionNotFoundException в graphhopper? - PullRequest
0 голосов
/ 09 ноября 2019

Я обычно загружаю файл OSM и использую Graphopper для вычисления пути, но я не знаю, что я сделал, пусть Graphoper сообщил об ошибке

2019-11-10 00:21: 37.971 ОШИБКА 15236 --- [p-nio-80-exec-2] oaccC [. [. [/]. [DispatcherServlet]: Servlet.service () для сервлета [dispatcherServlet] в контексте с путем [] вызвало исключение [Ошибка обработки запроса;Вложенное исключение - java.lang.RuntimeException: вы не можете вызвать getWaypoints, если ответ содержит ошибки. Проверьте это с помощью ghResponse.hasErrors (). Ошибки: [com.graphhopper.util.exceptions.ConnectionNotFoundException: соединение между расположениями не найдено]] с основной причиной

java.lang.RuntimeException: вы не можете вызвать getWaypoints, если ответ содержит ошибки. Проверьте это с помощью ghResponse.hasErrors (). Ошибки: [com.graphhopper.util.exceptions.ConnectionNotFoundException: соединение между расположениями не найдено] в com.graphhopper.PathWrapper.check (PathWrapper.java:274) ~ [graphhopper-core-0.10.0.jar: na] atcom.graphhopper.PathWrapper.getWaypoints (PathWrapper.java:105) ~ [graphhopper-core-0.10.0.jar: na] в com.b505.indoor.path.controller.PathController.returnRsp (PathController.java:175) ~[classes /: na] в com.b505.indoor.path.controller.PathController.reloadMap (PathController.java:92) ~ [classes /: na] в sun.reflect.NativeMethodAccessorImpl.invoke0 (собственный метод) ~ [na:1.8.0_77] at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62) ~ [na: 1.8.0_77] at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl_77): java::в java.lang.reflect.Method.invoke (Method.java:498) ~ [na: 1.8.0_77] в org.springframework.web.method.support.InvocableHandlerMethod.doInvoke (InvocableHandlerMethod.java:190) ~ springвеб-5.2.0.RELEASE.jar: 5.2.0.RELEASE] at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest (InvocableHandlerMethod.java:138) ~ [spring-web-5.2.0.RELEASE.jar: 5.2.0.RELEASE] в org.springbrame. servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle (ServletInvocableHandlerMethod.java:106) ~ [spring-webmvc-5.2.0.RELEASE.jar: 5.2.0.RELEASE] в org.spring.holet.met.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod (RequestMappingHandlerAdapter.java:888) ~ [spring-webmvc-5.2.0.RELEASE.jar: 5.2.0.RELEASE] в org.springframework.web.servlet.mvnoap.Report. handleInternal (RequestMappingHandlerAdapter.java:793) ~ [spring-webmvc-5.2.0.RELEASE.jar: 5.2.0.RELEASE] в org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle (AbstractHandlerMetho (AbstractHandlerMetho)) ~ [spring-webmvc-5.2.0.RELEASE.jar: 5.2.0.RELEASE] в org.springframework.web.servlet.DispatcherServlet.doDispatch (DispatcherServlet.java:1040) ~ [spring-webmvc-5.2.0.RELEASE.jar: 5.2.0.RELEASE] в org.springframework.web.servlet.DispatcherServlet.doService (DispatcherServlet.java:943) ~ [spring-webmvc-5.2.0. RELEASE.jar: 5.2.0.RELEASE] в org.springframework.web.servlet.FrameworkServlet.processRequest (FrameworkServlet.java:1006) ~ [spring-webmvc-5.2.0.RELEASE.jar: 5.2.0.RELEASE] вorg.springframework.web.servlet.FrameworkServlet.doGet (FrameworkServlet.java:898) ~ [spring-webmvc-5.2.0.RELEASE.jar: 5.2.0.RELEASE] в javax.servlet.http.HttpServlet.serlet (HttpServServ.java: 634) ~ [tomcat-embed-core-9.0.27.jar: 9.0.27] в org.springframework.web.servlet.FrameworkServlet.service (FrameworkServlet.java:883) ~ [spring-webmvc-5.2. 0.RELEASE.jar: 5.2.0.RELEASE] на javax.servlet.http.HttpServlet.service (HttpServlet.java:741) ~ [tomcat-embed-core-9.0.27.jar: 9.0.27] в орг. apache.catalina.core.ApplicationFilterChain.internalDoFilter (ApplicationFilterChain.java:231) ~ [tomcat-embed-core-9.0.27.jar: 9.0.27] вorg.apache.catalina.core.ApplicationFilterChain.doFilter (ApplicationFilterChain.java:166) ~ [tomcat-embed-core-9.0.27.jar: 9.0.27] в org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) ~ [tomcat-embed-websocket-9.0.27.jar: 9.0.27] в org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (ApplicationFilterChain.java:193) ~ [tomcat-embed-core-9.0.27.jar: 9.0.27] в org.apache.catalina.core.ApplicationFilterChain.doFilter (ApplicationFilterChain.java:166) ~ [tomcat-embed-core-9.0.27.jar: 9.0.27] вorg.springframework.web.filter.RequestContextFilter.doFilterInternal (RequestContextFilter.java:100) ~ [spring-web-5.2.0.RELEASE.jar: 5.2.0.RELEASE] в org.springframework.web.filter.OncePerRequilF(OncePerRequestFilter.java:119) ~ [spring-web-5.2.0.RELEASE.jar: 5.2.0.RELEASE] в org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (ApplicationFilterChain.java:193) ~ [tomcat-embed-core-9.0.27.jar: 9.0.27] в org.apache.catalina.core.ApplicationFilterChain. doFilter (ApplicationFilterChain.java:166) ~ [tomcat-embed-core-9.0.27.jar: 9.0.27] в org.springframework.web.filter.FormContentFilter.doFilterInternal (FormContentFilter.java:93) ~ [spring-web-5.2.0.RELEASE.jar: 5.2.0.RELEASE] at org.springframework.web.filter.OncePerRequestFilter.doFilter (OncePerRequestFilter.java:119) ~ [spring-web-5.2.0.RELEASE.jar: 5.2. 0.RELEASE] в org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (ApplicationFilterChain.java:193) ~ [tomcat-embed-core-9.0.27.jar: 9.0.27] в org.apache.catalina.core. ApplicationFilterChain.doFilter (ApplicationFilterChain.java:166) ~ [tomcat-embed-core-9.0.27.jar: 9.0.27] в org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal (CharacterEncodingF201) ~ spring.jar-web-5.2.0.RELEASE.jar: 5.2.0.RELEASE] at org.springframework.web.filter.OncePerRequestFilter.doFilter (OncePerRequestFilter.java:119) ~ [spring-web-5.2.0.RELEASE.jar:5.2.0.RELEASE] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (ApplicationFilterChain.java:193) ~ [tomcat-embed-core-9.0.27.jar: 9.0.27] в org.apache.catalina.core.ApplicationFilterChain.doFilter (ApplicationFilterChain.java:166) ~ [tomcat-embed-core-9.0.27.jar: 9.0.27] в org.apache.catalina.core.StandardWrapperValve.invoke (StandardWrapperValve.java:202) ~ [tomcat-embed-core-9.0.27.jar: 9.0.27] в org.apache.catalina.core.StandardContextValve.invoke (StandardContextValve.java:96) [tomcat-embed-core-9.0.27.jar: 9.0.27] в org.apache.catalina.authenticator.AuthenticatorBase.invoke (AuthenticatorBase. : 526) [tomcat-embed-core-9.0.27.jar: 9.0.27] в org.apache.catalina.core.StandardHostValve.invoke (StandardHostValve.java:139) [tomcat-embed-core-9.0.27. jar: 9.0.27] в org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:92) [tomcat-embed-core-9.0.27.jar: 9.0.27] в org.apache.catalina.core.StandardEngineValve.invoke (StandardEngineValve.java:74) [tomcat-embed-core-9.0.27.jar: 9.0.27] в org.apache.catalina.connector.CoyoteAdapter.service (CoyoteAdapter.java:343) [tomcat-embed-core-9.0.27.jar: 9.0.27] в org.apache.coyote.http11.Http11Processor.service (Http11Processor.java:408) [tomcat-embed-core-9.0.27.jar: 9.0.27] в org.apache.coyote.AbstractProcessorLight.process (AbstractProcessorLight.java:66) [tomcat-embed-core-9.0.27.jar: 9.0.27] в org.apache.coyote. AbstractProtocol $ ConnectionHandler.process (AbstractProtocol.java:861) [tomcat-embed-core-9.0.27.jar: 9.0.27] в org.apache.tomcat.util.net.NioEndpoint $ SocketProcessor.doRun (NioEndpoint.java:1579) [tomcat-embed-core-9.0.27.jar: 9.0.27] на org.apache.tomcat.util.net.SocketProcessorBase.run (SocketProcessorBase.java:49) [tomcat-embed-core-9.0.27.jar: 9.0.27] в java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1142) [na: 1.8.0_77] вjava.util.concurrent.ThreadPoolExecutor $ Worker.run (ThreadPoolExecutor.java:617) [na: 1.8.0_77] в org.apache.tomcat.util.threads.TaskThread $ WrappingRunnable.run (TaskThread.java:61) [tomcat-embed-core-9.0.27.jar: 9.0.27] at java.lang.Thread.run (Thread.java:745) [na: 1.8.0_77]

...