In 4.9 the backup functionality in fishyeyectl fails

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Low
    • 4.9.1
    • Affects Version/s: 4.9.0
    • Component/s: Server administration
    • None
    • Severity 2 - Major
    • Warranty

      Issue Summary

      In 4.9 the backup functionality in fisheyectl no longer works.
      This functionality worked in 4.8.16.

      Steps to Reproduce

      1. Upgrade or run an instance at version 4.9.0
      2. Use fisheyectl to create a backup eg.
        ./fisheyectl backup -f </path/to/backups/dir>/fisheye.bak

      Expected Results

      A backup file is created

      Actual Results

      Backup fails and the following is logged:

      ERROR: problem running command
      java.lang.reflect.InvocationTargetException
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
              at java.lang.reflect.Method.invoke(Method.java:498)
              at com.cenqua.fisheye.FishEyeCtl.mainImpl(FishEyeCtl.java:101)
              at com.cenqua.fisheye.FishEyeCtl.main(FishEyeCtl.java:44)
      Caused by: java.lang.NullPointerException
              at java.util.Objects.requireNonNull(Objects.java:203)
              at com.cenqua.fisheye.config.RootConfig.getConfig(RootConfig.java:235)
              at com.cenqua.fisheye.config.RootConfig.isSetApplicationName(RootConfig.java:646)
              at com.cenqua.fisheye.config.RootConfig.getApplicationTitle(RootConfig.java:1109)
              at com.cenqua.fisheye.web.JspUtils.getAppName(JspUtils.java:109)
              at com.cenqua.fisheye.ctl.Backup.<init>(Backup.java:37)
              at com.cenqua.fisheye.ctl.Backup.main(Backup.java:67)
              ... 6 more
      

      Workaround

      None known currently

      Backup functionality in UI still works

              Assignee:
              Unassigned
              Reporter:
              Nate Hansberry (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: