首页 新闻 会员 周边 捐助

Graphics2D在windows上运行正常,linux中报错 求指教啊

0
[已关闭问题] 关闭于 2019-07-10 18:02

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.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 java.awt.Font.getFont2D(Font.java:491)


at java.awt.Font.access$000(Font.java:224)


at java.awt.Font$FontAccessImpl.getFont2D(Font.java:228)


at sun.font.FontUtilities.getFont2D(FontUtilities.java:180)


at sun.java2d.SunGraphics2D.checkFontInfo(SunGraphics2D.java:670)


at sun.java2d.SunGraphics2D.getFontInfo(SunGraphics2D.java:831)


at sun.java2d.pipe.GlyphListPipe.drawString(GlyphListPipe.java:50)


at sun.java2d.SunGraphics2D.drawString(SunGraphics2D.java:2926)


at com.orisdom.utils.ImageBuilderUtils.ImageBuilder(ImageBuilderUtils.java:61)


at com.orisdom.modules.customer.service.impl.CustomerProductServiceImpl.getQRCode(CustomerProductServiceImpl.java:140)


at com.orisdom.modules.customer.service.impl.CustomerProductServiceImpl.save(CustomerProductServiceImpl.java:113)


at com.orisdom.modules.customer.service.impl.CustomerProductServiceImpl$$FastClassBySpringCGLIB$$db414c36.invoke(<generated>)


at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)


at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:738)


at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)


at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99)
代码中透露着杀气的主页 代码中透露着杀气 | 菜鸟二级 | 园豆:221
提问于:2019-07-10 17:32
< >
分享
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册