Error while saving the Models in Centrasite

Hi

After creating a state in Model when i save i get the following error.

INMLFE0005: The state(s) [Service Modeling] are unreachable

com.centrasite.lcmapi.LCMException: INMLFE0005: The state(s) [Service Modeling] are unreachable
at com.centrasite.lcm.LCModelImpl.validate(LCModelImpl.java:1006)
at com.centrasite.lcm.LCMAdminManagerImpl.saveLCModel(LCMAdminManagerImpl.java:506)
at com.centrasite.lcm.LCMAdminManagerImpl.saveLCModel(LCMAdminManagerImpl.java:558)
at com.softwareag.centrasite.lcm.adapters.EditLCMModelAdapter.save(EditLCMModelAdapter.java:1396)
at com.softwareag.centrasite.lcm.adapters.EditLCMModelAdapter.access$100(EditLCMModelAdapter.java:388)
at com.softwareag.centrasite.lcm.adapters.EditLCMModelAdapter$LCMSaveOperation.execute(EditLCMModelAdapter.java:1389)
at com.centrasite.jaxr.LifeCycleManagerImpl$ExtensionPointImpl.run(LifeCycleManagerImpl.java:5186)
at com.softwareag.centrasite.lcm.adapters.EditLCMModelAdapter.register(EditLCMModelAdapter.java:1381)
at com.softwareag.centrasite.lcm.adapters.EditLCMModelAdapter.storeValuesInModel(EditLCMModelAdapter.java:1363)
at com.centrasite.control.ext.util.AbstractItemEditorAdapter$SaveItemCommand.execute(AbstractItemEditorAdapter.java:1170)
at com.centrasite.control.AbstractCommandExt.execute(AbstractCommandExt.java:178)
at com.centrasite.control.ext.util.AbstractItemEditorAdapter.onSave(AbstractItemEditorAdapter.java:462)
at com.softwareag.centrasite.lcm.adapters.EditLCMModelAdapter.onSave(EditLCMModelAdapter.java:467)
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 com.softwareag.cis.server.InteractionModel.invokeMethodInternally(Unknown Source)
at com.softwareag.cis.server.InteractionModel.invokeMethod(Unknown Source)
at com.softwareag.cis.server.XMLProcessor.processXML(Unknown Source)
at com.softwareag.cis.server.XMLProcessor.processXMLAndSerialize(Unknown Source)
at com.softwareag.cis.server.Connector.doPost(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at com.softwareag.cis.server.filter.ClickjackFilter.doFilter(Unknown Source)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1040)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:315)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)

it seems there is no transition from any other state to that state defined? can you check that?

Daniel

Yes , there was no transition from the previous state to new node . Now whwn i have added the transition to the previous state and cannot define the transition to new state as the state afte that is not defined . I get error as

INMLFE0019: A promotion node can be set only on the final states of the lifecycle model

com.centrasite.lcmapi.LCMException: INMLFE0019: A promotion node can be set only on the final states of the lifecycle model
at com.centrasite.lcm.LCStateImpl.addPromotionNodes(LCStateImpl.java:294)
at com.softwareag.centrasite.lcm.adapters.EditLCMModelAdapter.assignTransitionPermissions(EditLCMModelAdapter.java:1429)
at com.softwareag.centrasite.lcm.adapters.EditLCMModelAdapter.updateLCModel(EditLCMModelAdapter.java:526)
at com.softwareag.centrasite.lcm.adapters.EditLCMModelAdapter$LCMSaveOperation.execute(EditLCMModelAdapter.java:1388)
at com.centrasite.jaxr.LifeCycleManagerImpl$ExtensionPointImpl.run(LifeCycleManagerImpl.java:5186)
at com.softwareag.centrasite.lcm.adapters.EditLCMModelAdapter.register(EditLCMModelAdapter.java:1381)
at com.softwareag.centrasite.lcm.adapters.EditLCMModelAdapter.storeValuesInModel(EditLCMModelAdapter.java:1363)
at com.centrasite.control.ext.util.AbstractItemEditorAdapter$SaveItemCommand.execute(AbstractItemEditorAdapter.java:1170)
at com.centrasite.control.AbstractCommandExt.execute(AbstractCommandExt.java:178)
at com.centrasite.control.ext.util.AbstractItemEditorAdapter.onSave(AbstractItemEditorAdapter.java:462)
at com.softwareag.centrasite.lcm.adapters.EditLCMModelAdapter.onSave(EditLCMModelAdapter.java:467)
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 com.softwareag.cis.server.InteractionModel.invokeMethodInternally(Unknown Source)
at com.softwareag.cis.server.InteractionModel.invokeMethod(Unknown Source)
at com.softwareag.cis.server.XMLProcessor.processXML(Unknown Source)
at com.softwareag.cis.server.XMLProcessor.processXMLAndSerialize(Unknown Source)
at com.softwareag.cis.server.Connector.doPost(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at com.softwareag.cis.server.filter.ClickjackFilter.doFilter(Unknown Source)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1040)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:315)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)

now it looks like you added a stage definition which is not required unless you have multiple instances of CentraSite and intend to use automatic asset promotion.

So it looks like you have something like this:
s1->s2->s3

And either on s1 or s2 you have added a stage definition.
Stage definitions are only needed of you have for example a setup like this:
s1->s2->s3 on CentraSite 1
s4->s5 on CentraSite 2

In such a setup one could add a stage to s3 to indicate that at this point one would promote to s4. A so called promotion state must be a final state of the lcm.
If you don’t have multiple instances of CentraSite don’t add stages.

Daniel

I have n’t added any stages , i am just adding states of SDLC life cycle like Requirements —> Modeling —> …Development …—> Suspension . Now that i have added all the states the previous error has disappeared rather it is giving me error as below , because of which i am not able to save the states.

java.lang.NullPointerException

java.lang.RuntimeException: java.lang.NullPointerException
at com.softwareag.centrasite.lcm.adapters.EditLCMModelAdapter.updateLCModel(EditLCMModelAdapter.java:534)
at com.softwareag.centrasite.lcm.adapters.EditLCMModelAdapter$LCMSaveOperation.execute(EditLCMModelAdapter.java:1388)
at com.centrasite.jaxr.LifeCycleManagerImpl$ExtensionPointImpl.run(LifeCycleManagerImpl.java:5186)
at com.softwareag.centrasite.lcm.adapters.EditLCMModelAdapter.register(EditLCMModelAdapter.java:1381)
at com.softwareag.centrasite.lcm.adapters.EditLCMModelAdapter.storeValuesInModel(EditLCMModelAdapter.java:1363)
at com.centrasite.control.ext.util.AbstractItemEditorAdapter$SaveItemCommand.execute(AbstractItemEditorAdapter.java:1170)
at com.centrasite.control.AbstractCommandExt.execute(AbstractCommandExt.java:178)
at com.centrasite.control.ext.util.AbstractItemEditorAdapter.onSave(AbstractItemEditorAdapter.java:462)
at com.softwareag.centrasite.lcm.adapters.EditLCMModelAdapter.onSave(EditLCMModelAdapter.java:467)
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 com.softwareag.cis.server.InteractionModel.invokeMethodInternally(Unknown Source)
at com.softwareag.cis.server.InteractionModel.invokeMethod(Unknown Source)
at com.softwareag.cis.server.XMLProcessor.processXML(Unknown Source)
at com.softwareag.cis.server.XMLProcessor.processXMLAndSerialize(Unknown Source)
at com.softwareag.cis.server.Connector.doPost(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at com.softwareag.cis.server.filter.ClickjackFilter.doFilter(Unknown Source)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1040)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:315)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.NullPointerException
at com.centrasite.lcm.LCStateImpl.removeNextState(LCStateImpl.java:379)
at com.softwareag.centrasite.lcm.adapters.EditLCMModelAdapter.removeOldTransitions(EditLCMModelAdapter.java:1481)
at com.softwareag.centrasite.lcm.adapters.EditLCMModelAdapter.addNextAndPreferredStates(EditLCMModelAdapter.java:1490)
at com.softwareag.centrasite.lcm.adapters.EditLCMModelAdapter.assignTransitionPermissions(EditLCMModelAdapter.java:1415)
at com.softwareag.centrasite.lcm.adapters.EditLCMModelAdapter.updateLCModel(EditLCMModelAdapter.java:526)
… 37 more

Yes , i checked that i had added the stage that promotion error went off , but still i an getting the above null pointer exception.

Can you either close your session by re-logging in or do a refresh (reload button at the right top) and try this again?

Also which version are you on and which fixes are applied?
Should the issue persist it may be best if you open a support ticket and have support investigate your environment.

Daniel

Thanks , I deleted the entire life cycle model and created it afresh the same way and it got created this time :slight_smile: . I am using version 9.7

Hi Archana/Daniel…

Could you please let me know how we can develop SDLC in LCM?I gone through our standard documentation but need more on it practically. Could you please let me know if we have any example or any basic practical understanding of transitions from one state to other states in LCM using built-in templates??

Thanks and Regards,
Sudhir.