关于润乾报NegativeArraySizeException错误
ava.lang.NegativeArraySizeException at com.runqian.report4.util.ByteArrayInputRecord.readString(Unknown Source:102) at com.runqian.report4.model.NormalCell.fillRecord(Unknown Source:1899) at com.runqian.report4.util.ByteArrayInputRecord.readRecord(Unknown Source:207) at com.runqian.report4.model.ReportDefine.fillRecord(Unknown Source:1220) at com.runqian.report4.util.ReportUtils.read(Unknown Source:54) at com.runqian.report4.cache.DefaultReportDefineLoader.load(Unknown Source:38) at com.runqian.report4.cache.ReportEntry.getReportDefine(Unknown Source:129) at com.runqian.report4.tag.HtmlTag.doStartTag(Unknown Source:252)
先上错误代码。这段代码是在我重做了系统后,重新安装了一个低版本的润乾,并把低版的report4.jar手动加入到了maven的仓库中,重新打包war部署到服务器上后。启动weblogic报的错误。
进过gogle查询http://popwin2004.blog.163.com/blog/static/2094172072012616111459207/到这篇文章。证实了确实是report4.jar版本不一致造成的。
特此记录。