目录

5.5.3. 配置文件的差异

5.5.3. 配置文件的差异

图 5.6. 


  • raq版本混乱常见问题.

    现象:java.io.StreamCorruptedException: invalid stream header

    at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:737)

    at java.io.ObjectInputStream.<init>(ObjectInputStream.java:253)

    at com.runqian.report4.util.ReportUtils.read(Unknown Source:40)

    at com.runqian.report4.view.ReportCalculator.calc(Unknown Source:72)

    at com.runqian.report4.tag.HtmlTag.doStartTag(Unknown Source:287)

    原因:3.5的设计器做的raq文件,在4.0的服务器上发布.

    解决方法:1. 用4.0的设计器,从新设计报表.

    2. 使用4.0设计器的报表迁移功能.将3.5版的raq转为4.0版

    现象: [2007-06-17 15:17:22] runqianReportLogger : [ERROR]  - error:

    java.io.OptionalDataException

    at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1231)

    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:324)

    at com.runqian.report4.usermodel.PrintSetup.readExternal(Unknown Source:1134)

    at java.io.ObjectInputStream.readExternalData(ObjectInputStream.java:1686)

    at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1644)

    at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)

    原因:设计器与服务器report4.jar不一致.

    解决方法:将设计器report4.jar与服务器report4.jar包保持一致.