To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=102106
                 Issue #|102106
                 Summary|RPT: Error opening report with image
               Component|Database access
                 Version|OOo 3.1
                Platform|Macintosh
                     URL|
              OS/Version|Mac OS X
                  Status|UNCONFIRMED
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|none
             Assigned to|dbaneedsconfirm
             Reported by|gmichels





------- Additional comments from gmich...@openoffice.org Wed May 20 20:42:21 
+0000 2009 -------
OO: BrOffice.org 3.1.0
RPT: 1.1.0
OS: Mac OS X 10.5.7
DB: Oracle JDBC

I'm facing a problem trying to add images (company logo) to the report. I can 
insert the image (tried 
both jpg and png) and save the report, however when running it I get this error 
(when it doesn't crash 
OO):

[jni_uno bridge error] UNO calling Java method execute: non-UNO exception 
occurred: 
java.lang.InternalError: Can't start the AWT because Java was started on the 
first thread.  Make sure 
StartOnFirstThread is not specified in your application's Info.plist or on the 
command line 
java stack trace: 
java.lang.InternalError: Can't start the AWT because Java was started on the 
first thread.  Make sure 
StartOnFirstThread is not specified in your application's Info.plist or on the 
command line 
   at java.lang.ClassLoader$NativeLibrary.load(Native Method) 
   at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1822) 
   at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1723) 
   at java.lang.Runtime.loadLibrary0(Runtime.java:822) 
   at java.lang.System.loadLibrary(System.java:993) 
   at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:50) 
   at java.security.AccessController.doPrivileged(Native Method) 
   at java.awt.Toolkit.loadLibraries(Toolkit.java:1509) 
   at java.awt.Toolkit.<clinit>(Toolkit.java:1530) 
   at java.awt.Dimension.<clinit>(Dimension.java:68) 
   at com.sun.star.report.SOImageService.getImageSize(SOImageService.java:87) 
   at com.sun.star.report.SOImageService.getImageSize(SOImageService.java:131) 
   at 
com.sun.star.report.pentaho.output.ImageProducer.produceFromURL(ImageProducer.java:394)
 
   at 
com.sun.star.report.pentaho.output.ImageProducer.produceFromString(ImageProducer.java:315)
 
   at 
com.sun.star.report.pentaho.output.ImageProducer.produceImage(ImageProducer.java:195)
 
   at 
com.sun.star.report.pentaho.output.OfficeDocumentReportTarget.startImageProcessing(OfficeDocumen
tReportTarget.java:1269) 
   at 
com.sun.star.report.pentaho.output.text.TextRawReportTarget.startOther(TextRawReportTarget.java:57
0) 
   at 
com.sun.star.report.pentaho.output.OfficeDocumentReportTarget.startElement(OfficeDocumentReportT
arget.java:709) 
   at 
com.sun.star.report.pentaho.layoutprocessor.ImageElementLayoutController.generateImage(ImageElem
entLayoutController.java:117) 
   at 
com.sun.star.report.pentaho.layoutprocessor.ImageElementLayoutController.delegateContentGeneratio
n(ImageElementLayoutController.java:88) 
   at 
com.sun.star.report.pentaho.layoutprocessor.AbstractReportElementLayoutController.advance(Abstract
ReportElementLayoutController.java:132)
   at org.jfree.report.flow.AbstractReportProcessor.processReportRun(Unknown 
Source) 
   at org.jfree.report.flow.SinglePassReportProcessor.processReport(Unknown 
Source) 
   at 
com.sun.star.report.pentaho.PentahoReportJob.execute(PentahoReportJob.java:353) 
   at 
com.sun.star.report.pentaho.SOReportJobFactory$_SOReportJobFactory.execute(SOReportJobFactory.jav
a:219)

This error happens once and subsequent tries to open the same report yield a 
slight different error:

[jni_uno bridge error] UNO calling Java method execute: non-UNO exception 
occurred: 
java.lang.NoClassDefFoundError 
java stack trace: 
java.lang.NoClassDefFoundError 
   at com.sun.star.report.SOImageService.getImageSize(SOImageService.java:87) 
   at com.sun.star.report.SOImageService.getImageSize(SOImageService.java:131) 
   at 
com.sun.star.report.pentaho.output.ImageProducer.produceFromURL(ImageProducer.java:394)
 
   at 
com.sun.star.report.pentaho.output.ImageProducer.produceFromString(ImageProducer.java:315)
 
   at 
com.sun.star.report.pentaho.output.ImageProducer.produceImage(ImageProducer.java:195)
 
   at 
com.sun.star.report.pentaho.output.OfficeDocumentReportTarget.startImageProcessing(OfficeDocumen
tReportTarget.java:1269) 
   at 
com.sun.star.report.pentaho.output.text.TextRawReportTarget.startOther(TextRawReportTarget.java:57
0) 
   at 
com.sun.star.report.pentaho.output.OfficeDocumentReportTarget.startElement(OfficeDocumentReportT
arget.java:709) 
   at 
com.sun.star.report.pentaho.layoutprocessor.ImageElementLayoutController.generateImage(ImageElem
entLayoutController.java:117) 
   at 
com.sun.star.report.pentaho.layoutprocessor.ImageElementLayoutController.delegateContentGeneratio
n(ImageElementLayoutController.java:88) 
   at 
com.sun.star.report.pentaho.layoutprocessor.AbstractReportElementLayoutController.advance(Abstract
ReportElementLayoutController.java:132)
   at org.jfree.report.flow.AbstractReportProcessor.processReportRun(Unknown 
Source) 
   at org.jfree.report.flow.SinglePassReportProcessor.processReport(Unknown 
Source) 
   at 
com.sun.star.report.pentaho.PentahoReportJob.execute(PentahoReportJob.java:353) 
   at 
com.sun.star.report.pentaho.SOReportJobFactory$_SOReportJobFactory.execute(SOReportJobFactory.jav
a:219)

I also noticed I set the image attributes as scale = yes and keep aspect ratio 
(I don't know if these are 
the correct terms as my OO is localized), but when I reopen the report in 
design mode, the same 
attributes are scale = yes and scale to fit.

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@dba.openoffice.org
For additional commands, e-mail: issues-h...@dba.openoffice.org


---------------------------------------------------------------------
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org

Reply via email to