NutzCN Logo
问答 json转换报错java/nio/DirectByteBuffer
发布于 180天前 作者 Wizzercn 144 次浏览 复制 上一个帖子 下一个帖子
标签: nutzwk

Json.toJson

[DEBUG] 2017-12-26 23:05:14,734 cn.wizzer.app.web.commons.processor.LogTimeProcessor.process(LogTimeProcessor.java:26) - [POST]URI=/platform/cms/test1/addDo 427ms
[WARN ] 2017-12-26 23:05:14,735 org.nutz.mvc.impl.processor.FailProcessor.process(FailProcessor.java:28) - Error@/platform/cms/test1/addDo :
java.lang.IllegalAccessError: java/nio/DirectByteBuffer
	at org.nutz.lang.reflect.fast.java.nio.DirectByteBuffer$FM$isReadOnly$bfe1a59d8fb38b9ec19d27e708c66a63.invoke(DirectByteBuffer.java)
	at org.nutz.lang.eject.EjectByGetter.eject(EjectByGetter.java:33)
	at org.nutz.json.entity.JsonEntityField.getValue(JsonEntityField.java:173)
	at org.nutz.json.impl.JsonRenderImpl.pojo2Json(JsonRenderImpl.java:278)
	at org.nutz.json.impl.JsonRenderImpl.render(JsonRenderImpl.java:161)
	at org.nutz.json.impl.JsonRenderImpl.array2Json(JsonRenderImpl.java:428)
	at org.nutz.json.impl.JsonRenderImpl.render(JsonRenderImpl.java:157)
	at org.nutz.json.impl.JsonRenderImpl.appendPair(JsonRenderImpl.java:199)
	at org.nutz.json.impl.JsonRenderImpl.writeItem(JsonRenderImpl.java:350)
	at org.nutz.json.impl.JsonRenderImpl.pojo2Json(JsonRenderImpl.java:343)
	at org.nutz.json.impl.JsonRenderImpl.render(JsonRenderImpl.java:161)
	at org.nutz.json.impl.JsonRenderImpl.appendPair(JsonRenderImpl.java:199)
	at org.nutz.json.impl.JsonRenderImpl.writeItem(JsonRenderImpl.java:350)
	at org.nutz.json.impl.JsonRenderImpl.pojo2Json(JsonRenderImpl.java:343)
	at org.nutz.json.impl.JsonRenderImpl.render(JsonRenderImpl.java:161)
	at org.nutz.json.impl.JsonRenderImpl.array2Json(JsonRenderImpl.java:428)
	at org.nutz.json.impl.JsonRenderImpl.render(JsonRenderImpl.java:157)
	at org.nutz.json.impl.JsonRenderImpl.appendPair(JsonRenderImpl.java:199)
	at org.nutz.json.impl.JsonRenderImpl.writeItem(JsonRenderImpl.java:350)
	at org.nutz.json.impl.JsonRenderImpl.pojo2Json(JsonRenderImpl.java:343)
	at org.nutz.json.impl.JsonRenderImpl.render(JsonRenderImpl.java:161)
	at org.nutz.json.impl.JsonRenderImpl.appendPair(JsonRenderImpl.java:199)
	at org.nutz.json.impl.JsonRenderImpl.writeItem(JsonRenderImpl.java:350)
	at org.nutz.json.impl.JsonRenderImpl.pojo2Json(JsonRenderImpl.java:343)
	at org.nutz.json.impl.JsonRenderImpl.render(JsonRenderImpl.java:161)
	at org.nutz.json.impl.JsonRenderImpl.appendPair(JsonRenderImpl.java:199)
	at org.nutz.json.impl.JsonRenderImpl.writeItem(JsonRenderImpl.java:350)
	at org.nutz.json.impl.JsonRenderImpl.pojo2Json(JsonRenderImpl.java:343)
	at org.nutz.json.impl.JsonRenderImpl.render(JsonRenderImpl.java:161)
	at org.nutz.json.impl.JsonRenderImpl.appendPair(JsonRenderImpl.java:199)
	at org.nutz.json.impl.JsonRenderImpl.writeItem(JsonRenderImpl.java:350)
	at org.nutz.json.impl.JsonRenderImpl.pojo2Json(JsonRenderImpl.java:343)
	at org.nutz.json.impl.JsonRenderImpl.render(JsonRenderImpl.java:161)
	at org.nutz.json.impl.JsonRenderImpl.appendPair(JsonRenderImpl.java:199)
	at org.nutz.json.impl.JsonRenderImpl.writeItem(JsonRenderImpl.java:350)
	at org.nutz.json.impl.JsonRenderImpl.pojo2Json(JsonRenderImpl.java:343)
	at org.nutz.json.impl.JsonRenderImpl.render(JsonRenderImpl.java:161)
	at org.nutz.json.impl.JsonRenderImpl.appendPair(JsonRenderImpl.java:199)
	at org.nutz.json.impl.JsonRenderImpl.writeItem(JsonRenderImpl.java:350)
	at org.nutz.json.impl.JsonRenderImpl.pojo2Json(JsonRenderImpl.java:343)
	at org.nutz.json.impl.JsonRenderImpl.render(JsonRenderImpl.java:161)
	at org.nutz.json.impl.JsonRenderImpl.appendPair(JsonRenderImpl.java:199)
	at org.nutz.json.impl.JsonRenderImpl.writeItem(JsonRenderImpl.java:350)
	at org.nutz.json.impl.JsonRenderImpl.pojo2Json(JsonRenderImpl.java:343)
	at org.nutz.json.impl.JsonRenderImpl.render(JsonRenderImpl.java:161)
	at org.nutz.json.impl.JsonRenderImpl.appendPair(JsonRenderImpl.java:199)
	at org.nutz.json.impl.JsonRenderImpl.writeItem(JsonRenderImpl.java:350)
	at org.nutz.json.impl.JsonRenderImpl.pojo2Json(JsonRenderImpl.java:343)
	at org.nutz.json.impl.JsonRenderImpl.render(JsonRenderImpl.java:161)
	at org.nutz.json.impl.JsonRenderImpl.appendPair(JsonRenderImpl.java:199)
	at org.nutz.json.impl.JsonRenderImpl.writeItem(JsonRenderImpl.java:350)
	at org.nutz.json.impl.JsonRenderImpl.pojo2Json(JsonRenderImpl.java:343)
	at org.nutz.json.impl.JsonRenderImpl.render(JsonRenderImpl.java:161)
	at org.nutz.json.impl.JsonRenderImpl.appendPair(JsonRenderImpl.java:199)
	at org.nutz.json.impl.JsonRenderImpl.writeItem(JsonRenderImpl.java:350)
	at org.nutz.json.impl.JsonRenderImpl.pojo2Json(JsonRenderImpl.java:343)
	at org.nutz.json.impl.JsonRenderImpl.render(JsonRenderImpl.java:161)
	at org.nutz.json.impl.JsonRenderImpl.appendPair(JsonRenderImpl.java:199)
	at org.nutz.json.impl.JsonRenderImpl.writeItem(JsonRenderImpl.java:350)
	at org.nutz.json.impl.JsonRenderImpl.pojo2Json(JsonRenderImpl.java:343)
	at org.nutz.json.impl.JsonRenderImpl.render(JsonRenderImpl.java:161)
	at org.nutz.json.impl.JsonRenderImpl.appendPair(JsonRenderImpl.java:199)
	at org.nutz.json.impl.JsonRenderImpl.writeItem(JsonRenderImpl.java:350)
	at org.nutz.json.impl.JsonRenderImpl.pojo2Json(JsonRenderImpl.java:343)
	at org.nutz.json.impl.JsonRenderImpl.render(JsonRenderImpl.java:161)
	at org.nutz.json.impl.JsonRenderImpl.array2Json(JsonRenderImpl.java:428)
	at org.nutz.json.impl.JsonRenderImpl.render(JsonRenderImpl.java:157)
	at org.nutz.json.impl.JsonRenderImpl.appendPair(JsonRenderImpl.java:199)
	at org.nutz.json.impl.JsonRenderImpl.writeItem(JsonRenderImpl.java:350)
	at org.nutz.json.impl.JsonRenderImpl.pojo2Json(JsonRenderImpl.java:343)
	at org.nutz.json.impl.JsonRenderImpl.render(JsonRenderImpl.java:161)
	at org.nutz.json.impl.JsonRenderImpl.appendPair(JsonRenderImpl.java:199)
	at org.nutz.json.impl.JsonRenderImpl.writeItem(JsonRenderImpl.java:350)
	at org.nutz.json.impl.JsonRenderImpl.pojo2Json(JsonRenderImpl.java:343)
	at org.nutz.json.impl.JsonRenderImpl.render(JsonRenderImpl.java:161)
	at org.nutz.json.impl.JsonRenderImpl.array2Json(JsonRenderImpl.java:428)
	at org.nutz.json.impl.JsonRenderImpl.render(JsonRenderImpl.java:157)
	at org.nutz.json.impl.JsonRenderImpl.appendPair(JsonRenderImpl.java:199)
	at org.nutz.json.impl.JsonRenderImpl.writeItem(JsonRenderImpl.java:350)
	at org.nutz.json.impl.JsonRenderImpl.pojo2Json(JsonRenderImpl.java:343)
	at org.nutz.json.impl.JsonRenderImpl.render(JsonRenderImpl.java:161)
	at org.nutz.json.impl.JsonRenderImpl.appendPair(JsonRenderImpl.java:199)
	at org.nutz.json.impl.JsonRenderImpl.writeItem(JsonRenderImpl.java:350)
	at org.nutz.json.impl.JsonRenderImpl.pojo2Json(JsonRenderImpl.java:343)
	at org.nutz.json.impl.JsonRenderImpl.render(JsonRenderImpl.java:161)
	at org.nutz.json.impl.JsonRenderImpl.appendPair(JsonRenderImpl.java:199)
	at org.nutz.json.impl.JsonRenderImpl.writeItem(JsonRenderImpl.java:350)
	at org.nutz.json.impl.JsonRenderImpl.pojo2Json(JsonRenderImpl.java:343)
	at org.nutz.json.impl.JsonRenderImpl.render(JsonRenderImpl.java:161)
	at org.nutz.json.impl.JsonRenderImpl.appendPair(JsonRenderImpl.java:199)
	at org.nutz.json.impl.JsonRenderImpl.writeItem(JsonRenderImpl.java:350)
	at org.nutz.json.impl.JsonRenderImpl.pojo2Json(JsonRenderImpl.java:343)
	at org.nutz.json.impl.JsonRenderImpl.render(JsonRenderImpl.java:161)
	at org.nutz.json.impl.JsonRenderImpl.appendPair(JsonRenderImpl.java:199)
	at org.nutz.json.impl.JsonRenderImpl.writeItem(JsonRenderImpl.java:350)
	at org.nutz.json.impl.JsonRenderImpl.pojo2Json(JsonRenderImpl.java:343)
	at org.nutz.json.impl.JsonRenderImpl.render(JsonRenderImpl.java:161)
	at org.nutz.json.impl.JsonRenderImpl.appendPair(JsonRenderImpl.java:199)
	at org.nutz.json.impl.JsonRenderImpl.writeItem(JsonRenderImpl.java:350)
	at org.nutz.json.impl.JsonRenderImpl.pojo2Json(JsonRenderImpl.java:343)
	at org.nutz.json.impl.JsonRenderImpl.render(JsonRenderImpl.java:161)
	at org.nutz.json.impl.JsonRenderImpl.appendPair(JsonRenderImpl.java:199)
	at org.nutz.json.impl.JsonRenderImpl.writeItem(JsonRenderImpl.java:350)
	at org.nutz.json.impl.JsonRenderImpl.pojo2Json(JsonRenderImpl.java:343)
	at org.nutz.json.impl.JsonRenderImpl.render(JsonRenderImpl.java:161)
	at org.nutz.json.impl.JsonRenderImpl.appendPair(JsonRenderImpl.java:199)
	at org.nutz.json.impl.JsonRenderImpl.writeItem(JsonRenderImpl.java:350)
	at org.nutz.json.impl.JsonRenderImpl.pojo2Json(JsonRenderImpl.java:343)
	at org.nutz.json.impl.JsonRenderImpl.render(JsonRenderImpl.java:161)
	at org.nutz.json.impl.JsonRenderImpl.appendPair(JsonRenderImpl.java:199)
	at org.nutz.json.impl.JsonRenderImpl.writeItem(JsonRenderImpl.java:350)
	at org.nutz.json.impl.JsonRenderImpl.pojo2Json(JsonRenderImpl.java:343)
	at org.nutz.json.impl.JsonRenderImpl.render(JsonRenderImpl.java:161)
	at org.nutz.json.impl.JsonRenderImpl.appendPair(JsonRenderImpl.java:199)
	at org.nutz.json.impl.JsonRenderImpl.writeItem(JsonRenderImpl.java:350)
	at org.nutz.json.impl.JsonRenderImpl.pojo2Json(JsonRenderImpl.java:343)
	at org.nutz.json.impl.JsonRenderImpl.render(JsonRenderImpl.java:161)
	at org.nutz.json.impl.JsonRenderImpl.array2Json(JsonRenderImpl.java:432)
	at org.nutz.json.impl.JsonRenderImpl.render(JsonRenderImpl.java:157)
	at org.nutz.json.Json.toJson(Json.java:239)
	at org.nutz.json.Json.toJson(Json.java:201)
	at org.nutz.json.Json.toJson(Json.java:187)
	at cn.wizzer.app.web.commons.slog.SLogService.log(SLogService.java:148)
	at cn.wizzer.app.web.commons.slog.SLogAopInterceptor.doLog(SLogAopInterceptor.java:88)
	at cn.wizzer.app.web.commons.slog.SLogAopInterceptor.filter(SLogAopInterceptor.java:64)
	at org.nutz.aop.InterceptorChain.doChain(InterceptorChain.java:60)
	at cn.wizzer.app.web.modules.controllers.platform.cms.CmsTest1Controller$$NUTZAOP.addDo(CmsTest1Controller.java:1)
	at cn.wizzer.app.web.modules.controllers.platform.cms.CmsTest1Controller$FM$addDo$6bac2999f4973205b9bfbacf569dac15.invoke(CmsTest1Controller.java)
	at org.nutz.mvc.impl.processor.MethodInvokeProcessor.process(MethodInvokeProcessor.java:31)
	at org.nutz.mvc.impl.processor.AbstractProcessor.doNext(AbstractProcessor.java:44)
	at org.nutz.mvc.impl.processor.AdaptorProcessor.process(AdaptorProcessor.java:30)
	at org.nutz.mvc.impl.processor.AbstractProcessor.doNext(AbstractProcessor.java:44)
	at org.nutz.mvc.impl.processor.ActionFiltersProcessor.process(ActionFiltersProcessor.java:58)
	at org.nutz.mvc.impl.processor.AbstractProcessor.doNext(AbstractProcessor.java:44)
	at cn.wizzer.app.web.commons.processor.XssSqlFilterProcessor.process(XssSqlFilterProcessor.java:35)
	at org.nutz.mvc.impl.processor.AbstractProcessor.doNext(AbstractProcessor.java:44)
	at cn.wizzer.app.web.commons.processor.NutShiroProcessor.process(NutShiroProcessor.java:52)
	at org.nutz.mvc.impl.processor.AbstractProcessor.doNext(AbstractProcessor.java:44)
	at org.nutz.mvc.impl.processor.ModuleProcessor.process(ModuleProcessor.java:123)
	at org.nutz.mvc.impl.processor.AbstractProcessor.doNext(AbstractProcessor.java:44)
	at org.nutz.mvc.impl.processor.EncodingProcessor.process(EncodingProcessor.java:27)
	at org.nutz.mvc.impl.processor.AbstractProcessor.doNext(AbstractProcessor.java:44)
	at org.nutz.mvc.impl.processor.UpdateRequestAttributesProcessor.process(UpdateRequestAttributesProcessor.java:15)
	at org.nutz.mvc.impl.processor.AbstractProcessor.doNext(AbstractProcessor.java:44)
	at cn.wizzer.app.web.commons.processor.GlobalsSettingProcessor.process(GlobalsSettingProcessor.java:36)
	at org.nutz.mvc.impl.processor.AbstractProcessor.doNext(AbstractProcessor.java:44)
	at cn.wizzer.app.web.commons.processor.LogTimeProcessor.process(LogTimeProcessor.java:21)
	at org.nutz.mvc.impl.NutActionChain.doChain(NutActionChain.java:44)
	at org.nutz.mvc.impl.ActionInvoker.invoke(ActionInvoker.java:67)
	at org.nutz.mvc.ActionHandler.handle(ActionHandler.java:31)
	at org.nutz.mvc.NutFilter.doFilter(NutFilter.java:202)
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1676)
	at cn.wizzer.app.web.commons.filter.RouteFilter.doFilter(RouteFilter.java:31)
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1676)
	at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:61)
	at org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108)
	at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137)
	at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)
	at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66)
	at org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:449)
	at org.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:365)
	at org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90)
	at org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83)
	at org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:383)
	at org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:362)
	at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1668)
	at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:581)
	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
	at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548)
	at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226)
	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1180)
	at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:511)
	at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1112)
	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
	at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:213)
	at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:119)
	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:134)
	at org.eclipse.jetty.server.Server.handle(Server.java:523)
	at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:320)
	at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:251)
	at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:273)
	at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95)
	at org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:93)
	at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.executeProduceConsume(ExecuteProduceConsume.java:303)
	at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceConsume(ExecuteProduceConsume.java:148)
	at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:136)
	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:671)
	at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:589)
	at java.lang.Thread.run(Thread.java:745)
[DEBUG] 2017-12-26 23:05:21,604 org.quartz.impl.jdbcjobstore.JobStoreSupport$ClusterManager.manage(JobStoreSupport.java:3877) - ClusterManager: Check-in complete.

添加回复
请先登陆
回到顶部