Hibernate Search blocks loading of non hibernate batch jobs

Description

In reference of `org.jberet.spi.JobXmlResolver` it's defined that a resolver that is not responsible should return `null` instead of throwing a runtime exception. The exception prevent that further available resolver will be consider.
```
/**

  • Locates the job XML and creates a stream to the contents.
    *

  • @param jobXml the name of the job XML with a {@code .xml} suffix

  • @param classLoader the class loader for the application
    *

  • @return a stream of the job XML or {@code null} if the job XML content was not found
    *

  • @throws java.io.IOException if an error occurs creating the stream
    */
    ```

Environment

None

Assignee

David Steinkopff

Reporter

David Steinkopff

Labels

None

Suitable for new contributors

None

Feedback Requested

None

Components

Fix versions

Affects versions

Priority

Major
Configure