maxbobse opened a new issue, #6177:
URL: https://github.com/apache/hop/issues/6177
### Apache Hop version?
2.16
### Java version?
OpenJDK 64-Bit Server VM Temurin-21.0.3+9 (build 21.0.3+9-LTS, mixed mode,
sharing)
### Operating system
Windows
### What happened?
In the 'Get data from XML', I get the error
```
java.lang.NullPointerException: Cannot invoke "java.util.List.clear()"
because the return value of
"org.apache.hop.pipeline.transforms.xml.getxmldata.GetXmlDataMeta.getFilesList()"
is null
at
org.apache.hop.pipeline.transforms.xml.getxmldata.GetXmlDataDialog.getInfo(GetXmlDataDialog.java:1923)
at
org.apache.hop.pipeline.transforms.xml.getxmldata.GetXmlDataDialog$8.widgetSelected(GetXmlDataDialog.java:1189)
at
org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:286)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:91)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4362)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1214)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4160)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3748)
at
org.apache.hop.ui.core.dialog.BaseDialog.defaultShellHandling(BaseDialog.java:696)
at
org.apache.hop.ui.core.dialog.BaseDialog.defaultShellHandling(BaseDialog.java:660)
at
org.apache.hop.pipeline.transforms.xml.getxmldata.GetXmlDataDialog.open(GetXmlDataDialog.java:1265)
at
org.apache.hop.ui.hopgui.file.pipeline.delegates.HopGuiPipelineTransformDelegate.editTransform(HopGuiPipelineTransformDelegate.java:195)
at
org.apache.hop.ui.hopgui.file.pipeline.HopGuiPipelineGraph.editTransform(HopGuiPipelineGraph.java:3361)
at
org.apache.hop.ui.hopgui.file.pipeline.HopGuiPipelineGraph.editTransform(HopGuiPipelineGraph.java:2203)
at
java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at
org.apache.hop.core.gui.plugin.action.GuiActionLambdaBuilder.lambda$createLambda$0(GuiActionLambdaBuilder.java:97)
at
org.apache.hop.ui.hopgui.context.GuiContextUtil.lambda$handleActionSelection$0(GuiContextUtil.java:183)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:40)
at
org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:132)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4135)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3751)
at org.apache.hop.ui.hopgui.HopGui.open(HopGui.java:496)
at org.apache.hop.ui.hopgui.HopGui.main(HopGui.java:374)
```
when clicking on buttons like 'Show filenames' or 'Get XPath nodes'
The provided file definitely does exist and I have tried by either adding it
to the list or by providing the file name in an input field.
<img width="1328" height="563" alt="Image"
src="https://github.com/user-attachments/assets/80628ff1-4019-4519-8235-a3b27a228717"
/>
### Issue Priority
Priority: 3
### Issue Component
Component: Hop Gui
--
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]