The studio error log while loading the cartridge which is having CFS entities in headless mode
(Doc ID 2992877.1)
Last updated on MAY 06, 2024
Applies to:
Oracle Communications Service Catalog and Design - Version 8.0.0.0.0 and laterInformation in this document applies to any platform.
Symptoms
The following exception is being thrown in the studio error log while loading the cartridge which is having CFS entities in headless mode.
java.lang.NullPointerException
at oracle.communications.sce.common.entity.entities.service.customer.CustomerFacingServiceEntity.setAttachment(CustomerFacingServiceEntity.java:659)
at oracle.communications.sce.common.entity.entities.service.customer.CustomerFacingServiceEntity.setElements(CustomerFacingServiceEntity.java:590)
at oracle.communications.sce.common.entity.entities.service.customer.CustomerFacingServiceEntity.loadEmf(CustomerFacingServiceEntity.java:571)
at oracle.communications.sce.common.entity.entities.service.customer.CustomerFacingServiceEntity.<init>(CustomerFacingServiceEntity.java:158)
at oracle.communications.sce.common.entity.entities.service.customer.CustomerFacingService.<init>(CustomerFacingService.java:87)
at oracle.communications.sce.common.entity.entities.service.customer.CustomerFacingServiceEntityFactory.createModel(CustomerFacingServiceEntityFactory.java:44)
at com.mslv.studio.model.AbstractStudioModelFactory.newModel(AbstractStudioModelFactory.java:62)
at com.mslv.studio.model.StudioModelEntityType.newModel(StudioModelEntityType.java:303)
at com.mslv.studio.model.StudioModelManager.getStudioModelEntity(StudioModelManager.java:840)
at com.mslv.studio.model.StudioModelManager$MyResourceVisitor.visit(StudioModelManager.java:1650)
at org.eclipse.core.internal.resources.Resource.lambda$1(Resource.java:114)
at org.eclipse.core.internal.resources.Resource.lambda$0(Resource.java:82)
at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:82)
at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:87)
at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:87)
at org.eclipse.core.internal.watson.ElementTreeIterator.iterate(ElementTreeIterator.java:132)
at org.eclipse.core.internal.resources.Resource.accept(Resource.java:91)
at org.eclipse.core.internal.resources.Resource.accept(Resource.java:52)
at org.eclipse.core.internal.resources.Resource.accept(Resource.java:114)
at org.eclipse.core.internal.resources.Resource.accept(Resource.java:102)
at com.mslv.studio.model.StudioModelManager.loadCache(StudioModelManager.java:1694)
at oracle.communications.studio.ant.project.CustomWorkspaceModifyOperation.run(CustomWorkspaceModifyOperation.java:31)
at oracle.communications.studio.ant.project.CustomProjectBuilderTask.execute(CustomProjectBuilderTask.java:89)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:350)
at java.util.Vector.forEach(Vector.java:1275)
at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:67)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:350)
at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:394)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:350)
at org.apache.tools.ant.Target.execute(Target.java:448)
at org.apache.tools.ant.Target.performTasks(Target.java:469)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
at org.apache.tools.ant.Project.executeTarget(Project.java:1370)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.eclipse.ant.internal.core.ant.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:36)
at org.apache.tools.ant.Project.executeTargets(Project.java:1260)
at org.eclipse.ant.internal.core.ant.InternalAntRunner.run(InternalAntRunner.java:712)
at org.eclipse.ant.internal.core.ant.InternalAntRunner.run(InternalAntRunner.java:573)
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.ant.core.AntRunner.run(AntRunner.java:511)
at org.eclipse.ant.internal.ui.AntRunnerWorkbenchAdvisor.preStartup(AntRunnerWorkbenchAdvisor.java:49)
at org.eclipse.ui.internal.Workbench$19.runWithException(Workbench.java:1699)
at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:32)
at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:233)
at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:144)
at org.eclipse.swt.widgets.Display.syncExec(Display.java:5831)
at org.eclipse.ui.internal.StartupThreading.runWithoutExceptions(StartupThreading.java:95)
at org.eclipse.ui.internal.Workbench.init(Workbench.java:1695)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2859)
at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:654)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:597)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:148)
at org.eclipse.ant.internal.ui.WorkbenchAntRunner.start(WorkbenchAntRunner.java:42)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)
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:656)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:592)
at org.eclipse.equinox.launcher.Main.run(Main.java:1498)
at org.eclipse.equinox.launcher.Main.main(Main.java:1471)
Due to the above error, we will see the following exception in the CMT console log –
[studio.buildProject] Marker on resource: DigitalTVChannelPS.cmnProduct, message: Broken "oracle.communications.sce.common.entity.entities.product.producttoserviceref.cfsRef" link for "DigitalTVCFS" - DigitalTVCFS does not exist.
[studio.buildProject] Marker on resource: DigitalTVPS.cmnProduct, message: Broken "oracle.communications.sce.common.entity.entities.product.producttoserviceref.cfsRef" link for "DigalTVCFS" - DigitalTVCFS does not exist.
Changes
No changes
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Changes |
Cause |
Solution |