openoffice macro exception only on ubuntu (screenshot)

Bug #58301 reported by tfm
4
Affects Status Importance Assigned to Milestone
openoffice.org (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

When I run the following macro:
http://tabishfayyaz.googlepages.com/HelloWorldMacro.png

I get the following exception:
http://tabishfayyaz.googlepages.com/MacroException.png

This works fine in Windows, the openoffice.org told me to do a vanilla installation from openoffice.org and remove the ubuntu package.

Revision history for this message
Cristóbal M. Palmer (cristobalpalmer) wrote :

Thanks for submitting this bug. Before we can take action on it we need a little more information. Can you give more details? What version number of openoffice in ubuntu is this? This was on a Dapper system? What if any Java packages did you install?

Revision history for this message
tfm (onlytabish) wrote : RE: [Bug 58301] Re: openoffice macro exception only on ubuntu (screenshot)

I installed Ubuntu on 5 system and the same problem on all of the 5 system.

The Ubuntu version I used was that 6.06
I guess 6.06 is Dapper, I don't know what is dapper.
I installed sun-java5-* Ubuntu packages.

The macro we are running is provided by openoffice. I haven't written the
code for this macro. Its there be default in openoffice as you can see in
the screenshots. I updated the ubuntu openoffice package as well.

Try running it on your ubuntu system.

Thanks for the abrupt reply btw.

>From: "Cristobal M. Palmer" <email address hidden>
>Reply-To: Bug 58301 <email address hidden>
>To: <email address hidden>
>Subject: [Bug 58301] Re: openoffice macro exception only on ubuntu
>(screenshot)
>Date: Thu, 31 Aug 2006 05:46:22 -0000
>
>Thanks for submitting this bug. Before we can take action on it we need
>a little more information. Can you give more details? What version
>number of openoffice in ubuntu is this? This was on a Dapper system?
>What if any Java packages did you install?
>
>** Changed in: Ubuntu
>Sourcepackagename: None => openoffice.org
> Status: Unconfirmed => Needs Info
>
>--
>openoffice macro exception only on ubuntu (screenshot)
>https://launchpad.net/bugs/58301

Revision history for this message
Martin Kretzschmar (martink) wrote : Re: [Bug 58301] RE: [Bug 58301] Re: openoffice macro exception only on ubuntu (screenshot)

As you have installed a Sun Java, you can try this:

Go to Tools->Options; OpenOffice.org/Java

Tell us what was selected (probably Free Software Foundation 1.4.2)

Then select Sun Microsystems Inc 1.5.0 (if it isn't there, click Add
and point it to /usr/lib/jvm/java-1.5.0-sun.../jre)

Now try the macro again. Does this work?

Revision history for this message
tfm (onlytabish) wrote : RE: [Bug 58301] Re: [Bug 58301] RE: [Bug 58301] Re: openoffice macroexception on

1.4.2 was initially selected. I changed it to sun 1.5.0.06. The macro
worked.

Thanks man, you're a genious :)

>From: Martin Kretzschmar <email address hidden>
>Reply-To: Bug 58301 <email address hidden>
>To: <email address hidden>
>Subject: [Bug 58301] Re: [Bug 58301] RE: [Bug 58301] Re: openoffice
>macroexception only on ubuntu (screenshot)
>Date: Thu, 31 Aug 2006 07:10:23 -0000
>
>As you have installed a Sun Java, you can try this:
>
>Go to Tools->Options; OpenOffice.org/Java
>
>Tell us what was selected (probably Free Software Foundation 1.4.2)
>
>Then select Sun Microsystems Inc 1.5.0 (if it isn't there, click Add
>and point it to /usr/lib/jvm/java-1.5.0-sun.../jre)
>
>Now try the macro again. Does this work?
>
>--
>openoffice macro exception only on ubuntu (screenshot)
>https://launchpad.net/bugs/58301

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

the files mentioned in the report are not available; please attach them to the bug report.

Changed in openoffice.org:
status: Needs Info → Rejected
Revision history for this message
tfm (onlytabish) wrote : RE: [Bug 58301] Re: openoffice macro exception only on ubuntu (screenshot)

Somebody on the forum already solved my problem. It was basically changing
the default JRE of openoffice in Ubuntu to Sun JRE.

>From: Matthias Klose <email address hidden>
>Reply-To: Bug 58301 <email address hidden>
>To: <email address hidden>
>Subject: [Bug 58301] Re: openoffice macro exception only on ubuntu
>(screenshot)
>Date: Fri, 15 Sep 2006 16:24:06 -0000
>
>the files mentioned in the report are not available; please attach them
>to the bug report.
>
>
>** Changed in: openoffice.org (Ubuntu)
> Status: Needs Info => Rejected
>
>--
>openoffice macro exception only on ubuntu (screenshot)
>https://launchpad.net/bugs/58301

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.