CAMEL-7251 Fixed NPE of SqlProducer with thanks for Mathieu