找文章 / 找答案
精选问答 更多内容

[可视化] 桌面版本编辑图表,拖入任何组件均报错

不知道起啥名玄铁三 显示全部楼层 发表于 2021-9-1 22:46:22 |阅读模式 打印 上一主题 下一主题
本帖最后由 不知道起啥名 于 2021-9-2 09:33 编辑

报错如图所示,linux系统下安装的桌面版本,版本是9.2.2,制作报告页面拖入任何一个组件均提示这个错误

java.lang.reflect.InvocationTargetExceptionjava.lang.NullPointerException


[2021-09-02 09:30:44.240] |-[ERROR] |-[255296b748aa4309bddfba7ffa5b35ca] |-[admin] |-[g5.BInfo.writeValue(BInfo.java:398)] |-[DASHBOARD: [__Data_visualization_analysis_file__20210902093043-684<__Industry_case__/__Big_screen__/__Data_visualization_analysis_file__.db>][ErrCode: 0]  java.lang.reflect.InvocationTargetException]java.lang.InternalError: java.lang.reflect.InvocationTargetException        at sun.font.FontManagerFactory$1.run(FontManagerFactory.java:86) ~[?:?]        at java.security.AccessController.doPrivileged(Native Method) ~[?:?]        at sun.font.FontManagerFactory.getInstance(FontManagerFactory.java:74) ~[?:?]        at java.awt.Font.getFont2D(Font.java:497) ~[?:?]        at java.awt.Font.getFamily(Font.java:1410) ~[?:?]        at g5.BInfo.writeValue(BInfo.java:393) ~[product.jar:?]        at g5.BInfo.writeValue(BInfo.java:323) ~[product.jar:?]        at g5.BInfo.writeData(BInfo.java:118) ~[product.jar:?]        at g5.BInfo.writeValue(BInfo.java:408) ~[product.jar:?]        at g5.BInfo.writeData(BInfo.java:118) ~[product.jar:?]        at g5.BInfo.writeValue(BInfo.java:258) ~[product.jar:?]        at g5.BInfo.writeValue(BInfo.java:323) ~[product.jar:?]        at g5.BInfo.writeData(BInfo.java:118) ~[product.jar:?]        at g5.sv.DataProc.writeIns(DataProc.java:90) ~[product.jar:?]        at g5.sv.db.DBProc.writeIns0(DBProc.java:1228) ~[product.jar:?]        at g5.sv.db.DBProc.procReq(DBProc.java:1171) ~[product.jar:?]        at g5.sv.db.DBProc.service(DBProc.java:141) ~[product.jar:?]        at g5.sv.ServletHelper.service(ServletHelper.java:101) ~[product.jar:?]        at g5.sv.PortalServlet.service(PortalServlet.java:492) ~[product.jar:?]        at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) ~[servlet-api-3.1.jar:3.1.0]        at org.eclipse.jetty.servlet.ServletHolder$NotAsyncServlet.service(ServletHolder.java:1400) ~[jetty-servlet-9.4.21.v20190926.jar:9.4.21.v20190926]        at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:760) ~[jetty-servlet-9.4.21.v20190926.jar:9.4.21.v20190926]        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1617) ~[jetty-servlet-9.4.21.v20190926.jar:9.4.21.v20190926]        at g5.sv.XBackupFilter.doFilter(XBackupFilter.java:28) ~[product.jar:?]        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1596) ~[jetty-servlet-9.4.21.v20190926.jar:9.4.21.v20190926]        at org.eclipse.jetty.websocket.server.WebSocketUpgradeFilter.doFilter(WebSocketUpgradeFilter.java:226) ~[websocket-server-9.4.21.v20190926.jar:9.4.21.v20190926]        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604) ~[jetty-servlet-9.4.21.v20190926.jar:9.4.21.v20190926]        at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:545) ~[jetty-servlet-9.4.21.v20190926.jar:9.4.21.v20190926]        at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143) ~[jetty-server-9.4.21.v20190926.jar:9.4.21.v20190926]        at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:536) ~[jetty-security-9.4.21.v20190926.jar:9.4.21.v20190926]        at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127) ~[jetty-server-9.4.21.v20190926.jar:9.4.21.v20190926]        at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:235) ~[jetty-server-9.4.21.v20190926.jar:9.4.21.v20190926]        at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1589) ~[jetty-server-9.4.21.v20190926.jar:9.4.21.v20190926]        at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233) ~[jetty-server-9.4.21.v20190926.jar:9.4.21.v20190926]        at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1296) ~[jetty-server-9.4.21.v20190926.jar:9.4.21.v20190926]        at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188) ~[jetty-server-9.4.21.v20190926.jar:9.4.21.v20190926]        at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:485) ~[jetty-servlet-9.4.21.v20190926.jar:9.4.21.v20190926]        at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1559) ~[jetty-server-9.4.21.v20190926.jar:9.4.21.v20190926]        at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186) ~[jetty-server-9.4.21.v20190926.jar:9.4.21.v20190926]        at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1211) ~[jetty-server-9.4.21.v20190926.jar:9.4.21.v20190926]        at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) ~[jetty-server-9.4.21.v20190926.jar:9.4.21.v20190926]        at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:221) ~[jetty-server-9.4.21.v20190926.jar:9.4.21.v20190926]        at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:146) ~[jetty-server-9.4.21.v20190926.jar:9.4.21.v20190926]        at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127) ~[jetty-server-9.4.21.v20190926.jar:9.4.21.v20190926]        at org.eclipse.jetty.server.Server.handle(Server.java:500) ~[jetty-server-9.4.21.v20190926.jar:9.4.21.v20190926]        at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:386) ~[jetty-server-9.4.21.v20190926.jar:9.4.21.v20190926]        at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:560) [jetty-server-9.4.21.v20190926.jar:9.4.21.v20190926]        at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:378) [jetty-server-9.4.21.v20190926.jar:9.4.21.v20190926]        at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:268) [jetty-server-9.4.21.v20190926.jar:9.4.21.v20190926]        at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311) [jetty-io-9.4.21.v20190926.jar:9.4.21.v20190926]        at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103) [jetty-io-9.4.21.v20190926.jar:9.4.21.v20190926]        at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:117) [jetty-io-9.4.21.v20190926.jar:9.4.21.v20190926]        at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:336) [jetty-util-9.4.21.v20190926.jar:9.4.21.v20190926]        at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:313) [jetty-util-9.4.21.v20190926.jar:9.4.21.v20190926]        at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:171) [jetty-util-9.4.21.v20190926.jar:9.4.21.v20190926]        at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:129) [jetty-util-9.4.21.v20190926.jar:9.4.21.v20190926]        at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:367) [jetty-util-9.4.21.v20190926.jar:9.4.21.v20190926]        at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:782) [jetty-util-9.4.21.v20190926.jar:9.4.21.v20190926]        at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:914) [jetty-util-9.4.21.v20190926.jar:9.4.21.v20190926]        at java.lang.Thread.run(Thread.java:834) [?:?]Caused by: java.lang.reflect.InvocationTargetException        at jdk.internal.reflect.GeneratedConstructorAccessor229.newInstance(Unknown Source) ~[?:?]        at jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:?]        at java.lang.reflect.Constructor.newInstance(Constructor.java:490) ~[?:?]        at sun.font.FontManagerFactory$1.run(FontManagerFactory.java:84) ~[?:?]        ... 59 moreCaused by: java.lang.NullPointerException        at sun.awt.FontConfiguration.getVersion(FontConfiguration.java:1262) ~[?:?]        at sun.awt.FontConfiguration.readFontConfigFile(FontConfiguration.java:225) ~[?:?]        at sun.awt.FontConfiguration.init(FontConfiguration.java:107) ~[?:?]        at sun.awt.X11FontManager.createFontConfiguration(X11FontManager.java:719) ~[?:?]        at sun.font.SunFontManager$2.run(SunFontManager.java:367) ~[?:?]        at java.security.AccessController.doPrivileged(Native Method) ~[?:?]        at sun.font.SunFontManager.<init>(SunFontManager.java:312) ~[?:?]        at sun.awt.FcFontManager.<init>(FcFontManager.java:35) ~[?:?]        at sun.awt.X11FontManager.<init>(X11FontManager.java:56) ~[?:?]        at jdk.internal.reflect.GeneratedConstructorAccessor229.newInstance(Unknown Source) ~[?:?]        at jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:?]        at java.lang.reflect.Constructor.newInstance(Constructor.java:490) ~[?:?]        at sun.font.FontManagerFactory$1.run(FontManagerFactory.java:84) ~[?:?]        ... 59 more
1630507664(1).jpg

最佳答案

_贝贝 白银一 关注Ta

2021-09-01 22:46:23

是的 必须有jdk环境,我们产品是在jdk环境上运行的。9版本建议适用jdk11
查看完整内容
回复

使用道具 举报

精彩评论3

_贝贝白银一 显示全部楼层 发表于 2021-9-1 22:46:23
是的 必须有jdk环境,我们产品是在jdk环境上运行的。9版本建议适用jdk11
回复

使用道具 举报

_贝贝白银一 显示全部楼层 发表于 2021-9-2 09:42:47
linux的jdk是哪个版本
回复

使用道具 举报

不知道起啥名玄铁三 显示全部楼层 发表于 2021-9-2 10:55:27
永洪tech-zxx 发表于 2021-9-2 09:42
linux的jdk是哪个版本

刚刚看了下,是没有安装java。必须安装java吗?
回复

使用道具 举报

高级模式
您需要登录后才可以回帖 登录 | 免费注册

  • 官方微信

    欢迎关注永洪服务号!收费为0,价值无限

    扫码关注
  • 新浪微博

    让每位用户轻松挖掘数据价值!

    访问新浪微博
  • 智能客服
50W

会员等你来哦

Copyright   ©2012-2024  北京永洪商智科技有限公司  (京ICP备12050607) 京公网安备110110802011451号 |《永洪社区协议》
返回顶部