Uploaded image for project: 'Apache Knox'
  1. Apache Knox
  2. KNOX-2204

KnoxLine NPE list datasources when directories don't exist

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.4.0
    • Component/s: KnoxShell
    • Labels:
      None

      Description

      
      | | ___ __ _____ _| (_)_ __ ___ 
      | |/ / '_ \ / _ \ \/ / | | '_ \ / _ \
      | <| | | | (_) > <| | | | | | __/
      |_|\_\_| |_|\___/_/\_\_|_|_| |_|\\__|
      powered by Apache Knox
      
      
      knoxline> :ds
      java.lang.NullPointerException
       at org.apache.knox.gateway.shell.jdbc.KnoxLine.listDataSources(KnoxLine.java:135)
       at org.apache.knox.gateway.shell.jdbc.KnoxLine.processDataSourceCommand(KnoxLine.java:110)
       at org.apache.knox.gateway.shell.jdbc.KnoxLine.executeShell(KnoxLine.java:71)
       at org.apache.knox.gateway.shell.jdbc.KnoxLine.execute(KnoxLine.java:51)
       at org.apache.knox.gateway.shell.KnoxSh$KnoxLineCommand.execute(KnoxSh.java:412)
       at org.apache.knox.gateway.shell.KnoxSh.run(KnoxSh.java:88)
       at org.apache.knox.gateway.shell.KnoxSh.main(KnoxSh.java:427)
       at org.apache.knox.gateway.shell.Shell.main(Shell.java:74)
      Closing any open connections ...
      
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                lmccay Larry McCay
                Reporter:
                lmccay Larry McCay
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m