设计器无法打开模板文件

楼主
我是社区第58902位番薯,欢迎点我头像关注我哦~
警告:错误代码:1305 模板文件解析出错env://reportlets/demo/analytics/tongji.cpt
        at com.fr.stable.xml.XMLableReader.getElementValue(Unknown Source)
        at com.fr.form.ui.Button.readXML(Unknown Source)
        at com.fr.form.ui.ToolBarButton.readXML(Unknown Source)
        at com.fr.plugin.widget.excel.ExcelO2003.readXML(Unknown Source)
        at com.fr.report.web.button.Export.readExtraXML(Unknown Source)
        at com.fr.report.web.button.Export.readXML(Unknown Source)
        at com.fr.stable.xml.XMLableReader.readXMLObject(Unknown Source)
        at com.fr.form.ui.WidgetXmlUtils.readWidget(Unknown Source)
        at com.fr.form.ui.ToolBar.readXML(Unknown Source)
        at com.fr.stable.xml.XMLableReader.readXMLObject(Unknown Source)
        at com.fr.report.web.ToolBarManager.readXML(Unknown Source)
        at com.fr.stable.xml.XMLableReader.readXMLObject(Unknown Source)
        at com.fr.report.web.WebContent$1.readXML(Unknown Source)
        at com.fr.stable.xml.XMLableReader.readXMLObject(Unknown Source)
        at com.fr.report.web.WebContent.readXML(Unknown Source)
        at com.fr.report.web.WebPage.readXML(Unknown Source)
        at com.fr.stable.xml.XMLableReader.readXMLObject(Unknown Source)
        at com.fr.web.attr.ReportWebAttr.readXML(Unknown Source)
        at com.fr.stable.xml.XMLableReader.readXMLObject(Unknown Source)
        at com.fr.main.AbstractFineBook.readXML(Unknown Source)
        at com.fr.main.AbstractTemplateWorkBook.readXML(Unknown Source)
        at com.fr.stable.xml.XMLableReader.readXMLObject(Unknown Source)
        at com.fr.main.impl.WorkBook.readStream(Unknown Source)
        at com.fr.main.impl.WorkBook.readStream(Unknown Source)
        at com.fr.design.module.DesignerModule$4.asIOFile(Unknown Source)
        at com.fr.design.module.DesignerModule$4.asIOFile(Unknown Source)
        at com.fr.design.module.DesignerModule$AbstractWorkBookApp.openTemplate(Unknown Source)
        at com.fr.design.mainframe.DesignerFrame.openFile(Unknown Source)
        at com.fr.design.mainframe.DesignerFrame.openTemplate(Unknown Source)
        at com.fr.design.file.TemplateTreePane.openSelectedReport(Unknown Source)
        at com.fr.design.file.TemplateTreePane$2.mousePressed(Unknown Source)
        at java.awt.AWTEventMulticaster.mousePressed(Unknown Source)
        at java.awt.AWTEventMulticaster.mousePressed(Unknown Source)
        at java.awt.Component.processMouseEvent(Unknown Source)
        at javax.swing.JComponent.processMouseEvent(Unknown Source)
        at java.awt.Component.processEvent(Unknown Source)
        at java.awt.Container.processEvent(Unknown Source)
        at java.awt.Component.dispatchEventImpl(Unknown Source)
        at java.awt.Container.dispatchEventImpl(Unknown Source)
        at java.awt.Component.dispatchEvent(Unknown Source)
        at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
        at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
        at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
        at java.awt.Container.dispatchEventImpl(Unknown Source)
        at java.awt.Window.dispatchEventImpl(Unknown Source)
        at java.awt.Component.dispatchEvent(Unknown Source)
        at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
        at java.awt.EventQueue.access$500(Unknown Source)
        at java.awt.EventQueue$3.run(Unknown Source)
        at java.awt.EventQueue$3.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
        at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
        at java.awt.EventQueue$4.run(Unknown Source)
        at java.awt.EventQueue$4.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.run(Unknown Source)
2016-05-11 15:23:04
警告:Index: 0, Size: 0
        at java.util.ArrayList.rangeCheck(Unknown Source)
        at java.util.ArrayList.get(Unknown Source)
        at com.fr.main.AbstractFineBook.__getNameReportByIndex(Unknown Source)
        at com.fr.main.AbstractFineBook.getReport(Unknown Source)
        at com.fr.main.AbstractTemplateWorkBook.getTemplateReport(Unknown Source)
        at com.fr.design.mainframe.ReportComponentComposite.doAfterChange(Unknown Source)
        at com.fr.design.mainframe.SheetNameTabPane.doAfterChange(Unknown Source)
        at com.fr.design.mainframe.SheetNameTabPane.setSelectedIndex(Unknown Source)
        at com.fr.design.mainframe.ReportComponentComposite.<init>(Unknown Source)
        at com.fr.design.mainframe.JWorkBook.createCenterPane(Unknown Source)
        at com.fr.design.mainframe.JWorkBook.createCenterPane(Unknown Source)
        at com.fr.design.mainframe.JTemplate.<init>(Unknown Source)
        at com.fr.design.mainframe.JWorkBook.<init>(Unknown Source)
        at com.fr.design.module.DesignerModule$AbstractWorkBookApp.openTemplate(Unknown Source)
        at com.fr.design.mainframe.DesignerFrame.openFile(Unknown Source)
        at com.fr.design.mainframe.DesignerFrame.openTemplate(Unknown Source)
        at com.fr.design.file.TemplateTreePane.openSelectedReport(Unknown Source)
        at com.fr.design.file.TemplateTreePane$2.mousePressed(Unknown Source)
        at java.awt.AWTEventMulticaster.mousePressed(Unknown Source)
        at java.awt.AWTEventMulticaster.mousePressed(Unknown Source)
        at java.awt.Component.processMouseEvent(Unknown Source)
        at javax.swing.JComponent.processMouseEvent(Unknown Source)
        at java.awt.Component.processEvent(Unknown Source)
        at java.awt.Container.processEvent(Unknown Source)
        at java.awt.Component.dispatchEventImpl(Unknown Source)
        at java.awt.Container.dispatchEventImpl(Unknown Source)
        at java.awt.Component.dispatchEvent(Unknown Source)
        at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
        at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
        at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
        at java.awt.Container.dispatchEventImpl(Unknown Source)
        at java.awt.Window.dispatchEventImpl(Unknown Source)
        at java.awt.Component.dispatchEvent(Unknown Source)
        at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
        at java.awt.EventQueue.access$500(Unknown Source)
        at java.awt.EventQueue$3.run(Unknown Source)
        at java.awt.EventQueue$3.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
        at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
        at java.awt.EventQueue$4.run(Unknown Source)
        at java.awt.EventQueue$4.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.run(Unknown Source)


分享扩散:

沙发
发表于 2016-5-11 15:35:06
本帖最后由 jackzhang520 于 2016-5-11 15:59 编辑

重新安装设计器到另一个目录,发现好了!很奇怪!,查了半天,是“导出Excel方式选择”插件导致了这个问题
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

1回帖数 1关注人数 3784浏览人数
最后回复于:2016-5-11 15:35

返回顶部 返回列表