finereport 10可以登陆,登陆之后没有图表
java.lang.NullPointerException
	at sun.awt.FontConfiguration.getVersion(FontConfiguration.java:1264)
	at sun.awt.FontConfiguration.readFontConfigFile(FontConfiguration.java:219)
	at sun.awt.FontConfiguration.init(FontConfiguration.java:107)
	at sun.awt.X11FontManager.createFontConfiguration(X11FontManager.java:774)
	at sun.font.SunFontManager$2.run(SunFontManager.java:431)
	at java.security.AccessController.doPrivileged(Native Method)
	at sun.font.SunFontManager.<init>(SunFontManager.java:376)
	at sun.awt.FcFontManager.<init>(FcFontManager.java:35)
	at sun.awt.X11FontManager.<init>(X11FontManager.java:57)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
	at java.lang.Class.newInstance(Class.java:442)
	at sun.font.FontManagerFactory$1.run(FontManagerFactory.java:83)
	at java.security.AccessController.doPrivileged(Native Method)
	at sun.font.FontManagerFactory.getInstance(FontManagerFactory.java:74)
	at sun.font.SunFontManager.getInstance(SunFontManager.java:250)
	at sun.font.FontDesignMetrics.getMetrics(FontDesignMetrics.java:264)
	at sun.font.FontDesignMetrics.getMetrics(FontDesignMetrics.java:250)
	at sun.awt.SunToolkit.getFontMetrics(SunToolkit.java:652)
	at sun.awt.HeadlessToolkit.getFontMetrics(HeadlessToolkit.java:413)
	at com.fr.stable.GraphDrawHelper.createNotNullFontMetrics(Unknown Source)
	at com.fr.stable.GraphDrawHelper.createFontMetrics(Unknown Source)
	at com.fr.stable.GraphDrawHelper.getFontMetrics(Unknown Source)
	at com.fr.base.GraphHelper.getFontMetrics(Unknown Source)
	at com.fr.report.core.PaintUtils.getFontMetrics(Unknown Source)
	at com.fr.report.core.PaintUtils.dealWrapTextCount(Unknown Source)
	at com.fr.report.core.PaintUtils.getLineTextCount(Unknown Source)
	at com.fr.report.core.PaintUtils.analyzeCellElementPreferredHeight(Unknown Source)
	at com.fr.report.core.PaintUtils.analyzeCellElementPreferredHeight(Unknown Source)
	at com.fr.report.elementcase.AbstractElementCase.shrinkTOFitRowHeightForCellElement(Unknown Source)
	at com.fr.report.report.AbstractECReport.shrinkTOFitRowHeightForCellElement(Unknown Source)
	at com.fr.report.report.AbstractECReport.prepare2ShrinkRealWidthOrHeight4Cell(Unknown Source)
	at com.fr.report.core.A.J$_A.B(Unknown Source)
	at com.fr.report.core.A.J$_A.B(Unknown Source)
	at com.fr.report.core.A.J$_A.B(Unknown Source)
	at com.fr.report.core.A.J$_A.B(Unknown Source)
	at com.fr.report.core.A.J$_A.B(Unknown Source)
	at com.fr.report.core.A.J.execute4ECReport(Unknown Source)
	at com.fr.report.core.A.J.execute(Unknown Source)
	at com.fr.report.worksheet.WorkSheet.execute(Unknown Source)
	at com.fr.report.core.sheet.AbstractWorkBookExecutor._execute(Unknown Source)
	at com.fr.report.core.sheet.AbstractWorkBookExecutor.execute(Unknown Source)
	at com.fr.main.impl.WorkBook.execute(Unknown Source)
	at com.fr.stable.AbstractActor.getResultBookFromCacheIfNeed(Unknown Source)
	at com.fr.main.impl.WorkBookTemplateDelegate.execute(Unknown Source)
	at com.fr.web.core.ReportSessionIDInfor.execute(Unknown Source)
	at com.fr.web.core.ReportSessionIDInfor.computeBook2Show$original$cj5sgype(Unknown Source)
	at com.fr.web.core.ReportSessionIDInfor.computeBook2Show$original$cj5sgype$accessor$HyA3jxlc(Unknown Source)
	at com.fr.web.core.ReportSessionIDInfor$auxiliary$TlgEThUi.call(Unknown Source)
	at com.fr.intelli.metrics.MonitorInterceptor.intercept(Unknown Source)
	at com.fr.web.core.ReportSessionIDInfor.computeBook2Show(Unknown Source)
	at com.fr.web.core.ReportSessionIDInfor.initBook2Show(Unknown Source)
	at com.fr.web.core.ReportSessionIDInfor.getWorkBook2Show(Unknown Source)
	at com.fr.web.core.ReportSessionIDInfor.getReport2Show(Unknown Source)
	at com.fr.web.data.CalculatableAction.readContent(Unknown Source)
	at com.fr.web.core.B.w.actionCMD(Unknown Source)
	at com.fr.web.core.WebActionsDispatcher.dealForActionCMD(Unknown Source)
	at com.fr.web.core.WebActionsDispatcher.dealForActionDefaultCmd(Unknown Source)
	at com.fr.web.core.WebActionsDispatcher.dealForActionCMD(Unknown Source)
	at com.fr.web.core.B.MB.process(Unknown Source)
	at com.fr.web.core.ReportDispatcher.dealWithOp(Unknown Source)
	at com.fr.web.core.ReportDispatcher.dealWeblet(Unknown Source)
	at com.fr.web.core.ReportDispatcher.dealWithRequest(Unknown Source)
	at com.fr.web.controller.BaseRequestService.preview(Unknown Source)
	at com.fr.web.controller.ReportRequestService.preview(Unknown Source)
	at sun.reflect.GeneratedMethodAccessor166.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at com.fr.third.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:221)
	at com.fr.third.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:137)
	at com.fr.third.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:104)
	at com.fr.third.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandleMethod(RequestMappingHandlerAdapter.java:747)
	at com.fr.third.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:676)
	at com.fr.third.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:85)
	at com.fr.third.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:938)
	at com.fr.third.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:870)
	at com.fr.third.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:961)
	at com.fr.third.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:852)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:635)
	at com.fr.third.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:837)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
	at com.fr.third.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
	at com.fr.third.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
	at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
	at com.fr.decision.base.DecisionServletInitializer$6.doFilterInternal(DecisionServletInitializer.java:207)
	at com.fr.third.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
	at com.fr.decision.base.DecisionServletInitializer$4.doFilter(DecisionServletInitializer.java:140)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:504)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81)
	at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:650)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342)
	at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:803)
	at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
	at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:790)
	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1459)
	at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
	at java.lang.Thread.run(Thread.java:748)


FineReport uwhudhushdksq 发布于 2019-10-2 08:57
1min目标场景问卷 立即参与
回答问题
悬赏:8 F币 4人赏过 + 添加悬赏
提示:增加悬赏、完善问题、追问等操作,可使您的问题被置顶,并向所有关注者发送通知
共2回答
最佳回答
1
zsh331Lv8专家互助
发布于2020-11-20 17:09

当前linux系统没有相关font资源,需要为系统安装【字体管理器】-FontConfiguration组件;

=======================

操作方法:centos系统  yum install fontconfig ;debian系统 apt-get install fontconfig

==========

image.png



最佳回答
0
firegunzxLv6高级互助
发布于2019-10-2 11:57

更新一下jar包

  • 3关注人数
  • 336浏览人数
  • 最后回答于:2020-11-20 17:09
    请选择关闭问题的原因
    确定 取消
    返回顶部