cancel
Showing results for 
Search instead for 
Did you mean: 

Problem on process definition after restart server

Former Member
0 Kudos

Hello,

I am having a problem with process definitions, every time I restart the server, the first time I try to execute a process I get a NullpointerException. The second and next times it works ok. I think there is a problem with ProcessDefinitionCache. Do you know how could I disable the cache cleaning for processes on restart or how to force the load into the cache while restarting?

Here is the error: java.lang.NullPointerException at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:770) at de.hybris.platform.processengine.definition.XMLProcessDefinitionsReader.from(XMLProcessDefinitionsReader.java:114) at de.hybris.platform.processengine.definition.ProcessDefinitionsProvider.getInitialActiveDefinitions(ProcessDefinitionsProvider.java:68) at de.hybris.platform.processengine.definition.ProcessDefinitionsCache.loadInitialDefinitions(ProcessDefinitionsCache.java:169) at de.hybris.platform.processengine.definition.ProcessDefinitionsCache.access$3(ProcessDefinitionsCache.java:167) at de.hybris.platform.processengine.definition.ProcessDefinitionsCache$6.execute(ProcessDefinitionsCache.java:161) at de.hybris.platform.processengine.definition.ProcessDefinitionsCache$6.execute(ProcessDefinitionsCache.java:1) at de.hybris.platform.processengine.definition.ProcessDefinitionsCache.executeWithLock(ProcessDefinitionsCache.java:235) at de.hybris.platform.processengine.definition.ProcessDefinitionsCache.executeWrite(ProcessDefinitionsCache.java:222) at de.hybris.platform.processengine.definition.ProcessDefinitionsCache.assureCaheIsInitialized(ProcessDefinitionsCache.java:151) at de.hybris.platform.processengine.definition.ProcessDefinitionsCache.find(ProcessDefinitionsCache.java:40) at de.hybris.platform.processengine.definition.DefaultProcessDefinitionFactory.getProcessDefinition(DefaultProcessDefinitionFactory.java:50) at de.hybris.platform.processengine.helpers.impl.DefaultProcessFactory.createProcessModel(DefaultProcessFactory.java:44) at de.hybris.platform.processengine.impl.DefaultBusinessProcessService.createProcess(DefaultBusinessProcessService.java:75) at de.hybris.platform.processengine.impl.DefaultBusinessProcessService.createProcess(DefaultBusinessProcessService.java:67) at de.hybris.platform.sapcustomerb2c.outbound.CustomerRegistrationEventListener.onEvent(CustomerRegistrationEventListener.java:43)

Thank you

abhinavsingh11
Participant
0 Kudos

Hi, Did you find any solution to above problem. Same thing is occurring in our case?

Accepted Solutions (0)

Answers (0)