java.lang.IllegalArgumentException: Source must be set

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
Expert tip

If you're unit testing, you should instantiate only the service and mock the dependencies. If you're testing integration, you should add all the mocking to the configurations file.

Solutions on the web

via GitHub by renannprado
, 7 months ago
Entity must not be null!
via Spring JIRA by Gary Russell, 1 year ago
Connection must not be null
via Spring JIRA by Artem Bilan, 1 year ago
Connection must not be null
java.lang.IllegalArgumentException: Source must be set
at org.springframework.statemachine.transition.AbstractTransition.(AbstractTransition.java:63)
at org.springframework.statemachine.transition.AbstractInternalTransition.(AbstractInternalTransition.java:35)
at org.springframework.statemachine.transition.DefaultInternalTransition.(DefaultInternalTransition.java:35)
at org.springframework.statemachine.config.AbstractStateMachineFactory.buildMachine(AbstractStateMachineFactory.java:704)
at org.springframework.statemachine.config.AbstractStateMachineFactory.getStateMachine(AbstractStateMachineFactory.java:189)
at org.springframework.statemachine.config.AbstractStateMachineFactory.getStateMachine(AbstractStateMachineFactory.java:126)
at org.springframework.statemachine.config.configuration.StateMachineConfiguration$StateMachineDelegatingFactoryBean.afterPropertiesSet(StateMachineConfiguration.java:154)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1637)

Users with the same issue

Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
4 times, 10 months ago
Once, 1 year ago
3 times, 2 months ago
196 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.