Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- java.lang.StringIndexOutOfBoundsException: String index out of range: -1
- at java.lang.String.substring(String.java:1967)
- at org.openmrs.module.referenceapplication.page.controller.LoginPageController.isUrlWithinOpenmrs(LoginPageController.java:162)
- at org.openmrs.module.referenceapplication.page.controller.LoginPageController.getRedirectUrl(LoginPageController.java:205)
- at org.openmrs.module.referenceapplication.page.controller.LoginPageController.get(LoginPageController.java:92)
- at sun.reflect.GeneratedMethodAccessor834.invoke(Unknown Source)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.openmrs.ui.framework.UiFrameworkUtil.invokeMethodWithArguments(UiFrameworkUtil.java:112)
- at org.openmrs.ui.framework.UiFrameworkUtil.executeControllerMethod(UiFrameworkUtil.java:71)
- at org.openmrs.ui.framework.page.PageFactory.handleRequestWithController(PageFactory.java:219)
- at org.openmrs.ui.framework.page.PageFactory.processThisFragment(PageFactory.java:160)
- at org.openmrs.ui.framework.page.PageFactory.process(PageFactory.java:116)
- at org.openmrs.ui.framework.page.PageFactory.handle(PageFactory.java:86)
- at org.openmrs.module.uiframework.PageController.handlePath(PageController.java:116)
- at org.openmrs.module.uiframework.PageController.handleUrlWithDotPage(PageController.java:83)
- at sun.reflect.GeneratedMethodAccessor822.invoke(Unknown Source)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.springframework.web.bind.annotation.support.HandlerMethodInvoker.invokeHandlerMethod(HandlerMethodInvoker.java:177)
- at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.invokeHandlerMethod(AnnotationMethodHandlerAdapter.java:446)
- at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.handle(AnnotationMethodHandlerAdapter.java:434)
- at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:943)
- at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:877)
- at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:966)
- at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:857)
- at javax.servlet.http.HttpServlet.service(HttpServlet.java:624)
- at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:842)
- at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
- at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
- at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:101)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
- at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:101)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
- at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:742)
- at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:484)
- at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:409)
- at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:337)
- at org.springframework.web.servlet.view.InternalResourceView.renderMergedOutputModel(InternalResourceView.java:168)
- at org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:303)
- at org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1228)
- at org.springframework.web.servlet.DispatcherServlet.processDispatchResult(DispatcherServlet.java:1011)
- at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:955)
- at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:877)
- at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:966)
- at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:857)
- at javax.servlet.http.HttpServlet.service(HttpServlet.java:624)
- at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:842)
- at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
- at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
- at org.openmrs.web.filter.GZIPFilter.doFilterInternal(GZIPFilter.java:65)
- at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
- at org.openmrs.module.web.filter.ModuleFilterChain.doFilter(ModuleFilterChain.java:73)
- at org.openmrs.module.owa.filter.OwaFilter.doFilter(OwaFilter.java:68)
- at org.openmrs.module.web.filter.ModuleFilterChain.doFilter(ModuleFilterChain.java:71)
- at org.openmrs.module.referenceapplication.filter.RequireLoginLocationFilter.doFilter(RequireLoginLocationFilter.java:93)
- at org.openmrs.module.web.filter.ModuleFilterChain.doFilter(ModuleFilterChain.java:71)
- at org.openmrs.module.web.filter.ModuleFilter.doFilter(ModuleFilter.java:57)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
- at org.openmrs.web.filter.OpenmrsFilter.doFilterInternal(OpenmrsFilter.java:109)
- at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
- at org.springframework.orm.hibernate4.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:150)
- at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
- at org.openmrs.web.filter.StartupFilter.doFilter(StartupFilter.java:107)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
- at org.openmrs.web.filter.StartupFilter.doFilter(StartupFilter.java:107)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
- at org.openmrs.web.filter.StartupFilter.doFilter(StartupFilter.java:107)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
- at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
- at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
- at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219)
- at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:110)
- at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:494)
- at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169)
- at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
- at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:1025)
- at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
- at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:445)
- at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1137)
- at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:637)
- at org.apache.tomcat.util.net.AprEndpoint$SocketWithOptionsProcessor.run(AprEndpoint.java:2512)
- 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)
- Full Error
- java.lang.StringIndexOutOfBoundsException: String index out of range: -1
- at java.lang.String.substring(String.java:1967)
- at org.openmrs.module.referenceapplication.page.controller.LoginPageController.isUrlWithinOpenmrs(LoginPageController.java:162)
- at org.openmrs.module.referenceapplication.page.controller.LoginPageController.getRedirectUrl(LoginPageController.java:205)
- at org.openmrs.module.referenceapplication.page.controller.LoginPageController.get(LoginPageController.java:92)
- at sun.reflect.GeneratedMethodAccessor834.invoke(Unknown Source)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.openmrs.ui.framework.UiFrameworkUtil.invokeMethodWithArguments(UiFrameworkUtil.java:112)
- at org.openmrs.ui.framework.UiFrameworkUtil.executeControllerMethod(UiFrameworkUtil.java:71)
- at org.openmrs.ui.framework.page.PageFactory.handleRequestWithController(PageFactory.java:219)
- at org.openmrs.ui.framework.page.PageFactory.processThisFragment(PageFactory.java:160)
- at org.openmrs.ui.framework.page.PageFactory.process(PageFactory.java:116)
- at org.openmrs.ui.framework.page.PageFactory.handle(PageFactory.java:86)
- at org.openmrs.module.uiframework.PageController.handlePath(PageController.java:116)
- at org.openmrs.module.uiframework.PageController.handleUrlWithDotPage(PageController.java:83)
- at sun.reflect.GeneratedMethodAccessor822.invoke(Unknown Source)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.springframework.web.bind.annotation.support.HandlerMethodInvoker.invokeHandlerMethod(HandlerMethodInvoker.java:177)
- at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.invokeHandlerMethod(AnnotationMethodHandlerAdapter.java:446)
- at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.handle(AnnotationMethodHandlerAdapter.java:434)
- at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:943)
- at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:877)
- at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:966)
- at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:857)
- at javax.servlet.http.HttpServlet.service(HttpServlet.java:624)
- at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:842)
- at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
- at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
- at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:101)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
- at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:101)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
- at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:742)
- at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:484)
- at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:409)
- at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:337)
- at org.springframework.web.servlet.view.InternalResourceView.renderMergedOutputModel(InternalResourceView.java:168)
- at org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:303)
- at org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1228)
- at org.springframework.web.servlet.DispatcherServlet.processDispatchResult(DispatcherServlet.java:1011)
- at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:955)
- at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:877)
- at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:966)
- at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:857)
- at javax.servlet.http.HttpServlet.service(HttpServlet.java:624)
- at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:842)
- at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
- at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
- at org.openmrs.web.filter.GZIPFilter.doFilterInternal(GZIPFilter.java:65)
- at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
- at org.openmrs.module.web.filter.ModuleFilterChain.doFilter(ModuleFilterChain.java:73)
- at org.openmrs.module.owa.filter.OwaFilter.doFilter(OwaFilter.java:68)
- at org.openmrs.module.web.filter.ModuleFilterChain.doFilter(ModuleFilterChain.java:71)
- at org.openmrs.module.referenceapplication.filter.RequireLoginLocationFilter.doFilter(RequireLoginLocationFilter.java:93)
- at org.openmrs.module.web.filter.ModuleFilterChain.doFilter(ModuleFilterChain.java:71)
- at org.openmrs.module.web.filter.ModuleFilter.doFilter(ModuleFilter.java:57)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
- at org.openmrs.web.filter.OpenmrsFilter.doFilterInternal(OpenmrsFilter.java:109)
- at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
- at org.springframework.orm.hibernate4.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:150)
- at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
- at org.openmrs.web.filter.StartupFilter.doFilter(StartupFilter.java:107)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
- at org.openmrs.web.filter.StartupFilter.doFilter(StartupFilter.java:107)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
- at org.openmrs.web.filter.StartupFilter.doFilter(StartupFilter.java:107)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
- at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
- at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
- at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219)
- at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:110)
- at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:494)
- at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169)
- at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
- at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:1025)
- at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
- at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:445)
- at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1137)
- at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:637)
- at org.apache.tomcat.util.net.AprEndpoint$SocketWithOptionsProcessor.run(AprEndpoint.java:2512)
- 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)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement