java.lang.NullPointerException

Atlassian JIRA | Justen Stepka [Atlassian] | 1 decade ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    The fisheye connector logs the following exception: {noformat} 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) {noformat} 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()}}.

    Atlassian JIRA | 1 decade ago | Justen Stepka [Atlassian]
    java.lang.NullPointerException
  2. 0

    The fisheye connector logs the following exception: {noformat} 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) {noformat} 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()}}.

    Atlassian JIRA | 1 decade ago | Justen Stepka [Atlassian]
    java.lang.NullPointerException

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at com.atlassian.crowd.integration.service.soap.client.GenericClient.getProperties()
    2. com.atlassian.crowd
      FisheyeAuthenticator.init
      1. com.atlassian.crowd.integration.service.soap.client.GenericClient.getProperties(GenericClient.java:143)
      2. com.atlassian.crowd.integration.service.soap.client.GenericClient.updateProperties(GenericClient.java:126)
      3. com.atlassian.crowd.integration.service.soap.client.GenericClient.<clinit>(GenericClient.java:41)
      4. com.atlassian.crowd.integration.fisheye.FisheyeAuthenticator.init(FisheyeAuthenticator.java:21)
      4 frames
    3. com.cenqua.fisheye
      Run.main
      1. com.cenqua.fisheye.user.g.<init>(Crucible-0.9-build-205:81)
      2. com.cenqua.fisheye.user.g.<init>(Crucible-0.9-build-205:45)
      3. com.cenqua.fisheye.user.a.a(Crucible-0.9-build-205:115)
      4. com.cenqua.fisheye.user.a.<init>(Crucible-0.9-build-205:87)
      5. com.cenqua.fisheye.config.a.H(Crucible-0.9-build-205:703)
      6. com.cenqua.fisheye.config.a.a(Crucible-0.9-build-205:259)
      7. com.cenqua.fisheye.config.a.a(Crucible-0.9-build-205:142)
      8. com.cenqua.fisheye.ctl.Run.a(Crucible-0.9-build-205:133)
      9. com.cenqua.fisheye.ctl.Run.main(Crucible-0.9-build-205:43)
      9 frames
    4. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:585)
      4 frames
    5. com.cenqua.fisheye
      FishEyeCtl.main
      1. com.cenqua.fisheye.FishEyeCtl.mainImpl(FishEyeCtl.java:102)
      2. com.cenqua.fisheye.FishEyeCtl.main(FishEyeCtl.java:35)
      2 frames