cancel
Showing results for 
Search instead for 
Did you mean: 

NW 7.40: Container XY unavailable after changing namespace

Former Member
0 Kudos

Hi there,

I've deployed a new version of an existing BPM process which still has some running instances.

Those instances are running into the following error when they get processed further:


java.lang.IllegalStateException: Container '$http://xyz.com/approvalproduct/ui/wd/HandleRequestComponent/ports:HandleRequestCompleteEvent' unavailable

com.sap.mapping.lib.execution.api.exception.TExecutionException

at http://xyz.com/approvalproduct/ui/wd/HandleRequestComponent/ports:HandleRequestCompleteEvent( StandardChild )

at ( DeepExpression )

at http://www.example.org/Approval:Action( TerminalPart:expression )

at http://www.example.org/Approval:Status( BroadPart:child )

at xyz.com/approvalproduct/pr/pm/HandleRequest/Handle_request:DataObject( BroadPart:child )

at ( NarrowMapping )

at com.sap.mapping.lib.execution.implementation.rule.child.StandardChild.step(StandardChild.java:76)

at com.sap.mapping.lib.execution.implementation.rule.expression.DeepExpression$Resolver.resolve(DeepExpression.java:46)

at com.sap.mapping.lib.execution.implementation.rule.expression.DeepExpression$Resolver.resolve(DeepExpression.java:49)

at com.sap.mapping.lib.execution.implementation.rule.expression.DeepExpression$Resolver.resolve(DeepExpression.java:49)

at com.sap.mapping.lib.execution.implementation.rule.expression.DeepExpression$Resolver.<init>(DeepExpression.java:28)

at com.sap.mapping.lib.execution.implementation.rule.expression.DeepExpression.internalExpress(DeepExpression.java:78)

at com.sap.mapping.lib.execution.implementation.rule.expression.AbstractExpression.express(AbstractExpression.java:45)

at com.sap.mapping.lib.execution.implementation.rule.part.AbstractPart.processExpression(AbstractPart.java:131)

at com.sap.mapping.lib.execution.implementation.rule.part.AbstractPart.partake(AbstractPart.java:92)

at com.sap.mapping.lib.execution.implementation.rule.part.BroadPart.processChildren(BroadPart.java:43)

at com.sap.mapping.lib.execution.implementation.rule.part.AbstractPart.partake(AbstractPart.java:96)

at com.sap.mapping.lib.execution.implementation.rule.part.BroadPart.processChildren(BroadPart.java:43)

at com.sap.mapping.lib.execution.implementation.rule.part.AbstractPart.partake(AbstractPart.java:96)

at com.sap.mapping.lib.execution.implementation.rule.mapping.NarrowMapping.internalMap(NarrowMapping.java:40)

at com.sap.mapping.lib.execution.implementation.rule.mapping.AbstractMapping.map(AbstractMapping.java:44)

at com.sap.mapping.lib.execution.implementation.Runner.transform(Runner.java:66)

at com.sap.mapping.lib.execution.implementation.Runner.transform(Runner.java:43)

at com.sap.glx.core.internaladapter.Transformer$TransformerTemplateAccessor$MapperTemplate$MapperInvocationHandler.map

(Transformer.java:3332)

at com.sap.glx.core.internaladapter.Transformer$TransformerTemplateAccessor$MapperTemplate$MapperInvocationHandler.invoke

(Transformer.java:3310)

at com.sap.glx.core.internaladapter.Transformer$TransformerInvocationHandler.invoke(Transformer.java:3617)

at com.sap.glx.core.dock.impl.DockObjectImpl.invokeMethod(DockObjectImpl.java:657)

at com.sap.glx.core.kernel.trigger.config.Script$MethodInvocation.execute(Script.java:248)

at com.sap.glx.core.kernel.trigger.config.Script.execute(Script.java:798)

at com.sap.glx.core.kernel.execution.transition.ScriptTransition.execute(ScriptTransition.java:85)

at com.sap.glx.core.kernel.execution.transition.Transition.commence(Transition.java:201)

at com.sap.glx.core.kernel.execution.LeaderWorkerPool$Follower.run(LeaderWorkerPool.java:176)

at com.sap.glx.core.resource.impl.common.WorkWrapper.run(WorkWrapper.java:58)

at com.sap.glx.core.resource.impl.j2ee.J2EEResourceImpl$Sessionizer.run(J2EEResourceImpl.java:261)

at com.sap.glx.core.resource.impl.j2ee.ServiceUserManager$ServiceUserImpersonator$1.run(ServiceUserManager.java:165)

at java.security.AccessController.doPrivileged(Native Method)

at javax.security.auth.Subject.doAs(Subject.java:337)

at com.sap.glx.core.resource.impl.j2ee.ServiceUserManager$ServiceUserImpersonator.run(ServiceUserManager.java:162)

at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)

at java.security.AccessController.doPrivileged(Native Method)

at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:185)

at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:302)

Caused by: java.lang.IllegalStateException: Container '$http://xyz.com/approvalproduct/ui/wd/HandleRequestComponent/ports:HandleRequestCompleteEvent' unavailable

at com.sap.mapping.lib.execution.implementation.rule.child.StandardChild.step(StandardChild.java:72)

The problem might come from the fact that I've changed the namespace of all data types from www.example.org to www.xyz.com (without changing field names/attributes).

How can I "rescue" the existing instances?

Thanks in advance!

Best regards,

Thorsten.

Accepted Solutions (0)

Answers (1)

Answers (1)

junwu
Active Contributor
0 Kudos

how about changing back to old name?

Former Member
0 Kudos

Jun Wu wrote:

how about changing back to old name?

Because it took me a long time to change it!

And I'm not willing to change it back

If it's not possible to rescue the existing ones:

Can I at least download and recreate existing instances?

junwu
Active Contributor
0 Kudos

only u know.....what if the task is executed twice

technically you can start the process with same parameters again.

Former Member
0 Kudos

Hi Jun,

this is how the task looks like:

As you can see, InputData and OutputData are blank...

Normally it looks like that:

But it seems that it's not possible to suspend the process, change the context and resume it again afterwards...

Best regards,

Thorsten.