Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

/cat/s/config?op=routerConfigUpdate 报错500 #2361

Open
Shaun2016 opened this issue Jan 13, 2025 · 0 comments
Open

/cat/s/config?op=routerConfigUpdate 报错500 #2361

Shaun2016 opened this issue Jan 13, 2025 · 0 comments

Comments

@Shaun2016
Copy link

服务启动,访问 http://localhost:8080/cat/s/config?op=routerConfigUpdate 报错500
日志:
INFO: Server startup in 22653 ms
[INFO] Working directory is /usr/local/tomcat
[INFO] War root is /usr/local/tomcat/webapps/cat
[01-13 14:17:46.390] [ERROR] [HttpServlet] Error occured when handling uri: /cat/s/config
java.lang.RuntimeException: Error occured during handling outbound action(login)
at org.unidal.web.mvc.lifecycle.DefaultRequestLifecycle.handleException(DefaultRequestLifecycle.java:100)
at org.unidal.web.mvc.lifecycle.DefaultRequestLifecycle.handlePreActions(DefaultRequestLifecycle.java:149)
at org.unidal.web.mvc.lifecycle.DefaultRequestLifecycle.handleRequest(DefaultRequestLifecycle.java:178)
at org.unidal.web.mvc.lifecycle.DefaultRequestLifecycle.handle(DefaultRequestLifecycle.java:67)
at org.unidal.web.MVC.service(MVC.java:76)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
at com.dianping.cat.support.servlet.CatFilter$Context.handle(CatFilter.java:294)
at com.dianping.cat.support.servlet.CatFilter$CatHandler$3.handle(CatFilter.java:142)
at com.dianping.cat.support.servlet.CatFilter$Context.handle(CatFilter.java:292)
at com.dianping.cat.support.servlet.CatFilter$CatHandler$4.handle(CatFilter.java:235)
at com.dianping.cat.support.servlet.CatFilter$Context.handle(CatFilter.java:292)
at com.dianping.cat.support.servlet.CatFilter$CatHandler$2.handle(CatFilter.java:125)
at com.dianping.cat.support.servlet.CatFilter$Context.handle(CatFilter.java:292)
at com.dianping.cat.support.servlet.CatFilter$CatHandler$1.handle(CatFilter.java:105)
at com.dianping.cat.support.servlet.CatFilter$Context.handle(CatFilter.java:292)
at com.dianping.cat.support.servlet.CatFilter.doFilter(CatFilter.java:60)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
at com.dianping.cat.system.page.permission.PermissionFilter.doFilter(PermissionFilter.java:94)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:94)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:496)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:620)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:502)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1132)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:684)
at org.apache.tomcat.util.net.AprEndpoint$SocketWithOptionsProcessor.run(AprEndpoint.java:2464)
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)
Caused by: org.unidal.web.mvc.ActionException: Error occured during handling outbound action(login)
at org.unidal.web.mvc.lifecycle.DefaultOutboundActionHandler.handle(DefaultOutboundActionHandler.java:32)
at org.unidal.web.mvc.lifecycle.DefaultRequestLifecycle.handleOutboundAction(DefaultRequestLifecycle.java:123)
at org.unidal.web.mvc.lifecycle.DefaultRequestLifecycle.handlePreActions(DefaultRequestLifecycle.java:146)
... 39 more
Caused by: java.lang.RuntimeException: Error occured during invoking method: public void com.dianping.cat.system.page.login.Handler.handleOutbound(com.dianping.cat.system.page.login.Context) throws javax.servlet.ServletException,java.io.IOException with parameters([com.dianping.cat.system.page.login.Context@2e67b0a6])
at org.unidal.lookup.util.ReflectUtils.invokeMethod(ReflectUtils.java:52)
at org.unidal.web.mvc.lifecycle.DefaultOutboundActionHandler.handle(DefaultOutboundActionHandler.java:25)
... 41 more
Caused by: java.lang.NullPointerException
at org.unidal.web.mvc.view.BaseJspViewer.view(BaseJspViewer.java:39)
at com.dianping.cat.system.page.login.Handler.handleOutbound(Handler.java:164)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.unidal.lookup.util.ReflectUtils.invokeMethod(ReflectUtils.java:49)
... 42 more

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant