ljh87128 Posted March 13, 2020 Share Posted March 13, 2020 i successed to compile jrxml in eclipse as compile report click. But when i execute this report, i received this error message. how to fix this problem? please help me. net.sf.jasperreports.engine.fill.JRFillSubreport prepare심각: Fill 1: exceptionjava.lang.NullPointerException at net.sf.jasperreports.components.table.fill.TableReport.createCell(TableReport.java:1760) at net.sf.jasperreports.components.table.fill.TableReport$ReportBandCreator.createColumnCell(TableReport.java:647) at net.sf.jasperreports.components.table.fill.TableReport$ColumnHeaderCreator.createColumnCell(TableReport.java:859) at net.sf.jasperreports.components.table.fill.TableReport$ColumnHeaderCreator.createColumnCell(TableReport.java:836) at net.sf.jasperreports.components.table.fill.TableReport$ReportBandCreator.visitColumn(TableReport.java:619) at net.sf.jasperreports.components.table.fill.TableReport$ReportBandCreator.visitColumn(TableReport.java:585) at net.sf.jasperreports.components.table.StandardColumn.visitColumn(StandardColumn.java:74) at net.sf.jasperreports.components.table.fill.TableReport$ReportBandCreator.visit(TableReport.java:705) at net.sf.jasperreports.components.table.fill.TableReport.createColumnHeader(TableReport.java:1267) at net.sf.jasperreports.components.table.fill.TableReport.<init>(TableReport.java:431) at net.sf.jasperreports.components.table.fill.FillTable.createFillTableSubreportFactory(FillTable.java:335) at net.sf.jasperreports.components.table.fill.FillTable.createFillSubreport(FillTable.java:309) at net.sf.jasperreports.components.table.fill.FillTable.evaluate(FillTable.java:131) at net.sf.jasperreports.engine.fill.JRFillComponentElement.evaluate(JRFillComponentElement.java:110) at net.sf.jasperreports.engine.fill.JRFillElementContainer.evaluate(JRFillElementContainer.java:383) at net.sf.jasperreports.engine.fill.JRFillBand.evaluate(JRFillBand.java:548) at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillColumnBand(JRVerticalFiller.java:2583) at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillDetail(JRVerticalFiller.java:813) at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReportStart(JRVerticalFiller.java:264) at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReport(JRVerticalFiller.java:110) at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:615) at net.sf.jasperreports.engine.fill.BaseReportFiller.fill(BaseReportFiller.java:413) at net.sf.jasperreports.engine.fill.JRFillSubreport.fillSubreport(JRFillSubreport.java:814) at net.sf.jasperreports.engine.fill.JRSubreportRunnable.run(JRSubreportRunnable.java:61) at net.sf.jasperreports.engine.fill.AbstractThreadSubreportRunner.run(AbstractThreadSubreportRunner.java:221) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) Link to comment Share on other sites More sharing options...
I am Leo Posted March 13, 2020 Share Posted March 13, 2020 Somewhere in your input data has met a NullPointerException.Check your input data which you fill in your table in the report template.If you don't know which field causes the exception. Try to remove one by one to find it. Link to comment Share on other sites More sharing options...
charlesm2009_1 Posted March 18, 2020 Share Posted March 18, 2020 Hello, have you gotten any solution? I got a similar challenge too. Same error. Tried also the suggestion here unsuccessfully. Link to comment Share on other sites More sharing options...
charlesm2009_1 Posted March 18, 2020 Share Posted March 18, 2020 I managed to fix this problem. It's a problem to do with JasperSoft Studio version.In my case I use Netbeans and JasperSoft Studio 6.11.0I was getting an identical problem to what you posted, so I expect solution could be the same.In my netbeans project POM I was usingnet.sf.jasperreports Version 6.9.0,Updating this to Version 6.11.0 solved my problemHope this solves your problem. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now