Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
id-id-id opened this issue Mar 28, 2024 · 0 comments
Open

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

id-id-id opened this issue Mar 28, 2024 · 0 comments

Comments

@id-id-id
Copy link

id-id-id commented Mar 28, 2024

使用时发现,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

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant