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
java.lang.NoClassDefFoundError: java.time.LocalDateTime
at java.lang.J9VMInternals.verifyImpl(Native Method)
at java.lang.J9VMInternals.verify(J9VMInternals.java:94)
at java.lang.J9VMInternals.verify(J9VMInternals.java:92)
at java.lang.J9VMInternals.prepare(J9VMInternals.java:514)
at java.lang.Class.getConstructor(Class.java:446)
at com.alibaba.fastjson.parser.deserializer.ASMDeserializerFactory.createJavaBeanDeserializer(ASMDeserializerFactory.java:90)
at com.alibaba.fastjson.parser.ParserConfig.createJavaBeanDeserializer(ParserConfig.java:1075)
at com.alibaba.fastjson.parser.ParserConfig.getDeserializer(ParserConfig.java:882)
at com.alibaba.fastjson.parser.ParserConfig.getDeserializer(ParserConfig.java:592)
at com.alibaba.fastjson.parser.DefaultJSONParser.parseObject(DefaultJSONParser.java:679)
at com.alibaba.fastjson.JSON.parseObject(JSON.java:396)
at com.alibaba.fastjson.JSON.parseObject(JSON.java:300)
at com.alibaba.fastjson.JSON.parseObject(JSON.java:573)
at com.taobao.arthas.core.shell.term.impl.http.api.HttpApiHandler.parseRequest(HttpApiHandler.java:188)
at com.taobao.arthas.core.shell.term.impl.http.api.HttpApiHandler.handle(HttpApiHandler.java:93)
at com.taobao.arthas.core.shell.term.impl.http.HttpRequestHandler.channelRead0(HttpRequestHandler.java:75)
at com.taobao.arthas.core.shell.term.impl.http.HttpRequestHandler.channelRead0(HttpRequestHandler.java:40)
at com.alibaba.arthas.deps.io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:99)
at com.alibaba.arthas.deps.io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:377)
at com.alibaba.arthas.deps.io.netty.channel.AbstractChannelHandlerContext.access$600(AbstractChannelHandlerContext.java:59)
at com.alibaba.arthas.deps.io.netty.channel.AbstractChannelHandlerContext$7.run(AbstractChannelHandlerContext.java:368)
at com.alibaba.arthas.deps.io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:164)
at com.alibaba.arthas.deps.io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:472)
at com.alibaba.arthas.deps.io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:500)
at com.alibaba.arthas.deps.io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989)
at com.alibaba.arthas.deps.io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
at com.alibaba.arthas.deps.io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.lang.Thread.run(Thread.java:790)
Caused by: java.lang.ClassNotFoundException: java.time.LocalDateTime
at java.net.URLClassLoader.findClass(URLClassLoader.java:457)
at java.lang.ClassLoader.loadClassHelper(ClassLoader.java:701)
at java.lang.ClassLoader.loadClass(ClassLoader.java:680)
at com.taobao.arthas.agent.ArthasClassloader.loadClass(ArthasClassloader.java:23)
at java.lang.ClassLoader.loadClass(ClassLoader.java:663)
... 28 common frames omitted
The text was updated successfully, but these errors were encountered:
hengyunabc
changed the title
attach到IBM JDK1.6运行的进程后发送http请求报错
fastjson不兼容,导致attach到JDK1.6运行的进程后发送http请求报错 java.lang.ClassNotFoundException: java.time.LocalDateTime
Dec 16, 2020
环境信息
arthas-boot.jar
或者as.sh
的版本: 3.4.3arthas-boot
的版本: IBM JDK1.8重现问题的步骤
期望的结果
arthas响应http请求,返回正确结果(如"state" : "SUCCEEDED"),而不是"error"
实际运行的结果
arthas.log中打印错误日志:NoClassDefExpection:java.time.LocalDateTime、ClassNotFoundExpection:java.time.LocalDateTime.
http请求响应报文state为error
The text was updated successfully, but these errors were encountered: