Fisheye connector logs unnecessary exception.

XMLWordPrintable

    • Type: Suggestion
    • Resolution: Fixed
    • 1.0.3
    • Component/s: None
    • None

      The fisheye connector logs the following exception:

      FATAL -
      java.lang.NullPointerException
      at com.atlassian.crowd.integration.service.soap.client.GenericClient.get
      Properties(GenericClient.java:143)
      at com.atlassian.crowd.integration.service.soap.client.GenericClient.upd
      ateProperties(GenericClient.java:126)
      at com.atlassian.crowd.integration.service.soap.client.GenericClient.<cl
      init>(GenericClient.java:41)
      at com.atlassian.crowd.integration.fisheye.FisheyeAuthenticator.init(Fis
      heyeAuthenticator.java:21)
      at com.cenqua.fisheye.user.g.<init>(Crucible-0.9-build-205:81)
      at com.cenqua.fisheye.user.g.<init>(Crucible-0.9-build-205:45)
      at com.cenqua.fisheye.user.a.a(Crucible-0.9-build-205:115)
      at com.cenqua.fisheye.user.a.<init>(Crucible-0.9-build-205:87)
      at com.cenqua.fisheye.config.a.H(Crucible-0.9-build-205:703)
      at com.cenqua.fisheye.config.a.a(Crucible-0.9-build-205:259)
      at com.cenqua.fisheye.config.a.a(Crucible-0.9-build-205:142)
      at com.cenqua.fisheye.ctl.Run.a(Crucible-0.9-build-205:133)
      at com.cenqua.fisheye.ctl.Run.main(Crucible-0.9-build-205:43)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
      java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at com.cenqua.fisheye.FishEyeCtl.mainImpl(FishEyeCtl.java:102)
      at com.cenqua.fisheye.FishEyeCtl.main(FishEyeCtl.java:35) 
      

      This error is because the connector is attempting to load the crowd.properties file which is passed in to the client classes rather than read through the filesystem. Suppress the error or remove the stack call to updateProperties().

              Assignee:
              Justin Koke
              Reporter:
              Justen Stepka [Atlassian]
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Estimated:
                  Original Estimate - 3h
                  3h
                  Remaining:
                  Remaining Estimate - 3h
                  3h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified