1 Reply Latest reply: May 22, 2013 8:14 AM by User10656774-Oracle RSS

    java.awt.HeadlessException when open jasper report on linux

    user1000834
      I'm using Oracle webcenter portal with weblogic application server, using jasper report to build my own reports.
      when deploy my portal application with report on weblogic installed on my PC - windows 7 its working fine, but when deploy same portal with reports on weblogic server installed on oracle Enterprise Linux 5.4 with jrockit 1.6, then open the application & try to open the report the following error shown:

      Caused by: java.awt.HeadlessException
      at java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:159)
      at java.awt.Window.(Window.java:432)
      at java.awt.Frame.(Frame.java:403)
      at java.awt.Frame.(Frame.java:368)
      at javax.swing.JFrame.(JFrame.java:158)
      at net.sf.jasperreports.view.JasperViewer.(JasperViewer.java:176)
      at net.sf.jasperreports.view.JasperViewer.viewReport(JasperViewer.java:455)
      at net.sf.jasperreports.view.JasperViewer.viewReport(JasperViewer.java:368)
      at src.JasperHandler.jasper(JasperHandler.java:39)

      & the report didn't appear.

      any kind help plz.

      Edited by: user1000834 on May 14, 2013 12:27 AM