找回密码
 注册账号

QQ登录

只需一步,快速开始

手机号码,快捷登录

手机号码,快捷登录

初学者课程:T3自学|T6自学|U8自学软件下载课件下载工具下载资料:通资料|U8资料|NC|培训|年结积分规则 | 使用常见问题Q&A
知识库:U8 | | NC | U9 | OA | 政务U8|U9|NCC|NC65|NC65客开|NCC客开新手必读 | 任务 | 快速增金币用友QQ群[微信群]
查看: 1857|回复: 2

[求助] 打印模板点击预览时,一片空白,报错了,是不是少了什么东西

[复制链接]
发表于 2013-10-10 09:48:11 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?注册账号

×
Exception in thread "AWT-EventQueue-0" java.lang.ExceptionInInitializerError
        at com.sun.imageio.plugins.png.PNGImageReader.getImageTypes(PNGImageReader.java:1456)
        at com.sun.imageio.plugins.png.PNGImageReader.readImage(PNGImageReader.java:1366)
        at com.sun.imageio.plugins.png.PNGImageReader.read(PNGImageReader.java:1601)
        at javax.imageio.ImageIO.read(ImageIO.java:1400)
        at javax.imageio.ImageIO.read(ImageIO.java:1322)
        at nc.ui.pub.print.PrintTemplateHelper.getSysImageFile(PrintTemplateHelper.java:398)
        at nc.ui.pub.print.version55.print.template.cell.value.ImageValueObject.setImage(ImageValueObject.java:162)
        at nc.ui.pub.print.version55.print.template.cell.value.ImageValueObject.setValueObject(ImageValueObject.java:87)
        at nc.ui.pub.print.version55.print.template.cell.value.ImageValueObject.<init>(ImageValueObject.java:46)
        at nc.ui.pub.print.version55.print.DynamicImageElement.paint(DynamicImageElement.java:97)
        at nc.ui.pub.print.version55.print.OutputElementLayer.paintContent(OutputElementLayer.java:60)
        at nc.ui.pub.print.version55.print.Layer.paint(Layer.java:55)
        at nc.ui.pub.print.version55.print.DynamicPage.paintPageContent(DynamicPage.java:55)
        at nc.ui.pub.print.version55.print.AbstractPage.paint(AbstractPage.java:149)
        at nc.ui.pub.print.version55.print.MergedDynamicPage.paint(MergedDynamicPage.java:63)
        at nc.ui.pub.print.version55.print.ProxyDynamicPage.paint(ProxyDynamicPage.java:73)
        at nc.ui.pub.print.version55.print.merge.MergedPage.paintPageContent(MergedPage.java:141)
        at nc.ui.pub.print.version55.print.AbstractPage.paint(AbstractPage.java:149)
        at nc.ui.pub.print.version55.print.output.paint.preview.PreviewCanvasPanel.paintComponent(PreviewCanvasPanel.java:189)
        at javax.swing.JComponent.paint(JComponent.java:1000)
        at javax.swing.JComponent.paintChildren(JComponent.java:837)
        at javax.swing.JComponent.paint(JComponent.java:1009)
        at javax.swing.JViewport.paint(JViewport.java:728)
        at javax.swing.JComponent.paintChildren(JComponent.java:837)
        at javax.swing.JComponent.paint(JComponent.java:1009)
        at javax.swing.JComponent.paintChildren(JComponent.java:837)
        at javax.swing.JComponent.paint(JComponent.java:1009)
        at javax.swing.JComponent.paintChildren(JComponent.java:837)
        at javax.swing.JComponent.paint(JComponent.java:1009)
        at javax.swing.JComponent.paintChildren(JComponent.java:837)
        at javax.swing.JComponent.paint(JComponent.java:1009)
        at javax.swing.JLayeredPane.paint(JLayeredPane.java:559)
        at javax.swing.JComponent.paintChildren(JComponent.java:837)
        at javax.swing.JComponent.paintWithOffscreenBuffer(JComponent.java:4973)
        at javax.swing.JComponent.paintDoubleBuffered(JComponent.java:4919)
        at javax.swing.JComponent.paint(JComponent.java:990)
        at java.awt.GraphicsCallback$PaintCallback.run(GraphicsCallback.java:21)
        at sun.awt.SunGraphicsCallback.runOneComponent(SunGraphicsCallback.java:60)
        at sun.awt.SunGraphicsCallback.runComponents(SunGraphicsCallback.java:97)
        at java.awt.Container.paint(Container.java:1709)
        at sun.awt.RepaintArea.paintComponent(RepaintArea.java:248)
        at sun.awt.RepaintArea.paint(RepaintArea.java:224)
        at sun.awt.windows.WComponentPeer.handleEvent(WComponentPeer.java:254)
        at java.awt.Component.dispatchEventImpl(Component.java:4060)
        at java.awt.Container.dispatchEventImpl(Container.java:2024)
        at java.awt.Window.dispatchEventImpl(Window.java:1791)
        at java.awt.Component.dispatchEvent(Component.java:3819)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
        at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
Caused by: java.lang.IllegalArgumentException: Can't load standard profile: GRAY.pf
        at java.awt.color.ICC_Profile$2.run(ICC_Profile.java:885)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.awt.color.ICC_Profile.getStandardProfile(ICC_Profile.java:878)
        at java.awt.color.ICC_Profile.getInstance(ICC_Profile.java:849)
        at java.awt.color.ColorSpace.getInstance(ColorSpace.java:314)
        at javax.imageio.ImageTypeSpecifier$Grayscale.<init>(ImageTypeSpecifier.java:700)
        at javax.imageio.ImageTypeSpecifier.createGrayscale(ImageTypeSpecifier.java:781)
        at javax.imageio.ImageTypeSpecifier.<clinit>(ImageTypeSpecifier.java:140)
        ... 53 more


发表于 2013-10-10 15:43:55 | 显示全部楼层
打印预览空白,能打出来吗
回复 点赞 拍砖

使用道具 举报

 楼主| 发表于 2013-10-16 14:25:34 | 显示全部楼层
{:soso_e103:}啥都看不见,怎么打印
回复 点赞 拍砖

使用道具 举报

您需要登录后才可以回帖 登录 | 注册账号

本版积分规则

QQ|站长微信|Archiver|手机版|小黑屋|用友之家 ( 蜀ICP备07505338号|51072502110008 )

GMT+8, 2024-11-18 12:17 , Processed in 0.056250 second(s), 11 queries , Gzip On, Redis On.

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表