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

KnoxLine NPE list datasources when directories don't exist

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.4.0
    • KnoxShell
    • 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

              lmccay Larry McCay
              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