dmytrolugovyi's profile

Monday, February 22nd, 2021 1:38 PM

OMRE (Operating Model Reverse Engineering)

This topic is created to discuss the current version of the OMRE (https://marketplace.collibra.com/listings/operating-model-reverse-engineering-omre/) as well as the possible improvements that could make this solution better.

7 Messages

3 months ago

@ravi_collibra seems like there are some issues on your instance in terms of operating model. OMRE provides appropriate loggers, without appropriate logs am unsure on what the issues could be. The workflow was tested thoroughly before release.

43 Messages

3 months ago

@mauthier.wlgore.com @ravi_collibra
The new version of the OMRE has been published on Collibra Marketplace - https://marketplace.collibra.com/listings/operating-model-reverse-engineering-omre/
To deploy the fix, you don’t need to redeploy everything but only one workflow which is OMRE-Extract.bpmn. If you keep getting the error with the new version of the workflow, please submit the log file here.

70 Messages

Thank you @lugovyi.dmytro. As mentioned by you, I have deployed only OMRE-Extract.bpmn.

But while running the workflow and choosing all the fields in the first form, the workflow is unable to start.

image

2024-02-09 02:11:02.995 [jobExecutor-5] INFO c.c.d.c.api.component.LoggerApiImpl - [OMRE] xxx out of xxx domains processed

2024-02-09 02:11:04.960 [jobExecutor-5] WARN c.c.d.w.s.g.b.SecureGroovyTaskActivityBehavior - Exception while executing scripttask_omre : groovy script evaluation failed: ‘javax.script.ScriptException: java.util.NoSuchElementException: Cannot access first() element from an empty List’ Trace: scopeType=bpmn, scopeDefinitionKey=scriptOperatingModelReverseEngineering, scopeDefinitionId=ffe39728-36a8-41ca-92bc-11a873425c1b, subScopeDefinitionKey=scripttask_omre, tenantId=, type=scriptTask

2024-02-09 02:11:04.960 [jobExecutor-5] ERROR c.c.d.c.w.a.WorkflowExceptionHandler - Error starting workflow with id: scriptOperatingModelReverseEngineering

org.flowable.common.engine.impl.scripting.FlowableScriptEvaluationException: groovy script evaluation failed: ‘javax.script.ScriptException: java.util.NoSuchElementException: Cannot access first() element from an empty List’ Trace: scopeType=bpmn, scopeDefinitionKey=scriptOperatingModelReverseEngineering, scopeDefinitionId=ffe39728-36a8-41ca-92bc-11a873425c1b, subScopeDefinitionKey=scripttask_omre, tenantId=, type=scriptTask

at org.flowable.common.engine.impl.scripting.ScriptingEngines.evaluate(ScriptingEngines.java:132)

Regards,
Ravi

43 Messages

hi @ravi_collibra
I’m trying to locate where exactly it’s failing but would be great to have a bigger log file so it will be possible to identify the place where the issue is. You could share it on [email protected]. Or just posted it here

70 Messages

Hi @lugovyi.dmytro,

I have sent you a mail with logs attached. Please review.

Regards,
Ravi

13 Messages

 • 

800 Points

Hi Ravi,

I was facing this problem before, for that I have to delete the older the assets & domains in the operating model community and start with a new one & it worked.
As the older scope values are immutable, we will face the same error.

Thanks,
Paresh

5 Messages

2 months ago

Hi,

Need some help with this…Installed latest version 1.2.1, which is failing as below.

2024-02-26 11:13:47.285 [jobExecutor-5] INFO  c.c.d.c.api.component.LoggerApiImpl - [OMRE]  Community 'Operations [f98bb80c-2149-4d62-ba58-f47d41ad470c]' has empty UUID attribute [authenticated_id=feb855f7-b879-4b95-ac41-65aa50020f26, session_hash=4ce0ceb1f8c5c221d72b151d498e868f, trace_id=750ac59140ebb35d8e5be9382742aa12, trace_flags=01, span_id=3f4f6ac3a9729fe8]
2024-02-26 11:13:47.296 [jobExecutor-5] WARN  c.c.d.w.s.g.b.SecureGroovyTaskActivityBehavior - Exception while executing scripttask_omre : groovy script evaluation failed: 'javax.script.ScriptException: com.collibra.dgc.core.exceptions.DGCException: Operations doesn't have UUID ' Trace: scopeType=bpmn, scopeDefinitionKey=scriptOperatingModelReverseEngineering, scopeDefinitionId=8121a59f-376a-4936-8fd4-509f50145bbb, subScopeDefinitionKey=scripttask_omre, tenantId=
  , type=scriptTask [authenticated_id=feb855f7-b879-4b95-ac41-65aa50020f26, session_hash=4ce0ceb1f8c5c221d72b151d498e868f, trace_id=750ac59140ebb35d8e5be9382742aa12, trace_flags=01, span_id=06f3713743af4127]
2024-02-26 11:13:47.296 [jobExecutor-5] ERROR c.c.d.c.w.a.WorkflowExceptionHandler - Error starting workflow with id: scriptOperatingModelReverseEngineering [authenticated_id=feb855f7-b879-4b95-ac41-65aa50020f26, session_hash=4ce0ceb1f8c5c221d72b151d498e868f, trace_id=750ac59140ebb35d8e5be9382742aa12, trace_flags=01, span_id=06f3713743af4127]
org.flowable.common.engine.impl.scripting.FlowableScriptEvaluationException: groovy script evaluation failed: 'javax.script.ScriptException: com.collibra.dgc.core.exceptions.DGCException: Operations doesn't have UUID ' Trace: scopeType=bpmn, scopeDefinitionKey=scriptOperatingModelReverseEngineering, scopeDefinitionId=8121a59f-376a-4936-8fd4-509f50145bbb, subScopeDefinitionKey=scripttask_omre, tenantId=
   , type=scriptTask
	at org.flowable.common.engine.impl.scripting.ScriptingEngines.evaluate(ScriptingEngines.java:110)
	at org.flowable.common.engine.impl.scripting.ScriptingEngines.evaluate(ScriptingEngines.java:83)
	at org.flowable.common.engine.impl.scripting.ScriptingEngines.evaluate(ScriptingEngines.java:77)
	at com.collibra.dgc.workflow.security.groovy.behavior.SecureGroovyTaskActivityBehavior.execute(SecureGroovyTaskActivityBehavior.java:86)
	at org.flowable.engine.impl.agenda.ContinueProcessOperation.executeActivityBehavior(ContinueProcessOperation.java:298)
	at org.flowable.engine.impl.agenda.ContinueProcessOperation.executeSynchronous(ContinueProcessOperation.java:175)
	at org.flowable.engine.impl.agenda.ContinueProcessOperation.continueThroughFlowNode(ContinueProcessOperation.java:125)
	at org.flowable.engine.impl.agenda.ContinueProcessOperation.run(ContinueProcessOperation.java:88)
	at org.flowable.common.engine.impl.AbstractEngineConfiguration.lambda$new$0(AbstractEngineConfiguration.java:196)
	at org.flowable.engine.impl.interceptor.CommandInvoker.executeOperation(CommandInvoker.java:166)
	at org.flowable.engine.impl.interceptor.CommandInvoker.executeOperations(CommandInvoker.java:121)
	at org.flowable.engine.impl.interceptor.CommandInvoker.execute(CommandInvoker.java:77)
	at org.flowable.engine.impl.interceptor.BpmnOverrideContextInterceptor.execute(BpmnOverrideContextInterceptor.java:26)
	at org.flowable.common.engine.impl.interceptor.TransactionContextInterceptor.execute(TransactionContextInterceptor.java:53)
	at org.flowable.common.engine.impl.interceptor.CommandContextInterceptor.execute(CommandContextInterceptor.java:105)
	at org.flowable.common.spring.SpringTransactionInterceptor.execute(SpringTransactionInterceptor.java:52)
	at org.flowable.common.engine.impl.interceptor.LogInterceptor.execute(LogInterceptor.java:30)
	at com.collibra.dgc.core.workflow.activiti.extensions.CustomCommandInterceptor.execute(CustomCommandInterceptor.java:24)
	at org.flowable.common.engine.impl.cfg.CommandExecutorImpl.execute(CommandExecutorImpl.java:56)
	at org.flowable.common.engine.impl.cfg.CommandExecutorImpl.execute(CommandExecutorImpl.java:51)
	at com.collibra.dgc.core.workflow.activiti.WorkflowEngineImpl.startProcessWithFormProperties(WorkflowEngineImpl.java:419)
	at com.collibra.dgc.core.workflow.activiti.WorkflowEngineImpl.lambda$startProcess$3(WorkflowEngineImpl.java:441)
	at com.collibra.dgc.core.workflow.activiti.WorkflowEngineImpl.lambda$startProcessTemplate$5(WorkflowEngineImpl.java:466)
	at com.collibra.dgc.core.workflow.activiti.WorkflowExceptionHandler$Executor.execute(WorkflowExceptionHandler.java:169)
	at com.collibra.dgc.core.workflow.activiti.WorkflowEngineImpl.startProcessTemplate(WorkflowEngineImpl.java:464)
	at com.collibra.dgc.core.workflow.activiti.WorkflowEngineImpl.startProcess(WorkflowEngineImpl.java:437)
	at com.collibra.dgc.core.workflow.impl.WorkflowActionServiceImpl.startWorkflow(WorkflowActionServiceImpl.java:477)
	at com.collibra.dgc.core.workflow.impl.WorkflowActionServiceImpl.startWorkflow(WorkflowActionServiceImpl.java:156)
	at com.collibra.dgc.core.workflow.impl.job.WorkflowJobRunner.startWorkflowForItem(WorkflowJobRunner.java:55)
	at com.collibra.dgc.core.workflow.impl.job.AbstractWorkflowJobRunner.startForBusinessItems(AbstractWorkflowJobRunner.java:75)
	at com.collibra.dgc.core.workflow.impl.job.AbstractWorkflowJobRunner.run(AbstractWorkflowJobRunner.java:57)
	at com.collibra.dgc.core.workflow.impl.job.WorkflowJobRunner.run(WorkflowJobRunner.java:24)
	at com.collibra.job.api.IJobRunner.execute(IJobRunner.java:53)
	at com.collibra.dgc.core.service.job.impl.JobServiceImpl$RunJob$1.doInTransactionWithoutResult(JobServiceImpl.java:1233)
	at org.springframework.transaction.support.TransactionCallbackWithoutResult.doInTransaction(TransactionCallbackWithoutResult.java:36)
	at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:140)
	at com.collibra.dgc.core.exceptions.ExceptionResolvingWithCachingTransactionTemplate.execute(ExceptionResolvingWithCachingTransactionTemplate.java:28)
	at com.collibra.dgc.core.service.job.impl.JobServiceImpl$RunJob.runJobInTransaction(JobServiceImpl.java:1227)
	at com.collibra.dgc.core.service.job.impl.JobServiceImpl$RunJob.postInitRun(JobServiceImpl.java:1132)
	at com.collibra.dgc.core.service.job.impl.JobServiceImpl$RunJob.run(JobServiceImpl.java:1094)
	at io.micrometer.core.instrument.composite.CompositeTimer.record(CompositeTimer.java:141)
	at io.micrometer.core.instrument.Timer.lambda$wrap$0(Timer.java:196)
	at org.springframework.security.concurrent.DelegatingSecurityContextRunnable.run(DelegatingSecurityContextRunnable.java:94)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.base/java.lang.Thread.run(Unknown Source)
Caused by: javax.script.ScriptException: javax.script.ScriptException: com.collibra.dgc.core.exceptions.DGCException: Operations doesn't have UUID 
	at org.codehaus.groovy.jsr223.GroovyScriptEngineImpl.
	at java.scripting/javax.script.AbstractScriptEngine.
	at org.flowable.common.engine.impl.scripting.ScriptingEngines.evaluate(ScriptingEngines.java:89)
	... 45 common frames omitted
Caused by: javax.script.ScriptException: com.collibra.dgc.core.exceptions.DGCException: Operations doesn't have UUID 
	at org.codehaus.groovy.jsr223.GroovyScriptEngineImpl.
	at org.codehaus.groovy.jsr223.GroovyScriptEngineImpl.
	... 47 common frames omitted
Caused by: com.collibra.dgc.core.exceptions.DGCException: Operations doesn't have UUID 
	at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
	at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
	at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Unknown Source)
	at java.base/java.lang.reflect.Constructor.newInstance(Unknown Source)
	at org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:72)
	at org.codehaus.groovy.reflection.CachedConstructor.doConstructorInvoke(CachedConstructor.java:59)
	at org.codehaus.groovy.runtime.callsite.ConstructorSite.callConstructor(ConstructorSite.java:45)
	at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallConstructor(CallSiteArray.java:59)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:263)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:277)
	at Script29$_run_closure8$_closure56.doCall(Script29.groovy:510)
	at jdk.internal.reflect.GeneratedMethodAccessor5025.invoke(Unknown Source)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.base/java.lang.reflect.Method.invoke(Unknown Source)
	at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:107)
	at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:323)
	at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:274)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1030)
	at groovy.lang.Closure.call(Closure.java:427)
	at groovy.lang.Closure.call(Closure.java:416)
	at org.codehaus.groovy.runtime.DefaultGroovyMethods.each(DefaultGroovyMethods.java:2359)
	at org.codehaus.groovy.runtime.DefaultGroovyMethods.each(DefaultGroovyMethods.java:2344)
	at org.codehaus.groovy.runtime.DefaultGroovyMethods.each(DefaultGroovyMethods.java:2385)
	at org.codehaus.groovy.runtime.dgm$202.invoke(Unknown Source)
	at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite$PojoMetaMethodSiteNoUnwrapNoCoerce.invoke(PojoMetaMethodSite.java:242)
	at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:51)
	at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:47)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:125)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:139)
	at Script29$_run_closure8.doCall(Script29.groovy:494)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.base/java.lang.reflect.Method.invoke(Unknown Source)
	at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:107)
	at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:323)
	at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:274)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1030)
	at groovy.lang.Closure.call(Closure.java:427)
	at groovy.lang.Closure.call(Closure.java:416)
	at org.codehaus.groovy.runtime.DefaultGroovyMethods.each(DefaultGroovyMethods.java:2359)
	at org.codehaus.groovy.runtime.DefaultGroovyMethods.each(DefaultGroovyMethods.java:2344)
	at org.codehaus.groovy.runtime.DefaultGroovyMethods.each(DefaultGroovyMethods.java:2385)
	at org.codehaus.groovy.runtime.dgm$202.invoke(Unknown Source)
	at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite$PojoMetaMethodSiteNoUnwrapNoCoerce.invoke(PojoMetaMethodSite.java:242)
	at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:51)
	at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:47)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:125)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:139)
	at Script29.run(Script29.groovy:491)
	at org.codehaus.groovy.jsr223.GroovyScriptEngineImpl.
	... 48 common frames omitted
   
  

7 Messages

 • 

250 Points

Hey, has there been any updates on this?

Loading...