Excepción en iReport

GarZa <[email protected]>
Newsgroups gmane.comp.java.javaspain
Message-ID <[email protected]>
Hola, he creado un informe con iReport y Netbeans, y la presentación 
preliminar la veo correctamente, pero cuando llamo al informe desde java 
me devuelve siempre un null, el código que estoy usando este el siguiente:

public void runReporte() {
        try {
            JasperReport report = (JasperReport) 
JRLoader.loadObject(getClass().getResource("/Reportes/report1.jasper"));
            Map parameters = new HashMap();
            JasperPrint print = 
JasperFillManager.fillReport(report,parameters,conn);
            JasperViewer jviewer = new JasperViewer(print,false);
            jviewer.setVisible(true);
        } catch (Exception j) {
            System.out.println("Mensaje de Error:"+j.getMessage());
        }
    }

j.getMessage() devuelve null

He probado ya de todo, incluso a ponerle la ruta absoluta del fichero 
jasper sin éxito.

Previamente he añadido las siguientes librerias al proyecto: 
commons-beanutils-1.7.jar, commons-logging-1.0.2.jar, 
commons-collections-2.1.jar, jasperreports-2.0.3.jar, 
commons-digester-1.7.jar   mysql-connector-java-5.0.7-bin.jar  
commons-javaflow-20060411.jar

¿Alguna sugerencia?

Un Saludo.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.