Re: Help in Libreoffice extension development

2018-03-06 Thread toki
On 03/06/2018 03:26 PM, Samuel Mehrbrodt wrote:

>This page indicates there already exists a spell checker and even
grammar checker for Tamil

If you mean the Tamil spell checker that allegedly resides at
https://extensions.libreoffice.org/extensions/tamil-spellchecker
there is no stable release.

The spelling dictionary listed at
https://extensions.openoffice.org/en/project/tamil-spellchecker-dictionary
has a warning that it hasn't been updated since AOo 4.3.

The hyphenation dictionary listed at
https://extensions.openoffice.org/en/project/tamil-hyphenation-dictionary
has a warning that it hasn't been updated since AOo 3.4.

As far grammar checking is concerned,
https://languagetool.org/languages/ states that they are looking for a
maintainer.

Going by the announcements at http://thamizha.org/, it looks like that
project is dormant. I didn't delve beyond the first page.  IF it is an
active project, the home page is in desperate need of being updated.

>did you check that?

Huge disconnects between the languages that LibO claims are supported,
and the languages that are supported, are not uncommon.

Looks like I need to update
https://libreoffice-environment.blogspot.com/search/label/grammar%20checking
especially not all dictionary extensions can be installed in LibO 6.x.
Maybe that is the fault of the _daily build/alpha/beta/not for use
anywhere near a production environment_ version that I was doing the
testing on.

Pattabhi wrote:

>We read through Libreoffice documentation.

LibO documentation, especially in terms of l10n and i18n, is woefully
inadequate.

That said, I'd suggest heading over to
https://languagetool.org/development/ to work on grammar checking, and
https://hunspell.github.io/ to work on spell checking.

FWIW, I wouldn't be surprised is the spell checker and hyphenation
dictionary for AOo simply needed to be updated, and vocabulary expanded.

jonathon
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: Help in Libreoffice extension development

2018-03-06 Thread Pattabhi RK
Dear Samuel,

We read through Libreoffice documentation. My understanding of the
extension creation is as follows,

We have create UNO component and call our required function in that
component.

To create the UNO component,
First we have create IDL file, from IDL file we have to create URD file.
>From URD file we need to create RDB file.

The newly created RDB file along with types.RDB in libreoffice should be
given to javamaker to create java class file.

Actually we tried using the command line option but we were struck with
javamaker command. We were getting types.rdb file mismatch error.

So then we started with Eclipse.  And tried to install the
starrter-project-extension  given by you. We were able to install your
extension. As we said in the earlier mail, we were struck in UNO type
selection wizard not coming up. And we could not figure out, where to put
the respective files in your code.

We have a better FST based spellchecker for Tamil and we wanted to  come up
with an oxt as a part of our research project.


And I just checked the link given by you. There is no spellchecker or
grammar checker for Tamil given in those links.

Thank you very much for your prompt responses.

regards,
Pattabhi,

Research Scholar,
AU-KBC Research Centre,
Anna University, Chennai, India.


On Tue, Mar 6, 2018 at 8:56 PM, Samuel Mehrbrodt 
wrote:

> Hi Pattabhi,
>
> well I can't create the extension for you. You need to get a basic
> understanding how LibreOffice extensions work if you want to do that work.
>
> But why do you want to create an extension for that? If you want spell
> checking in Tamil, you can just provide a dictionary file. You can also
> provide the dictionary as an extension without code.
>
> This page indicates there already exists a spell checker and even grammar
> checker for Tamil, did you check that? https://wiki.
> documentfoundation.org/Language_support_of_LibreOffice
>
> Regards
> Samuel
>
> Am 06.03.2018 um 15:58 schrieb Pattabhi RK:
>
> Dear Samuel,
>
>   Sorry to disturb you with my silly problems. I am new to this
> libreoffice development. I went through the sample codes provided by you. I
> could not understand where these codes have to be used or put into the
> starter-extension project so that it can be customised for spellchecking
> task.
>
>   In the starter project extension we have the StarterImpl.java. And I
> think instead of this we need to put in SampleSpellChecker.java. Now
> accordingly how should the RegistrationHandler.java be modified I could not
> understand. And similarly how should the StarterProject.idl be modified I
> could not understand. So towards this I thought I will build a new
> Extension project, as given in the page https://wiki.openoffice.org/
> wiki/JavaEclipseTuto and specify the UNO type as "XSpellChecker", so that
> these basic codes and .urd, .idl and types.rdb will be built by the Eclipse
> and I will put the code given in SpellChecker.java in the Impl.java.
>
>   So this is where I got error of UNO type selection wizard not working.
> The StarterProject Extension is working well in my system and not getting
> any errors. So please kindly help me in knowing how and where I should
> modify your StarterProject extension code to put SpellChecker.java code.
>
>  Thank you very much.
>
> regards,
> Pattabhi
>
> Research Scholar,
> AU-KBC Research Centre,
> Anna University, Chennai, India.
>
>
>
> --
> Samuel Mehrbrodt
> Softwareentwickler LibreOffice
> –––
> CIB software GmbH
> Geschäftsstelle Hamburg
> Flachsland 10
> 
> 22083 Hamburg
> –––
> T +49 (40) / 28 48 42 -224
> F +49 (40) / 28 48 42 -100
>
> samuel.mehrbr...@cib.de
> www.cib.de
> –––
> Sitz: München
> Registergericht München, HRB 123286
> Geschäftsführer: Dipl.-Ing. Ulrich Brandner
>
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: Help in Libreoffice extension development

2018-03-06 Thread Samuel Mehrbrodt

Hi Pattabhi,

well I can't create the extension for you. You need to get a basic 
understanding how LibreOffice extensions work if you want to do that work.


But why do you want to create an extension for that? If you want spell 
checking in Tamil, you can just provide a dictionary file. You can also 
provide the dictionary as an extension without code.


This page indicates there already exists a spell checker and even 
grammar checker for Tamil, did you check that? 
https://wiki.documentfoundation.org/Language_support_of_LibreOffice


Regards
Samuel


Am 06.03.2018 um 15:58 schrieb Pattabhi RK:

Dear Samuel,

  Sorry to disturb you with my silly problems. I am new to this 
libreoffice development. I went through the sample codes provided by 
you. I could not understand where these codes have to be used or put 
into the starter-extension project so that it can be customised for 
spellchecking task.


  In the starter project extension we have the StarterImpl.java. And I 
think instead of this we need to put in SampleSpellChecker.java. Now 
accordingly how should the RegistrationHandler.java be modified I 
could not understand. And similarly how should the StarterProject.idl 
be modified I could not understand. So towards this I thought I will 
build a new Extension project, as given in the page 
https://wiki.openoffice.org/wiki/JavaEclipseTuto and specify the UNO 
type as "XSpellChecker", so that these basic codes and .urd, .idl and 
types.rdb will be built by the Eclipse and I will put the code given 
in SpellChecker.java in the Impl.java.


  So this is where I got error of UNO type selection wizard not 
working. The StarterProject Extension is working well in my system and 
not getting any errors. So please kindly help me in knowing how and 
where I should modify your StarterProject extension code to put 
SpellChecker.java code.


 Thank you very much.

regards,
Pattabhi

Research Scholar,
AU-KBC Research Centre,
Anna University, Chennai, India.




--
Samuel Mehrbrodt
Softwareentwickler LibreOffice
–––
CIB software GmbH
Geschäftsstelle Hamburg
Flachsland 10
22083 Hamburg
–––
T +49 (40) / 28 48 42 -224
F +49 (40) / 28 48 42 -100

samuel.mehrbr...@cib.de
www.cib.de
–––
Sitz: München
Registergericht München, HRB 123286
Geschäftsführer: Dipl.-Ing. Ulrich Brandner
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: Help in Libreoffice extension development

2018-03-06 Thread Pattabhi RK
Dear Samuel,

  Sorry to disturb you with my silly problems. I am new to this libreoffice
development. I went through the sample codes provided by you. I could not
understand where these codes have to be used or put into the
starter-extension project so that it can be customised for spellchecking
task.

  In the starter project extension we have the StarterImpl.java. And I
think instead of this we need to put in SampleSpellChecker.java. Now
accordingly how should the RegistrationHandler.java be modified I could not
understand. And similarly how should the StarterProject.idl be modified I
could not understand. So towards this I thought I will build a new
Extension project, as given in the page
https://wiki.openoffice.org/wiki/JavaEclipseTuto and specify the UNO type
as "XSpellChecker", so that these basic codes and .urd, .idl and types.rdb
will be built by the Eclipse and I will put the code given in
SpellChecker.java in the Impl.java.

  So this is where I got error of UNO type selection wizard not working.
The StarterProject Extension is working well in my system and not getting
any errors. So please kindly help me in knowing how and where I should
modify your StarterProject extension code to put SpellChecker.java code.

 Thank you very much.

regards,
Pattabhi

Research Scholar,
AU-KBC Research Centre,
Anna University, Chennai, India.



On Tue, Mar 6, 2018 at 7:44 PM, Samuel Mehrbrodt 
wrote:

> Hi Pattabhi,
>
> I gave you some resources yesterday.
>
> Did you look at those?
>
> What did you try and where exactly are you stuck?
>
> Regards
> Samuel
>
> Am 06.03.2018 um 15:10 schrieb Pattabhi RK:
>
> Dear Samuel,
>
>   Thank you very much for kind reply. Actually we are not knowing how to
> customize your libreoffice-starter extension for making a new extension for
> the XSpellChecker service. Actually our objective is to create a
> spellchecker extension for Tamil (Indian Language). We have a java stand
> alone spellcheker code in java, which takes a string and checks for
> spelling, if there is error it gives alternative suggestions. We have
> developed using FST.
>
>  I request you to please kindly help us in customizing the starter
> extension project for this.
>
> Thanks & regards,
> Pattabhi,
>
> Research Scholar,
> AU-KBC Research Centre,
> Anna University, Chennai, India.
>
>
> On Tue, Mar 6, 2018 at 7:19 PM, Samuel Mehrbrodt 
> wrote:
>
>>
>> Ah that looks like https://github.com/LibreOffice/loeclipse/issues/62
>> which is fixed but not released yet.
>>
>> Although the bug and also your stack looks like the error occurs when
>> exporting the package via File->Export and not when creating the run config.
>>
>> Anyway, it means you have no valid project that can be built. Please
>> create a fresh project, or use the starter extension:
>> https://github.com/smehrbrodt/libreoffice-starter-extension
>>
>> Regards
>> Samuel
>>
>>
> --
> Samuel Mehrbrodt
> Softwareentwickler LibreOffice
> –––
> CIB software GmbH
> Geschäftsstelle Hamburg
> Flachsland 10
> 
> 22083 Hamburg
> –––
> T +49 (40) / 28 48 42 -224
> F +49 (40) / 28 48 42 -100
>
> samuel.mehrbr...@cib.de
> www.cib.de
> –––
> Sitz: München
> Registergericht München, HRB 123286
> Geschäftsführer: Dipl.-Ing. Ulrich Brandner
>
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: Help in Libreoffice extension development

2018-03-06 Thread Samuel Mehrbrodt

Hi Pattabhi,

I gave you some resources yesterday.

Did you look at those?

What did you try and where exactly are you stuck?

Regards
Samuel


Am 06.03.2018 um 15:10 schrieb Pattabhi RK:

Dear Samuel,

  Thank you very much for kind reply. Actually we are not knowing how 
to customize your libreoffice-starter extension for making a new 
extension for the XSpellChecker service. Actually our objective is to 
create a spellchecker extension for Tamil (Indian Language). We have a 
java stand alone spellcheker code in java, which takes a string and 
checks for spelling, if there is error it gives alternative 
suggestions. We have developed using FST.


 I request you to please kindly help us in customizing the starter 
extension project for this.


Thanks & regards,
Pattabhi,

Research Scholar,
AU-KBC Research Centre,
Anna University, Chennai, India.


On Tue, Mar 6, 2018 at 7:19 PM, Samuel Mehrbrodt 
> wrote:



Ah that looks like
https://github.com/LibreOffice/loeclipse/issues/62
 which is
fixed but not released yet.

Although the bug and also your stack looks like the error occurs
when exporting the package via File->Export and not when creating
the run config.

Anyway, it means you have no valid project that can be built.
Please create a fresh project, or use the starter extension:
https://github.com/smehrbrodt/libreoffice-starter-extension


Regards
Samuel




--
Samuel Mehrbrodt
Softwareentwickler LibreOffice
–––
CIB software GmbH
Geschäftsstelle Hamburg
Flachsland 10
22083 Hamburg
–––
T +49 (40) / 28 48 42 -224
F +49 (40) / 28 48 42 -100

samuel.mehrbr...@cib.de
www.cib.de
–––
Sitz: München
Registergericht München, HRB 123286
Geschäftsführer: Dipl.-Ing. Ulrich Brandner
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: Help in Libreoffice extension development

2018-03-06 Thread Pattabhi RK
Hi,

  Thanks for the immediate response. As suggested by you I have ignored the
type selector wizard. But while run the project using Run Configuration >
LibreOffice Application I am getting the following error message:

"Unhandled event loop exception" in the plugin: org.eclipse.ui

The full stack trace is


java.lang.NullPointerException
at
org.libreoffice.ide.eclipse.core.gui.PackageContentSelector.getDefaultContent(Unknown
Source)
at
org.libreoffice.ide.eclipse.core.gui.PackageContentSelector.loadDefaults(Unknown
Source)
at
org.libreoffice.ide.eclipse.core.wizards.pages.UnoPackageExportPage.loadData(Unknown
Source)
at
org.libreoffice.ide.eclipse.core.wizards.pages.UnoPackageExportPage.createControl(Unknown
Source)
at org.eclipse.jface.wizard.Wizard.createPageControls(Wizard.java:176)
at
org.eclipse.jface.wizard.WizardDialog.createPageControls(WizardDialog.java:688)
at
org.eclipse.jface.wizard.WizardDialog.setWizard(WizardDialog.java:1128)
at
org.eclipse.jface.wizard.WizardDialog.updateForPage(WizardDialog.java:1181)
at
org.eclipse.jface.wizard.WizardDialog.lambda$3(WizardDialog.java:1169)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
at
org.eclipse.jface.wizard.WizardDialog.showPage(WizardDialog.java:1169)
at
org.eclipse.jface.wizard.WizardDialog.nextPressed(WizardDialog.java:864)
at
org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:413)
at org.eclipse.jface.dialogs.Dialog.lambda$0(Dialog.java:619)
at
org.eclipse.swt.events.SelectionListener$1.widgetSelected(SelectionListener.java:81)
at
org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:249)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:86)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:5348)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1348)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4602)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:4183)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:818)
at org.eclipse.jface.window.Window.open(Window.java:794)
at
org.eclipse.ui.internal.handlers.WizardHandler$Export.executeHandler(WizardHandler.java:106)
at
org.eclipse.ui.internal.handlers.WizardHandler.execute(WizardHandler.java:290)
at
org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:291)
at
org.eclipse.ui.internal.handlers.E4HandlerProxy.execute(E4HandlerProxy.java:92)
at sun.reflect.GeneratedMethodAccessor48.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at
org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:55)
at
org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java:305)
at
org.eclipse.e4.core.internal.di.InjectorImpl.invoke(InjectorImpl.java:239)
at
org.eclipse.e4.core.contexts.ContextInjectionFactory.invoke(ContextInjectionFactory.java:132)
at
org.eclipse.e4.core.commands.internal.HandlerServiceHandler.execute(HandlerServiceHandler.java:152)
at org.eclipse.core.commands.Command.executeWithChecks(Command.java:494)
at
org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:487)
at
org.eclipse.e4.core.commands.internal.HandlerServiceImpl.executeHandler(HandlerServiceImpl.java:210)
at
org.eclipse.ui.internal.handlers.LegacyHandlerService.executeCommand(LegacyHandlerService.java:390)
at
org.eclipse.ui.internal.actions.CommandAction.runWithEvent(CommandAction.java:151)
at
org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:565)
at
org.eclipse.jface.action.ActionContributionItem.lambda$4(ActionContributionItem.java:397)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:86)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:5348)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1348)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4602)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:4183)
at
org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1150)
at
org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
at
org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1039)
at
org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:153)
at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:680)
at
org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:594)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:148)
at

Re: Help in Libreoffice extension development

2018-03-06 Thread Stephan Bergmann

On 06.03.2018 14:12, Pattabhi RK wrote:
   We are trying to develop a libreoffice extension for spellchecker. 
And to start with we have tried to develop HelloWorld extension as given 
in the link.


https://wiki.openoffice.org/wiki/JavaEclipseTuto


Sorry, I have no idea about using Eclipse for LibreOffice extension 
development.  From the below exception, it looks like that 
OpenOffice.org Eclipse integration you link to above might not actually 
work with LO.  (The program/types.rdb in LO is in a different format 
than what it was back in OOo.  LO usually treats those different formats 
transparently, but apparently something does not work well in 
combination with that OOo Eclipse integration.)


I see 
 
mentioning something supposedly LO-specific for developing extensions 
with Eclipse.  Have you checked that out?


We are not able to load UNO types selector and we have got the following 
error:



om.sun.star.registry.InvalidRegistryException: 
com.sun.star.registry.SimpleRegistry.open(file:///opt/libreoffice5.4/program/types.rdb): 
underlying Registry::open/create() = 6

[...]
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: Help in Libreoffice extension development

2018-03-06 Thread Samuel Mehrbrodt

Hi Pattabhi,

this is a known bug in LOEclipse: 
https://github.com/LibreOffice/loeclipse/issues/22


You have two options:

 * Ignore the type selector (you can use the wizard just fine without it)
 * Fix the bug

Regards
Samuel

Am 06.03.2018 um 14:12 schrieb Pattabhi RK:


Hi,

  We are trying to develop a libreoffice extension for spellchecker. 
And to start with we have tried to develop HelloWorld extension as 
given in the link.


https://wiki.openoffice.org/wiki/JavaEclipseTuto

We are not able to load UNO types selector and we have got the 
following error:



om.sun.star.registry.InvalidRegistryException: 
com.sun.star.registry.SimpleRegistry.open(file:///opt/libreoffice5.4/program/types.rdb): 
underlying Registry::open/create() = 6
    at 
com.sun.star.lib.uno.environments.remote.Job.remoteUnoRequestRaisedException(Job.java:158)

    at com.sun.star.lib.uno.environments.remote.Job.execute(Job.java:122)
    at 
com.sun.star.lib.uno.environments.remote.JobQueue.enter(JobQueue.java:312)
    at 
com.sun.star.lib.uno.environments.remote.JobQueue.enter(JobQueue.java:281)
    at 
com.sun.star.lib.uno.environments.remote.JavaThreadPool.enter(JavaThreadPool.java:81)
    at 
com.sun.star.lib.uno.bridges.java_remote.java_remote_bridge.sendRequest(java_remote_bridge.java:618)
    at 
com.sun.star.lib.uno.bridges.java_remote.ProxyFactory$Handler.request(ProxyFactory.java:145)
    at 
com.sun.star.lib.uno.bridges.java_remote.ProxyFactory$Handler.invoke(ProxyFactory.java:129)

    at com.sun.proxy.$Proxy30.open(Unknown Source)
    at 
org.libreoffice.ide.eclipse.core.internal.office.TypesGetter.getTypesFromRegistry(Unknown 
Source)
    at 
org.libreoffice.ide.eclipse.core.internal.office.TypesGetter.queryTypes(Unknown 
Source)
    at 
org.libreoffice.ide.eclipse.core.internal.office.TypesGetter.getTypes(Unknown 
Source)

    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

    at java.lang.reflect.Method.invoke(Method.java:498)
    at 
org.libreoffice.ide.eclipse.core.office.TypesGetter.getTypes(Unknown 
Source)
    at 
org.libreoffice.ide.eclipse.core.unotypebrowser.UnoTypeProvider$UnoTypesGetterThread.run(Unknown 
Source)



When we have loaded the LibreOffice and SDK using "Window > Preference 
> LibreOffice Path, we got message saying " Office bootstrapped"


So we are not able to understand where we are going wrong. I request 
you to kindly help in resolving this problem.



We are using Eclipse Oxygen 2, Libreoffice 5.4.5 and sdk 5.4.5. And 
using Ubuntu 14.04 LTS.


Thanks,
Pattabhi,

Research Scholar,
AU-KBC Research Centre,
Anna University, Chennai, India.






___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


--
Samuel Mehrbrodt
Softwareentwickler LibreOffice
–––
CIB software GmbH
Geschäftsstelle Hamburg
Flachsland 10
22083 Hamburg
–––
T +49 (40) / 28 48 42 -224
F +49 (40) / 28 48 42 -100

samuel.mehrbr...@cib.de
www.cib.de
–––
Sitz: München
Registergericht München, HRB 123286
Geschäftsführer: Dipl.-Ing. Ulrich Brandner
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Help in Libreoffice extension development

2018-03-06 Thread Pattabhi RK
Hi,

  We are trying to develop a libreoffice extension for spellchecker. And to
start with we have tried to develop HelloWorld extension as given in the
link.

  https://wiki.openoffice.org/wiki/JavaEclipseTuto

We are not able to load UNO types selector and we have got the following
error:


om.sun.star.registry.InvalidRegistryException:
com.sun.star.registry.SimpleRegistry.open(file:///opt/libreoffice5.4/program/types.rdb):
underlying Registry::open/create() = 6
at
com.sun.star.lib.uno.environments.remote.Job.remoteUnoRequestRaisedException(Job.java:158)
at com.sun.star.lib.uno.environments.remote.Job.execute(Job.java:122)
at
com.sun.star.lib.uno.environments.remote.JobQueue.enter(JobQueue.java:312)
at
com.sun.star.lib.uno.environments.remote.JobQueue.enter(JobQueue.java:281)
at
com.sun.star.lib.uno.environments.remote.JavaThreadPool.enter(JavaThreadPool.java:81)
at
com.sun.star.lib.uno.bridges.java_remote.java_remote_bridge.sendRequest(java_remote_bridge.java:618)
at
com.sun.star.lib.uno.bridges.java_remote.ProxyFactory$Handler.request(ProxyFactory.java:145)
at
com.sun.star.lib.uno.bridges.java_remote.ProxyFactory$Handler.invoke(ProxyFactory.java:129)
at com.sun.proxy.$Proxy30.open(Unknown Source)
at
org.libreoffice.ide.eclipse.core.internal.office.TypesGetter.getTypesFromRegistry(Unknown
Source)
at
org.libreoffice.ide.eclipse.core.internal.office.TypesGetter.queryTypes(Unknown
Source)
at
org.libreoffice.ide.eclipse.core.internal.office.TypesGetter.getTypes(Unknown
Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.libreoffice.ide.eclipse.core.office.TypesGetter.getTypes(Unknown
Source)
at
org.libreoffice.ide.eclipse.core.unotypebrowser.UnoTypeProvider$UnoTypesGetterThread.run(Unknown
Source)


When we have loaded the LibreOffice and SDK using "Window > Preference >
LibreOffice Path, we got message saying " Office bootstrapped"

So we are not able to understand where we are going wrong. I request you to
kindly help in resolving this problem.


We are using Eclipse Oxygen 2, Libreoffice 5.4.5 and sdk 5.4.5. And using
Ubuntu 14.04 LTS.

Thanks,
Pattabhi,

Research Scholar,
AU-KBC Research Centre,
Anna University, Chennai, India.
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice