cancel
Showing results for 
Search instead for 
Did you mean: 

Context.getProcessEngineConfiguration() null??

chrisx_212
Champ in-the-making
Champ in-the-making
Hello, I'd like to ask something about this. Whenever I try to invoke Context.getProcessEngineConfiguration(), I always get a NullPointerException. Like so:

ProcessEngineConfiguration processEngineConfiguration = Context.getProcessEngineConfiguration();

How do I make sure that it won't give a null? Thanks.
1 REPLY 1

martin_grofcik
Confirmed Champ
Confirmed Champ
Hi Chris,

Context.getProcessEngineConfiguration() does not return null when the method is executed inside the context of some command. Put break point into org.activiti.engine.impl.context.Context#setProcessEngineConfiguration and run some process to see more.

Regards
Martin