You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by "chickenlj (GitHub)" <gi...@apache.org> on 2018/10/18 03:04:02 UTC

[GitHub] [incubator-dubbo-ops] chickenlj opened issue #144: Route rule incomplete after being successfully saved in the web page.

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]

```

[ Full content available at: https://github.com/apache/incubator-dubbo-ops/issues/144 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org


[GitHub] [incubator-dubbo-ops] nzomkxia closed issue #144: Route rule incomplete after being successfully saved in the web page.

Posted by "nzomkxia (GitHub)" <gi...@apache.org>.
[ issue closed by nzomkxia ]

[ Full content available at: https://github.com/apache/incubator-dubbo-ops/issues/144 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org