SubReport Not Getting Rendered Between Two Fields


I have a subReport which needs to be fixed in between two fields
This is like below layout -

Static Field 1 : {dynamic expression to get value }
Static Field 2 : {dynamic expression to get value }
Static Field 3 : {dynamic expression to get value }

The subReport has repeating fields.
The code for the section is given below

<textField isBlankWhenNull="true">
//details are omitted
<textField isBlankWhenNull="true">
//details are omitted
<subreport overflowType="NoStretch">
    <reportElement positionType="FixRelativeToBottom" mode="Transparent" x="10" y="22" width="198" height="18" uuid="xyz"/>
    <subreportParameter name="SUBREPORT_DIR">
        <subreportExpression><![CDATA[$P{SUBREPORT_DIR} + "Details.jasper"]]></subreportExpression>
<textField isBlankWhenNull="true">
//details are omitted

The issue I am facing is :

1)This report structure is not working.
2)I have a JAVA code  which invokes the report but it is giving Null Pointer Exception
3)Sometimes , the JAVA programmes gets hanged for indefinite time
  with no output
4)Can anybody please help here ? What needs to be changed above to get this subReport working ?


atulajoshi24's picture
Joined: Jan 22 2020 - 5:13am
Last seen: 1 year 1 month ago

0 Answers:

No answers yet