Jump to content

how to fix this problem? please help me.


ljh87128

Recommended Posts

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: exception
java.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

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

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.0

I was getting an identical problem to what you posted, so I expect solution could be the same.

In my netbeans project POM  I was using

net.sf.jasperreports Version 6.9.0,

Updating this to Version 6.11.0 solved my problem

Hope this solves your problem.

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...