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
    */
    ```

Activity

Show:
Fixed

Details

Assignee

Reporter

Components

Affects versions

Priority

Created January 13, 2020 at 5:59 PM
Updated February 20, 2020 at 7:03 AM
Resolved February 20, 2020 at 7:03 AM