call activity with contract failed

1
0
-1

Hello,

when I call a sub-process with a call activity, it does not work when I send data within a contract knowing that I set the mapping (data to send and data to receive).

Thank you for your response.

Comments

Submitted by WorkBonita on Sat, 02/18/2017 - 06:21

I work with bonita 7 community version

Submitted by WorkBonita on Sat, 02/18/2017 - 06:27

Does anyone have a simple example that works?

Thank you.

Submitted by Sean McP on Sat, 02/18/2017 - 19:06

Have you checked the logs (Help->Engine Log) are there any messages there? Execute the process then open the log and start at the bottom. See if there are any errors there.

A Tip on displaying CODE/LOGS correctly in Posts:

Do not use the Supplied Buttons above, for some reason they refuse to work correctly, and despite bringing it to Bonitasofts attention, it's low priority.

To Show Code/Logs correctly use

< code >
your code/log
< /code >

and remove the spaces in < code >< /code > to allow the showing of code/logs correctly as here:

your code/log

Thanks and regards
Seán

1 answer

1
0
-1

Hi,
the messages in help-->engine log :

2017-02-20 06:11:56.870 +0100 INFOS: org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/bonita] No Spring WebApplicationInitializer types detected on classpath
2017-02-20 06:11:56.879 +0100 INFOS: org.bonitasoft.platform.setup.PlatformSetup System property org.bonitasoft.platform.setup.folder is set to /Applications/BonitaBPMCommunity-7.4.1/workspace/tomcat/setup
2017-02-20 06:11:56.900 +0100 INFOS: org.bonitasoft.platform.setup.PlatformSetup Connected to 'h2' database with url: 'jdbc:h2:file:/Applications/BonitaBPMCommunity-7.4.1/workspace/default/h2_database/bonita_journal.db' with user: 'SA'
2017-02-20 06:11:56.908 +0100 INFOS: org.bonitasoft.platform.setup.ScriptExecutor configuration for Database vendor: h2
2017-02-20 06:11:57.025 +0100 INFOS: org.bonitasoft.platform.setup.PlatformSetup Platform is already created. Nothing to do.
2017-02-20 06:11:57.028 +0100 INFOS: org.bonitasoft.engine.EngineInitializer Initializing Bonita Engine...
2017-02-20 06:11:57.205 +0100 INFOS: org.bonitasoft.engine.service.impl.BonitaSpringContext Refreshing org.bonitasoft.engine.service.impl.BonitaSpringContext@2a77bcba: startup date [Mon Feb 20 06:11:57 CET 2017]; root of context hierarchy
2017-02-20 06:11:57.516 +0100 INFOS: org.bonitasoft.engine.service.impl.BonitaSpringContext Refreshing org.bonitasoft.engine.service.impl.BonitaSpringContext@34fba480: startup date [Mon Feb 20 06:11:57 CET 2017]; parent: org.bonitasoft.engine.service.impl.BonitaSpringContext@2a77bcba
2017-02-20 06:12:08.438 +0100 INFOS: org.bonitasoft.engine.EngineInitializer Platform is already initialized.
2017-02-20 06:12:08.439 +0100 INFOS: org.bonitasoft.engine.EngineInitializer Starting node...
2017-02-20 06:12:08.457 +0100 INFOS: org.bonitasoft.engine.api.impl.PlatformAPIImpl THREAD_ID=26 | HOSTNAME=MacBook-Air-de-Ilis.local | Start service of platform : org.bonitasoft.engine.classloader.ClassLoaderServiceImpl
2017-02-20 06:12:08.457 +0100 INFOS: org.bonitasoft.engine.api.impl.PlatformAPIImpl THREAD_ID=26 | HOSTNAME=MacBook-Air-de-Ilis.local | Start service of platform : org.bonitasoft.engine.cache.ehcache.PlatformEhCacheCacheService
2017-02-20 06:12:08.608 +0100 INFOS: org.bonitasoft.engine.service.impl.BonitaSpringContext Refreshing org.bonitasoft.engine.service.impl.BonitaSpringContext@69408f84: startup date [Mon Feb 20 06:12:08 CET 2017]; parent: org.bonitasoft.engine.service.impl.BonitaSpringContext@34fba480
2017-02-20 06:12:10.046 +0100 INFOS: org.bonitasoft.engine.tracking.TimeTracker THREAD_ID=26 | HOSTNAME=MacBook-Air-de-Ilis.local | TENANT_ID=1 | -----
Time Tracker 'org.bonitasoft.engine.tracking.TimeTracker':
- trackingEnabled: false
- flushIntervalInSeconds: 30000
- activatedRecords: EXECUTE_CONNECTOR_INCLUDING_POOL_SUBMIT EVALUATE_EXPRESSIONS EXECUTE_CONNECTOR_OUTPUT_OPERATIONS EVALUATE_EXPRESSION_INCLUDING_CONTEXT EXECUTE_CONNECTOR_CALLABLE EXECUTE_CONNECTOR_DISCONNECT EXECUTE_CONNECTOR_INPUT_EXPRESSIONS EXECUTE_CONNECTOR_WORK EVALUATE_EXPRESSION
- flushEventListeners: org.bonitasoft.engine.tracking.memory.MemoryFlushEventListener:
active: false
No DayRecord registered in memory. org.bonitasoft.engine.tracking.csv.CSVFlushEventListener:
active: true
outputFolder: /Applications/BonitaBPMCommunity-7.4.1/workspace/tomcat/server/temp

  • records.size: 0
  • last flush occurrence: Thu Jan 01 01:00:00 CET 1970

2017-02-20 06:12:10.841 +0100 INFOS: org.bonitasoft.engine.execution.work.RestartFlowNodesHandler THREAD_ID=26 | HOSTNAME=MacBook-Air-de-Ilis.local | TENANT_ID=1 | Restarting flow nodes...
2017-02-20 06:12:10.861 +0100 INFOS: org.bonitasoft.engine.execution.work.RestartFlowNodesHandler THREAD_ID=26 | HOSTNAME=MacBook-Air-de-Ilis.local | TENANT_ID=1 | Found 0 flow nodes to restart on tenant 1
2017-02-20 06:12:10.878 +0100 INFOS: org.bonitasoft.engine.execution.work.RestartProcessHandler THREAD_ID=26 | HOSTNAME=MacBook-Air-de-Ilis.local | TENANT_ID=1 | Found 0 process to restart on tenant 1
2017-02-20 06:12:10.882 +0100 INFOS: org.bonitasoft.engine.execution.work.MessagesRestartHandler THREAD_ID=26 | HOSTNAME=MacBook-Air-de-Ilis.local | TENANT_ID=1 | Reinitializing message instances in non-stable state to make them reworked by MessagesHandlingService
2017-02-20 06:12:10.893 +0100 INFOS: org.bonitasoft.engine.execution.work.MessagesRestartHandler THREAD_ID=26 | HOSTNAME=MacBook-Air-de-Ilis.local | TENANT_ID=1 | 0 message instances found and reset.
2017-02-20 06:12:10.894 +0100 INFOS: org.bonitasoft.engine.execution.work.MessagesRestartHandler THREAD_ID=26 | HOSTNAME=MacBook-Air-de-Ilis.local | TENANT_ID=1 | Reinitializing waiting message events in non-stable state to make them reworked by MessagesHandlingService
2017-02-20 06:12:10.898 +0100 INFOS: org.bonitasoft.engine.execution.work.MessagesRestartHandler THREAD_ID=26 | HOSTNAME=MacBook-Air-de-Ilis.local | TENANT_ID=1 | 0 waiting message events found and reset.
2017-02-20 06:12:11.090 +0100 INFOS: org.bonitasoft.engine.api.impl.transaction.SetServiceState THREAD_ID=26 | HOSTNAME=MacBook-Air-de-Ilis.local | TENANT_ID=1 | start tenant-level service org.bonitasoft.engine.message.MessagesHandlingService on tenant with ID 1
2017-02-20 06:12:11.090 +0100 INFOS: org.bonitasoft.engine.message.MessagesHandlingService THREAD_ID=26 | HOSTNAME=MacBook-Air-de-Ilis.local | TENANT_ID=1 | Starting thread that handle messages.
2017-02-20 06:12:11.095 +0100 INFOS: org.bonitasoft.engine.api.impl.transaction.SetServiceState THREAD_ID=26 | HOSTNAME=MacBook-Air-de-Ilis.local | TENANT_ID=1 | start tenant-level service org.bonitasoft.engine.command.api.impl.CommandServiceImpl on tenant with ID 1
2017-02-20 06:12:11.170 +0100 INFOS: org.bonitasoft.engine.api.impl.transaction.SetServiceState THREAD_ID=26 | HOSTNAME=MacBook-Air-de-Ilis.local | TENANT_ID=1 | start tenant-level service org.bonitasoft.engine.connector.impl.ConnectorExecutorImpl on tenant with ID 1
2017-02-20 06:12:11.172 +0100 INFOS: org.bonitasoft.engine.api.impl.transaction.SetServiceState THREAD_ID=26 | HOSTNAME=MacBook-Air-de-Ilis.local | TENANT_ID=1 | start tenant-level service org.bonitasoft.engine.work.ExecutorWorkService on tenant with ID 1
2017-02-20 06:12:11.175 +0100 INFOS: org.bonitasoft.engine.api.impl.transaction.SetServiceState THREAD_ID=26 | HOSTNAME=MacBook-Air-de-Ilis.local | TENANT_ID=1 | start tenant-level service org.bonitasoft.engine.tracking.TimeTracker on tenant with ID 1
2017-02-20 06:12:11.175 +0100 INFOS: org.bonitasoft.engine.tracking.TimeTracker THREAD_ID=26 | HOSTNAME=MacBook-Air-de-Ilis.local | TENANT_ID=1 | Starting TimeTracker...
2017-02-20 06:12:11.176 +0100 INFOS: org.bonitasoft.engine.tracking.TimeTracker THREAD_ID=26 | HOSTNAME=MacBook-Air-de-Ilis.local | TENANT_ID=1 | TimeTracker started.
2017-02-20 06:12:11.177 +0100 INFOS: org.bonitasoft.engine.api.impl.transaction.SetServiceState THREAD_ID=26 | HOSTNAME=MacBook-Air-de-Ilis.local | TENANT_ID=1 | start tenant-level service org.bonitasoft.engine.theme.impl.ThemeServiceImpl on tenant with ID 1
2017-02-20 06:12:11.340 +0100 INFOS: org.bonitasoft.engine.api.impl.transaction.SetServiceState THREAD_ID=26 | HOSTNAME=MacBook-Air-de-Ilis.local | TENANT_ID=1 | start tenant-level service org.bonitasoft.engine.service.impl.PermissionServiceImpl on tenant with ID 1
2017-02-20 06:12:11.368 +0100 INFOS: org.bonitasoft.engine.api.impl.transaction.SetServiceState THREAD_ID=26 | HOSTNAME=MacBook-Air-de-Ilis.local | TENANT_ID=1 | start tenant-level service org.bonitasoft.engine.page.impl.PageServiceImpl on tenant with ID 1
2017-02-20 06:12:12.489 +0100 INFOS: org.bonitasoft.engine.api.impl.transaction.SetServiceState THREAD_ID=26 | HOSTNAME=MacBook-Air-de-Ilis.local | TENANT_ID=1 | start tenant-level service org.bonitasoft.engine.cache.ehcache.EhCacheCacheService on tenant with ID 1
2017-02-20 06:12:12.490 +0100 INFOS: org.bonitasoft.engine.api.impl.transaction.SetServiceState THREAD_ID=26 | HOSTNAME=MacBook-Air-de-Ilis.local | TENANT_ID=1 | start tenant-level service org.bonitasoft.engine.business.data.impl.JPABusinessDataRepositoryImpl on tenant with ID 1
2017-02-20 06:12:12.627 +0100 INFOS: org.bonitasoft.engine.scheduler.impl.BonitaSchedulerFactory Using default implementation for ThreadExecutor
2017-02-20 06:12:12.672 +0100 INFOS: org.bonitasoft.engine.scheduler.impl.BonitaJobStoreCMT Using db table-based data access locking (synchronization).
2017-02-20 06:12:12.676 +0100 INFOS: org.bonitasoft.engine.scheduler.impl.BonitaJobStoreCMT JobStoreCMT initialized.
2017-02-20 06:12:12.678 +0100 INFOS: org.bonitasoft.engine.scheduler.impl.BonitaSchedulerFactory Quartz scheduler 'QuartzScheduler' initialized from an externally provided properties instance.
2017-02-20 06:12:12.679 +0100 INFOS: org.bonitasoft.engine.scheduler.impl.BonitaSchedulerFactory Quartz scheduler version: 2.2.1
2017-02-20 06:12:12.689 +0100 INFOS: org.bonitasoft.engine.scheduler.impl.SchedulerServiceImpl THREAD_ID=26 | HOSTNAME=MacBook-Air-de-Ilis.local | Start scheduler
2017-02-20 06:12:12.705 +0100 INFOS: org.bonitasoft.engine.scheduler.impl.BonitaJobStoreCMT Freed 0 triggers from 'acquired' / 'blocked' state.
2017-02-20 06:12:12.707 +0100 INFOS: org.bonitasoft.engine.scheduler.impl.BonitaJobStoreCMT Handling 1 trigger(s) that missed their scheduled fire-time.
2017-02-20 06:12:12.774 +0100 INFOS: org.bonitasoft.engine.scheduler.impl.BonitaJobStoreCMT Recovering 0 jobs that were in-progress at the time of the last shut-down.
2017-02-20 06:12:12.775 +0100 INFOS: org.bonitasoft.engine.scheduler.impl.BonitaJobStoreCMT Recovery complete.
2017-02-20 06:12:12.776 +0100 INFOS: org.bonitasoft.engine.scheduler.impl.BonitaJobStoreCMT Removed 0 'complete' triggers.
2017-02-20 06:12:12.776 +0100 INFOS: org.bonitasoft.engine.scheduler.impl.BonitaJobStoreCMT Removed 0 stale fired job entries.
2017-02-20 06:12:12.786 +0100 INFOS: org.bonitasoft.engine.handler.SchedulerServiceRestartHandler THREAD_ID=26 | HOSTNAME=MacBook-Air-de-Ilis.local | Rescheduling all scheduler Triggers in ERROR state
2017-02-20 06:12:12.801 +0100 INFOS: org.bonitasoft.engine.api.impl.StarterThread THREAD_ID=26 | HOSTNAME=MacBook-Air-de-Ilis.local | Restarting elements in the Thread 41
2017-02-20 06:12:12.804 +0100 INFOS: org.bonitasoft.engine.api.impl.StarterThread THREAD_ID=41 | HOSTNAME=MacBook-Air-de-Ilis.local | Restarting elements for tenant 1
2017-02-20 06:12:12.805 +0100 INFOS: org.bonitasoft.engine.execution.work.RestartFlowNodesHandler THREAD_ID=41 | HOSTNAME=MacBook-Air-de-Ilis.local | TENANT_ID=1 | Restarting 0 flow nodes for tenant 1
2017-02-20 06:12:12.809 +0100 INFOS: org.bonitasoft.engine.execution.work.RestartProcessHandler THREAD_ID=41 | HOSTNAME=MacBook-Air-de-Ilis.local | TENANT_ID=1 | Restarting 0 processes for tenant 1
2017-02-20 06:12:12.817 +0100 INFOS: org.bonitasoft.engine.EngineInitializer Node started successfully.
2017-02-20 06:12:12.818 +0100 INFOS: org.bonitasoft.engine.EngineInitializer Initialization of Bonita Engine done! ( took 15790ms)
2017-02-20 06:12:12.837 +0100 INFOS: org.bonitasoft.engine.profile.DefaultProfilesUpdater THREAD_ID=41 | HOSTNAME=MacBook-Air-de-Ilis.local | TENANT_ID=1 | Default profiles not up to date, updating them...
2017-02-20 06:12:13.068 +0100 INFOS: org.bonitasoft.engine.profile.DefaultProfilesUpdater THREAD_ID=41 | HOSTNAME=MacBook-Air-de-Ilis.local | TENANT_ID=1 | Updated default profiles [ImportStatus [name=User, status=REPLACED, errors=[]], ImportStatus [name=Administrator, status=REPLACED, errors=[]]]
2017-02-20 06:12:19.231 +0100 INFOS: org.bonitasoft.web.designer.SpringWebApplicationInitializer
2017-02-20 06:12:19.231 +0100 INFOS: org.bonitasoft.web.designer.SpringWebApplicationInitializer d8888b. .d88b. d8b db d888888b d888888b .d8b. .d8888. .d88b. d88888b d888888b
2017-02-20 06:12:19.231 +0100 INFOS: org.bonitasoft.web.designer.SpringWebApplicationInitializer 88 8D .8P Y8. 888o 8888' ~~88~~' d8'8b 88' YP .8P Y8. 88' ~~88~~'
2017-02-20 06:12:19.231 +0100 INFOS: org.bonitasoft.web.designer.SpringWebApplicationInitializer 88oooY' 88 88 88V8o 88 88 88 88ooo88
8bo. 88 88 88ooo 88
2017-02-20 06:12:19.232 +0100 INFOS: org.bonitasoft.web.designer.SpringWebApplicationInitializer 88~~~b. 88 88 88 V8o88 88 88 88~~~88 Y8b. 88 88 88~~~ 88
2017-02-20 06:12:19.232 +0100 INFOS: org.bonitasoft.web.designer.SpringWebApplicationInitializer 88 8D
8b d8' 88 V888 .88. 88 88 88 db 8D 8b d8' 88 88
2017-02-20 06:12:19.232 +0100 INFOS: org.bonitasoft.web.designer.SpringWebApplicationInitializer Y8888P'
Y88P' VP V8P Y888888P YP YP YP 8888Y'Y88P' YP YP
2017-02-20 06:12:19.235 +0100 INFOS: org.bonitasoft.web.designer.SpringWebApplicationInitializer ====================================================================================================
2017-02-20 06:12:19.236 +0100 INFOS: org.bonitasoft.web.designer.SpringWebApplicationInitializer UI-DESIGNER : Community edition v.1.4.26
2017-02-20 06:12:19.236 +0100 INFOS: org.bonitasoft.web.designer.SpringWebApplicationInitializer ====================================================================================================
2017-02-20 06:12:19.697 +0100 INFOS: org.bonitasoft.web.designer.config.DesignerConfigConditional Conf loaded : Community edition
2017-02-20 06:12:19.858 +0100 INFOS: org.bonitasoft.web.designer.config.DesignerConfigConditional Conf loaded : Community edition
2017-02-20 06:12:19.900 +0100 INFOS: org.bonitasoft.web.designer.config.DesignerConfigConditional Conf loaded : Community edition
2017-02-20 06:12:25.846 +0100 INFOS: org.bonitasoft.web.designer.config.WebMvcConfiguration Adding welcome page: file:/Applications/BonitaBPMCommunity-7.4.1/workspace/tomcat/server/webapps/designer/WEB-INF/classes/static/index.html
2017-02-20 06:12:26.335 +0100 AVERTISSEMENT: org.bonitasoft.console.server.listener.StudioWatchdogListener Bonita Studio watchdog process has started on port 6969 with a delay set to 20000 ms
2017-02-20 06:12:28.533 +0100 INFOS: org.bonitasoft.engine.api.impl.transaction.SetServiceState THREAD_ID=65 | HOSTNAME=MacBook-Air-de-Ilis.local | TENANT_ID=1 | pause tenant-level service org.bonitasoft.engine.message.MessagesHandlingService on tenant with ID 1
2017-02-20 06:12:28.534 +0100 INFOS: org.bonitasoft.engine.message.MessagesHandlingService THREAD_ID=65 | HOSTNAME=MacBook-Air-de-Ilis.local | TENANT_ID=1 | Stopping thread that handle messages...
2017-02-20 06:12:28.534 +0100 INFOS: org.bonitasoft.engine.message.MessagesHandlingService THREAD_ID=65 | HOSTNAME=MacBook-Air-de-Ilis.local | TENANT_ID=1 | Thread that handle messages successfully stopped.
2017-02-20 06:12:28.535 +0100 INFOS: org.bonitasoft.engine.api.impl.transaction.SetServiceState THREAD_ID=65 | HOSTNAME=MacBook-Air-de-Ilis.local | TENANT_ID=1 | pause tenant-level service org.bonitasoft.engine.command.api.impl.CommandServiceImpl on tenant with ID 1
2017-02-20 06:12:28.536 +0100 INFOS: org.bonitasoft.engine.api.impl.transaction.SetServiceState THREAD_ID=65 | HOSTNAME=MacBook-Air-de-Ilis.local | TENANT_ID=1 | pause tenant-level service org.bonitasoft.engine.connector.impl.ConnectorExecutorImpl on tenant with ID 1
2017-02-20 06:12:28.536 +0100 INFOS: org.bonitasoft.engine.api.impl.transaction.SetServiceState THREAD_ID=65 | HOSTNAME=MacBook-Air-de-Ilis.local | TENANT_ID=1 | pause tenant-level service org.bonitasoft.engine.work.ExecutorWorkService on tenant with ID 1
2017-02-20 06:12:28.537 +0100 INFOS: org.bonitasoft.engine.work.BonitaThreadPoolExecutor THREAD_ID=65 | HOSTNAME=MacBook-Air-de-Ilis.local | TENANT_ID=1 | Clearing queue of work, had 0 elements
2017-02-20 06:12:28.538 +0100 INFOS: org.bonitasoft.engine.work.ExecutorWorkService THREAD_ID=65 | HOSTNAME=MacBook-Air-de-Ilis.local | TENANT_ID=1 | Stopped executor service
2017-02-20 06:12:28.538 +0100 INFOS: org.bonitasoft.engine.api.impl.transaction.SetServiceState THREAD_ID=65 | HOSTNAME=MacBook-Air-de-Ilis.local | TENANT_ID=1 | pause tenant-level service org.bonitasoft.engine.tracking.TimeTracker on tenant with ID 1
2017-02-20 06:12:28.539 +0100 INFOS: org.bonitasoft.engine.tracking.TimeTracker THREAD_ID=65 | HOSTNAME=MacBook-Air-de-Ilis.local | TENANT_ID=1 | Stopping TimeTracker...
2017-02-20 06:12:28.540 +0100 INFOS: org.bonitasoft.engine.tracking.TimeTracker THREAD_ID=65 | HOSTNAME=MacBook-Air-de-Ilis.local | TENANT_ID=1 | TimeTracker stopped.
2017-02-20 06:12:28.540 +0100 INFOS: org.bonitasoft.engine.api.impl.transaction.SetServiceState THREAD_ID=65 | HOSTNAME=MacBook-Air-de-Ilis.local | TENANT_ID=1 | pause tenant-level service org.bonitasoft.engine.theme.impl.ThemeServiceImpl on tenant with ID 1
2017-02-20 06:12:28.540 +0100 INFOS: org.bonitasoft.engine.api.impl.transaction.SetServiceState THREAD_ID=65 | HOSTNAME=MacBook-Air-de-Ilis.local | TENANT_ID=1 | pause tenant-level service org.bonitasoft.engine.service.impl.PermissionServiceImpl on tenant with ID 1
2017-02-20 06:12:28.540 +0100 INFOS: org.bonitasoft.engine.api.impl.transaction.SetServiceState THREAD_ID=65 | HOSTNAME=MacBook-Air-de-Ilis.local | TENANT_ID=1 | pause tenant-level service org.bonitasoft.engine.page.impl.PageServiceImpl on tenant with ID 1
2017-02-20 06:12:28.541 +0100 INFOS: org.bonitasoft.engine.api.impl.transaction.SetServiceState THREAD_ID=65 | HOSTNAME=MacBook-Air-de-Ilis.local | TENANT_ID=1 | pause tenant-level service org.bonitasoft.engine.cache.ehcache.EhCacheCacheService on tenant with ID 1
2017-02-20 06:12:28.541 +0100 INFOS: org.bonitasoft.engine.api.impl.transaction.SetServiceState THREAD_ID=65 | HOSTNAME=MacBook-Air-de-Ilis.local | TENANT_ID=1 | pause tenant-level service org.bonitasoft.engine.business.data.impl.JPABusinessDataRepositoryImpl on tenant with ID 1
2017-02-20 06:12:31.176 +0100 INFOS: org.bonitasoft.engine.execution.work.RestartFlowNodesHandler THREAD_ID=65 | HOSTNAME=MacBook-Air-de-Ilis.local | TENANT_ID=1 | Restarting flow nodes...
2017-02-20 06:12:31.179 +0100 INFOS: org.bonitasoft.engine.execution.work.RestartFlowNodesHandler THREAD_ID=65 | HOSTNAME=MacBook-Air-de-Ilis.local | TENANT_ID=1 | Found 0 flow nodes to restart on tenant 1
2017-02-20 06:12:31.181 +0100 INFOS: org.bonitasoft.engine.execution.work.RestartProcessHandler THREAD_ID=65 | HOSTNAME=MacBook-Air-de-Ilis.local | TENANT_ID=1 | Found 0 process to restart on tenant 1
2017-02-20 06:12:31.181 +0100 INFOS: org.bonitasoft.engine.execution.work.MessagesRestartHandler THREAD_ID=65 | HOSTNAME=MacBook-Air-de-Ilis.local | TENANT_ID=1 | Reinitializing message instances in non-stable state to make them reworked by MessagesHandlingService
2017-02-20 06:12:31.183 +0100 INFOS: org.bonitasoft.engine.execution.work.MessagesRestartHandler THREAD_ID=65 | HOSTNAME=MacBook-Air-de-Ilis.local | TENANT_ID=1 | 0 message instances found and reset.
2017-02-20 06:12:31.183 +0100 INFOS: org.bonitasoft.engine.execution.work.MessagesRestartHandler THREAD_ID=65 | HOSTNAME=MacBook-Air-de-Ilis.local | TENANT_ID=1 | Reinitializing waiting message events in non-stable state to make them reworked by MessagesHandlingService
2017-02-20 06:12:31.184 +0100 INFOS: org.bonitasoft.engine.execution.work.MessagesRestartHandler THREAD_ID=65 | HOSTNAME=MacBook-Air-de-Ilis.local | TENANT_ID=1 | 0 waiting message events found and reset.
2017-02-20 06:12:31.303 +0100 INFOS: org.bonitasoft.engine.api.impl.transaction.SetServiceState THREAD_ID=65 | HOSTNAME=MacBook-Air-de-Ilis.local | TENANT_ID=1 | resume tenant-level service org.bonitasoft.engine.message.MessagesHandlingService on tenant with ID 1
2017-02-20 06:12:31.303 +0100 INFOS: org.bonitasoft.engine.message.MessagesHandlingService THREAD_ID=65 | HOSTNAME=MacBook-Air-de-Ilis.local | TENANT_ID=1 | Starting thread that handle messages.
2017-02-20 06:12:31.303 +0100 INFOS: org.bonitasoft.engine.api.impl.transaction.SetServiceState THREAD_ID=65 | HOSTNAME=MacBook-Air-de-Ilis.local | TENANT_ID=1 | resume tenant-level service org.bonitasoft.engine.command.api.impl.CommandServiceImpl on tenant with ID 1
2017-02-20 06:12:31.304 +0100 INFOS: org.bonitasoft.engine.api.impl.transaction.SetServiceState THREAD_ID=65 | HOSTNAME=MacBook-Air-de-Ilis.local | TENANT_ID=1 | resume tenant-level service org.bonitasoft.engine.connector.impl.ConnectorExecutorImpl on tenant with ID 1
2017-02-20 06:12:31.304 +0100 INFOS: org.bonitasoft.engine.api.impl.transaction.SetServiceState THREAD_ID=65 | HOSTNAME=MacBook-Air-de-Ilis.local | TENANT_ID=1 | resume tenant-level service org.bonitasoft.engine.work.ExecutorWorkService on tenant with ID 1
2017-02-20 06:12:31.305 +0100 INFOS: org.bonitasoft.engine.api.impl.transaction.SetServiceState THREAD_ID=65 | HOSTNAME=MacBook-Air-de-Ilis.local | TENANT_ID=1 | resume tenant-level service org.bonitasoft.engine.tracking.TimeTracker on tenant with ID 1
2017-02-20 06:12:31.305 +0100 INFOS: org.bonitasoft.engine.tracking.TimeTracker THREAD_ID=65 | HOSTNAME=MacBook-Air-de-Ilis.local | TENANT_ID=1 | Starting TimeTracker...
2017-02-20 06:12:31.305 +0100 INFOS: org.bonitasoft.engine.tracking.TimeTracker THREAD_ID=65 | HOSTNAME=MacBook-Air-de-Ilis.local | TENANT_ID=1 | TimeTracker started.
2017-02-20 06:12:31.306 +0100 INFOS: org.bonitasoft.engine.api.impl.transaction.SetServiceState THREAD_ID=65 | HOSTNAME=MacBook-Air-de-Ilis.local | TENANT_ID=1 | resume tenant-level service org.bonitasoft.engine.theme.impl.ThemeServiceImpl on tenant with ID 1
2017-02-20 06:12:31.306 +0100 INFOS: org.bonitasoft.engine.api.impl.transaction.SetServiceState THREAD_ID=65 | HOSTNAME=MacBook-Air-de-Ilis.local | TENANT_ID=1 | resume tenant-level service org.bonitasoft.engine.service.impl.PermissionServiceImpl on tenant with ID 1
2017-02-20 06:12:31.315 +0100 INFOS: org.bonitasoft.engine.api.impl.transaction.SetServiceState THREAD_ID=65 | HOSTNAME=MacBook-Air-de-Ilis.local | TENANT_ID=1 | resume tenant-level service org.bonitasoft.engine.page.impl.PageServiceImpl on tenant with ID 1
2017-02-20 06:12:31.315 +0100 INFOS: org.bonitasoft.engine.api.impl.transaction.SetServiceState THREAD_ID=65 | HOSTNAME=MacBook-Air-de-Ilis.local | TENANT_ID=1 | resume tenant-level service org.bonitasoft.engine.cache.ehcache.EhCacheCacheService on tenant with ID 1
2017-02-20 06:12:31.315 +0100 INFOS: org.bonitasoft.engine.api.impl.transaction.SetServiceState THREAD_ID=65 | HOSTNAME=MacBook-Air-de-Ilis.local | TENANT_ID=1 | resume tenant-level service org.bonitasoft.engine.business.data.impl.JPABusinessDataRepositoryImpl on tenant with ID 1
2017-02-20 06:12:33.038 +0100 INFOS: org.bonitasoft.engine.api.impl.StarterThread THREAD_ID=65 | HOSTNAME=MacBook-Air-de-Ilis.local | TENANT_ID=1 | Restarting elements in the Thread 79
2017-02-20 06:12:33.040 +0100 INFOS: org.bonitasoft.engine.api.impl.StarterThread THREAD_ID=79 | HOSTNAME=MacBook-Air-de-Ilis.local | TENANT_ID=1 | Restarting elements for tenant 1
2017-02-20 06:12:33.040 +0100 INFOS: org.bonitasoft.engine.execution.work.RestartFlowNodesHandler THREAD_ID=79 | HOSTNAME=MacBook-Air-de-Ilis.local | TENANT_ID=1 | Restarting 0 flow nodes for tenant 1
2017-02-20 06:12:33.041 +0100 INFOS: org.bonitasoft.engine.execution.work.RestartProcessHandler THREAD_ID=79 | HOSTNAME=MacBook-Air-de-Ilis.local | TENANT_ID=1 | Restarting 0 processes for tenant 1
2017-02-20 06:12:33.049 +0100 INFOS: org.bonitasoft.engine.profile.DefaultProfilesUpdater THREAD_ID=79 | HOSTNAME=MacBook-Air-de-Ilis.local | TENANT_ID=1 | Default profiles are up to date
2017-02-20 06:13:18.699 +0100 INFOS: org.bonitasoft.engine.api.impl.transaction.process.DisableProcess THREAD_ID=58 | HOSTNAME=MacBook-Air-de-Ilis.local | TENANT_ID=1 | The user <april.sanchez> has disabled process in version <1.0> with id <5903929419321762374>
2017-02-20 06:13:19.142 +0100 INFOS: org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/bonita] RestletServlet: [Restlet] ServerServlet: component class is null
2017-02-20 06:13:19.978 +0100 INFOS: org.bonitasoft.engine.api.impl.ProcessManagementAPIImplDelegate THREAD_ID=65 | HOSTNAME=MacBook-Air-de-Ilis.local | TENANT_ID=1 | The user <april.sanchez> has deleted process with id = <5903929419321762374>
2017-02-20 06:13:20.206 +0100 INFOS: org.bonitasoft.engine.api.impl.transaction.process.DisableProcess THREAD_ID=62 | HOSTNAME=MacBook-Air-de-Ilis.local | TENANT_ID=1 | The user <april.sanchez> has disabled process in version <1.0> with id <6957478816480329823>
2017-02-20 06:13:20.418 +0100 INFOS: org.bonitasoft.engine.api.impl.ProcessManagementAPIImplDelegate THREAD_ID=64 | HOSTNAME=MacBook-Air-de-Ilis.local | TENANT_ID=1 | The user <april.sanchez> has deleted process with id = <6957478816480329823>
2017-02-20 06:13:22.945 +0100 INFOS: org.bonitasoft.engine.bar.BusinessArchiveServiceImpl THREAD_ID=58 | HOSTNAME=MacBook-Air-de-Ilis.local | TENANT_ID=1 | The user <april.sanchez> has installed process in version <1.0> with id <4842254631156353955>
2017-02-20 06:13:23.758 +0100 INFOS: org.bonitasoft.engine.bar.BusinessArchiveServiceImpl THREAD_ID=59 | HOSTNAME=MacBook-Air-de-Ilis.local | TENANT_ID=1 | The user <april.sanchez> has installed process in version <1.0> with id <8057153942001039935>
2017-02-20 06:13:23.817 +0100 INFOS: org.bonitasoft.engine.api.impl.transaction.process.EnableProcess THREAD_ID=64 | HOSTNAME=MacBook-Air-de-Ilis.local | TENANT_ID=1 | The user <april.sanchez> has enabled process in version <1.0> with id <8057153942001039935>
2017-02-20 06:13:23.857 +0100 INFOS: org.bonitasoft.engine.api.impl.transaction.process.EnableProcess THREAD_ID=61 | HOSTNAME=MacBook-Air-de-Ilis.local | TENANT_ID=1 | The user <april.sanchez> has enabled process in version <1.0> with id <4842254631156353955>
2017-02-20 06:13:28.927 +0100 INFOS: org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/bonita] RestletServlet: [Restlet] Attaching application: org.bonitasoft.web.rest.server.BonitaRestletApplication@650b293b to URI: /bonita/API
2017-02-20 06:13:28.945 +0100 INFOS: org.restlet.Component.BonitaRestletApplication Starting org.bonitasoft.web.rest.server.BonitaRestletApplication application
2017-02-20 06:13:29.084 +0100 INFOS: org.bonitasoft.engine.api.impl.ProcessStarter THREAD_ID=59 | HOSTNAME=MacBook-Air-de-Ilis.local | TENANT_ID=1 | The user <april.sanchez> has started the process instance <6001> of process in version <1.0> and id <4842254631156353955>
2017-02-20 06:13:30.675 +0100 GRAVE: org.bonitasoft.engine.execution.work.FailureHandlingBonitaWork THREAD_ID=89 | HOSTNAME=MacBook-Air-de-Ilis.local | TENANT_ID=1 | The work [ExecuteFlowNodeWork: processInstanceId:6001, flowNodeInstanceId: 120002] failed. The failure will be handled.
2017-02-20 06:13:30.687 +0100 GRAVE: org.bonitasoft.engine.execution.work.FailureHandlingBonitaWork THREAD_ID=89 | HOSTNAME=MacBook-Air-de-Ilis.local | TENANT_ID=1 | org.bonitasoft.engine.core.process.instance.api.exceptions.SActivityStateExecutionException : "PROCESS_DEFINITION_ID=4842254631156353955 | PROCESS_NAME=Pool3 | PROCESS_VERSION=1.0 | PROCESS_INSTANCE_ID=6001 | ROOT_PROCESS_INSTANCE_ID=6001 | FLOW_NODE_DEFINITION_ID=8099360350732016601 | FLOW_NODE_INSTANCE_ID=120002 | FLOW_NODE_NAME=Étape1 | org.bonitasoft.engine.core.process.instance.api.exceptions.SProcessInstanceCreationException: org.bonitasoft.engine.expression.exception.SExpressionEvaluationException: Groovy script throws an exception of type class java.lang.NullPointerException with message = Cannot get property 'nom' on null object
Expression : SExpressionImpl [name=initDossierSP(), content=def simpleVar = new com.company.model.simple()
simpleVar.nom = dossierSPInput.nom
return simpleVar, returnType=com.company.model.simple, dependencies=[SExpressionImpl [name=dossierSPInput, content=dossierSPInput, returnType=java.util.Map, dependencies=[], expressionKind=ExpressionKind [interpreter=NONE, type=TYPE_CONTRACT_INPUT]]], expressionKind=ExpressionKind [interpreter=GROOVY, type=TYPE_READ_ONLY_SCRIPT]]"
org.bonitasoft.engine.core.process.instance.api.exceptions.SActivityStateExecutionException: PROCESS_DEFINITION_ID=4842254631156353955 | PROCESS_NAME=Pool3 | PROCESS_VERSION=1.0 | PROCESS_INSTANCE_ID=6001 | ROOT_PROCESS_INSTANCE_ID=6001 | FLOW_NODE_DEFINITION_ID=8099360350732016601 | FLOW_NODE_INSTANCE_ID=120002 | FLOW_NODE_NAME=Étape1 | org.bonitasoft.engine.core.process.instance.api.exceptions.SProcessInstanceCreationException: org.bonitasoft.engine.expression.exception.SExpressionEvaluationException: Groovy script throws an exception of type class java.lang.NullPointerException with message = Cannot get property 'nom' on null object
Expression : SExpressionImpl [name=initDossierSP(), content=def simpleVar = new com.company.model.simple()
simpleVar.nom = dossierSPInput.nom
return simpleVar, returnType=com.company.model.simple, dependencies=[SExpressionImpl [name=dossierSPInput, content=dossierSPInput, returnType=java.util.Map, dependencies=[], expressionKind=ExpressionKind [interpreter=NONE, type=TYPE_CONTRACT_INPUT]]], expressionKind=ExpressionKind [interpreter=GROOVY, type=TYPE_READ_ONLY_SCRIPT]]
at org.bonitasoft.engine.execution.StateBehaviors.handleCallActivity(StateBehaviors.java:411)
at org.bonitasoft.engine.execution.state.InitializingActivityWithBoundaryEventsStateImpl.afterConnectors(InitializingActivityWithBoundaryEventsStateImpl.java:98)
at org.bonitasoft.engine.execution.state.OnEnterOrOnFinishConnectorState.execute(OnEnterOrOnFinishConnectorState.java:65)
at org.bonitasoft.engine.execution.state.OnEnterOrOnFinishConnectorState.execute(OnEnterOrOnFinishConnectorState.java:34)
at org.bonitasoft.engine.execution.FlowNodeExecutorImpl.executeState(FlowNodeExecutorImpl.java:122)
at org.bonitasoft.engine.execution.FlowNodeExecutorImpl.updateState(FlowNodeExecutorImpl.java:173)
at org.bonitasoft.engine.execution.FlowNodeExecutorImpl.stepForward(FlowNodeExecutorImpl.java:157)
at org.bonitasoft.engine.execution.FlowNodeExecutorImpl.executeFlowNode(FlowNodeExecutorImpl.java:300)
at org.bonitasoft.engine.execution.work.ExecuteFlowNodeWork.work(ExecuteFlowNodeWork.java:89)
at org.bonitasoft.engine.execution.work.TxBonitaWork$1.call(TxBonitaWork.java:48)
at org.bonitasoft.engine.execution.work.TxBonitaWork$1.call(TxBonitaWork.java:44)
at org.bonitasoft.engine.transaction.JTATransactionServiceImpl.executeInTransaction(JTATransactionServiceImpl.java:274)
at org.bonitasoft.engine.execution.work.TxBonitaWork.work(TxBonitaWork.java:53)
at org.bonitasoft.engine.execution.work.LockProcessInstanceWork.work(LockProcessInstanceWork.java:79)
at org.bonitasoft.engine.execution.work.failurewrapping.TxInHandleFailureWrappingWork.work(TxInHandleFailureWrappingWork.java:42)
at org.bonitasoft.engine.execution.work.failurewrapping.TxInHandleFailureWrappingWork.work(TxInHandleFailureWrappingWork.java:42)
at org.bonitasoft.engine.execution.work.failurewrapping.TxInHandleFailureWrappingWork.work(TxInHandleFailureWrappingWork.java:42)
at org.bonitasoft.engine.execution.work.FailureHandlingBonitaWork.work(FailureHandlingBonitaWork.java:66)
at org.bonitasoft.engine.work.BonitaWork.run(BonitaWork.java:56)
at org.bonitasoft.engine.work.SequenceRunnableExecutor.innerRun(SequenceRunnableExecutor.java:47)
at org.bonitasoft.engine.work.BonitaRunnable.run(BonitaRunnable.java:35)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.bonitasoft.engine.core.process.instance.api.exceptions.SProcessInstanceCreationException: org.bonitasoft.engine.expression.exception.SExpressionEvaluationException: Groovy script throws an exception of type class java.lang.NullPointerException with message = Cannot get property 'nom' on null object
Expression : SExpressionImpl [name=initDossierSP(), content=def simpleVar = new com.company.model.simple()
simpleVar.nom = dossierSPInput.nom
return simpleVar, returnType=com.company.model.simple, dependencies=[SExpressionImpl [name=dossierSPInput, content=dossierSPInput, returnType=java.util.Map, dependencies=[], expressionKind=ExpressionKind [interpreter=NONE, type=TYPE_CONTRACT_INPUT]]], expressionKind=ExpressionKind [interpreter=GROOVY, type=TYPE_READ_ONLY_SCRIPT]]
at org.bonitasoft.engine.execution.ProcessExecutorImpl.start(ProcessExecutorImpl.java:806)
at org.bonitasoft.engine.execution.ProcessExecutorImpl.start(ProcessExecutorImpl.java:761)
at org.bonitasoft.engine.execution.StateBehaviors.instantiateProcess(StateBehaviors.java:439)
at org.bonitasoft.engine.execution.StateBehaviors.handleCallActivity(StateBehaviors.java:406)
... 23 more
Caused by: org.bonitasoft.engine.expression.exception.SExpressionEvaluationException: Groovy script throws an exception of type class java.lang.NullPointerException with message = Cannot get property 'nom' on null object
Expression : SExpressionImpl [name=initDossierSP(), content=def simpleVar = new com.company.model.simple()
simpleVar.nom = dossierSPInput.nom
return simpleVar, returnType=com.company.model.simple, dependencies=[SExpressionImpl [name=dossierSPInput, content=dossierSPInput, returnType=java.util.Map, dependencies=[], expressionKind=ExpressionKind [interpreter=NONE, type=TYPE_CONTRACT_INPUT]]], expressionKind=ExpressionKind [interpreter=GROOVY, type=TYPE_READ_ONLY_SCRIPT]]
at org.bonitasoft.engine.expression.impl.GroovyScriptExpressionExecutorCacheStrategy.evaluate(GroovyScriptExpressionExecutorCacheStrategy.java:160)
at org.bonitasoft.engine.expression.impl.ExpressionServiceImpl.evaluate(ExpressionServiceImpl.java:86)
at org.bonitasoft.engine.core.expression.control.api.impl.ExpressionResolverServiceImpl.evaluateExpressionWithResolvedDependencies(ExpressionResolverServiceImpl.java:213)
at org.bonitasoft.engine.core.expression.control.api.impl.ExpressionResolverServiceImpl.evaluateExpressionsFlatten(ExpressionResolverServiceImpl.java:120)
at org.bonitasoft.engine.core.expression.control.api.impl.ExpressionResolverServiceImpl.evaluate(ExpressionResolverServiceImpl.java:83)
at org.bonitasoft.engine.execution.ProcessExecutorImpl.initializeSingleBusinessData(ProcessExecutorImpl.java:443)
at org.bonitasoft.engine.execution.ProcessExecutorImpl.initializeBusinessData(ProcessExecutorImpl.java:430)
at org.bonitasoft.engine.execution.ProcessExecutorImpl.initialize(ProcessExecutorImpl.java:383)
at org.bonitasoft.engine.execution.ProcessExecutorImpl.start(ProcessExecutorImpl.java:791)
... 26 more
Caused by: java.lang.NullPointerException: Cannot get property 'nom' on null object
at org.codehaus.groovy.runtime.NullObject.getProperty(NullObject.java:60)
at org.codehaus.groovy.runtime.InvokerHelper.getProperty(InvokerHelper.java:172)
at org.codehaus.groovy.runtime.callsite.NullCallSite.getProperty(NullCallSite.java:47)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callGetProperty(AbstractCallSite.java:296)
at BScript1.run(BScript1.groovy:2)
at org.bonitasoft.engine.expression.impl.GroovyScriptExpressionExecutorCacheStrategy.evaluate(GroovyScriptExpressionExecutorCacheStrategy.java:141)
... 34 more

thank you,

Notifications