This is a bug, It has been fixed in the master branch

张磊 <zhangleispr...@gmail.com> 于2021年5月17日周一 下午8:20写道:

> Can you provide more detailed stack information or which plugin error
>
>
> xy <18621594...@163.com> 于2021年5月17日周一 下午7:49写道:
>
>> no, it's springCloud plugin, the plugin_id is 8 , I've submitted an issue
>> : https://github.com/dromara/shenyu/issues/1481
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> At 2021-05-17 18:02:11, "Yu Xiao" <xia...@apache.org> wrote:
>> >HI
>> >
>> >>  selector.getHandle(): [{"upstreamHost":"localhost","protocol":"http://
>> >","upstreamUrl":"192.168.0.38:9501
>> >","weight":50,"status":true,"timestamp":0,"warmup":0}]
>> >
>> >this is belong to divide plugin ,not spring cloud plugin handler.   why
>> >have this data?
>> >
>> >xy <18621594...@163.com> 于2021年5月17日周一 下午5:46写道:
>> >
>> >> stack:
>> >>
>> >> 17:25:45.424 [soul-work-threads-3] ERROR
>> >>
>> org.springframework.boot.autoconfigure.web.reactive.error.AbstractErrorWebExceptionHandler
>> >> - [88c7d257-4]  500 Server Error for HTTP GET
>> >> "/jstd-doger/app/manage/currentVersion"
>> >>
>> >> com.google.gson.JsonSyntaxException: java.lang.IllegalStateException:
>> >> Expected BEGIN_OBJECT but was BEGIN_ARRAY at line 1 column 2 path $
>> >>
>> >> at
>> >>
>> com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:226)
>> >> ~[gson-2.8.6.jar:?]
>> >>
>> >> Suppressed: reactor.core.publisher.FluxOnAssembly$OnAssemblyException:
>> >>
>> >> Error has been observed at the following site(s):
>> >>
>> >> |_ checkpoint ⇢
>> >> org.dromara.soul.web.configuration.ErrorHandlerConfiguration$1
>> >> [DefaultWebFilterChain]
>> >>
>> >>
>> >>
>> >>
>> >>
>> >>
>> >>
>> >> debug:
>> >>
>> >> SpringCloudPlugin.java:71
>> >>
>> >> final SpringCloudSelectorHandle selectorHandle =
>> >> GsonUtils.getInstance().fromJson(selector.getHandle(),
>> >> SpringCloudSelectorHandle.class);
>> >>
>> >> selector.getHandle(): [{"upstreamHost":"localhost","protocol":"http://
>> >> ","upstreamUrl":"192.168.0.38:9501
>> >> ","weight":50,"status":true,"timestamp":0,"warmup":0}]
>> >>
>> >>
>> >> db:
>> >>
>> >>
>> idplugin_idnamematch_modetypesorthandleenabledlogedcontinueddate_createddate_updated
>> >>
>> >>
>> 13942195374914560008/jstd-doger011[{"upstreamHost":"localhost","protocol":"http://
>> >> ","upstreamUrl":"192.168.0.38:9501
>> ","weight":50,"status":true,"timestamp":0,"warmup":0}]1112021-05-17
>> >> 17:13:362021-05-17 17:13:36
>> >>
>> >>
>> >>
>> >>
>> >>
>> >>
>> >>
>> >>
>> >>
>> >>
>> >>
>> >>
>> >>
>> >>
>> >>
>> >>
>> >>
>> >> 在 2021-05-17 17:40:42,"Yu Xiao" <xia...@apache.org> 写道:
>> >> >Hi,
>> >> >
>> >> >apache can not show image, maybe  you  can send txt  format~
>> >> >
>> >> >
>> >> >xy <18621594...@163.com> 于2021年5月17日周一 下午5:34写道:
>> >> >
>> >> >> I dont know how to reappear, but it always happen when i used it
>> for a
>> >> while. The array data was written by soul-admin, not by myself
>> >> >>
>> >> >>  对对对
>> >> >>
>> >> >>
>> >> >>
>> >> >>
>> >> >>
>> >> >>
>> >>
>>
>

Reply via email to