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

HTTP API可能反序列化失败,fastjson没有忽略getter error问题 #1661

Closed
1 task done
erickwanny opened this issue Jan 9, 2021 · 5 comments
Closed
1 task done
Milestone

Comments

@erickwanny
Copy link

erickwanny commented Jan 9, 2021

  • 我已经在 issues 里搜索,没有重复的issue。

环境信息

  • arthas-boot.jar 或者 as.sh 的版本: xxx
  • Arthas 版本: 3.4.5
  • 操作系统版本: Centos 7.2
  • 目标进程的JVM版本: Oracle JDK 1.8.0_271
  • 执行arthas-boot的版本: 3.4.5

重现问题的步骤

  1. 通过async_exec执行命令:watch -E java.sql.Statement executeQuery {returnObj,@thread@currentThread().getName(),params} -x 2 -s
  2. 通过pull_result拉取命令结果,返回Server Error
  3. 查看arthas.log,发现异常信息
  4. 作为对照,通过async_exec执行命令:watch -E javax.servlet.http.HttpServletRequest getRemoteAddr {returnObj,@thread@currentThread().getName(),params} -x 2 -s
  5. 通过pull_result拉取命令结果,返回结果正常

期望的结果

What do you expected from the above steps?
希望返回结果正常

实际运行的结果

实际运行结果,最好有详细的日志,异常栈。尽量贴文本。

Arthas server agent start...
2021-01-08 17:49:26 [arthas-binding-thread] INFO  c.t.arthas.core.util.ArthasBanner -Current arthas version: 3.4.5, recommend latest version: 3.4.5
2021-01-08 17:49:26 [arthas-binding-thread] INFO  c.t.arthas.core.util.ArthasBanner -Current arthas version: 3.4.5, recommend latest version: 3.4.5
2021-01-08 17:49:26 [arthas-NettyHttpTelnetBootstrap-3-1] INFO  c.a.a.d.i.n.h.logging.LoggingHandler -[id: 0xc1ec6265] REGISTERED
2021-01-08 17:49:26 [arthas-NettyHttpTelnetBootstrap-3-1] INFO  c.a.a.d.i.n.h.logging.LoggingHandler -[id: 0xc1ec6265] BIND: /0.0.0.0:3658
2021-01-08 17:49:26 [arthas-NettyHttpTelnetBootstrap-3-1] INFO  c.a.a.d.i.n.h.logging.LoggingHandler -[id: 0xc1ec6265, L:/0:0:0:0:0:0:0:0:3658] ACTIVE
2021-01-08 17:49:26 [arthas-NettyWebsocketTtyBootstrap-4-1] INFO  c.a.a.d.i.n.h.logging.LoggingHandler -[id: 0x13b244fc] REGISTERED
2021-01-08 17:49:26 [arthas-NettyWebsocketTtyBootstrap-4-1] INFO  c.a.a.d.i.n.h.logging.LoggingHandler -[id: 0x13b244fc] BIND: /0.0.0.0:8563
2021-01-08 17:49:26 [arthas-NettyWebsocketTtyBootstrap-4-1] INFO  c.a.a.d.i.n.h.logging.LoggingHandler -[id: 0x13b244fc, L:/0:0:0:0:0:0:0:0:8563] ACTIVE
2021-01-08 17:49:26 [arthas-NettyWebsocketTtyBootstrap-4-2] INFO  c.a.a.d.i.n.h.logging.LoggingHandler -[id: 0xa4922d4f] REGISTERED
2021-01-08 17:49:26 [arthas-NettyWebsocketTtyBootstrap-4-2] INFO  c.a.a.d.i.n.h.logging.LoggingHandler -[id: 0xa4922d4f] BIND: local:arthas-netty-localaddress
2021-01-08 17:49:26 [arthas-NettyWebsocketTtyBootstrap-4-2] INFO  c.a.a.d.i.n.h.logging.LoggingHandler -[id: 0xa4922d4f, L:local:arthas-netty-localaddress] ACTIVE
2021-01-08 17:49:26 [arthas-binding-thread] INFO  c.t.a.core.server.ArthasBootstrap -as-server listening on network=0.0.0.0;telnet=3658;http=8563;timeout=6000;
2021-01-08 17:49:26 [arthas-binding-thread] INFO  c.t.a.core.server.ArthasBootstrap -as-server started in 5809 ms
Arthas server already bind.
2021-01-08 17:49:26 [arthas-NettyHttpTelnetBootstrap-3-1] INFO  c.a.a.d.i.n.h.logging.LoggingHandler -[id: 0xc1ec6265, L:/0:0:0:0:0:0:0:0:3658] READ: [id: 0x60761777, L:/127.0.0.1:3658 - R:/127.0.0.1:39899]
2021-01-08 17:49:26 [arthas-NettyHttpTelnetBootstrap-3-1] INFO  c.a.a.d.i.n.h.logging.LoggingHandler -[id: 0xc1ec6265, L:/0:0:0:0:0:0:0:0:3658] READ COMPLETE
2021-01-08 17:49:27 [arthas-NettyHttpTelnetBootstrap-3-2] INFO  c.t.a.core.shell.term.impl.Helper -Loaded arthas keymap file from com/taobao/arthas/core/shell/term/readline/inputrc
2021-01-08 17:50:26 [arthas-command-execute] INFO  c.t.arthas.core.advisor.Enhancer -enhance matched classes: []
2021-01-08 17:50:50 [arthas-command-execute] INFO  c.t.arthas.core.advisor.Enhancer -enhance matched classes: []
2021-01-08 17:51:10 [arthas-command-execute] INFO  c.t.arthas.core.advisor.Enhancer -enhance matched classes: [interface org.springframework.web.multipart.MultipartHttpServletRequest, interface javax.servlet.http.HttpServletRequest, class org.apache.catalina.connector.Request, interface org.apache.catalina.servlet4preview.http.HttpServletRequest]
2021-01-08 17:51:11 [arthas-command-execute] INFO  c.t.arthas.core.advisor.Enhancer -Success to batch transform classes: [interface org.springframework.web.multipart.MultipartHttpServletRequest, interface javax.servlet.http.HttpServletRequest, class org.apache.catalina.connector.Request, interface org.apache.catalina.servlet4preview.http.HttpServletRequest]
2021-01-08 17:52:50 [arthas-command-execute] INFO  c.t.arthas.core.advisor.Enhancer -enhance matched classes: [interface org.postgresql.core.BaseStatement, class org.postgresql.jdbc.PgStatement, class org.apache.catalina.connector.RequestFacade, interface org.springframework.web.multipart.MultipartHttpServletRequest, interface javax.servlet.http.HttpServletRequest, class org.apache.catalina.connector.Request, interface org.apache.catalina.servlet4preview.http.HttpServletRequest]
2021-01-08 17:52:50 [arthas-command-execute] INFO  c.t.arthas.core.advisor.Enhancer -Success to batch transform classes: [interface org.postgresql.core.BaseStatement, class org.postgresql.jdbc.PgStatement, class org.apache.catalina.connector.RequestFacade, interface org.springframework.web.multipart.MultipartHttpServletRequest, interface javax.servlet.http.HttpServletRequest, class org.apache.catalina.connector.Request, interface org.apache.catalina.servlet4preview.http.HttpServletRequest]
2021-01-08 17:54:07 [arthas-NettyWebsocketTtyBootstrap-4-1] INFO  c.a.a.d.i.n.h.logging.LoggingHandler -[id: 0x13b244fc, L:/0:0:0:0:0:0:0:0:8563] READ: [id: 0x8b7aed39, L:/192.168.1.24:8563 - R:/192.168.1.10:21054]
2021-01-08 17:54:07 [arthas-NettyWebsocketTtyBootstrap-4-1] INFO  c.a.a.d.i.n.h.logging.LoggingHandler -[id: 0x13b244fc, L:/0:0:0:0:0:0:0:0:8563] READ COMPLETE
2021-01-08 17:55:37 [arthas-NettyWebsocketTtyBootstrap-4-1] INFO  c.a.a.d.i.n.h.logging.LoggingHandler -[id: 0x13b244fc, L:/0:0:0:0:0:0:0:0:8563] READ: [id: 0xf893a1e5, L:/192.168.1.24:8563 - R:/192.168.1.10:21272]
2021-01-08 17:55:37 [arthas-NettyWebsocketTtyBootstrap-4-1] INFO  c.a.a.d.i.n.h.logging.LoggingHandler -[id: 0x13b244fc, L:/0:0:0:0:0:0:0:0:8563] READ COMPLETE
2021-01-08 17:55:37 [arthas-command-execute] INFO  c.t.arthas.core.advisor.Enhancer -enhance matched classes: [interface org.postgresql.core.BaseStatement, class org.postgresql.jdbc.PgStatement, class org.apache.catalina.connector.RequestFacade, interface org.springframework.web.multipart.MultipartHttpServletRequest, interface javax.servlet.http.HttpServletRequest, class org.apache.catalina.connector.Request, interface org.apache.catalina.servlet4preview.http.HttpServletRequest]
2021-01-08 17:55:37 [arthas-command-execute] INFO  c.t.arthas.core.advisor.Enhancer -Success to batch transform classes: [interface org.postgresql.core.BaseStatement, class org.postgresql.jdbc.PgStatement, class org.apache.catalina.connector.RequestFacade, interface org.springframework.web.multipart.MultipartHttpServletRequest, interface javax.servlet.http.HttpServletRequest, class org.apache.catalina.connector.Request, interface org.apache.catalina.servlet4preview.http.HttpServletRequest]
2021-01-08 17:56:07 [arthas-NettyWebsocketTtyBootstrap-4-1] INFO  c.a.a.d.i.n.h.logging.LoggingHandler -[id: 0x13b244fc, L:/0:0:0:0:0:0:0:0:8563] READ: [id: 0x5c6d2b1b, L:/192.168.1.24:8563 - R:/192.168.1.10:21344]
2021-01-08 17:56:07 [arthas-NettyWebsocketTtyBootstrap-4-1] INFO  c.a.a.d.i.n.h.logging.LoggingHandler -[id: 0x13b244fc, L:/0:0:0:0:0:0:0:0:8563] READ COMPLETE
2021-01-08 17:56:30 [arthas-NettyWebsocketTtyBootstrap-4-1] INFO  c.a.a.d.i.n.h.logging.LoggingHandler -[id: 0x13b244fc, L:/0:0:0:0:0:0:0:0:8563] READ: [id: 0x8086fedc, L:/192.168.1.24:8563 - R:/192.168.1.10:21395]
2021-01-08 17:56:30 [arthas-NettyWebsocketTtyBootstrap-4-1] INFO  c.a.a.d.i.n.h.logging.LoggingHandler -[id: 0x13b244fc, L:/0:0:0:0:0:0:0:0:8563] READ COMPLETE
2021-01-08 17:56:30 [arthas-TermServer-1-4] ERROR c.t.a.c.s.t.i.h.HttpTelnetTermServer -arthas process http request error: /api
com.alibaba.fastjson.JSONException: write javaBean error, fastjson version 1.2.71, class com.taobao.arthas.core.shell.term.impl.http.api.ApiResponse, write javaBean error, fastjson version 1.2.71, class org.postgresql.jdbc.PgResultSet, fieldName : 0
	at com.alibaba.fastjson.serializer.JavaBeanSerializer.write(JavaBeanSerializer.java:539)
	at com.alibaba.fastjson.serializer.JavaBeanSerializer.write(JavaBeanSerializer.java:149)
	at com.alibaba.fastjson.serializer.JSONSerializer.write(JSONSerializer.java:285)
	at com.alibaba.fastjson.JSON.writeJSONString(JSON.java:967)
	at com.alibaba.fastjson.JSON.writeJSONString(JSON.java:919)
	at com.alibaba.fastjson.JSON.writeJSONString(JSON.java:909)
	at com.taobao.arthas.core.shell.term.impl.http.api.HttpApiHandler.writeResult(HttpApiHandler.java:174)
	at com.taobao.arthas.core.shell.term.impl.http.api.HttpApiHandler.handle(HttpApiHandler.java:134)
	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:748)
Caused by: com.alibaba.fastjson.JSONException: write javaBean error, fastjson version 1.2.71, class org.postgresql.jdbc.PgResultSet, fieldName : 0
	at com.alibaba.fastjson.serializer.JavaBeanSerializer.write(JavaBeanSerializer.java:539)
	at com.alibaba.fastjson.serializer.JavaBeanSerializer.write(JavaBeanSerializer.java:149)
	at com.alibaba.fastjson.serializer.ListSerializer.write(ListSerializer.java:135)
	at com.alibaba.fastjson.serializer.JSONSerializer.writeWithFieldName(JSONSerializer.java:333)
	at com.alibaba.fastjson.serializer.ASMSerializer_6_WatchModel.write(Unknown Source)
	at com.alibaba.fastjson.serializer.ListSerializer.write(ListSerializer.java:135)
	at com.alibaba.fastjson.serializer.MapSerializer.write(MapSerializer.java:271)
	at com.alibaba.fastjson.serializer.MapSerializer.write(MapSerializer.java:44)
	at com.alibaba.fastjson.serializer.FieldSerializer.writeValue(FieldSerializer.java:320)
	at com.alibaba.fastjson.serializer.JavaBeanSerializer.write(JavaBeanSerializer.java:470)
	... 20 common frames omitted
Caused by: java.sql.SQLFeatureNotSupportedException: Õâ¸ö org.postgresql.jdbc.PgResultSet.getHoldability() ·½·¨ÉÐδ±»Êµ×÷¡£
	at org.postgresql.Driver.notImplemented(Driver.java:688)
	at org.postgresql.jdbc.PgResultSet.getHoldability(PgResultSet.java:3489)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at com.alibaba.fastjson.util.FieldInfo.get(FieldInfo.java:558)
	at com.alibaba.fastjson.serializer.FieldSerializer.getPropertyValueDirect(FieldSerializer.java:145)
	at com.alibaba.fastjson.serializer.JavaBeanSerializer.write(JavaBeanSerializer.java:282)
	... 29 common frames omitted
2021-01-08 17:57:04 [arthas-NettyWebsocketTtyBootstrap-4-1] INFO  c.a.a.d.i.n.h.logging.LoggingHandler -[id: 0x13b244fc, L:/0:0:0:0:0:0:0:0:8563] READ: [id: 0xe7f91164, L:/192.168.1.24:8563 - R:/192.168.1.10:21482]
2021-01-08 17:57:04 [arthas-NettyWebsocketTtyBootstrap-4-1] INFO  c.a.a.d.i.n.h.logging.LoggingHandler -[id: 0x13b244fc, L:/0:0:0:0:0:0:0:0:8563] READ COMPLETE
2021-01-08 17:57:26 [arthas-NettyWebsocketTtyBootstrap-4-1] INFO  c.a.a.d.i.n.h.logging.LoggingHandler -[id: 0x13b244fc, L:/0:0:0:0:0:0:0:0:8563] READ: [id: 0x6e645f03, L:/192.168.1.24:8563 - R:/192.168.1.10:21542]
2021-01-08 17:57:26 [arthas-NettyWebsocketTtyBootstrap-4-1] INFO  c.a.a.d.i.n.h.logging.LoggingHandler -[id: 0x13b244fc, L:/0:0:0:0:0:0:0:0:8563] READ COMPLETE
2021-01-08 17:57:49 [arthas-command-execute] INFO  c.t.arthas.core.advisor.Enhancer -enhance matched classes: [interface org.postgresql.core.BaseStatement, class org.postgresql.jdbc.PgStatement, class org.apache.catalina.connector.RequestFacade, interface org.springframework.web.multipart.MultipartHttpServletRequest, interface javax.servlet.http.HttpServletRequest, class org.apache.catalina.connector.Request, interface org.apache.catalina.servlet4preview.http.HttpServletRequest]
2021-01-08 17:57:49 [arthas-command-execute] INFO  c.t.arthas.core.advisor.Enhancer -Success to batch transform classes: [interface org.postgresql.core.BaseStatement, class org.postgresql.jdbc.PgStatement, class org.apache.catalina.connector.RequestFacade, interface org.springframework.web.multipart.MultipartHttpServletRequest, interface javax.servlet.http.HttpServletRequest, class org.apache.catalina.connector.Request, interface org.apache.catalina.servlet4preview.http.HttpServletRequest]
2021-01-08 17:58:00 [arthas-NettyWebsocketTtyBootstrap-4-1] INFO  c.a.a.d.i.n.h.logging.LoggingHandler -[id: 0x13b244fc, L:/0:0:0:0:0:0:0:0:8563] READ: [id: 0xf5eff77b, L:/192.168.1.24:8563 - R:/192.168.1.10:21626]
2021-01-08 17:58:00 [arthas-NettyWebsocketTtyBootstrap-4-1] INFO  c.a.a.d.i.n.h.logging.LoggingHandler -[id: 0x13b244fc, L:/0:0:0:0:0:0:0:0:8563] READ COMPLETE
2021-01-08 17:58:11 [arthas-NettyWebsocketTtyBootstrap-4-1] INFO  c.a.a.d.i.n.h.logging.LoggingHandler -[id: 0x13b244fc, L:/0:0:0:0:0:0:0:0:8563] READ: [id: 0x86136de6, L:/192.168.1.24:8563 - R:/192.168.1.10:21662]
2021-01-08 17:58:11 [arthas-NettyWebsocketTtyBootstrap-4-1] INFO  c.a.a.d.i.n.h.logging.LoggingHandler -[id: 0x13b244fc, L:/0:0:0:0:0:0:0:0:8563] READ COMPLETE
2021-01-08 17:58:23 [arthas-NettyWebsocketTtyBootstrap-4-1] INFO  c.a.a.d.i.n.h.logging.LoggingHandler -[id: 0x13b244fc, L:/0:0:0:0:0:0:0:0:8563] READ: [id: 0x5dffe0d4, L:/192.168.1.24:8563 - R:/192.168.1.10:21686]
2021-01-08 17:58:23 [arthas-NettyWebsocketTtyBootstrap-4-1] INFO  c.a.a.d.i.n.h.logging.LoggingHandler -[id: 0x13b244fc, L:/0:0:0:0:0:0:0:0:8563] READ COMPLETE
2021-01-08 17:58:30 [arthas-NettyWebsocketTtyBootstrap-4-1] INFO  c.a.a.d.i.n.h.logging.LoggingHandler -[id: 0x13b244fc, L:/0:0:0:0:0:0:0:0:8563] READ: [id: 0x1adc6b0d, L:/192.168.1.24:8563 - R:/192.168.1.10:21698]
2021-01-08 17:58:30 [arthas-NettyWebsocketTtyBootstrap-4-1] INFO  c.a.a.d.i.n.h.logging.LoggingHandler -[id: 0x13b244fc, L:/0:0:0:0:0:0:0:0:8563] READ COMPLETE
2021-01-08 17:59:47 [arthas-NettyWebsocketTtyBootstrap-4-1] INFO  c.a.a.d.i.n.h.logging.LoggingHandler -[id: 0x13b244fc, L:/0:0:0:0:0:0:0:0:8563] READ: [id: 0xf74fbf23, L:/192.168.1.24:8563 - R:/192.168.1.10:21909]
2021-01-08 17:59:47 [arthas-NettyWebsocketTtyBootstrap-4-1] INFO  c.a.a.d.i.n.h.logging.LoggingHandler -[id: 0x13b244fc, L:/0:0:0:0:0:0:0:0:8563] READ COMPLETE
2021-01-08 17:59:47 [arthas-command-execute] INFO  c.t.arthas.core.advisor.Enhancer -enhance matched classes: [interface org.postgresql.core.BaseStatement, class org.postgresql.jdbc.PgStatement, class org.apache.catalina.connector.RequestFacade, interface org.springframework.web.multipart.MultipartHttpServletRequest, interface javax.servlet.http.HttpServletRequest, class org.apache.catalina.connector.Request, interface org.apache.catalina.servlet4preview.http.HttpServletRequest]
2021-01-08 17:59:47 [arthas-command-execute] INFO  c.t.arthas.core.advisor.Enhancer -Success to batch transform classes: [interface org.postgresql.core.BaseStatement, class org.postgresql.jdbc.PgStatement, class org.apache.catalina.connector.RequestFacade, interface org.springframework.web.multipart.MultipartHttpServletRequest, interface javax.servlet.http.HttpServletRequest, class org.apache.catalina.connector.Request, interface org.apache.catalina.servlet4preview.http.HttpServletRequest]
2021-01-08 17:59:52 [arthas-NettyWebsocketTtyBootstrap-4-1] INFO  c.a.a.d.i.n.h.logging.LoggingHandler -[id: 0x13b244fc, L:/0:0:0:0:0:0:0:0:8563] READ: [id: 0x07cee414, L:/192.168.1.24:8563 - R:/192.168.1.10:21922]
2021-01-08 17:59:52 [arthas-NettyWebsocketTtyBootstrap-4-1] INFO  c.a.a.d.i.n.h.logging.LoggingHandler -[id: 0x13b244fc, L:/0:0:0:0:0:0:0:0:8563] READ COMPLETE
2021-01-08 18:00:02 [arthas-NettyWebsocketTtyBootstrap-4-1] INFO  c.a.a.d.i.n.h.logging.LoggingHandler -[id: 0x13b244fc, L:/0:0:0:0:0:0:0:0:8563] READ: [id: 0xec604bcb, L:/192.168.1.24:8563 - R:/192.168.1.10:21942]
2021-01-08 18:00:02 [arthas-NettyWebsocketTtyBootstrap-4-1] INFO  c.a.a.d.i.n.h.logging.LoggingHandler -[id: 0x13b244fc, L:/0:0:0:0:0:0:0:0:8563] READ COMPLETE
2021-01-08 18:00:21 [arthas-NettyWebsocketTtyBootstrap-4-1] INFO  c.a.a.d.i.n.h.logging.LoggingHandler -[id: 0x13b244fc, L:/0:0:0:0:0:0:0:0:8563] READ: [id: 0xb84338ea, L:/192.168.1.24:8563 - R:/192.168.1.10:21995]
2021-01-08 18:00:21 [arthas-NettyWebsocketTtyBootstrap-4-1] INFO  c.a.a.d.i.n.h.logging.LoggingHandler -[id: 0x13b244fc, L:/0:0:0:0:0:0:0:0:8563] READ COMPLETE
2021-01-08 18:00:28 [arthas-NettyWebsocketTtyBootstrap-4-1] INFO  c.a.a.d.i.n.h.logging.LoggingHandler -[id: 0x13b244fc, L:/0:0:0:0:0:0:0:0:8563] READ: [id: 0xac2762da, L:/192.168.1.24:8563 - R:/192.168.1.10:22008]
2021-01-08 18:00:28 [arthas-NettyWebsocketTtyBootstrap-4-1] INFO  c.a.a.d.i.n.h.logging.LoggingHandler -[id: 0x13b244fc, L:/0:0:0:0:0:0:0:0:8563] READ COMPLETE
2021-01-08 18:00:28 [arthas-TermServer-1-15] ERROR c.t.a.c.s.t.i.h.HttpTelnetTermServer -arthas process http request error: /api
com.alibaba.fastjson.JSONException: write javaBean error, fastjson version 1.2.71, class com.taobao.arthas.core.shell.term.impl.http.api.ApiResponse, write javaBean error, fastjson version 1.2.71, class org.postgresql.jdbc.PgResultSet, fieldName : 0
	at com.alibaba.fastjson.serializer.JavaBeanSerializer.write(JavaBeanSerializer.java:539)
	at com.alibaba.fastjson.serializer.JavaBeanSerializer.write(JavaBeanSerializer.java:149)
	at com.alibaba.fastjson.serializer.JSONSerializer.write(JSONSerializer.java:285)
	at com.alibaba.fastjson.JSON.writeJSONString(JSON.java:967)
	at com.alibaba.fastjson.JSON.writeJSONString(JSON.java:919)
	at com.alibaba.fastjson.JSON.writeJSONString(JSON.java:909)
	at com.taobao.arthas.core.shell.term.impl.http.api.HttpApiHandler.writeResult(HttpApiHandler.java:174)
	at com.taobao.arthas.core.shell.term.impl.http.api.HttpApiHandler.handle(HttpApiHandler.java:134)
	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:748)
Caused by: com.alibaba.fastjson.JSONException: write javaBean error, fastjson version 1.2.71, class org.postgresql.jdbc.PgResultSet, fieldName : 0
	at com.alibaba.fastjson.serializer.JavaBeanSerializer.write(JavaBeanSerializer.java:539)
	at com.alibaba.fastjson.serializer.JavaBeanSerializer.write(JavaBeanSerializer.java:149)
	at com.alibaba.fastjson.serializer.ListSerializer.write(ListSerializer.java:135)
	at com.alibaba.fastjson.serializer.JSONSerializer.writeWithFieldName(JSONSerializer.java:333)
	at com.alibaba.fastjson.serializer.ASMSerializer_6_WatchModel.write(Unknown Source)
	at com.alibaba.fastjson.serializer.ListSerializer.write(ListSerializer.java:135)
	at com.alibaba.fastjson.serializer.MapSerializer.write(MapSerializer.java:271)
	at com.alibaba.fastjson.serializer.MapSerializer.write(MapSerializer.java:44)
	at com.alibaba.fastjson.serializer.FieldSerializer.writeValue(FieldSerializer.java:320)
	at com.alibaba.fastjson.serializer.JavaBeanSerializer.write(JavaBeanSerializer.java:470)
	... 20 common frames omitted
Caused by: java.sql.SQLFeatureNotSupportedException: Õâ¸ö org.postgresql.jdbc.PgResultSet.getHoldability() ·½·¨ÉÐδ±»Êµ×÷¡£
	at org.postgresql.Driver.notImplemented(Driver.java:688)
	at org.postgresql.jdbc.PgResultSet.getHoldability(PgResultSet.java:3489)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at com.alibaba.fastjson.util.FieldInfo.get(FieldInfo.java:558)
	at com.alibaba.fastjson.serializer.FieldSerializer.getPropertyValueDirect(FieldSerializer.java:145)
	at com.alibaba.fastjson.serializer.JavaBeanSerializer.write(JavaBeanSerializer.java:282)
	... 29 common frames omitted
2021-01-08 18:06:26 [arthas-session-manager] INFO  c.t.a.c.s.s.impl.SessionManagerImpl -Removing inactive consumer from session, sessionId: 4a0cc470-13c7-4594-9562-e96317a5ce72, consumerId: 4e45eb7a5c7e4fe389da662243c56a8b_1, inactive duration: 358138
2021-01-08 18:22:45 [arthas-command-execute] INFO  c.t.arthas.core.advisor.Enhancer -Success to reset classes: [interface org.postgresql.core.BaseStatement, class org.postgresql.jdbc.PgStatement, class org.apache.catalina.connector.RequestFacade, interface org.springframework.web.multipart.MultipartHttpServletRequest, interface javax.servlet.http.HttpServletRequest, class org.apache.catalina.connector.Request, interface org.apache.catalina.servlet4preview.http.HttpServletRequest]
2021-01-08 18:22:45 [arthas-NettyHttpTelnetBootstrap-3-1] INFO  c.a.a.d.i.n.h.logging.LoggingHandler -[id: 0xc1ec6265, L:/0:0:0:0:0:0:0:0:3658] INACTIVE
2021-01-08 18:22:45 [arthas-NettyHttpTelnetBootstrap-3-1] INFO  c.a.a.d.i.n.h.logging.LoggingHandler -[id: 0xc1ec6265, L:/0:0:0:0:0:0:0:0:3658] UNREGISTERED
2021-01-08 18:22:45 [arthas-NettyWebsocketTtyBootstrap-4-1] INFO  c.a.a.d.i.n.h.logging.LoggingHandler -[id: 0x13b244fc, L:/0:0:0:0:0:0:0:0:8563] CLOSE
2021-01-08 18:22:45 [arthas-NettyWebsocketTtyBootstrap-4-1] INFO  c.a.a.d.i.n.h.logging.LoggingHandler -[id: 0x13b244fc, L:/0:0:0:0:0:0:0:0:8563] INACTIVE
2021-01-08 18:22:45 [arthas-NettyWebsocketTtyBootstrap-4-1] INFO  c.a.a.d.i.n.h.logging.LoggingHandler -[id: 0x13b244fc, L:/0:0:0:0:0:0:0:0:8563] UNREGISTERED
2021-01-08 18:22:45 [arthas-NettyWebsocketTtyBootstrap-4-2] INFO  c.a.a.d.i.n.h.logging.LoggingHandler -[id: 0xa4922d4f, L:local:arthas-netty-localaddress] INACTIVE
2021-01-08 18:22:45 [arthas-NettyWebsocketTtyBootstrap-4-2] INFO  c.a.a.d.i.n.h.logging.LoggingHandler -[id: 0xa4922d4f, L:local:arthas-netty-localaddress] UNREGISTERED
2021-01-08 18:22:45 [arthas-command-execute] INFO  c.t.a.c.s.s.impl.SessionManagerImpl -Removing session before shutdown: 4a0cc470-13c7-4594-9562-e96317a5ce72, last access time: 1610100028038
2021-01-08 18:22:45 [arthas-command-execute] INFO  c.t.a.core.server.ArthasBootstrap -as-server destroy completed.
Arthas server agent start...
2021-01-08 18:22:50 [arthas-binding-thread] INFO  c.t.arthas.core.util.ArthasBanner -Current arthas version: 3.4.5, recommend latest version: 3.4.5
2021-01-08 18:22:50 [arthas-binding-thread] INFO  c.t.arthas.core.util.ArthasBanner -Current arthas version: 3.4.5, recommend latest version: 3.4.5
2021-01-08 18:22:50 [arthas-NettyHttpTelnetBootstrap-3-1] INFO  c.a.a.d.i.n.h.logging.LoggingHandler -[id: 0x5502c4dc] REGISTERED
2021-01-08 18:22:50 [arthas-NettyHttpTelnetBootstrap-3-1] INFO  c.a.a.d.i.n.h.logging.LoggingHandler -[id: 0x5502c4dc] BIND: /0.0.0.0:3658
2021-01-08 18:22:50 [arthas-NettyHttpTelnetBootstrap-3-1] INFO  c.a.a.d.i.n.h.logging.LoggingHandler -[id: 0x5502c4dc, L:/0:0:0:0:0:0:0:0:3658] ACTIVE
2021-01-08 18:22:50 [arthas-NettyWebsocketTtyBootstrap-4-1] INFO  c.a.a.d.i.n.h.logging.LoggingHandler -[id: 0x26b82731] REGISTERED
2021-01-08 18:22:50 [arthas-NettyWebsocketTtyBootstrap-4-1] INFO  c.a.a.d.i.n.h.logging.LoggingHandler -[id: 0x26b82731] BIND: /0.0.0.0:8563
2021-01-08 18:22:50 [arthas-NettyWebsocketTtyBootstrap-4-1] INFO  c.a.a.d.i.n.h.logging.LoggingHandler -[id: 0x26b82731, L:/0:0:0:0:0:0:0:0:8563] ACTIVE
2021-01-08 18:22:50 [arthas-NettyWebsocketTtyBootstrap-4-2] INFO  c.a.a.d.i.n.h.logging.LoggingHandler -[id: 0x142efa2c] REGISTERED
2021-01-08 18:22:50 [arthas-NettyWebsocketTtyBootstrap-4-2] INFO  c.a.a.d.i.n.h.logging.LoggingHandler -[id: 0x142efa2c] BIND: local:arthas-netty-localaddress
2021-01-08 18:22:50 [arthas-NettyWebsocketTtyBootstrap-4-2] INFO  c.a.a.d.i.n.h.logging.LoggingHandler -[id: 0x142efa2c, L:local:arthas-netty-localaddress] ACTIVE
2021-01-08 18:22:50 [arthas-binding-thread] INFO  c.t.a.core.server.ArthasBootstrap -as-server listening on network=0.0.0.0;telnet=3658;http=8563;timeout=6000;
2021-01-08 18:22:50 [arthas-binding-thread] INFO  c.t.a.core.server.ArthasBootstrap -as-server started in 565 ms
Arthas server already bind.
2021-01-08 18:22:50 [arthas-NettyHttpTelnetBootstrap-3-1] INFO  c.a.a.d.i.n.h.logging.LoggingHandler -[id: 0x5502c4dc, L:/0:0:0:0:0:0:0:0:3658] READ: [id: 0xc5b500d3, L:/127.0.0.1:3658 - R:/127.0.0.1:42325]
2021-01-08 18:22:50 [arthas-NettyHttpTelnetBootstrap-3-1] INFO  c.a.a.d.i.n.h.logging.LoggingHandler -[id: 0x5502c4dc, L:/0:0:0:0:0:0:0:0:3658] READ COMPLETE
2021-01-08 18:22:51 [arthas-NettyHttpTelnetBootstrap-3-2] INFO  c.t.a.core.shell.term.impl.Helper -Loaded arthas keymap file from com/taobao/arthas/core/shell/term/readline/inputrc
2021-01-08 18:22:56 [arthas-command-execute] INFO  c.t.arthas.core.advisor.Enhancer -Success to reset classes: []
2021-01-08 18:22:56 [arthas-NettyHttpTelnetBootstrap-3-1] INFO  c.a.a.d.i.n.h.logging.LoggingHandler -[id: 0x5502c4dc, L:/0:0:0:0:0:0:0:0:3658] INACTIVE
2021-01-08 18:22:56 [arthas-NettyHttpTelnetBootstrap-3-1] INFO  c.a.a.d.i.n.h.logging.LoggingHandler -[id: 0x5502c4dc, L:/0:0:0:0:0:0:0:0:3658] UNREGISTERED
2021-01-08 18:22:56 [arthas-NettyWebsocketTtyBootstrap-4-1] INFO  c.a.a.d.i.n.h.logging.LoggingHandler -[id: 0x26b82731, L:/0:0:0:0:0:0:0:0:8563] CLOSE
2021-01-08 18:22:56 [arthas-NettyWebsocketTtyBootstrap-4-1] INFO  c.a.a.d.i.n.h.logging.LoggingHandler -[id: 0x26b82731, L:/0:0:0:0:0:0:0:0:8563] INACTIVE
2021-01-08 18:22:56 [arthas-NettyWebsocketTtyBootstrap-4-1] INFO  c.a.a.d.i.n.h.logging.LoggingHandler -[id: 0x26b82731, L:/0:0:0:0:0:0:0:0:8563] UNREGISTERED
2021-01-08 18:22:56 [arthas-NettyWebsocketTtyBootstrap-4-2] INFO  c.a.a.d.i.n.h.logging.LoggingHandler -[id: 0x142efa2c, L:local:arthas-netty-localaddress] INACTIVE
2021-01-08 18:22:56 [arthas-NettyWebsocketTtyBootstrap-4-2] INFO  c.a.a.d.i.n.h.logging.LoggingHandler -[id: 0x142efa2c, L:local:arthas-netty-localaddress] UNREGISTERED
2021-01-08 18:22:56 [arthas-command-execute] INFO  c.t.a.core.server.ArthasBootstrap -as-server destroy completed.
Arthas server agent start...
2021-01-08 18:23:36 [arthas-binding-thread] INFO  c.t.arthas.core.util.ArthasBanner -Current arthas version: 3.4.5, recommend latest version: 3.4.5
2021-01-08 18:23:36 [arthas-binding-thread] INFO  c.t.arthas.core.util.ArthasBanner -Current arthas version: 3.4.5, recommend latest version: 3.4.5
2021-01-08 18:23:36 [arthas-NettyHttpTelnetBootstrap-3-1] INFO  c.a.a.d.i.n.h.logging.LoggingHandler -[id: 0xc534d70f] REGISTERED
2021-01-08 18:23:36 [arthas-NettyHttpTelnetBootstrap-3-1] INFO  c.a.a.d.i.n.h.logging.LoggingHandler -[id: 0xc534d70f] BIND: /0.0.0.0:3658
2021-01-08 18:23:36 [arthas-NettyHttpTelnetBootstrap-3-1] INFO  c.a.a.d.i.n.h.logging.LoggingHandler -[id: 0xc534d70f, L:/0:0:0:0:0:0:0:0:3658] ACTIVE
2021-01-08 18:23:36 [arthas-NettyWebsocketTtyBootstrap-4-1] INFO  c.a.a.d.i.n.h.logging.LoggingHandler -[id: 0x2bc70304] REGISTERED
2021-01-08 18:23:36 [arthas-NettyWebsocketTtyBootstrap-4-1] INFO  c.a.a.d.i.n.h.logging.LoggingHandler -[id: 0x2bc70304] BIND: /0.0.0.0:8563
2021-01-08 18:23:36 [arthas-NettyWebsocketTtyBootstrap-4-1] INFO  c.a.a.d.i.n.h.logging.LoggingHandler -[id: 0x2bc70304, L:/0:0:0:0:0:0:0:0:8563] ACTIVE
2021-01-08 18:23:36 [arthas-NettyWebsocketTtyBootstrap-4-2] INFO  c.a.a.d.i.n.h.logging.LoggingHandler -[id: 0xccf53334] REGISTERED
2021-01-08 18:23:36 [arthas-NettyWebsocketTtyBootstrap-4-2] INFO  c.a.a.d.i.n.h.logging.LoggingHandler -[id: 0xccf53334] BIND: local:arthas-netty-localaddress
2021-01-08 18:23:36 [arthas-NettyWebsocketTtyBootstrap-4-2] INFO  c.a.a.d.i.n.h.logging.LoggingHandler -[id: 0xccf53334, L:local:arthas-netty-localaddress] ACTIVE
2021-01-08 18:23:36 [arthas-binding-thread] INFO  c.t.a.core.server.ArthasBootstrap -as-server listening on network=0.0.0.0;telnet=3658;http=8563;timeout=6000;
2021-01-08 18:23:36 [arthas-binding-thread] INFO  c.t.a.core.server.ArthasBootstrap -as-server started in 764 ms
Arthas server already bind.
2021-01-08 18:23:36 [arthas-NettyHttpTelnetBootstrap-3-1] INFO  c.a.a.d.i.n.h.logging.LoggingHandler -[id: 0xc534d70f, L:/0:0:0:0:0:0:0:0:3658] READ: [id: 0xc8808998, L:/127.0.0.1:3658 - R:/127.0.0.1:42381]
2021-01-08 18:23:36 [arthas-NettyHttpTelnetBootstrap-3-1] INFO  c.a.a.d.i.n.h.logging.LoggingHandler -[id: 0xc534d70f, L:/0:0:0:0:0:0:0:0:3658] READ COMPLETE
2021-01-08 18:23:37 [arthas-NettyHttpTelnetBootstrap-3-2] INFO  c.t.a.core.shell.term.impl.Helper -Loaded arthas keymap file from com/taobao/arthas/core/shell/term/readline/inputrc
2021-01-08 18:24:06 [arthas-command-execute] INFO  c.t.arthas.core.advisor.Enhancer -enhance matched classes: [class org.apache.catalina.connector.Request, interface org.springframework.web.multipart.MultipartHttpServletRequest, interface javax.servlet.http.HttpServletRequest, interface org.apache.catalina.servlet4preview.http.HttpServletRequest]
2021-01-08 18:24:06 [arthas-command-execute] INFO  c.t.arthas.core.advisor.Enhancer -Success to batch transform classes: [class org.apache.catalina.connector.Request, interface org.springframework.web.multipart.MultipartHttpServletRequest, interface javax.servlet.http.HttpServletRequest, interface org.apache.catalina.servlet4preview.http.HttpServletRequest]
2021-01-08 18:25:07 [arthas-command-execute] INFO  c.t.arthas.core.advisor.Enhancer -enhance matched classes: [class oracle.jdbc.driver.T4CPreparedStatement, class org.apache.catalina.connector.Request, class oracle.jdbc.driver.OracleStatementWrapper, class oracle.jdbc.driver.OracleStatement, interface org.springframework.web.multipart.MultipartHttpServletRequest, class org.apache.catalina.connector.RequestFacade, interface javax.servlet.http.HttpServletRequest, interface org.apache.catalina.servlet4preview.http.HttpServletRequest, interface oracle.jdbc.internal.OraclePreparedStatement, class oracle.jdbc.driver.OraclePreparedStatement, class oracle.jdbc.driver.T4CStatement, interface oracle.jdbc.internal.OracleStatement, class oracle.jdbc.driver.OracleClosedStatement, interface oracle.jdbc.OracleStatement, interface oracle.jdbc.OracleCallableStatement, interface oracle.jdbc.internal.OracleCallableStatement, class oracle.jdbc.driver.T4CCallableStatement, interface oracle.jdbc.OraclePreparedStatement, class oracle.jdbc.driver.OracleCallableStatement]
2021-01-08 18:25:08 [arthas-command-execute] INFO  c.t.arthas.core.advisor.Enhancer -Success to batch transform classes: [class oracle.jdbc.driver.T4CPreparedStatement, class org.apache.catalina.connector.Request, class oracle.jdbc.driver.OracleStatementWrapper, class oracle.jdbc.driver.OracleStatement, interface org.springframework.web.multipart.MultipartHttpServletRequest, class org.apache.catalina.connector.RequestFacade, interface javax.servlet.http.HttpServletRequest, interface org.apache.catalina.servlet4preview.http.HttpServletRequest, interface oracle.jdbc.internal.OraclePreparedStatement, class oracle.jdbc.driver.OraclePreparedStatement, class oracle.jdbc.driver.T4CStatement, interface oracle.jdbc.internal.OracleStatement, class oracle.jdbc.driver.OracleClosedStatement, interface oracle.jdbc.OracleStatement, interface oracle.jdbc.OracleCallableStatement, interface oracle.jdbc.internal.OracleCallableStatement, class oracle.jdbc.driver.T4CCallableStatement, interface oracle.jdbc.OraclePreparedStatement, class oracle.jdbc.driver.OracleCallableStatement]
2021-01-08 18:25:46 [arthas-command-execute] INFO  c.t.arthas.core.advisor.Enhancer -Success to reset classes: [class oracle.jdbc.driver.T4CPreparedStatement, class org.apache.catalina.connector.Request, class oracle.jdbc.driver.OracleStatementWrapper, class oracle.jdbc.driver.OracleStatement, interface org.springframework.web.multipart.MultipartHttpServletRequest, class org.apache.catalina.connector.RequestFacade, interface javax.servlet.http.HttpServletRequest, interface org.apache.catalina.servlet4preview.http.HttpServletRequest, interface oracle.jdbc.internal.OraclePreparedStatement, class oracle.jdbc.driver.OraclePreparedStatement, interface oracle.jdbc.internal.OracleStatement, class oracle.jdbc.driver.T4CStatement, interface oracle.jdbc.OracleStatement, class oracle.jdbc.driver.OracleClosedStatement, interface oracle.jdbc.OracleCallableStatement, interface oracle.jdbc.internal.OracleCallableStatement, class oracle.jdbc.driver.T4CCallableStatement, interface oracle.jdbc.OraclePreparedStatement, class oracle.jdbc.driver.OracleCallableStatement]
2021-01-08 18:25:46 [arthas-NettyHttpTelnetBootstrap-3-1] INFO  c.a.a.d.i.n.h.logging.LoggingHandler -[id: 0xc534d70f, L:/0:0:0:0:0:0:0:0:3658] INACTIVE
2021-01-08 18:25:46 [arthas-NettyHttpTelnetBootstrap-3-1] INFO  c.a.a.d.i.n.h.logging.LoggingHandler -[id: 0xc534d70f, L:/0:0:0:0:0:0:0:0:3658] UNREGISTERED
2021-01-08 18:25:46 [arthas-NettyWebsocketTtyBootstrap-4-1] INFO  c.a.a.d.i.n.h.logging.LoggingHandler -[id: 0x2bc70304, L:/0:0:0:0:0:0:0:0:8563] CLOSE
2021-01-08 18:25:46 [arthas-NettyWebsocketTtyBootstrap-4-1] INFO  c.a.a.d.i.n.h.logging.LoggingHandler -[id: 0x2bc70304, L:/0:0:0:0:0:0:0:0:8563] INACTIVE
2021-01-08 18:25:46 [arthas-NettyWebsocketTtyBootstrap-4-1] INFO  c.a.a.d.i.n.h.logging.LoggingHandler -[id: 0x2bc70304, L:/0:0:0:0:0:0:0:0:8563] UNREGISTERED
2021-01-08 18:25:46 [arthas-NettyWebsocketTtyBootstrap-4-2] INFO  c.a.a.d.i.n.h.logging.LoggingHandler -[id: 0xccf53334, L:local:arthas-netty-localaddress] INACTIVE
2021-01-08 18:25:46 [arthas-NettyWebsocketTtyBootstrap-4-2] INFO  c.a.a.d.i.n.h.logging.LoggingHandler -[id: 0xccf53334, L:local:arthas-netty-localaddress] UNREGISTERED
2021-01-08 18:25:46 [arthas-command-execute] INFO  c.t.a.core.server.ArthasBootstrap -as-server destroy completed.
Arthas server agent start...
2021-01-08 18:33:38 [arthas-binding-thread] INFO  c.t.arthas.core.util.ArthasBanner -Current arthas version: 3.4.5, recommend latest version: 3.4.5
2021-01-08 18:33:38 [arthas-binding-thread] INFO  c.t.arthas.core.util.ArthasBanner -Current arthas version: 3.4.5, recommend latest version: 3.4.5
2021-01-08 18:33:38 [arthas-NettyHttpTelnetBootstrap-3-1] INFO  c.a.a.d.i.n.h.logging.LoggingHandler -[id: 0x10f6ad1e] REGISTERED
2021-01-08 18:33:38 [arthas-NettyHttpTelnetBootstrap-3-1] INFO  c.a.a.d.i.n.h.logging.LoggingHandler -[id: 0x10f6ad1e] BIND: /0.0.0.0:3658
2021-01-08 18:33:38 [arthas-NettyHttpTelnetBootstrap-3-1] INFO  c.a.a.d.i.n.h.logging.LoggingHandler -[id: 0x10f6ad1e, L:/0:0:0:0:0:0:0:0:3658] ACTIVE
2021-01-08 18:33:38 [arthas-NettyWebsocketTtyBootstrap-4-1] INFO  c.a.a.d.i.n.h.logging.LoggingHandler -[id: 0xdddd2234] REGISTERED
2021-01-08 18:33:38 [arthas-NettyWebsocketTtyBootstrap-4-1] INFO  c.a.a.d.i.n.h.logging.LoggingHandler -[id: 0xdddd2234] BIND: /0.0.0.0:8563
2021-01-08 18:33:38 [arthas-NettyWebsocketTtyBootstrap-4-1] INFO  c.a.a.d.i.n.h.logging.LoggingHandler -[id: 0xdddd2234, L:/0:0:0:0:0:0:0:0:8563] ACTIVE
2021-01-08 18:33:38 [arthas-NettyWebsocketTtyBootstrap-4-2] INFO  c.a.a.d.i.n.h.logging.LoggingHandler -[id: 0x7c8170a7] REGISTERED
2021-01-08 18:33:38 [arthas-NettyWebsocketTtyBootstrap-4-2] INFO  c.a.a.d.i.n.h.logging.LoggingHandler -[id: 0x7c8170a7] BIND: local:arthas-netty-localaddress
2021-01-08 18:33:38 [arthas-NettyWebsocketTtyBootstrap-4-2] INFO  c.a.a.d.i.n.h.logging.LoggingHandler -[id: 0x7c8170a7, L:local:arthas-netty-localaddress] ACTIVE
2021-01-08 18:33:38 [arthas-binding-thread] INFO  c.t.a.core.server.ArthasBootstrap -as-server listening on network=0.0.0.0;telnet=3658;http=8563;timeout=6000;
2021-01-08 18:33:38 [arthas-binding-thread] INFO  c.t.a.core.server.ArthasBootstrap -as-server started in 791 ms
Arthas server already bind.
2021-01-08 18:33:38 [arthas-NettyHttpTelnetBootstrap-3-1] INFO  c.a.a.d.i.n.h.logging.LoggingHandler -[id: 0x10f6ad1e, L:/0:0:0:0:0:0:0:0:3658] READ: [id: 0xba4317d1, L:/127.0.0.1:3658 - R:/127.0.0.1:43149]
2021-01-08 18:33:38 [arthas-NettyHttpTelnetBootstrap-3-1] INFO  c.a.a.d.i.n.h.logging.LoggingHandler -[id: 0x10f6ad1e, L:/0:0:0:0:0:0:0:0:3658] READ COMPLETE
2021-01-08 18:33:39 [arthas-NettyHttpTelnetBootstrap-3-2] INFO  c.t.a.core.shell.term.impl.Helper -Loaded arthas keymap file from com/taobao/arthas/core/shell/term/readline/inputrc
2021-01-08 18:33:45 [arthas-NettyWebsocketTtyBootstrap-4-1] INFO  c.a.a.d.i.n.h.logging.LoggingHandler -[id: 0xdddd2234, L:/0:0:0:0:0:0:0:0:8563] READ: [id: 0x1fc9c8fe, L:/192.168.1.24:8563 - R:/192.168.1.10:27201]
2021-01-08 18:33:45 [arthas-NettyWebsocketTtyBootstrap-4-1] INFO  c.a.a.d.i.n.h.logging.LoggingHandler -[id: 0xdddd2234, L:/0:0:0:0:0:0:0:0:8563] READ COMPLETE
2021-01-08 18:34:07 [arthas-NettyWebsocketTtyBootstrap-4-1] INFO  c.a.a.d.i.n.h.logging.LoggingHandler -[id: 0xdddd2234, L:/0:0:0:0:0:0:0:0:8563] READ: [id: 0x6fa81c64, L:/192.168.1.24:8563 - R:/192.168.1.10:27248]
2021-01-08 18:34:07 [arthas-NettyWebsocketTtyBootstrap-4-1] INFO  c.a.a.d.i.n.h.logging.LoggingHandler -[id: 0xdddd2234, L:/0:0:0:0:0:0:0:0:8563] READ COMPLETE
2021-01-08 18:34:07 [arthas-command-execute] INFO  c.t.arthas.core.advisor.Enhancer -enhance matched classes: [interface org.springframework.web.multipart.MultipartHttpServletRequest, interface javax.servlet.http.HttpServletRequest, class org.apache.catalina.connector.Request, interface org.apache.catalina.servlet4preview.http.HttpServletRequest]
2021-01-08 18:34:07 [arthas-command-execute] INFO  c.t.arthas.core.advisor.Enhancer -Success to batch transform classes: [interface org.springframework.web.multipart.MultipartHttpServletRequest, interface javax.servlet.http.HttpServletRequest, class org.apache.catalina.connector.Request, interface org.apache.catalina.servlet4preview.http.HttpServletRequest]
2021-01-08 18:34:16 [arthas-NettyWebsocketTtyBootstrap-4-1] INFO  c.a.a.d.i.n.h.logging.LoggingHandler -[id: 0xdddd2234, L:/0:0:0:0:0:0:0:0:8563] READ: [id: 0x3925ce55, L:/192.168.1.24:8563 - R:/192.168.1.10:27275]
2021-01-08 18:34:16 [arthas-NettyWebsocketTtyBootstrap-4-1] INFO  c.a.a.d.i.n.h.logging.LoggingHandler -[id: 0xdddd2234, L:/0:0:0:0:0:0:0:0:8563] READ COMPLETE
2021-01-08 18:34:24 [arthas-NettyWebsocketTtyBootstrap-4-1] INFO  c.a.a.d.i.n.h.logging.LoggingHandler -[id: 0xdddd2234, L:/0:0:0:0:0:0:0:0:8563] READ: [id: 0x3edcc6c2, L:/192.168.1.24:8563 - R:/192.168.1.10:27296]
2021-01-08 18:34:24 [arthas-NettyWebsocketTtyBootstrap-4-1] INFO  c.a.a.d.i.n.h.logging.LoggingHandler -[id: 0xdddd2234, L:/0:0:0:0:0:0:0:0:8563] READ COMPLETE
2021-01-08 18:34:30 [arthas-NettyWebsocketTtyBootstrap-4-1] INFO  c.a.a.d.i.n.h.logging.LoggingHandler -[id: 0xdddd2234, L:/0:0:0:0:0:0:0:0:8563] READ: [id: 0xb8bfd81f, L:/192.168.1.24:8563 - R:/192.168.1.10:27315]
2021-01-08 18:34:30 [arthas-NettyWebsocketTtyBootstrap-4-1] INFO  c.a.a.d.i.n.h.logging.LoggingHandler -[id: 0xdddd2234, L:/0:0:0:0:0:0:0:0:8563] READ COMPLETE
2021-01-08 18:34:38 [arthas-NettyWebsocketTtyBootstrap-4-1] INFO  c.a.a.d.i.n.h.logging.LoggingHandler -[id: 0xdddd2234, L:/0:0:0:0:0:0:0:0:8563] READ: [id: 0xd3081288, L:/192.168.1.24:8563 - R:/192.168.1.10:27337]
2021-01-08 18:34:38 [arthas-NettyWebsocketTtyBootstrap-4-1] INFO  c.a.a.d.i.n.h.logging.LoggingHandler -[id: 0xdddd2234, L:/0:0:0:0:0:0:0:0:8563] READ COMPLETE
2021-01-08 18:34:52 [arthas-NettyWebsocketTtyBootstrap-4-1] INFO  c.a.a.d.i.n.h.logging.LoggingHandler -[id: 0xdddd2234, L:/0:0:0:0:0:0:0:0:8563] READ: [id: 0x86a6a4a9, L:/192.168.1.24:8563 - R:/192.168.1.10:27372]
2021-01-08 18:34:52 [arthas-NettyWebsocketTtyBootstrap-4-1] INFO  c.a.a.d.i.n.h.logging.LoggingHandler -[id: 0xdddd2234, L:/0:0:0:0:0:0:0:0:8563] READ COMPLETE
2021-01-08 18:34:54 [arthas-NettyWebsocketTtyBootstrap-4-1] INFO  c.a.a.d.i.n.h.logging.LoggingHandler -[id: 0xdddd2234, L:/0:0:0:0:0:0:0:0:8563] READ: [id: 0x79aa60c0, L:/192.168.1.24:8563 - R:/192.168.1.10:27376]
2021-01-08 18:34:54 [arthas-NettyWebsocketTtyBootstrap-4-1] INFO  c.a.a.d.i.n.h.logging.LoggingHandler -[id: 0xdddd2234, L:/0:0:0:0:0:0:0:0:8563] READ COMPLETE
2021-01-08 18:34:54 [arthas-command-execute] INFO  c.t.arthas.core.advisor.Enhancer -enhance matched classes: [interface oracle.jdbc.OraclePreparedStatement, interface oracle.jdbc.internal.OracleCallableStatement, interface oracle.jdbc.internal.OracleStatement, class oracle.jdbc.driver.T4CCallableStatement, class org.apache.catalina.connector.RequestFacade, class oracle.jdbc.driver.T4CStatement, interface oracle.jdbc.OracleStatement, interface org.springframework.web.multipart.MultipartHttpServletRequest, interface javax.servlet.http.HttpServletRequest, class oracle.jdbc.driver.OracleCallableStatement, interface org.apache.catalina.servlet4preview.http.HttpServletRequest, class oracle.jdbc.driver.OracleStatement, class oracle.jdbc.driver.OracleClosedStatement, class oracle.jdbc.driver.T4CPreparedStatement, class oracle.jdbc.driver.OracleStatementWrapper, interface oracle.jdbc.OracleCallableStatement, interface oracle.jdbc.internal.OraclePreparedStatement, class org.apache.catalina.connector.Request, class oracle.jdbc.driver.OraclePreparedStatement]
2021-01-08 18:34:54 [arthas-command-execute] INFO  c.t.arthas.core.advisor.Enhancer -Success to batch transform classes: [interface oracle.jdbc.OraclePreparedStatement, interface oracle.jdbc.internal.OracleCallableStatement, interface oracle.jdbc.internal.OracleStatement, class oracle.jdbc.driver.T4CCallableStatement, class org.apache.catalina.connector.RequestFacade, class oracle.jdbc.driver.T4CStatement, interface oracle.jdbc.OracleStatement, interface org.springframework.web.multipart.MultipartHttpServletRequest, interface javax.servlet.http.HttpServletRequest, class oracle.jdbc.driver.OracleCallableStatement, interface org.apache.catalina.servlet4preview.http.HttpServletRequest, class oracle.jdbc.driver.OracleStatement, class oracle.jdbc.driver.OracleClosedStatement, class oracle.jdbc.driver.T4CPreparedStatement, class oracle.jdbc.driver.OracleStatementWrapper, interface oracle.jdbc.OracleCallableStatement, interface oracle.jdbc.internal.OraclePreparedStatement, class org.apache.catalina.connector.Request, class oracle.jdbc.driver.OraclePreparedStatement]
2021-01-08 18:34:56 [arthas-NettyWebsocketTtyBootstrap-4-1] INFO  c.a.a.d.i.n.h.logging.LoggingHandler -[id: 0xdddd2234, L:/0:0:0:0:0:0:0:0:8563] READ: [id: 0xfdafb3af, L:/192.168.1.24:8563 - R:/192.168.1.10:27387]
2021-01-08 18:34:56 [arthas-NettyWebsocketTtyBootstrap-4-1] INFO  c.a.a.d.i.n.h.logging.LoggingHandler -[id: 0xdddd2234, L:/0:0:0:0:0:0:0:0:8563] READ COMPLETE
2021-01-08 18:35:00 [arthas-NettyWebsocketTtyBootstrap-4-1] INFO  c.a.a.d.i.n.h.logging.LoggingHandler -[id: 0xdddd2234, L:/0:0:0:0:0:0:0:0:8563] READ: [id: 0x4ed0c128, L:/192.168.1.24:8563 - R:/192.168.1.10:27398]
2021-01-08 18:35:00 [arthas-NettyWebsocketTtyBootstrap-4-1] INFO  c.a.a.d.i.n.h.logging.LoggingHandler -[id: 0xdddd2234, L:/0:0:0:0:0:0:0:0:8563] READ COMPLETE
2021-01-08 18:35:00 [arthas-TermServer-1-10] ERROR c.t.a.c.s.t.i.h.HttpTelnetTermServer -arthas process http request error: /api
com.alibaba.fastjson.JSONException: write javaBean error, fastjson version 1.2.71, class com.taobao.arthas.core.shell.term.impl.http.api.ApiResponse, write javaBean error, fastjson version 1.2.71, class oracle.jdbc.driver.ForwardOnlyResultSet, fieldName : 0
	at com.alibaba.fastjson.serializer.JavaBeanSerializer.write(JavaBeanSerializer.java:539)
	at com.alibaba.fastjson.serializer.JavaBeanSerializer.write(JavaBeanSerializer.java:149)
	at com.alibaba.fastjson.serializer.JSONSerializer.write(JSONSerializer.java:285)
	at com.alibaba.fastjson.JSON.writeJSONString(JSON.java:967)
	at com.alibaba.fastjson.JSON.writeJSONString(JSON.java:919)
	at com.alibaba.fastjson.JSON.writeJSONString(JSON.java:909)
	at com.taobao.arthas.core.shell.term.impl.http.api.HttpApiHandler.writeResult(HttpApiHandler.java:174)
	at com.taobao.arthas.core.shell.term.impl.http.api.HttpApiHandler.handle(HttpApiHandler.java:134)
	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:748)
Caused by: com.alibaba.fastjson.JSONException: write javaBean error, fastjson version 1.2.71, class oracle.jdbc.driver.ForwardOnlyResultSet, fieldName : 0
	at com.alibaba.fastjson.serializer.JavaBeanSerializer.write(JavaBeanSerializer.java:539)
	at com.alibaba.fastjson.serializer.JavaBeanSerializer.write(JavaBeanSerializer.java:149)
	at com.alibaba.fastjson.serializer.ListSerializer.write(ListSerializer.java:135)
	at com.alibaba.fastjson.serializer.JSONSerializer.writeWithFieldName(JSONSerializer.java:333)
	at com.alibaba.fastjson.serializer.ASMSerializer_6_WatchModel.write(Unknown Source)
	at com.alibaba.fastjson.serializer.ListSerializer.write(ListSerializer.java:135)
	at com.alibaba.fastjson.serializer.MapSerializer.write(MapSerializer.java:271)
	at com.alibaba.fastjson.serializer.MapSerializer.write(MapSerializer.java:44)
	at com.alibaba.fastjson.serializer.FieldSerializer.writeValue(FieldSerializer.java:320)
	at com.alibaba.fastjson.serializer.JavaBeanSerializer.write(JavaBeanSerializer.java:470)
	... 20 common frames omitted
Caused by: java.sql.SQLException: ²»Ö§³ÖµÄÌØÐÔ: getCursorName
	at oracle.jdbc.driver.InsensitiveScrollableResultSet.getCursorName(InsensitiveScrollableResultSet.java:144)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at com.alibaba.fastjson.util.FieldInfo.get(FieldInfo.java:558)
	at com.alibaba.fastjson.serializer.FieldSerializer.getPropertyValueDirect(FieldSerializer.java:145)
	at com.alibaba.fastjson.serializer.JavaBeanSerializer.write(JavaBeanSerializer.java:282)
	... 29 common frames omitted
2021-01-08 18:35:54 [arthas-NettyHttpTelnetBootstrap-3-1] INFO  c.a.a.d.i.n.h.logging.LoggingHandler -[id: 0x10f6ad1e, L:/0:0:0:0:0:0:0:0:3658] INACTIVE
2021-01-08 18:35:54 [arthas-NettyHttpTelnetBootstrap-3-1] INFO  c.a.a.d.i.n.h.logging.LoggingHandler -[id: 0x10f6ad1e, L:/0:0:0:0:0:0:0:0:3658] UNREGISTERED
2021-01-08 18:35:54 [arthas-NettyWebsocketTtyBootstrap-4-1] INFO  c.a.a.d.i.n.h.logging.LoggingHandler -[id: 0xdddd2234, L:/0:0:0:0:0:0:0:0:8563] CLOSE
2021-01-08 18:35:54 [arthas-NettyWebsocketTtyBootstrap-4-1] INFO  c.a.a.d.i.n.h.logging.LoggingHandler -[id: 0xdddd2234, L:/0:0:0:0:0:0:0:0:8563] INACTIVE
2021-01-08 18:35:54 [arthas-NettyWebsocketTtyBootstrap-4-1] INFO  c.a.a.d.i.n.h.logging.LoggingHandler -[id: 0xdddd2234, L:/0:0:0:0:0:0:0:0:8563] UNREGISTERED
2021-01-08 18:35:54 [arthas-NettyWebsocketTtyBootstrap-4-2] INFO  c.a.a.d.i.n.h.logging.LoggingHandler -[id: 0x7c8170a7, L:local:arthas-netty-localaddress] INACTIVE
2021-01-08 18:35:54 [arthas-NettyWebsocketTtyBootstrap-4-2] INFO  c.a.a.d.i.n.h.logging.LoggingHandler -[id: 0x7c8170a7, L:local:arthas-netty-localaddress] UNREGISTERED
2021-01-08 18:35:54 [as-shutdown-hooker] INFO  c.t.a.c.s.s.impl.SessionManagerImpl -Removing session before shutdown: 896d709f-7d2a-46de-b8ed-dea9362f964d, last access time: 1610102100486
2021-01-08 18:35:54 [as-shutdown-hooker] INFO  c.t.a.core.server.ArthasBootstrap -as-server destroy completed.


把异常信息贴到这里
2021-01-08 17:56:30 [arthas-TermServer-1-4] ERROR c.t.a.c.s.t.i.h.HttpTelnetTermServer -arthas process http request error: /api
com.alibaba.fastjson.JSONException: write javaBean error, fastjson version 1.2.71, class com.taobao.arthas.core.shell.term.impl.http.api.ApiResponse, write javaBean error, fastjson version 1.2.71, class org.postgresql.jdbc.PgResultSet, fieldName : 0
	at com.alibaba.fastjson.serializer.JavaBeanSerializer.write(JavaBeanSerializer.java:539)
	at com.alibaba.fastjson.serializer.JavaBeanSerializer.write(JavaBeanSerializer.java:149)
	at com.alibaba.fastjson.serializer.JSONSerializer.write(JSONSerializer.java:285)
	at com.alibaba.fastjson.JSON.writeJSONString(JSON.java:967)
	at com.alibaba.fastjson.JSON.writeJSONString(JSON.java:919)
	at com.alibaba.fastjson.JSON.writeJSONString(JSON.java:909)
	at com.taobao.arthas.core.shell.term.impl.http.api.HttpApiHandler.writeResult(HttpApiHandler.java:174)
	at com.taobao.arthas.core.shell.term.impl.http.api.HttpApiHandler.handle(HttpApiHandler.java:134)
	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:748)
Caused by: com.alibaba.fastjson.JSONException: write javaBean error, fastjson version 1.2.71, class org.postgresql.jdbc.PgResultSet, fieldName : 0
	at com.alibaba.fastjson.serializer.JavaBeanSerializer.write(JavaBeanSerializer.java:539)
	at com.alibaba.fastjson.serializer.JavaBeanSerializer.write(JavaBeanSerializer.java:149)
	at com.alibaba.fastjson.serializer.ListSerializer.write(ListSerializer.java:135)
	at com.alibaba.fastjson.serializer.JSONSerializer.writeWithFieldName(JSONSerializer.java:333)
	at com.alibaba.fastjson.serializer.ASMSerializer_6_WatchModel.write(Unknown Source)
	at com.alibaba.fastjson.serializer.ListSerializer.write(ListSerializer.java:135)
	at com.alibaba.fastjson.serializer.MapSerializer.write(MapSerializer.java:271)
	at com.alibaba.fastjson.serializer.MapSerializer.write(MapSerializer.java:44)
	at com.alibaba.fastjson.serializer.FieldSerializer.writeValue(FieldSerializer.java:320)
	at com.alibaba.fastjson.serializer.JavaBeanSerializer.write(JavaBeanSerializer.java:470)
	... 20 common frames omitted
Caused by: java.sql.SQLFeatureNotSupportedException: Õâ¸ö org.postgresql.jdbc.PgResultSet.getHoldability() ·½·¨ÉÐδ±»Êµ×÷¡£
	at org.postgresql.Driver.notImplemented(Driver.java:688)
	at org.postgresql.jdbc.PgResultSet.getHoldability(PgResultSet.java:3489)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at com.alibaba.fastjson.util.FieldInfo.get(FieldInfo.java:558)
	at com.alibaba.fastjson.serializer.FieldSerializer.getPropertyValueDirect(FieldSerializer.java:145)
	at com.alibaba.fastjson.serializer.JavaBeanSerializer.write(JavaBeanSerializer.java:282)
	... 29 common frames omitted
2021-01-08 17:57:04 [arthas-NettyWebsocketTtyBootstrap-4-1] INFO  c.a.a.d.i.n.h.logging.LoggingHandler -[id: 0x13b244fc, L:/0:0:0:0:0:0:0:0:8563] READ: [id: 0xe7f91164, L:/192.168.1.24:8563 - R:/192.168.1.10:21482]
2021-01-08 17:57:04 [arthas-NettyWebsocketTtyBootstrap-4-1] INFO  c.a.a.d.i.n.h.logging.LoggingHandler -[id: 0x13b244fc, L:/0:0:0:0:0:0:0:0:8563] READ COMPLETE
2021-01-08 17:57:26 [arthas-NettyWebsocketTtyBootstrap-4-1] INFO  c.a.a.d.i.n.h.logging.LoggingHandler -[id: 0x13b244fc, L:/0:0:0:0:0:0:0:0:8563] READ: [id: 0x6e645f03, L:/192.168.1.24:8563 - R:/192.168.1.10:21542]
2021-01-08 17:57:26 [arthas-NettyWebsocketTtyBootstrap-4-1] INFO  c.a.a.d.i.n.h.logging.LoggingHandler -[id: 0x13b244fc, L:/0:0:0:0:0:0:0:0:8563] READ COMPLETE
2021-01-08 17:57:49 [arthas-command-execute] INFO  c.t.arthas.core.advisor.Enhancer -enhance matched classes: [interface org.postgresql.core.BaseStatement, class org.postgresql.jdbc.PgStatement, class org.apache.catalina.connector.RequestFacade, interface org.springframework.web.multipart.MultipartHttpServletRequest, interface javax.servlet.http.HttpServletRequest, class org.apache.catalina.connector.Request, interface org.apache.catalina.servlet4preview.http.HttpServletRequest]
2021-01-08 17:57:49 [arthas-command-execute] INFO  c.t.arthas.core.advisor.Enhancer -Success to batch transform classes: [interface org.postgresql.core.BaseStatement, class org.postgresql.jdbc.PgStatement, class org.apache.catalina.connector.RequestFacade, interface org.springframework.web.multipart.MultipartHttpServletRequest, interface javax.servlet.http.HttpServletRequest, class org.apache.catalina.connector.Request, interface org.apache.catalina.servlet4preview.http.HttpServletRequest]
2021-01-08 17:58:00 [arthas-NettyWebsocketTtyBootstrap-4-1] INFO  c.a.a.d.i.n.h.logging.LoggingHandler -[id: 0x13b244fc, L:/0:0:0:0:0:0:0:0:8563] READ: [id: 0xf5eff77b, L:/192.168.1.24:8563 - R:/192.168.1.10:21626]
2021-01-08 17:58:00 [arthas-NettyWebsocketTtyBootstrap-4-1] INFO  c.a.a.d.i.n.h.logging.LoggingHandler -[id: 0x13b244fc, L:/0:0:0:0:0:0:0:0:8563] READ COMPLETE
2021-01-08 17:58:11 [arthas-NettyWebsocketTtyBootstrap-4-1] INFO  c.a.a.d.i.n.h.logging.LoggingHandler -[id: 0x13b244fc, L:/0:0:0:0:0:0:0:0:8563] READ: [id: 0x86136de6, L:/192.168.1.24:8563 - R:/192.168.1.10:21662]
2021-01-08 17:58:11 [arthas-NettyWebsocketTtyBootstrap-4-1] INFO  c.a.a.d.i.n.h.logging.LoggingHandler -[id: 0x13b244fc, L:/0:0:0:0:0:0:0:0:8563] READ COMPLETE
2021-01-08 17:58:23 [arthas-NettyWebsocketTtyBootstrap-4-1] INFO  c.a.a.d.i.n.h.logging.LoggingHandler -[id: 0x13b244fc, L:/0:0:0:0:0:0:0:0:8563] READ: [id: 0x5dffe0d4, L:/192.168.1.24:8563 - R:/192.168.1.10:21686]
2021-01-08 17:58:23 [arthas-NettyWebsocketTtyBootstrap-4-1] INFO  c.a.a.d.i.n.h.logging.LoggingHandler -[id: 0x13b244fc, L:/0:0:0:0:0:0:0:0:8563] READ COMPLETE
2021-01-08 17:58:30 [arthas-NettyWebsocketTtyBootstrap-4-1] INFO  c.a.a.d.i.n.h.logging.LoggingHandler -[id: 0x13b244fc, L:/0:0:0:0:0:0:0:0:8563] READ: [id: 0x1adc6b0d, L:/192.168.1.24:8563 - R:/192.168.1.10:21698]
2021-01-08 17:58:30 [arthas-NettyWebsocketTtyBootstrap-4-1] INFO  c.a.a.d.i.n.h.logging.LoggingHandler -[id: 0x13b244fc, L:/0:0:0:0:0:0:0:0:8563] READ COMPLETE
2021-01-08 17:59:47 [arthas-NettyWebsocketTtyBootstrap-4-1] INFO  c.a.a.d.i.n.h.logging.LoggingHandler -[id: 0x13b244fc, L:/0:0:0:0:0:0:0:0:8563] READ: [id: 0xf74fbf23, L:/192.168.1.24:8563 - R:/192.168.1.10:21909]
2021-01-08 17:59:47 [arthas-NettyWebsocketTtyBootstrap-4-1] INFO  c.a.a.d.i.n.h.logging.LoggingHandler -[id: 0x13b244fc, L:/0:0:0:0:0:0:0:0:8563] READ COMPLETE
2021-01-08 17:59:47 [arthas-command-execute] INFO  c.t.arthas.core.advisor.Enhancer -enhance matched classes: [interface org.postgresql.core.BaseStatement, class org.postgresql.jdbc.PgStatement, class org.apache.catalina.connector.RequestFacade, interface org.springframework.web.multipart.MultipartHttpServletRequest, interface javax.servlet.http.HttpServletRequest, class org.apache.catalina.connector.Request, interface org.apache.catalina.servlet4preview.http.HttpServletRequest]
2021-01-08 17:59:47 [arthas-command-execute] INFO  c.t.arthas.core.advisor.Enhancer -Success to batch transform classes: [interface org.postgresql.core.BaseStatement, class org.postgresql.jdbc.PgStatement, class org.apache.catalina.connector.RequestFacade, interface org.springframework.web.multipart.MultipartHttpServletRequest, interface javax.servlet.http.HttpServletRequest, class org.apache.catalina.connector.Request, interface org.apache.catalina.servlet4preview.http.HttpServletRequest]
2021-01-08 17:59:52 [arthas-NettyWebsocketTtyBootstrap-4-1] INFO  c.a.a.d.i.n.h.logging.LoggingHandler -[id: 0x13b244fc, L:/0:0:0:0:0:0:0:0:8563] READ: [id: 0x07cee414, L:/192.168.1.24:8563 - R:/192.168.1.10:21922]
2021-01-08 17:59:52 [arthas-NettyWebsocketTtyBootstrap-4-1] INFO  c.a.a.d.i.n.h.logging.LoggingHandler -[id: 0x13b244fc, L:/0:0:0:0:0:0:0:0:8563] READ COMPLETE
2021-01-08 18:00:02 [arthas-NettyWebsocketTtyBootstrap-4-1] INFO  c.a.a.d.i.n.h.logging.LoggingHandler -[id: 0x13b244fc, L:/0:0:0:0:0:0:0:0:8563] READ: [id: 0xec604bcb, L:/192.168.1.24:8563 - R:/192.168.1.10:21942]
2021-01-08 18:00:02 [arthas-NettyWebsocketTtyBootstrap-4-1] INFO  c.a.a.d.i.n.h.logging.LoggingHandler -[id: 0x13b244fc, L:/0:0:0:0:0:0:0:0:8563] READ COMPLETE
2021-01-08 18:00:21 [arthas-NettyWebsocketTtyBootstrap-4-1] INFO  c.a.a.d.i.n.h.logging.LoggingHandler -[id: 0x13b244fc, L:/0:0:0:0:0:0:0:0:8563] READ: [id: 0xb84338ea, L:/192.168.1.24:8563 - R:/192.168.1.10:21995]
2021-01-08 18:00:21 [arthas-NettyWebsocketTtyBootstrap-4-1] INFO  c.a.a.d.i.n.h.logging.LoggingHandler -[id: 0x13b244fc, L:/0:0:0:0:0:0:0:0:8563] READ COMPLETE
2021-01-08 18:00:28 [arthas-NettyWebsocketTtyBootstrap-4-1] INFO  c.a.a.d.i.n.h.logging.LoggingHandler -[id: 0x13b244fc, L:/0:0:0:0:0:0:0:0:8563] READ: [id: 0xac2762da, L:/192.168.1.24:8563 - R:/192.168.1.10:22008]
2021-01-08 18:00:28 [arthas-NettyWebsocketTtyBootstrap-4-1] INFO  c.a.a.d.i.n.h.logging.LoggingHandler -[id: 0x13b244fc, L:/0:0:0:0:0:0:0:0:8563] READ COMPLETE
2021-01-08 18:00:28 [arthas-TermServer-1-15] ERROR c.t.a.c.s.t.i.h.HttpTelnetTermServer -arthas process http request error: /api
com.alibaba.fastjson.JSONException: write javaBean error, fastjson version 1.2.71, class com.taobao.arthas.core.shell.term.impl.http.api.ApiResponse, write javaBean error, fastjson version 1.2.71, class org.postgresql.jdbc.PgResultSet, fieldName : 0
	at com.alibaba.fastjson.serializer.JavaBeanSerializer.write(JavaBeanSerializer.java:539)
	at com.alibaba.fastjson.serializer.JavaBeanSerializer.write(JavaBeanSerializer.java:149)
	at com.alibaba.fastjson.serializer.JSONSerializer.write(JSONSerializer.java:285)
	at com.alibaba.fastjson.JSON.writeJSONString(JSON.java:967)
	at com.alibaba.fastjson.JSON.writeJSONString(JSON.java:919)
	at com.alibaba.fastjson.JSON.writeJSONString(JSON.java:909)
	at com.taobao.arthas.core.shell.term.impl.http.api.HttpApiHandler.writeResult(HttpApiHandler.java:174)
	at com.taobao.arthas.core.shell.term.impl.http.api.HttpApiHandler.handle(HttpApiHandler.java:134)
	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:748)
Caused by: com.alibaba.fastjson.JSONException: write javaBean error, fastjson version 1.2.71, class org.postgresql.jdbc.PgResultSet, fieldName : 0
	at com.alibaba.fastjson.serializer.JavaBeanSerializer.write(JavaBeanSerializer.java:539)
	at com.alibaba.fastjson.serializer.JavaBeanSerializer.write(JavaBeanSerializer.java:149)
	at com.alibaba.fastjson.serializer.ListSerializer.write(ListSerializer.java:135)
	at com.alibaba.fastjson.serializer.JSONSerializer.writeWithFieldName(JSONSerializer.java:333)
	at com.alibaba.fastjson.serializer.ASMSerializer_6_WatchModel.write(Unknown Source)
	at com.alibaba.fastjson.serializer.ListSerializer.write(ListSerializer.java:135)
	at com.alibaba.fastjson.serializer.MapSerializer.write(MapSerializer.java:271)
	at com.alibaba.fastjson.serializer.MapSerializer.write(MapSerializer.java:44)
	at com.alibaba.fastjson.serializer.FieldSerializer.writeValue(FieldSerializer.java:320)
	at com.alibaba.fastjson.serializer.JavaBeanSerializer.write(JavaBeanSerializer.java:470)
	... 20 common frames omitted
Caused by: java.sql.SQLFeatureNotSupportedException: Õâ¸ö org.postgresql.jdbc.PgResultSet.getHoldability() ·½·¨ÉÐδ±»Êµ×÷¡£
	at org.postgresql.Driver.notImplemented(Driver.java:688)
	at org.postgresql.jdbc.PgResultSet.getHoldability(PgResultSet.java:3489)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at com.alibaba.fastjson.util.FieldInfo.get(FieldInfo.java:558)
	at com.alibaba.fastjson.serializer.FieldSerializer.getPropertyValueDirect(FieldSerializer.java:145)
	at com.alibaba.fastjson.serializer.JavaBeanSerializer.write(JavaBeanSerializer.java:282)
	... 29 common frames omitted
@hengyunabc
Copy link
Collaborator

试下这个版本? 升级了fastjson: #1651 (comment)

@erickwanny
Copy link
Author

erickwanny commented Jan 9, 2021 via email

@erickwanny
Copy link
Author

erickwanny commented Jan 11, 2021

问题依然持续,arthas.log输出:

2021-01-11 10:31:23 [arthas-NettyHttpTelnetBootstrap-3-2] INFO  c.t.a.core.shell.term.impl.Helper -Loaded arthas keymap file from com/taobao/arthas/core/shell/term/readline/inputrc
2021-01-11 10:31:49 [arthas-NettyWebsocketTtyBootstrap-4-1] INFO  c.a.a.d.i.n.h.logging.LoggingHandler -[id: 0x77e655c0, L:/0:0:0:0:0:0:0:0:8563] READ: [id: 0xe9493c76, L:/192.168.1.24:8563 - R:/192.168.1.10:2000]
2021-01-11 10:31:49 [arthas-NettyWebsocketTtyBootstrap-4-1] INFO  c.a.a.d.i.n.h.logging.LoggingHandler -[id: 0x77e655c0, L:/0:0:0:0:0:0:0:0:8563] READ COMPLETE
2021-01-11 10:32:05 [arthas-NettyWebsocketTtyBootstrap-4-1] INFO  c.a.a.d.i.n.h.logging.LoggingHandler -[id: 0x77e655c0, L:/0:0:0:0:0:0:0:0:8563] READ: [id: 0x92ac3770, L:/192.168.1.24:8563 - R:/192.168.1.10:2030]
2021-01-11 10:32:05 [arthas-NettyWebsocketTtyBootstrap-4-1] INFO  c.a.a.d.i.n.h.logging.LoggingHandler -[id: 0x77e655c0, L:/0:0:0:0:0:0:0:0:8563] READ COMPLETE
2021-01-11 10:32:05 [arthas-command-execute] INFO  c.t.arthas.core.advisor.Enhancer -enhance matched classes: []
2021-01-11 10:32:37 [arthas-NettyWebsocketTtyBootstrap-4-1] INFO  c.a.a.d.i.n.h.logging.LoggingHandler -[id: 0x77e655c0, L:/0:0:0:0:0:0:0:0:8563] READ: [id: 0x556b5618, L:/192.168.1.24:8563 - R:/192.168.1.10:2110]
2021-01-11 10:32:37 [arthas-NettyWebsocketTtyBootstrap-4-1] INFO  c.a.a.d.i.n.h.logging.LoggingHandler -[id: 0x77e655c0, L:/0:0:0:0:0:0:0:0:8563] READ COMPLETE
2021-01-11 10:33:04 [arthas-NettyWebsocketTtyBootstrap-4-1] INFO  c.a.a.d.i.n.h.logging.LoggingHandler -[id: 0x77e655c0, L:/0:0:0:0:0:0:0:0:8563] READ: [id: 0x65c3a8d2, L:/192.168.1.24:8563 - R:/192.168.1.10:2173]
2021-01-11 10:33:04 [arthas-NettyWebsocketTtyBootstrap-4-1] INFO  c.a.a.d.i.n.h.logging.LoggingHandler -[id: 0x77e655c0, L:/0:0:0:0:0:0:0:0:8563] READ COMPLETE
2021-01-11 10:33:47 [arthas-NettyWebsocketTtyBootstrap-4-1] INFO  c.a.a.d.i.n.h.logging.LoggingHandler -[id: 0x77e655c0, L:/0:0:0:0:0:0:0:0:8563] READ: [id: 0xa62d9e5f, L:/192.168.1.24:8563 - R:/192.168.1.10:2278]
2021-01-11 10:33:47 [arthas-NettyWebsocketTtyBootstrap-4-1] INFO  c.a.a.d.i.n.h.logging.LoggingHandler -[id: 0x77e655c0, L:/0:0:0:0:0:0:0:0:8563] READ COMPLETE
2021-01-11 10:34:35 [arthas-NettyWebsocketTtyBootstrap-4-1] INFO  c.a.a.d.i.n.h.logging.LoggingHandler -[id: 0x77e655c0, L:/0:0:0:0:0:0:0:0:8563] READ: [id: 0x91508f73, L:/192.168.1.24:8563 - R:/192.168.1.10:2409]
2021-01-11 10:34:35 [arthas-NettyWebsocketTtyBootstrap-4-1] INFO  c.a.a.d.i.n.h.logging.LoggingHandler -[id: 0x77e655c0, L:/0:0:0:0:0:0:0:0:8563] READ COMPLETE
2021-01-11 10:34:35 [arthas-command-execute] INFO  c.t.arthas.core.advisor.Enhancer -enhance matched classes: [class oracle.jdbc.driver.T4CPreparedStatement, class oracle.jdbc.driver.OracleClosedStatement, class oracle.jdbc.driver.OracleCallableStatement, class org.apache.catalina.connector.RequestFacade, interface oracle.jdbc.internal.OraclePreparedStatement, class oracle.jdbc.driver.OracleStatementWrapper, interface oracle.jdbc.OraclePreparedStatement, interface org.apache.catalina.servlet4preview.http.HttpServletRequest, class oracle.jdbc.driver.OracleStatement, interface oracle.jdbc.OracleCallableStatement, interface org.springframework.web.multipart.MultipartHttpServletRequest, interface javax.servlet.http.HttpServletRequest, interface oracle.jdbc.internal.OracleCallableStatement, class oracle.jdbc.driver.OraclePreparedStatement, interface oracle.jdbc.OracleStatement, class oracle.jdbc.driver.T4CStatement, class org.apache.catalina.connector.Request, class oracle.jdbc.driver.T4CCallableStatement, interface oracle.jdbc.internal.OracleStatement]
2021-01-11 10:34:36 [arthas-command-execute] INFO  c.t.arthas.core.advisor.Enhancer -Success to batch transform classes: [class oracle.jdbc.driver.T4CPreparedStatement, class oracle.jdbc.driver.OracleClosedStatement, class oracle.jdbc.driver.OracleCallableStatement, class org.apache.catalina.connector.RequestFacade, interface oracle.jdbc.internal.OraclePreparedStatement, class oracle.jdbc.driver.OracleStatementWrapper, interface oracle.jdbc.OraclePreparedStatement, interface org.apache.catalina.servlet4preview.http.HttpServletRequest, class oracle.jdbc.driver.OracleStatement, interface oracle.jdbc.OracleCallableStatement, interface org.springframework.web.multipart.MultipartHttpServletRequest, interface javax.servlet.http.HttpServletRequest, interface oracle.jdbc.internal.OracleCallableStatement, class oracle.jdbc.driver.OraclePreparedStatement, interface oracle.jdbc.OracleStatement, class oracle.jdbc.driver.T4CStatement, class org.apache.catalina.connector.Request, class oracle.jdbc.driver.T4CCallableStatement, interface oracle.jdbc.internal.OracleStatement]
2021-01-11 10:34:40 [arthas-NettyWebsocketTtyBootstrap-4-1] INFO  c.a.a.d.i.n.h.logging.LoggingHandler -[id: 0x77e655c0, L:/0:0:0:0:0:0:0:0:8563] READ: [id: 0x7357c54e, L:/192.168.1.24:8563 - R:/192.168.1.10:2424]
2021-01-11 10:34:40 [arthas-NettyWebsocketTtyBootstrap-4-1] INFO  c.a.a.d.i.n.h.logging.LoggingHandler -[id: 0x77e655c0, L:/0:0:0:0:0:0:0:0:8563] READ COMPLETE
2021-01-11 10:34:46 [arthas-NettyWebsocketTtyBootstrap-4-1] INFO  c.a.a.d.i.n.h.logging.LoggingHandler -[id: 0x77e655c0, L:/0:0:0:0:0:0:0:0:8563] READ: [id: 0x18b2f665, L:/192.168.1.24:8563 - R:/192.168.1.10:2436]
2021-01-11 10:34:46 [arthas-NettyWebsocketTtyBootstrap-4-1] INFO  c.a.a.d.i.n.h.logging.LoggingHandler -[id: 0x77e655c0, L:/0:0:0:0:0:0:0:0:8563] READ COMPLETE
2021-01-11 10:34:46 [arthas-TermServer-1-8] ERROR c.t.a.c.s.t.i.h.HttpTelnetTermServer -arthas process http request error: /api
com.alibaba.fastjson.JSONException: write javaBean error, fastjson version 1.2.75, class com.taobao.arthas.core.shell.term.impl.http.api.ApiResponse, write javaBean error, fastjson version 1.2.75, class oracle.jdbc.driver.ForwardOnlyResultSet, fieldName : 0
	at com.alibaba.fastjson.serializer.JavaBeanSerializer.write(JavaBeanSerializer.java:539)
	at com.alibaba.fastjson.serializer.JavaBeanSerializer.write(JavaBeanSerializer.java:149)
	at com.alibaba.fastjson.serializer.JSONSerializer.write(JSONSerializer.java:312)
	at com.alibaba.fastjson.JSON.writeJSONString(JSON.java:1002)
	at com.alibaba.fastjson.JSON.writeJSONString(JSON.java:954)
	at com.alibaba.fastjson.JSON.writeJSONString(JSON.java:944)
	at com.taobao.arthas.core.shell.term.impl.http.api.HttpApiHandler.writeResult(HttpApiHandler.java:174)
	at com.taobao.arthas.core.shell.term.impl.http.api.HttpApiHandler.handle(HttpApiHandler.java:134)
	at com.taobao.arthas.core.shell.term.impl.http.HttpRequestHandler.channelRead0(HttpRequestHandler.java:80)
	at com.taobao.arthas.core.shell.term.impl.http.HttpRequestHandler.channelRead0(HttpRequestHandler.java:39)
	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:748)
Caused by: com.alibaba.fastjson.JSONException: write javaBean error, fastjson version 1.2.75, class oracle.jdbc.driver.ForwardOnlyResultSet, fieldName : 0
	at com.alibaba.fastjson.serializer.JavaBeanSerializer.write(JavaBeanSerializer.java:539)
	at com.alibaba.fastjson.serializer.JavaBeanSerializer.write(JavaBeanSerializer.java:149)
	at com.alibaba.fastjson.serializer.ListSerializer.write(ListSerializer.java:135)
	at com.alibaba.fastjson.serializer.JSONSerializer.writeWithFieldName(JSONSerializer.java:360)
	at com.alibaba.fastjson.serializer.ASMSerializer_7_WatchModel.writeDirectNonContext(Unknown Source)
	at com.alibaba.fastjson.serializer.ASMSerializer_7_WatchModel.write(Unknown Source)
	at com.alibaba.fastjson.serializer.ListSerializer.write(ListSerializer.java:135)
	at com.alibaba.fastjson.serializer.MapSerializer.write(MapSerializer.java:271)
	at com.alibaba.fastjson.serializer.MapSerializer.write(MapSerializer.java:44)
	at com.alibaba.fastjson.serializer.FieldSerializer.writeValue(FieldSerializer.java:318)
	at com.alibaba.fastjson.serializer.JavaBeanSerializer.write(JavaBeanSerializer.java:470)
	... 20 common frames omitted
Caused by: java.sql.SQLException: 不支持的特性: getCursorName
	at oracle.jdbc.driver.InsensitiveScrollableResultSet.getCursorName(InsensitiveScrollableResultSet.java:144)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at com.alibaba.fastjson.util.FieldInfo.get(FieldInfo.java:571)
	at com.alibaba.fastjson.serializer.FieldSerializer.getPropertyValueDirect(FieldSerializer.java:143)
	at com.alibaba.fastjson.serializer.JavaBeanSerializer.write(JavaBeanSerializer.java:282)
	... 30 common frames omitted

@hengyunabc
Copy link
Collaborator

arthas-bin.zip
试下这个版本,设置了两个 fastjson的 mask 。可能是fastjson序列化时,据 getter 去反序列化,结果找不到一些bean的 field导致的。

        JSON.DEFAULT_GENERATE_FEATURE |= SerializerFeature.IgnoreErrorGetter.getMask();
        JSON.DEFAULT_GENERATE_FEATURE |= SerializerFeature.IgnoreNonFieldGetter.getMask();

@hengyunabc
Copy link
Collaborator

另外,你这个好像是http api的结果。试下直接在 telnet里执行命令,看结果会不会出错。设置 options json-format true 。

@hengyunabc hengyunabc added this to the 3.4.6 milestone Jan 11, 2021
hengyunabc added a commit that referenced this issue Jan 11, 2021
@hengyunabc hengyunabc changed the title 使用watch监控java.sql.Statement.executeQuery方法,通过pull_result拉取命令执行结果时抛出unsupported feature错误 HTTP API可能反序列化失败,fastjson没有忽略getter error问题 Jan 13, 2021
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

2 participants