cancel
Showing results for 
Search instead for 
Did you mean: 

SMP 3.0 SDK SP10 Agentry Test Client Issue (Embedded ATE in eclipse

0 Kudos

Hi all,

I installed SMP 3.0 SDK SP10 today and get an issue with the ATE

I installed the agentry Editor plug in on Eclipse (Juno 4.2.2) => Installation went well

I upload my agentry project into eclipse => OK

I launch the "test Environment" View => OK

I click on "Start Test Client" and get the following error:

Here is the eclipse log:

java.lang.NullPointerException: while trying to invoke the method org.eclipse.jface.viewers.ISelectionProvider.getSelection() of a null object returned from org.eclipse.ui.IWorkbenchPartSite.getSelectionProvider()

  at com.syclo.agentry.platform.AgentryUIManager.partActivated(Unknown Source)

  at org.eclipse.ui.internal.PartService$6.run(PartService.java:131)

  at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)

  at org.eclipse.ui.internal.PartService.partActivated(PartService.java:129)

  at org.eclipse.ui.internal.WorkbenchPage$12.run(WorkbenchPage.java:4462)

  at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)

  at org.eclipse.ui.internal.WorkbenchPage.firePartActivated(WorkbenchPage.java:4460)

  at org.eclipse.ui.internal.WorkbenchPage.access$16(WorkbenchPage.java:4440)

  at org.eclipse.ui.internal.WorkbenchPage$E4PartListener.partActivated(WorkbenchPage.java:173)

  at org.eclipse.e4.ui.internal.workbench.PartServiceImpl$2.run(PartServiceImpl.java:193)

  at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)

  at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.firePartActivated(PartServiceImpl.java:191)

  at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.activate(PartServiceImpl.java:596)

  at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.activate(PartServiceImpl.java:549)

  at org.eclipse.e4.ui.internal.workbench.swt.AbstractPartRenderer.activate(AbstractPartRenderer.java:105)

  at org.eclipse.e4.ui.workbench.renderers.swt.StackRenderer$ActivationJob.run(StackRenderer.java:214)

  at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)

  at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135)

  at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4144)

  at org.eclipse.swt.widgets.Shell.WM_ENTERIDLE(Shell.java:2233)

  at org.eclipse.swt.widgets.Control.windowProc(Control.java:4544)

  at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:341)

  at org.eclipse.swt.widgets.Decorations.windowProc(Decorations.java:1627)

  at org.eclipse.swt.widgets.Shell.windowProc(Shell.java:2069)

  at org.eclipse.swt.widgets.Display.windowProc(Display.java:4989)

  at org.eclipse.swt.internal.win32.OS.TrackPopupMenu(Native Method)

  at org.eclipse.swt.widgets.Menu._setVisible(Menu.java:257)

  at org.eclipse.swt.widgets.Display.runPopups(Display.java:4210)

  at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3752)

  at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1053)

  at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)

  at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:942)

  at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:86)

  at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:588)

  at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)

  at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:543)

  at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)

  at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:124)

  at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)

  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:353)

  at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180)

  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

  at java.lang.reflect.Method.invoke(Method.java:606)

  at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629)

  at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)

  at org.eclipse.equinox.launcher.Main.run(Main.java:1438)

I was previously on the SP07 and the Test environment was working OK

Please share your thoughts and advices

Many thanks in advance

Jean Eudes

Accepted Solutions (1)

Accepted Solutions (1)

0 Kudos

After investigation, the following library was missing:

- MS Visual C++ 2012 x86 Redistributable

=> We installed it and and the problem it solved.

Thanks for the time you spend on my case

Cheers,

Jean Eudes

Answers (1)

Answers (1)

bill_froelich
Product and Topic Expert
Product and Topic Expert
0 Kudos

Jean,


Was this an upgrade from a previous Editor plugin or a clean install?  I upgraded from SP09 but have not encountered this error before.   If it was an upgrade, I would suggest trying a clean install to a new Eclipse location just to see if that makes any difference.

--Bill

0 Kudos

Hi Bill,

It was first an upgrade from SP07. then I uninstall both SP7 and 10 and try again but still on the same eclipse.

I will try again on a fresh new Eclipse and will let you know.

Thanks for the feedback,

Jean-Eudes

0 Kudos

Hi Bill,

I installed Eclipse from scratch.

Installed the  agentry plug in (sdk sp10) without any issue

butt still get the same issue...