Uploaded image for project: 'FishEye'
  1. FishEye
  2. FE-3497

Incorrect p4 executable blocks FishEye starting

    XMLWordPrintable

Details

    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

    Description

      If the p4 binary is set to a location which does not exist, then FishEye will not start.

      2011-06-13 21:58:12,663 ERROR [main] fisheye.app Run-mainImpl - Problem with config file: P4 executable does not exist at configured location: /opt/j2ee/domains/atlassian.com/eac-fisheye/fecru/fecru-2.7.0-M1-1466/sdfasfasfasf
      2011-06-13 21:58:12,752 INFO  [main] fisheye.app Run-mainImpl - CE
      com.cenqua.fisheye.config.ConfigException: P4 executable does not exist at configured location: /opt/j2ee/domains/atlassian.com/eac-fisheye/fecru/fecru-2.7.0-M1-1466/sdfasfasfasf
      	at com.cenqua.fisheye.perforce.client.P4Exec.setupExecutable(P4Exec.java:293)
      	at com.cenqua.fisheye.config.RootConfig.setSCMConfigInfo(RootConfig.java:407)
      	at com.cenqua.fisheye.config.RootConfig.start(RootConfig.java:350)
      	at com.cenqua.fisheye.ctl.Run.mainImpl(Run.java:153)
      	at com.cenqua.fisheye.ctl.Run.main(Run.java:72)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      	at java.lang.reflect.Method.invoke(Method.java:597)
      	at com.cenqua.fisheye.FishEyeCtl.mainImpl(FishEyeCtl.java:114)
      	at com.cenqua.fisheye.FishEyeCtl.main(FishEyeCtl.java:42)
      

      Culprit is at P4Exec.java which probably should warn rather than throw a ConfigException.

          public static void setupExecutable(File p4ExecutableFile) throws ConfigException {
              if (p4ExecutableFile.exists()) {
                  setP4Executable(p4ExecutableFile.getAbsolutePath());
              } else {
                  throw new ConfigException("P4 executable does not exist at configured location: "
                      + p4ExecutableFile.getAbsolutePath());
              }
          }
      

      Attachments

        Activity

          People

            tom@atlassian.com Tom Davies
            sruiz Seb Ruiz (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: