编辑JRXML时出现i-report 3.7.6错误 [英] i-report 3.7.6 error while editing JRXML

查看:51
本文介绍了编辑JRXML时出现i-report 3.7.6错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在使用i-Report 3.7.6编辑XML文件时遇到问题.我的XML文件是使用i-Report 2.0.2创建的,后来又使用i-Report 3.7.6以JRXML格式保存.当我现在单击XML文件时,i-Report给我错误:

I have a problem with editing XML files with i-Report 3.7.6. My XML file was created with i-Report 2.0.2 and later saved in JRXML format with i-Report 3.7.6. When I click on the XML file now, i-Report gives me the error:

---------------------------
Microsoft Visual C++ Runtime Library
---------------------------
Assertion failed!

Program: ...rogram Files\Java\jdk1.6.0_23\jre\bin\java.exe
File: ../../../src/share/native/sun/font/t2k/t2kstrm.c
Line: 132

Expression: pos <= t->maxPos

For information on how your program can cause an assertion
failure, see the Visual C++ documentation on asserts

(Press Retry to debug the application - JIT must be enabled)
---------------------------
Abort   Retry   Ignore   
---------------------------

我该如何解决?

推荐答案

<kbd><</kbd>property name="ireport.y" value="0"/>之后以XML模式添加此文本(或与其他模板类似的文本):

Add this text (or similar from another template) in XML mode after <kbd><</kbd>property name="ireport.y" value="0"/>:

<kbd><</kbd>style name="Sans_Normal" isDefault="true" fontName="DejaVu Sans" fontSize="12" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false"/>
<kbd><</kbd>style name="Sans_Bold" fontName="DejaVu Sans" fontSize="12" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false"/>
<kbd><</kbd>style name="Sans_Italic" fontName="DejaVu Sans" fontSize="12" isBold="false" isItalic="true" isUnderline="false" isStrikeThrough="false"/>

这篇关于编辑JRXML时出现i-report 3.7.6错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆