Jump to content
Changes to the Jaspersoft community edition download ×

NullPointerException with large text fields


Recommended Posts

By: elmar weber - elmar_weber

NullPointerException with large text fields

2003-08-01 01:32

Hello,

 

 

I use the isSplitAllowed parameter in the detail band, and a strechable field.

 

This field is filled with a long text.

 

If it needs to contine the field on another page the following exception if thrown (otherwise everything works well):

 

[java] java.lang.NullPointerException

[java] at dori.jasper.engine.fill.JRFillSubreport.rewind(JRFillSubreport.java:543)

[java] at dori.jasper.engine.fill.JRFillBand.rewind(JRFillBand.java:507)

[java] at dori.jasper.engine.fill.JRFillBand.refill(JRFillBand.java:428)

[java] at dori.jasper.engine.fill.JRVerticalFiller.fillColumnBand(JRVerticalFiller.java:1138)

[java] at dori.jasper.engine.fill.JRVerticalFiller.fillDetail(JRVerticalFiller.java:649)

[java] at dori.jasper.engine.fill.JRVerticalFiller.fillReportStart(JRVerticalFiller.java:274)

[java] at dori.jasper.engine.fill.JRVerticalFiller.fillReport(JRVerticalFiller.java:182)

[java] at dori.jasper.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:524)

[java] at dori.jasper.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:433)

[java] at dori.jasper.engine.fill.JRFiller.fillReport(JRFiller.java:119)

[java] at dori.jasper.engine.JasperFillManager.fillReport(JasperFillManager.java:219)

[java] at dori.jasper.engine.JasperFillManager.fillReport(JasperFillManager.java:159)

[...]

 

The curiosity is that the method is called in a part of jasperreports which seems to be responsible for subreport filling, but there is no sub report it should fill.

 

(There is one in the report, but the PrintWhenExpression is false in most tests and the mentioned field is not in the subreport, too.)

 

 

Is this s problem of jasperreports or have I mixed up some wrong parameters in the report xml file?

 

 

Thanks for your help in advance,

Elmar

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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