升级之后报的错详细了点,只在服务器这样,本地运行没问题
ERROR Error on drawText.
java.lang.NullPointerException: null
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.GeneratedConstructorAccessor129.newInstance(Unknown Source)
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 java.awt.Font.getFont2D(Font.java:491)
at java.awt.Font.defaultLineMetrics(Font.java:2176)
at java.awt.Font.getLineMetrics(Font.java:2283)
at java.awt.font.TextLayout.fastInit(TextLayout.java:598)
at java.awt.font.TextLayout.<init>(TextLayout.java:533)
at sun.java2d.SunGraphics2D.drawString(SunGraphics2D.java:2992)
at com.grapecity.documents.excel.p.c.b(Unknown Source)
at com.grapecity.documents.excel.p.c.a(Unknown Source)
at com.grapecity.documents.excel.p.b.a(Unknown Source)
at com.grapecity.documents.excel.p.c.a(Unknown Source)
at com.grapecity.documents.excel.p.b.a(Unknown Source)
at com.grapecity.documents.excel.p.c.a(Unknown Source)
at com.grapecity.documents.excel.p.b.a(Unknown Source)
at com.grapecity.documents.excel.p.c.a(Unknown Source)
at com.grapecity.documents.excel.p.b.a(Unknown Source)
at com.grapecity.documents.excel.p.h.a(Unknown Source)
at com.grapecity.documents.excel.bk.toImage(Unknown Source)
at com.grapecity.documents.excel.dn.a(Unknown Source)
at com.grapecity.documents.excel.bV.toImage(Unknown Source)
|