You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Sudhi K (JIRA)" <ji...@apache.org> on 2018/09/06 06:32:00 UTC

[jira] [Created] (NETBEANS-1221) JasperPrint jp = JasperFillManager.fillReport(jr,null,con) Throws error-2018-09-06

Sudhi K created NETBEANS-1221:
---------------------------------

             Summary: JasperPrint jp = JasperFillManager.fillReport(jr,null,con) Throws error-2018-09-06
                 Key: NETBEANS-1221
                 URL: https://issues.apache.org/jira/browse/NETBEANS-1221
             Project: NetBeans
          Issue Type: Task
            Reporter: Sudhi K
         Attachments: today06.png

Hi Team,

try{
            DBConnection con = new DBConnection();
            String reportPath = "D:\\ASTR_TRAINING\\ASTRA_THIRD\\src\\Reports\\TestReport.jrxml";
            JasperReport jr = JasperCompileManager.compileReport(reportPath);
            JasperPrint jp = JasperFillManager.fillReport(jr,null,con);
            JasperViewer.viewReport(jp);
            }

I had changed the jar files multiple time. but "JasperPrint jp = JasperFillManager.fillReport(jr,null,con);"  here I am facing the issue 


Please feel to reply


Thanks and Regards,

Sudhi K



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists