Uploaded image for project: 'Ranger'
  1. Ranger
  2. RANGER-445

java.lang.IncompatibleClassChangeError during ranger kms startup

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.5.0
    • Fix Version/s: 0.5.0
    • Component/s: None
    • Labels:
      None

      Description

      Following error is displayed in catalina.out during KMS startup. Note: this does not happen always.

      Exception in thread "Thread-5" java.lang.IncompatibleClassChangeError: com.sun.jersey.json.impl.provider.entity.JSONRootElementProvider and com.sun.jersey.json.impl.provider.entity.JSONRootElementProvider$Wadl disagree on InnerClasses attribute
              at java.lang.Class.getDeclaringClass0(Native Method)
              at java.lang.Class.getDeclaringClass(Class.java:1106)
              at java.lang.Class.getEnclosingClass(Class.java:1142)
              at com.sun.jersey.core.spi.component.ComponentConstructor.getInstance(ComponentConstructor.java:170)
              at com.sun.jersey.core.spi.component.ProviderFactory.__getComponentProvider(ProviderFactory.java:166)
              at com.sun.jersey.core.spi.component.ProviderFactory.getComponentProvider(ProviderFactory.java:137)
              at com.sun.jersey.core.spi.component.ProviderServices.getComponent(ProviderServices.java:283)
              at com.sun.jersey.core.spi.component.ProviderServices.getServices(ProviderServices.java:163)
              at com.sun.jersey.core.spi.factory.MessageBodyFactory.initReaders(MessageBodyFactory.java:176)
              at com.sun.jersey.core.spi.factory.MessageBodyFactory.init(MessageBodyFactory.java:162)
              at com.sun.jersey.api.client.Client.init(Client.java:343)
              at com.sun.jersey.api.client.Client.access$000(Client.java:119)
              at com.sun.jersey.api.client.Client$1.f(Client.java:192)
              at com.sun.jersey.api.client.Client$1.f(Client.java:188)
              at com.sun.jersey.spi.inject.Errors.processWithErrors(Errors.java:193)
              at com.sun.jersey.api.client.Client.<init>(Client.java:188)
              at com.sun.jersey.api.client.Client.<init>(Client.java:171)
              at com.sun.jersey.api.client.Client.create(Client.java:683)
              at org.apache.ranger.plugin.util.RangerRESTClient.buildClient(RangerRESTClient.java:194)
              at org.apache.ranger.plugin.util.RangerRESTClient.getClient(RangerRESTClient.java:159)
              at org.apache.ranger.plugin.util.RangerRESTClient.getResource(RangerRESTClient.java:139)
              at org.apache.ranger.admin.client.RangerAdminRESTClient.createWebResource(RangerAdminRESTClient.java:157)
              at org.apache.ranger.admin.client.RangerAdminRESTClient.getServicePoliciesIfUpdated(RangerAdminRESTClient.java:68)
              at org.apache.ranger.plugin.util.PolicyRefresher.run(PolicyRefresher.java:153)
      

        Attachments

          Activity

            People

            • Assignee:
              sneethiraj Selvamohan Neethiraj
              Reporter:
              vperiasamy Velmurugan Periasamy
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: