On Thu, Apr 10, 2014 at 12:31 PM, Steele, Raymond <raymond.ste...@lmco.com>wrote:
> I am cross posting here since I am not getting much traction on the dev > list and it appears it may be API related. I have an add-on that I > developed using the Netbeans Openiffice module. This .oxt file works fine > on AOO 3.3, but since I switched to AOO 4.0.1 and after a recompile, the > Extension Manager will not take my add-on (see below please). However, the > extension manager will take the module located > http://extensions.openoffice.org/en/project/english-dictionaries-apache-openoffice > > Is there anything that the new AOO needs configured within the .oxt that > was not needed in 3.3? Any help would be great! > You might take a look at this wiki page: https://wiki.openoffice.org/wiki/Extensions/Extensions_and_Apache_OpenOffice_4.0 I will try to make it easier to find. > > -----Original Message----- > From: Steele, Raymond > Sent: Wednesday, April 09, 2014 8:08 AM > To: dev@openoffice.apache.org > Subject: RE: EXTERNAL: Re: Extension Manager Add Crashes > > Thanks. I am using Java. The extension I have works on my Solaris 10 > OpenOffice 3.3 instance, but not on my Solaris 11 4.0.1 instance. I used > the OpenOffice Netbeans module to create the Add-on. > > -----Original Message----- > From: Jürgen Schmidt [mailto:jogischm...@gmail.com] > Sent: Tuesday, April 08, 2014 11:16 PM > To: dev@openoffice.apache.org > Subject: Re: EXTERNAL: Re: Extension Manager Add Crashes > > On 4/8/14 11:49 PM, Steele, Raymond wrote: > > I installed the extension located at the following link with success, so > what is wrong with my extension........ > > > > http://extensions.openoffice.org/en/project/english-dictionaries-apach > > e-openoffice > > it's difficult to say without having the code, you can easy make mistakes > with extensions. > > I haven't followed the thread in detail but maybe you can describe in a > few sentences what exactly you try > > - which programming language do you use > - which kind of extension, an add-on, a calc add-in, ... > - ... > > Juergen > > > > > > > > -----Original Message----- > > From: Steele, Raymond > > Sent: Tuesday, April 08, 2014 10:31 AM > > To: 'dev@openoffice.apache.org' > > Subject: RE: EXTERNAL: Re: Extension Manager Add Crashes > > > > Is there any one that is familiar with this code and able to lend a > hand. I do not understand what is going on here. I suspect that the crash > is cpp_vtable_call is due to a RuntimeException thrown in Reference.hxx > because pQueried is equal to (nil). Here is the stack trace leading up to > the RunTimeException during the registration of my .oxt file. > > > > =>[1] com::sun::star::uno::BaseReference::iquery_throw(pInterface = > 0x9e348ac, rType = CLASS), line 81 in "Reference.hxx" > > [2] > dp_registry::backend::component::_unamed_AjaA7n_a0TEvD::BackendImpl::ComponentPackageImpl::processPackage_(this > = 0xea4f9a88, _ARG2 = CLASS, doRegisterPackge = true, startup = false, > abortChannel = CLASS, xCmdEnv = CLASS), line 1554 in "dp_component.cxx" > > [3] dp_registry::backend::Package::processPackage_Impl(this = > 0xea4f9a88, doRegisterPackage = true, startup = false, xAbortChannel = > CLASS, xCmdEnv = CLASS), line 675 in "dp_backend.cxx" > > [4] dp_registy::backend::Package::registerPackage(this = > 0xe9b94c58, startup = '\0', xAbortChannel = CLASS, xCmdEnv = CALSS), line > 725 in "dp_backend.cxx" > > > > I really need to get over this hurdle. > > > > -----Original Message----- > > From: Steele, Raymond > > Sent: Friday, April 04, 2014 5:52 PM > > To: dev@openoffice.apache.org > > Subject: RE: EXTERNAL: Re: Extension Manager Add Crashes > > > > I am still plugging away at this issue. This is what I have determined. > addExtension is called in dp_extensionmanager.cxx. However, a > RuntimeException is thrown somewhere and caught on line 819. Then on line > 830, the code then tries to recover the "original status" then call > activateExtension, which then leads up to the crash, which happens after an > attempt to register and process the package in dp_component.cxx. I am not > sure if the initial RuntimeException is causing the problem, but something > is not correct. Here is high level stack trace (typed out). > > > > [1] cpp_vtable_call(nFunctionIndex = 3, nVtableOffset = 0, pCallStack = > 0xe90acea8, nRegReturn = -1649035904490436800LL) in cpp2uno.cxx [2] > privateSnippetExecutorGeneral(0x9daf5d4, 0xe91d7294, 0xe90ad250, > 0xe90ad1ec, 0x0, 0x0), at 0xf83516a2 [3] > dp_registry::backend::component::_unamed_AjaA7n_aOTEvD::BackendImpl::ComponentPackageImpl::processPackage_(this- > 0xe91d7240, _ARG2 = CLASS, doRegisterPackage = true, startup = > false,abortChannel = CLASS, xCmdEnv = CLASS), line 1554 in > "dp_component.cxx" > > > > > > > > -----Original Message----- > > From: Carl Marcum [mailto:c...@codebuilders.net] > > Sent: Friday, April 04, 2014 3:53 PM > > To: dev@openoffice.apache.org > > Subject: Re: EXTERNAL: Re: Extension Manager Add Crashes > > > > On 04/04/2014 12:38 PM, Kay Schenk wrote: > >> On Fri, Apr 4, 2014 at 3:49 AM, Carl Marcum <cmar...@apache.org> wrote: > >> > >>> On 04/03/2014 07:29 PM, Steele, Raymond wrote: > >>> > >>>> I am not convinced the issue is with the extension. I created > >>>> another simple extension using the Netbeans plugin and I receive > >>>> the same crash. I don't know where to go from here. > >>>> > >>>> ... > >>> > >>> Raymond, > >>> > >>> What version of AOO and netbeans are you using. > >>> > >>> For AOO4+ and NB7+ you should try this one: > >>> http://people.apache.org/~cmarcum/devtools/org- > >>> openoffice-extensions-4.0.5.alpha.nbm > >>> > >>> I can't say how much testing it's had, therefore the alpha designation. > >>> > >>> Best regards, > >>> Carl > >> > >> > >> Carl -- > >> > >> Is is OK to update the wiki page -- > >> > >> https://wiki.openoffice.org/wiki/OpenOffice_NetBeans_Integration#Down > >> l > >> oad_and_Installation > >> > >> with this new version regardless of "alpha" status? This would give > >> more visibility and testing. > >> > >> > >> > >>> > >>> > >>> > >>> -------------------------------------------------------------------- > >>> - To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org > >>> For additional commands, e-mail: dev-h...@openoffice.apache.org > >>> > >>> > >> > >> > > Kay, > > > > I will leave that to the group. > > At the time I had only been able to test it using Netbeans 7.2, AOO > > 4.0.0 on Fedora 17 x86-64. > > I know of no testing on Windows or Mac. > > > > When I posted the update, I believe Juergen Schmidt was on vacation at > the time but was going to look at it for some other changes being made so I > waited until I heard back. > > > > The thread is here: > > http://markmail.org/message/5yv2nyob4rurmj2h > > > > The change that broke backward compatibility was for Addons.xcu here: > > https://issues.apache.org/ooo/show_bug.cgi?id=122055 > > > > 3-Layer removal here: > > https://issues.apache.org/ooo/show_bug.cgi?id=123266 > > > > I would have some time to make changes if we find issues. > > > > Also NB 8 is out now so I don't know if that breaks anything also. > > > > Thanks, > > Carl > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org > > For additional commands, e-mail: dev-h...@openoffice.apache.org > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org > > For additional commands, e-mail: dev-h...@openoffice.apache.org > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org > For additional commands, e-mail: dev-h...@openoffice.apache.org > > -- ------------------------------------------------------------------------------------------------- MzK "Cats do not have to be shown how to have a good time, for they are unfailing ingenious in that respect." -- James Mason