0

When calling this function in a webflow step:

domainClass.findAllByIdInList(givenList) 

I get a null pointer exception. When executing: domainClass.list()

I get nothing. I tried to pass this code to the server and get the same exception. Why is this happening?

Nathaniel Ford
  • 20,545
  • 20
  • 91
  • 102
  • You need to provide more information. But if I had to take a guess... only classes annotated with 'Service', 'Component', etc... can be called from inside a flow.xml file. So make sure the 'domainClass' (that is a bad name btw) is annotated as Service and is a scanned/registered by spring during startup. – Selwyn Nov 30 '15 at 05:43
  • start{on('next'){.... }.to "connectusers" } connectusers { on("next").to "congrats" } congrats() – Yifat Biezuner Nov 30 '15 at 07:46
  • You will probably need to provide more context. http://stackoverflow.com/help/mcve – Nathaniel Ford Dec 02 '15 at 18:13

0 Answers0