hansva commented on pull request #493:
URL: https://github.com/apache/incubator-hop/pull/493#issuecomment-759659509


   - When leaving properties/shared/jdbc empty an NPE is thrown.
   
   
![image](https://user-images.githubusercontent.com/1140235/104492966-ab484500-55d4-11eb-916e-d262eb6e309f.png)
   
   ```
   2021/01/13 19:20:51 - Hop - We found 3 kettle files.
   Error in the Hop GUI : null
   java.lang.NullPointerException
        at sun.nio.fs.UnixPath.normalizeAndCheck(UnixPath.java:77)
        at sun.nio.fs.UnixPath.<init>(UnixPath.java:71)
        at sun.nio.fs.UnixFileSystem.getPath(UnixFileSystem.java:281)
        at java.nio.file.Paths.get(Paths.java:84)
        at 
org.apache.hop.projects.xp.HopImportMigratedFiles.callExtensionPoint(HopImportMigratedFiles.java:109)
        at 
org.apache.hop.projects.xp.HopImportMigratedFiles.callExtensionPoint(HopImportMigratedFiles.java:40)
        at 
org.apache.hop.core.extension.ExtensionPointMap.callExtensionPoint(ExtensionPointMap.java:147)
        at 
org.apache.hop.core.extension.ExtensionPointHandler.callExtensionPoint(ExtensionPointHandler.java:38)
        at 
org.apache.hop.imports.kettle.KettleImportDialog.doImport(KettleImportDialog.java:389)
        at 
org.apache.hop.imports.kettle.KettleImportDialog.lambda$open$0(KettleImportDialog.java:306)
        at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:89)
        at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4387)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1512)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1535)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1520)
        at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1324)
        at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4174)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3791)
        at org.apache.hop.ui.hopgui.HopGui.open(HopGui.java:384)
        at org.apache.hop.ui.hopgui.HopGui.main(HopGui.java:314)
   ```
   
   - There is also no file type selector making it harder to find ktr/kjb's


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to