Jump to content

Recommended Posts

Posted

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 more

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 more

 

 

.

 

Can any one tell me what can I do?

 

 

:blink: Is anny problem with cups?

 

Thanks

 

Miguel Pinheiro

www.agentconcept.com

www.digitalismo.com.pt

mminheiro@gmail.com

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...