[nbusers] Re: Jasper Reports Error ..Anybody Plz Solve This

  • From: Lloyd Meinholz < >
  • To:
  • Subject: [nbusers] Re: Jasper Reports Error ..Anybody Plz Solve This
  • Date: Mon, 8 Mar 2010 07:06:56 -0500

It may be worth just downloading and installing the iReport bundle <http://jasperforge.org/projects/ireport> instead of installing it as a plugin just to see if that makes a difference.


On Fri, Mar 5, 2010 at 6:08 AM, spk < "> > wrote:
Hi...This is Sameer..
I have installed netbeans 6.5 on my pc & plugin for jasper reports 2.0.0 & Jasper.jar fiel of 3.5.2 version ......

Here is the code

package coop.reports;
import coop.reports.Report1;
import java.awt.Container;
import java.util.HashMap;
import java.util.Map;
import javax.swing.JFrame;
import net.sf.jasperreports.engine.JREmptyDataSource;
import net.sf.jasperreports.engine.JRException;
import net.sf.jasperreports.engine.JasperCompileManager;
import net.sf.jasperreports.engine.JasperExportManager;
import net.sf.jasperreports.engine.JasperFillManager;
import net.sf.jasperreports.engine.JasperPrint;
import net.sf.jasperreports.engine.JasperReport;
import net.sf.jasperreports.swing.JRViewer;
import net.sf.jasperreports.swing.JRViewer.*;
import net.sf.jasperreports.view.JasperViewer;

public class Report1 extends JFrame{

String reportSource="F:/NetBeans 6.5.1 Workspace/Cooper/CooperHr/src/coop/reports/Report1.jrxml";
String reportDest="F:Reports/Report1.html";
   public Report1() {
       Map<String, Object> params=new HashMap<String, Object>();
       params.put("reportTitle", "Recruitment Report");
params.put("author", "Mr Cooper");
params.put("startDate", (new java.util.Date()).toString());

       try {
        JasperReport jasperReport=JasperCompileManager.compileReport(reportSource);

        JasperPrint jasperPrint=JasperFillManager.fillReport(jasperReport, params,new JREmptyDataSource());
     JRViewer viewer=new JRViewer(jasperPrint);
Container c=getContentPane();

       } catch (JRException e) {
setBounds(10,10, 600,500);

   public static void main(String str[])
Report1 r=new Report1();


I m getting this error.

Language "null" not supported by this report compiler.
Expecting "java" instead.
..Please help me .i hav already added jasper.jar file latest version in project liabrary..& liabrary  manager....

Thanx in advance....



[nbusers] Jasper Reports Error ..Anybody Plz Solve This

spk 03/05/2010

[nbusers] Re: Jasper Reports Error ..Anybody Plz Solve This

Don Millhofer 03/05/2010

[nbusers] Jasper Reports Error ..Anybody Plz Solve This

spk 03/08/2010

[nbusers] Re: Jasper Reports Error ..Anybody Plz Solve This

Lloyd Meinholz 03/08/2010

Project Features

About this Project

www was started in November 2009, is owned by jpirek, and has 25 members.
By use of this website, you agree to the NetBeans Policies and Terms of Use (revision 20150226.965aeb8). © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo
Please Confirm