You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by GitBox <gi...@apache.org> on 2018/10/18 03:04:02 UTC
[GitHub] chickenlj opened a new issue #144: Route rule incomplete after
being successfully saved in the web page.
chickenlj opened a new issue #144: Route rule incomplete after being successfully saved in the web page.
URL: https://github.com/apache/incubator-dubbo-ops/issues/144
I type in the router rule, and hit save button, it seems to have saved successfully. But when I try to preview the rule, the condition part is empty.
The rule I input and save.
```yaml
dynamic: true
priority: 1
enabled: false
force: true
runtime: false
conditions:
- method=sayHello =>
```
The rule show when previewing
```yaml
dynamic: true
priority: 1
enabled: false
force: true
runtime: false
conditions:
- =>
```
```java
INFO zookeeper.ZookeeperRegistry - [DUBBO] Register: route://0.0.0.0/org.apache.dubbo.demo.DemoService?category=routers&dynamic=true&enabled=false&force=true&name=null&priority=1&router=condition&rule=+%3D%3E+&runtime=false, dubbo version: 2.6.4, current host: 30.5.120.25
INFO zookeeper.ZookeeperRegistry - [DUBBO] Notify urls for subscribe url admin://30.5.120.25/org.apache.dubbo.demo.DemoService?category=providers,consumers,routers,configurators&check=false&classifier=*&enabled=*&group=*&interface=org.apache.dubbo.demo.DemoService&version=*, urls: [route://0.0.0.0/org.apache.dubbo.demo.DemoService?category=routers&dynamic=true&enabled=false&force=true&name=null&priority=1&router=condition&rule=+%3D%3E+&runtime=false], dubbo version: 2.6.4, current host: 30.5.120.25
2018-10-18 10:55:30.789 ERROR 96272 --- [nio-8080-exec-5] o.a.c.c.C.[.[.[/].[dispatcherServlet] : Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is java.lang.IllegalStateException: no route hash] with root cause
java.lang.IllegalStateException: no route hash
at org.apache.dubbo.admin.governance.service.impl.RouteServiceImpl.updateRoute(RouteServiceImpl.java:46) ~[classes/:na]
at org.apache.dubbo.admin.controller.RoutesController.updateRule(RoutesController.java:94) ~[classes/:na]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_131]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_131]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_131]
at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_131]
at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:209) ~[spring-web-5.0.6.RELEASE.jar:5.0.6.RELEASE]
at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:136) ~[spring-web-5.0.6.RELEASE.jar:5.0.6.RELEASE]
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org