You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
after i config a route rule in governance-->routes, click the consumers menu, dubbo-admin reports an error:
Caused by: java.lang.IllegalStateException: Illegal query string "anyhost=true&application=caseProcess&buffer=4096&charset=UTF-8&client=netty&contextpath=&default.cluster=failfast&default.delay=-1&default.payload=5000000&default.threadpool=fixed&default.threads=1000&default.timeout=15000&default.token=false&delay=-1&dispatcher=message&dubbo=2.5.6-SNAPSHOT&generic=false&heartbeat=100000&interface=com.bocsoft.caseInterface.service.CaseService&loadbalance=random&logger=slf4j&methods=acceptOneCase,loadCaseInfoById,queryCaseDetail,queryCaseByDoubleId,queryCaseLogCountList,updateCaseTransInfo,updateCase,insertCaseLog,acceptCaseList,createCase,countCaseList,queryCaseLogList,getCurrentTime,allotCaseList,deleteCase,queryCaseList,allotSingleCase&optimizer=com.bocsoft.caseInterface.common.serial.SerializationOptimizerImpl&owner=hongxiaofeng&payload=5000000&pid=12809&revision=1.0.0&serialization=kryo&server=netty&side=provider&threadpool=fixed&threads=1000×tamp=1527579353945&validation=true&version=1.0", The error char '&' at index 88 before "default.cluster".
at com.alibaba.dubbo.registry.common.route.ParseUtils.parseQuery(ParseUtils.java:244)
at com.alibaba.dubbo.registry.common.route.RouteUtils.route(RouteUtils.java:142)
at com.alibaba.dubbo.registry.common.route.RouteUtils.route(RouteUtils.java:91)
at com.alibaba.dubbo.governance.web.governance.module.screen.Consumers.index(Consumers.java:100)
at sun.reflect.GeneratedMethodAccessor78.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.alibaba.dubbo.governance.web.common.module.screen.Restful.execute(Restful.java:194)
at com.alibaba.dubbo.governance.web.governance.module.screen.Consumers$$FastClassByCGLIB$$1764a0c8.invoke()
at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
at com.alibaba.citrus.service.moduleloader.impl.adapter.MethodInvoker.invoke(MethodInvoker.java:70)
according to the stacktrace,i modified the class:com.alibaba.dubbo.registry.common.route.ParseUtils.parseQuery method:
changing the line 243 from if (key != null)
to if (key != null && !key.equals("contextpath"))
then problem solved!
my question is: is this problem a bug? is my modify right?
The text was updated successfully, but these errors were encountered:
Sorry, because this issue was raised very early, we have closed it temporarily. You can verify whether this problem still exists in the latest code of the develop branch. If this problem still exists, please reopen it at any time.
after i config a route rule in governance-->routes, click the consumers menu, dubbo-admin reports an error:
Caused by: java.lang.IllegalStateException: Illegal query string "anyhost=true&application=caseProcess&buffer=4096&charset=UTF-8&client=netty&contextpath=&default.cluster=failfast&default.delay=-1&default.payload=5000000&default.threadpool=fixed&default.threads=1000&default.timeout=15000&default.token=false&delay=-1&dispatcher=message&dubbo=2.5.6-SNAPSHOT&generic=false&heartbeat=100000&interface=com.bocsoft.caseInterface.service.CaseService&loadbalance=random&logger=slf4j&methods=acceptOneCase,loadCaseInfoById,queryCaseDetail,queryCaseByDoubleId,queryCaseLogCountList,updateCaseTransInfo,updateCase,insertCaseLog,acceptCaseList,createCase,countCaseList,queryCaseLogList,getCurrentTime,allotCaseList,deleteCase,queryCaseList,allotSingleCase&optimizer=com.bocsoft.caseInterface.common.serial.SerializationOptimizerImpl&owner=hongxiaofeng&payload=5000000&pid=12809&revision=1.0.0&serialization=kryo&server=netty&side=provider&threadpool=fixed&threads=1000×tamp=1527579353945&validation=true&version=1.0", The error char '&' at index 88 before "default.cluster".
at com.alibaba.dubbo.registry.common.route.ParseUtils.parseQuery(ParseUtils.java:244)
at com.alibaba.dubbo.registry.common.route.RouteUtils.route(RouteUtils.java:142)
at com.alibaba.dubbo.registry.common.route.RouteUtils.route(RouteUtils.java:91)
at com.alibaba.dubbo.governance.web.governance.module.screen.Consumers.index(Consumers.java:100)
at sun.reflect.GeneratedMethodAccessor78.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.alibaba.dubbo.governance.web.common.module.screen.Restful.execute(Restful.java:194)
at com.alibaba.dubbo.governance.web.governance.module.screen.Consumers$$FastClassByCGLIB$$1764a0c8.invoke()
at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
at com.alibaba.citrus.service.moduleloader.impl.adapter.MethodInvoker.invoke(MethodInvoker.java:70)
according to the stacktrace,i modified the class:com.alibaba.dubbo.registry.common.route.ParseUtils.parseQuery method:
changing the line 243 from
if (key != null)
to
if (key != null && !key.equals("contextpath"))
then problem solved!
my question is: is this problem a bug? is my modify right?
The text was updated successfully, but these errors were encountered: