• Getting started with Notes RCP + SBT SDK

    By Christian Hellinger 1 decade ago

    Hi,

    I wonder if there is a tutorial or a documentation on how to use the SDK within an eclipse/ Lotus Notes plugin?

    How to configure the SDK within the plugin? How to retrieve a blog list and save a blog entry, using the Java API in an RCP plugin?

     

    • Configure the SDK when using an Lotus Notes RCP

      By Christian Hellinger 1 decade ago

      While using the SDK in an standalone Java project is not much of a problem, it seems I am stuck in the integration of the SDK in an expeditor toolkit/ rcp feature for Lotus Notes 9.

      com.ibm.sbt.util.SBTException: Cannot find Endpoint connections
          at com.ibm.sbt.services.endpoints.EndpointFactory.getEndpoint(EndpointFactory.java:60)
          at com.ibm.sbt.services.endpoints.EndpointFactory.getEndpoint(EndpointFactory.java:52)
          at de.company.demo.service.SbtConnectorService.(SbtConnectorService.java:25)
          at de.company.demo.service.SbtConnectorService.(SbtConnectorService.java:19)
          at de.company.demo.service.SbtProfileConnectorService.(SbtProfileConnectorService.java:30)
          at de.company.demo.menu.handler.ToConnectionsBlogMenuHandler.execute(ToConnectionsBlogMenuHandler.java:90)
          at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:281)
          at org.eclipse.core.commands.Command.executeWithChecks(Command.java:476)
          at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:508)
          at org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:169)
          at org.eclipse.ui.internal.handlers.SlaveHandlerService.executeCommand(SlaveHandlerService.java:247)
          at org.eclipse.ui.internal.handlers.SlaveHandlerService.executeCommand(SlaveHandlerService.java:247)
          at org.eclipse.ui.menus.CommandContributionItem.handleWidgetSelection(CommandContributionItem.java:619)
          at org.eclipse.ui.menus.CommandContributionItem.access$10(CommandContributionItem.java:605)
          at org.eclipse.ui.menus.CommandContributionItem$4.handleEvent(CommandContributionItem.java:595)
          at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
          at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
          at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4166)
          at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3755)
          at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2384)
          at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2348)
          at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2200)
          at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:495)
          at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)
          at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:490)
          at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
          at com.ibm.rcp.personality.framework.internal.RCPApplication.run(RCPApplication.java:67)
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
          at java.lang.reflect.Method.invoke(Method.java:611)
          at org.eclipse.equinox.internal.app.EclipseAppContainer.callMethodWithException(EclipseAppContainer.java:574)
          at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:195)
          at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
          at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
          at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:386)
          at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
          at java.lang.reflect.Method.invoke(Method.java:611)
          at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549)
          at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
          at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
          at org.eclipse.equinox.launcher.Main.main(Main.java:1212)

       

      I am using the same settings as in the standalone java app (where it works)

       

      Any suggestions?