<div dir="ltr"><div><div><div><div><div>Hi,<br><br></div> 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:<br><br>"Unhandled event loop exception" in the plugin: org.eclipse.ui<br><br></div>The full stack trace is <br><br><br>java.lang.NullPointerException<br> at org.libreoffice.ide.eclipse.core.gui.PackageContentSelector.getDefaultContent(Unknown Source)<br> at org.libreoffice.ide.eclipse.core.gui.PackageContentSelector.loadDefaults(Unknown Source)<br> at org.libreoffice.ide.eclipse.core.wizards.pages.UnoPackageExportPage.loadData(Unknown Source)<br> at org.libreoffice.ide.eclipse.core.wizards.pages.UnoPackageExportPage.createControl(Unknown Source)<br> at org.eclipse.jface.wizard.Wizard.createPageControls(Wizard.java:176)<br> at org.eclipse.jface.wizard.WizardDialog.createPageControls(WizardDialog.java:688)<br> at org.eclipse.jface.wizard.WizardDialog.setWizard(WizardDialog.java:1128)<br> at org.eclipse.jface.wizard.WizardDialog.updateForPage(WizardDialog.java:1181)<br> at org.eclipse.jface.wizard.WizardDialog.lambda$3(WizardDialog.java:1169)<br> at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)<br> at org.eclipse.jface.wizard.WizardDialog.showPage(WizardDialog.java:1169)<br> at org.eclipse.jface.wizard.WizardDialog.nextPressed(WizardDialog.java:864)<br> at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:413)<br> at org.eclipse.jface.dialogs.Dialog.lambda$0(Dialog.java:619)<br> at org.eclipse.swt.events.SelectionListener$1.widgetSelected(SelectionListener.java:81)<br> at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:249)<br> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:86)<br> at org.eclipse.swt.widgets.Display.sendEvent(Display.java:5348)<br> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1348)<br> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4602)<br> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:4183)<br> at org.eclipse.jface.window.Window.runEventLoop(Window.java:818)<br> at org.eclipse.jface.window.Window.open(Window.java:794)<br> at org.eclipse.ui.internal.handlers.WizardHandler$Export.executeHandler(WizardHandler.java:106)<br> at org.eclipse.ui.internal.handlers.WizardHandler.execute(WizardHandler.java:290)<br> at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:291)<br> at org.eclipse.ui.internal.handlers.E4HandlerProxy.execute(E4HandlerProxy.java:92)<br> at sun.reflect.GeneratedMethodAccessor48.invoke(Unknown Source)<br> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)<br> at java.lang.reflect.Method.invoke(Method.java:498)<br> at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:55)<br> at org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java:305)<br> at org.eclipse.e4.core.internal.di.InjectorImpl.invoke(InjectorImpl.java:239)<br> at org.eclipse.e4.core.contexts.ContextInjectionFactory.invoke(ContextInjectionFactory.java:132)<br> at org.eclipse.e4.core.commands.internal.HandlerServiceHandler.execute(HandlerServiceHandler.java:152)<br> at org.eclipse.core.commands.Command.executeWithChecks(Command.java:494)<br> at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:487)<br> at org.eclipse.e4.core.commands.internal.HandlerServiceImpl.executeHandler(HandlerServiceImpl.java:210)<br> at org.eclipse.ui.internal.handlers.LegacyHandlerService.executeCommand(LegacyHandlerService.java:390)<br> at org.eclipse.ui.internal.actions.CommandAction.runWithEvent(CommandAction.java:151)<br> at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:565)<br> at org.eclipse.jface.action.ActionContributionItem.lambda$4(ActionContributionItem.java:397)<br> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:86)<br> at org.eclipse.swt.widgets.Display.sendEvent(Display.java:5348)<br> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1348)<br> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4602)<br> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:4183)<br> at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1150)<br> at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)<br> at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1039)<br> at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:153)<br> at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:680)<br> at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)<br> at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:594)<br> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:148)<br> at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:151)<br> at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)<br> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)<br> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)<br> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388)<br> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)<br> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)<br> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)<br> at java.lang.reflect.Method.invoke(Method.java:498)<br> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:653)<br> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:590)<br> at org.eclipse.equinox.launcher.Main.run(Main.java:1499)<br><br><br></div>Sorry for bothering the mailing list with my messages. I request your help. Thank you very much for your kind help.<br><br></div>Thanks,<br></div>Pattabhi <br><div><div><div><div><br><div>Research Scholar,<br>
</div>
<div>AU-KBC Research Centre,<br>
Anna University, Chennai, India.<br>
</div>
<br><br> <br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Mar 6, 2018 at 6:53 PM, Samuel Mehrbrodt <span dir="ltr"><<a target="_blank" href="mailto:Samuel.Mehrbrodt@cib.de">Samuel.Mehrbrodt@cib.de</a>></span> wrote:<br><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">
<div bgcolor="#FFFFFF">
<p>Hi Pattabhi,</p>
<p>this is a known bug in LOEclipse: <a target="_blank" href="https://github.com/LibreOffice/loeclipse/issues/22">https://github.com/<wbr>LibreOffice/loeclipse/issues/<wbr>22</a></p>
<p>You have two options:</p>
<ul>
<li>Ignore the type selector (you can use the wizard just fine
without it)<br>
</li>
<li>Fix the bug</li>
</ul>
<p>Regards<br>
Samuel</p><div><div class="gmail-h5">
<div class="gmail-m_1154115358897539216moz-cite-prefix">Am 06.03.2018 um 14:12 schrieb Pattabhi
RK:<br>
</div>
</div></div><blockquote type="cite"><div><div class="gmail-h5">
<div dir="ltr">
<div>
<div>
<div><br>
</div>
Hi,<br>
<br>
</div>
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.<br>
<br>
<a target="_blank" href="https://wiki.openoffice.org/wiki/JavaEclipseTuto">https://wiki.openoffice.org/<wbr>wiki/JavaEclipseTuto</a><br>
<br>
</div>
<div>We are not able to load UNO types selector and we have got
the following error:<br>
</div>
<br>
<br>
om.sun.star.registry.<wbr>InvalidRegistryException:
com.sun.star.registry.<wbr>SimpleRegistry.open(<a class="gmail-m_1154115358897539216moz-txt-link-freetext">file:///<wbr>opt/libreoffice5.4/program/<wbr>types.rdb</a>):
underlying Registry::open/create() = 6<br>
at
com.sun.star.lib.uno.<wbr>environments.remote.Job.<wbr>remoteUnoRequestRaisedExceptio<wbr>n(Job.java:158)<br>
at
com.sun.star.lib.uno.<wbr>environments.remote.Job.<wbr>execute(Job.java:122)<br>
at
com.sun.star.lib.uno.<wbr>environments.remote.JobQueue.<wbr>enter(JobQueue.java:312)<br>
at
com.sun.star.lib.uno.<wbr>environments.remote.JobQueue.<wbr>enter(JobQueue.java:281)<br>
at
com.sun.star.lib.uno.<wbr>environments.remote.<wbr>JavaThreadPool.enter(<wbr>JavaThreadPool.java:81)<br>
at
com.sun.star.lib.uno.bridges.<wbr>java_remote.java_remote_<wbr>bridge.sendRequest(java_<wbr>remote_bridge.java:618)<br>
at
com.sun.star.lib.uno.bridges.<wbr>java_remote.ProxyFactory$<wbr>Handler.request(ProxyFactory.<wbr>java:145)<br>
at
com.sun.star.lib.uno.bridges.<wbr>java_remote.ProxyFactory$<wbr>Handler.invoke(ProxyFactory.<wbr>java:129)<br>
at com.sun.proxy.$Proxy30.open(<wbr>Unknown Source)<br>
at
org.libreoffice.ide.eclipse.<wbr>core.internal.office.<wbr>TypesGetter.<wbr>getTypesFromRegistry(Unknown
Source)<br>
at
org.libreoffice.ide.eclipse.<wbr>core.internal.office.<wbr>TypesGetter.queryTypes(Unknown
Source)<br>
at
org.libreoffice.ide.eclipse.<wbr>core.internal.office.<wbr>TypesGetter.getTypes(Unknown
Source)<br>
at sun.reflect.<wbr>NativeMethodAccessorImpl.<wbr>invoke0(Native
Method)<br>
at
sun.reflect.<wbr>NativeMethodAccessorImpl.<wbr>invoke(<wbr>NativeMethodAccessorImpl.java:<wbr>62)<br>
at
sun.reflect.<wbr>DelegatingMethodAccessorImpl.<wbr>invoke(<wbr>DelegatingMethodAccessorImpl.<wbr>java:43)<br>
at java.lang.reflect.Method.<wbr>invoke(Method.java:498)<br>
at
org.libreoffice.ide.eclipse.<wbr>core.office.TypesGetter.<wbr>getTypes(Unknown
Source)<br>
at
org.libreoffice.ide.eclipse.<wbr>core.unotypebrowser.<wbr>UnoTypeProvider$<wbr>UnoTypesGetterThread.run(<wbr>Unknown
Source)<br>
<br>
<div><br>
<div>
<div>When we have loaded the LibreOffice and SDK using
"Window > Preference > LibreOffice Path, we got
message saying " Office bootstrapped"<br>
<br>
</div>
<div>So we are not able to understand where we are going
wrong. I request you to kindly help in resolving this
problem.<br>
<br>
<br>
</div>
<div>We are using Eclipse Oxygen 2, Libreoffice 5.4.5 and
sdk 5.4.5. And using Ubuntu 14.04 LTS.<br>
</div>
<div><br>
</div>
<div>Thanks,<br>
</div>
<div>Pattabhi,<br>
<br>
</div>
<div>Research Scholar,<br>
</div>
<div>AU-KBC Research Centre,<br>
Anna University, Chennai, India.<br>
</div>
<div><br>
<br>
</div>
<div><br>
</div>
<div><br>
</div>
</div>
</div>
</div>
<br>
<fieldset class="gmail-m_1154115358897539216mimeAttachmentHeader"></fieldset>
<br>
</div></div><pre>______________________________<wbr>_________________
LibreOffice mailing list
<a target="_blank" href="mailto:LibreOffice@lists.freedesktop.org" class="gmail-m_1154115358897539216moz-txt-link-abbreviated">LibreOffice@lists.freedesktop.<wbr>org</a>
<a target="_blank" href="https://lists.freedesktop.org/mailman/listinfo/libreoffice" class="gmail-m_1154115358897539216moz-txt-link-freetext">https://lists.freedesktop.org/<wbr>mailman/listinfo/libreoffice</a>
</pre>
</blockquote>
<br>
<div class="gmail-m_1154115358897539216moz-signature">-- <br>
<small>
Samuel Mehrbrodt<br>
Softwareentwickler LibreOffice<br>
–––<br>
CIB software GmbH<br>
Geschäftsstelle Hamburg<br>
<a href="https://maps.google.com/?q=Flachsland+10+%0D%0A++++++++22083+Hamburg&entry=gmail&source=g">Flachsland 10</a><br>
22083 Hamburg<br>
–––<br>
T +49 (40) / 28 48 42 -224<br>
F +49 (40) / 28 48 42 -100<br>
<br>
<a target="_blank" href="mailto:Samuel.Mehrbrodt@cib.de" class="gmail-m_1154115358897539216moz-txt-link-abbreviated">Samuel.Mehrbrodt@cib.de</a><br>
<a target="_blank" href="http://www.cib.de" class="gmail-m_1154115358897539216moz-txt-link-abbreviated">www.cib.de</a><br>
–––<br>
Sitz: München<br>
Registergericht München, HRB 123286<br>
Geschäftsführer: Dipl.-Ing. Ulrich Brandner</small></div>
</div>
</blockquote></div><br></div></div></div></div></div></div>