leehaut opened a new pull request, #6893:
URL: https://github.com/apache/hop/pull/6893
Fix:
- This fix ensures proper initialization of the `SqlFile` object by setting
its default values
- `findDatabase()` expects a database connection name, not a transform name.
```txt
java.lang.NullPointerException: Cannot invoke
"org.apache.hop.pipeline.transforms.sqlfileoutput.SQLFileOutputMeta$SqlFile.setCreateParentFolder(boolean)"
because the return value of
"org.apache.hop.pipeline.transforms.sqlfileoutput.SQLFileOutputMeta.getFile()"
is null
at
org.apache.hop.pipeline.transforms.sqlfileoutput.SQLFileOutputDialog.getInfo(SQLFileOutputDialog.java:830)
at
org.apache.hop.pipeline.transforms.sqlfileoutput.SQLFileOutputDialog.sql(SQLFileOutputDialog.java:901)
at
org.apache.hop.pipeline.transforms.sqlfileoutput.SQLFileOutputDialog.lambda$open$1(SQLFileOutputDialog.java:123)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:91)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4364)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1217)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4162)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3750)
at
org.apache.hop.ui.core.dialog.BaseDialog.defaultShellHandling(BaseDialog.java:800)
at
org.apache.hop.ui.core.dialog.BaseDialog.defaultShellHandling(BaseDialog.java:751)
at
org.apache.hop.pipeline.transforms.sqlfileoutput.SQLFileOutputDialog.open(SQLFileOutputDialog.java:744)
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:3742)
at
org.apache.hop.ui.hopgui.file.pipeline.HopGuiPipelineGraph.mouseUp(HopGuiPipelineGraph.java:1063)
at
org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:262)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:91)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4364)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1217)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4162)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3750)
at org.apache.hop.ui.hopgui.HopGui.open(HopGui.java:573)
at org.apache.hop.ui.hopgui.HopGui.main(HopGui.java:431)
```
--
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]