LMezler opened a new issue, #7350:
URL: https://github.com/apache/hop/issues/7350
### Apache Hop version?
2.18.1
### Java version?
25
### Operating system
Windows
### What happened?
We integrated a hop pipeline runner and some transformations in a spring
boot project. We cannot run a dedicated Hop Instnace on the machines where
these applications are started and are not allowed to use a docker environment,
so we need to run the Project using the created boot-jar.
This concept runs fine and all out pipelines are executed as we want them
to. But when usoing the Janino Plugin we get an Exception-log (this causes no
trouble at al when the pipliene runs afterwards btw.). Ths is cause by The
class JaninoCheckerUtil, especially by:
```java
public class JaninoCheckerUtil {
List<String> matches = new ArrayList<>();
public JaninoCheckerUtil() {
String path = "";
try {
path = getJarPath() + File.separator + "codeExclusions.xml";
Document document = XmlHandler.loadXmlFile(path);
Node exclusionsNode = XmlHandler.getSubNode(document, "exclusions");
List<Node> exclusionNodes = XmlHandler.getNodes(exclusionsNode,
"exclusion");
for (Node exclusionNode : exclusionNodes) {
matches.add(exclusionNode.getTextContent());
}
} catch (Exception e) {
LogChannel.GENERAL.logError("Unable to load exclusions from: '" + path
+ "'", e);
}
}
....
}
```
The boot jar contains the transform as included jar. So the path to the
exclusion-file is not a real file path. This just is logged and the plugin
continues as wanted.
In our case this will cause trouble with our customer (a exception log on
error without effect is not sutable). So we take this as bug. Anyway -we need
an alternative to set the exclusions or a way to supress the error log.
Here is an example (I skipped the call stack) This is independent of the
operating system. This is one from Windows from my IDE - We also have linux
systems.
```
2026/06/26 09:18:01 - General -
org.apache.hop.core.exception.HopXmlException:
2026/06/26 09:18:01 - General - Unable to read file
[file:///C:/intellij/zdh-replication-client/app/build/libs/nested:/C:/intellij/zdh-replication-client/app/build/libs/app-develop-SNAPSHOT.jar/!BOOT-INF/lib/codeExclusions.xml]
2026/06/26 09:18:01 - General - Could not read from
"file:///C:/intellij/zdh-replication-client/app/build/libs/nested:/C:/intellij/zdh-replication-client/app/build/libs/app-develop-SNAPSHOT.jar/!BOOT-INF/lib/codeExclusions.xml"
because it is not a file.
2026/06/26 09:18:01 - General -
```
### Issue Priority
Priority: 2
### Issue Component
Component: Transforms
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]