KB Article #180993

deployment issues: No entity found for reference| java exception: com.vordel.es.EntityStoreException: Entity is not of type CoreAPIMethod

Problem

It is encountered an exception when deploying the configuration from Policy Studio to the instance:

Policy Studio traces

INFO 13/May/2020:17:10:30.721 [50a4:000000000000000000000000] [WARN] No entity found for reference:3508370735134697368

ERROR 13/May/2020:17:10:48.733 [50a4:000000000000000000000000] java exception:

com.vordel.es.EntityStoreException: Entity is not of type CoreAPIMethod

at com.vordel.coreapireg.esdao.RESTAPIESDAO.getMethod(RESTAPIESDAO.java:857)

at com.vordel.coreapireg.esdao.RESTAPIESDAO.getRESTAPIMethod(RESTAPIESDAO.java:308)

at com.vordel.client.ext.coreapireg.tracker.APIBrokerTracker.getMethodProps(APIBrokerTracker.java:135)

at com.vordel.client.ext.coreapireg.tracker.APIBrokerTracker.getAvailableProperties(APIBrokerTracker.java:104)

at com.vordel.client.circuit.model.Tracker.getAvailableProperties(Tracker.java:67)

at com.vordel.client.circuit.model.Circuit.calculateViewCoverage(Circuit.java:352)

at com.vordel.client.circuit.model.Circuit.setViewContext(Circuit.java:332)

at com.vordel.client.circuit.model.Tracker.incRefCount(Tracker.java:140)

at com.vordel.client.ext.coreapireg.tracker.APIBrokerTracker.initListeners(APIBrokerTracker.java:95)

at com.vordel.client.circuit.model.Tracker.init(Tracker.java:90)

at com.vordel.client.ext.coreapireg.Activator.addCustomTrackers(Activator.java:80)

at com.vordel.client.ext.coreapireg.Activator.getDao(Activator.java:89)

at com.vordel.client.ext.coreapireg.tree.RestApiContainerTreeItem.<init>(RestApiContainerTreeItem.java:49)

at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)

at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)

at java.lang.reflect.Constructor.newInstance(Constructor.java:423)

at com.vordel.client.rcp.navigator.NavigatorUtils.addTreeNodeByClass(NavigatorUtils.java:135)

at com.vordel.client.rcp.navigator.NavigatorUtils.addExtensions(NavigatorUtils.java:121)

at com.vordel.client.rcp.navigator.DeclarativeTreeFactory.populateTree(DeclarativeTreeFactory.java:200)

at com.vordel.client.rcp.navigator.DeclarativeTreeFactory.populateTree(DeclarativeTreeFactory.java:197)

at com.vordel.client.rcp.navigator.DeclarativeTreeFactory.loadHierarchy(DeclarativeTreeFactory.java:100)

at com.vordel.client.rcp.navigator.NavigatorUtils.loadEntityStore(NavigatorUtils.java:52)

at com.vordel.client.gui.policystudio.view.ConfigurationView.refresh(ConfigurationView.java:246)

at com.vordel.client.gui.policystudio.view.ConfigurationView.createPartControl(ConfigurationView.java:242)

at org.eclipse.ui.internal.ViewReference.createPartHelper(ViewReference.java:386)

at org.eclipse.ui.internal.ViewReference.createPart(ViewReference.java:240)

at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:595)

at org.eclipse.ui.internal.Perspective.showView(Perspective.java:2245)

at org.eclipse.ui.internal.WorkbenchPage.busyShowView(WorkbenchPage.java:1154)

at org.eclipse.ui.internal.WorkbenchPage$20.run(WorkbenchPage.java:3934)

at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)

at org.eclipse.ui.internal.WorkbenchPage.showView(WorkbenchPage.java:3931)

at com.vordel.client.gui.policystudio.util.ui.ViewUtils.openConfigurationPerspective(ViewUtils.java:226)

at com.vordel.client.gui.policystudio.util.project.ProjectUtils.openProjectInner(ProjectUtils.java:151)

at com.vordel.client.gui.policystudio.util.project.ProjectUtils.openProject(ProjectUtils.java:85)

at com.vordel.client.gui.policystudio.actions.OpenFSProjectAction.runCheckSuccess(OpenFSProjectAction.java:37)

at com.vordel.client.gui.policystudio.view.HomeView$5.linkActivated(HomeView.java:170)

at org.eclipse.ui.forms.widgets.AbstractHyperlink.handleActivate(AbstractHyperlink.java:233)

at org.eclipse.ui.forms.widgets.ImageHyperlink.handleActivate(ImageHyperlink.java:199)

at org.eclipse.ui.forms.widgets.AbstractHyperlink.handleMouseUp(AbstractHyperlink.java:327)

at org.eclipse.ui.forms.widgets.AbstractHyperlink.access$2(AbstractHyperlink.java:311)

at org.eclipse.ui.forms.widgets.AbstractHyperlink$4.handleEvent(AbstractHyperlink.java:125)

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

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

at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2701)

at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2665)

at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2499)

at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:679)

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

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

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

at com.vordel.client.gui.policystudio.Application.start(Application.java:39)

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

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

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

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)


Resolution

The cause was that Policy Studio has been running no Service Pack version of the software while the API Gateway was on Service Pack 7

Updating the Policy Studio and starting it with "- clean" switch has solved the issue.