vivo / MoonBox

月光宝盒:无侵入的流量录制与回放平台 A server-side traffic capture and replay platform with noninvasive
Apache License 2.0
1.17k stars 193 forks source link

guava-cache 插件序列化报错 #73

Open id-id-id opened 5 months ago

id-id-id commented 5 months ago

使用时发现,guava-cache 插件在录制流量时会有序列化问题,

invokeType:GUAVA_CACHE, invocation:Invocation{uri=GUAVA_CACHE://com.google.common.cache.LocalCache$LocalLoadingCache/get(com.datastax.driver.core.CodecRegistry.CacheKey)}

具体错误日志如下: [http-nio-8080-exec-9] ERROR com.alibaba.jvm.sandbox.repeater.plugin.core.impl.api.DefaultInvocationListener - Error occurred serialize, stack:[{"className":"com.datastax.driver.core.CodecRegistry","fileName":"CodecRegistry.java","lineNumber":571,"methodName":"lookupCodec","nativeMethod":false},{"className":"com.datastax.driver.core.CodecRegistry","fileName":"CodecRegistry.java","lineNumber":495,"methodName":"codecFor","nativeMethod":false},{"className":"com.datastax.driver.core.AbstractGettableByIndexData","fileName":"AbstractGettableByIndexData.java","lineNumber":68,"methodName":"codecFor","nativeMethod":false},{"className":"com.datastax.driver.core.AbstractGettableByIndexData","fileName":"AbstractGettableByIndexData.java","lineNumber":307,"methodName":"getObject","nativeMethod":false},{"className":"com.datastax.driver.core.AbstractGettableData","fileName":"AbstractGettableData.java","lineNumber":29,"methodName":"getObject","nativeMethod":false},{"className":"com.sun.proxy.$Proxy249","lineNumber":-1,"methodName":"findById","nativeMethod":false},{"className":"com.sun.proxy.$Proxy249","lineNumber":-1,"methodName":"findById","nativeMethod":false},{"className":"com.xxxx.impl.ReleaseConfigServiceImpl","fileName":"ReleaseConfigServiceImpl.java","lineNumber":206,"methodName":"isFeatureReleasedByCountry","nativeMethod":false},{"className":"com.xxxx.ReleaseConfigServiceImpl","fileName":"ReleaseConfigServiceImpl.java","lineNumber":178,"methodName":"isFeatureReleased","nativeMethod":false},{"className":"com.xxxxx.ReleaseConfigServiceImpl","fileName":"ReleaseConfigServiceImpl.java","lineNumber":62,"methodName":"isDeviceTrialReleased","nativeMethod":false},{"className":"com.xxxxxx.DeviceServiceImpl","fileName":"DeviceServiceImpl.java","lineNumber":389,"methodName":"isTrialQualified","nativeMethod":false},{"className":"com.xxxxxx","fileName":"xxxxx.java","lineNumber":90,"methodName":"fillDeviceTrialInfo","nativeMethod":false},{"className":"com.xxxxxx","fileName":"xxxxxl.java","lineNumber":234,"methodName":"getDevicePackagesByAccount","nativeMethod":false},{"className":"com.xxxxxxxx","fileName":"xxxxx.java","lineNumber":80,"methodName":"getDevicesWithxxxxBatch$original$60vOZtcD","nativeMethod":false},{"className":"com.xxxxxx","fileName":"xxxx.java","lineNumber":-1,"methodName":"getDevicesWithxxxxBatch$original$60vOZtcD$accessor$0wV7a63B","nativeMethod":false},{"className":"com.xxxxxxx$auxiliary$kM2lAGUe","lineNumber":-1,"methodName":"call","nativeMethod":false},{"className":"com.xxxxxxx","fileName":"DevicePackageControllerV2.java","lineNumber":-1,"methodName":"getDevicesWithxxxxxBatch","nativeMethod":false},{"className":"com.xxxxxxxx","fileName":"AuthenticationAspect.java","lineNumber":78,"methodName":"handleAuthentication","nativeMethod":false},{"className":"com.xxxxxxxx","fileName":"HttpRequestLogFilter.java","lineNumber":68,"methodName":"doFilterInternal","nativeMethod":false},{"className":"java.lang.Thread","fileName":"Thread.java","lineNumber":750,"methodName":"run","nativeMethod":false}], reqTypes:[com.datastax.driver.core.CodecRegistry.CacheKey], respType: com.datastax.driver.core.TypeCodec.MapCodec com.alibaba.jvm.sandbox.repeater.plugin.core.serialize.SerializeException: [Error-1001]-hessian-serialize-error

请问这个现在应该需要怎么修复