minheiro Posted January 19, 2008 Posted January 19, 2008 I'm running jasper on ubuntu 7.10 and i having problems when i try to send to printer the reports, in log I have this errors: net.sf.jasperreports.engine.JRException: Error printing report at net.sf.jasperreports.engine.print.JRPrinterAWT.printPages(JRPrinterAWT.java:200) at net.sf.jasperreports.engine.print.JRPrinterAWT.printPages(JRPrinterAWT.java:88) at net.sf.jasperreports.engine.JasperPrintManager.printPages(JasperPrintManager.java:374) at net.sf.jasperreports.engine.JasperPrintManager.printReport(JasperPrintManager.java:265) at net.sf.jasperreports.view.JRViewer$20.run(JRViewer.java:1155) at java.lang.Thread.run(Thread.java:619)Caused by: java.lang.NullPointerException: null attribute at sun.print.IPPPrintService.isAttributeValueSupported(IPPPrintService.java:1147) at sun.print.ServiceDialog$OrientationPanel.updateInfo(ServiceDialog.java:2121) at sun.print.ServiceDialog$PageSetupPanel.updateInfo(ServiceDialog.java:1263) at sun.print.ServiceDialog.updatePanels(ServiceDialog.java:437) at sun.print.ServiceDialog.initPrintDialog(ServiceDialog.java:195) at sun.print.ServiceDialog.<init>(ServiceDialog.java:124) at javax.print.ServiceUI.printDialog(ServiceUI.java:188) at sun.print.RasterPrinterJob.printDialog(RasterPrinterJob.java:855) at sun.print.PSPrinterJob.printDialog(PSPrinterJob.java:421) at net.sf.jasperreports.engine.print.JRPrinterAWT.printPages(JRPrinterAWT.java:184) ... 5 morenet.sf.jasperreports.engine.JRException: Error printing report. at net.sf.jasperreports.engine.print.JRPrinterAWT.printPages(JRPrinterAWT.java:200) at net.sf.jasperreports.engine.print.JRPrinterAWT.printPages(JRPrinterAWT.java:88)at net.sf.jasperreports.engine.JasperPrintManager.printPages(JasperPrintManager.java:374) at net.sf.jasperreports.engine.JasperPrintManager.printReport(JasperPrintManager.java:265) at net.sf.jasperreports.view.JRViewer$20.run(JRViewer.java:1155) at java.lang.Thread.run(Thread.java:619)Caused by: java.lang.NullPointerException: null attribute at sun.print.IPPPrintService.isAttributeValueSupported(IPPPrintService.java:1147) at sun.print.ServiceDialog$OrientationPanel.updateInfo(ServiceDialog.java:2121) at sun.print.ServiceDialog$PageSetupPanel.updateInfo(ServiceDialog.java:1263) at sun.print.ServiceDialog.updatePanels(ServiceDialog.java:437) at sun.print.ServiceDialog.initPrintDialog(ServiceDialog.java:195) at sun.print.ServiceDialog.<init>(ServiceDialog.java:124) at javax.print.ServiceUI.printDialog(ServiceUI.java:188) at sun.print.RasterPrinterJob.printDialog(RasterPrinterJob.java:855) at sun.print.PSPrinterJob.printDialog(PSPrinterJob.java:421) at net.sf.jasperreports.engine.print.JRPrinterAWT.printPages(JRPrinterAWT.java:184) ... 5 more . Can any one tell me what can I do? :blink: Is anny problem with cups? Thanks Miguel Pinheirowww.agentconcept.comwww.digitalismo.com.ptmminheiro@gmail.com
jcs19570124 Posted January 20, 2008 Posted January 20, 2008 HelloI have exactly the same problem. (gutsy)Help please !!
lucianc Posted January 21, 2008 Posted January 21, 2008 This is a Java/Cups problem in Ubuntu 7.10 (see this bug), and has nothing to do with JasperReports. Follow the suggested solutions/workarounds. HTH,Lucian
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now