Unable to run any of the sun examples

Bug #37940 reported by Arafangion
6
Affects Status Importance Assigned to Milestone
openoffice.org (Ubuntu)
Invalid
Low
Unassigned

Bug Description

By default, I could not build any of the sun examples, however, after a small change to setsdkenv_unix, I was able to successfully build them.

However, upon actually running them, they never work.

Starting office with:
$ /usr/lib/openoffice2/program/soffice -accept='socket,host=0,port=2002;urp;'

I then check that it actually is listening with netstat -na, and it is.

But, if I try to run it, say DocumentConverter.java, I get:
arafangion@therock:~/tmp$ java DocumentConverter "./test/" "swriter: MS Word 97" "doc"
Exception in thread "main" java.lang.VerifyError: verification failed at PC 16 in com.sun.star.bridge.UnoUrlResolver:create((Lcom.sun.star.uno.XComponentContext;)Lcom.sun.star.bridge.XUnoUrlResolver;): incompatible return type
   at java.lang.VMClassLoader.resolveClass(java.lang.Class) (/usr/lib/libgcj.so.6.0.0)
   at java.lang.Class.initializeClass() (/usr/lib/libgcj.so.6.0.0)
   at com.sun.star.comp.helper.Bootstrap.bootstrap() (Unknown Source)
   at DocumentConverter.main(java.lang.String[]) (Unknown Source)
   at gnu.java.lang.MainThread.call_main() (/usr/lib/libgcj.so.6.0.0)
   at gnu.java.lang.MainThread.run() (/usr/lib/libgcj.so.6.0.0)
arafangion@therock:~/tmp$

Revision history for this message
Martin Kretzschmar (martink) wrote :

Probably not a documentation error

Changed in openoffice.org2:
assignee: nobody → openoffice-pkgs
Revision history for this message
Martin Kretzschmar (martink) wrote :

Probably upstream bug 63812, some generated class files don't pass gcj's verifier. Will be fixed in OOo 2.0.3.

Revision history for this message
Matthias Klose (doko) wrote :

but probably a problem with gcj-4.0 as well. please could you recheck with a recent dapper flight CD?

Changed in openoffice.org:
status: Unconfirmed → Needs Info
Revision history for this message
Chris Cheney (ccheney) wrote :

Do you still have this problem with Ubuntu 7.10 OpenOffice 2.3.0?

Thanks,

Chris Cheney

Changed in openoffice.org:
assignee: openoffice-pkgs → ccheney
importance: Medium → Low
Chris Cheney (ccheney)
Changed in openoffice.org:
assignee: ccheney → nobody
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.