Uploaded image for project: 'Fedora Repository Project (LEGACY)'
  1. Fedora Repository Project (LEGACY)
  2. FCREPO-1158

PolicyIndexRebuilder fails with a NullPointerException in FCRepo 3.6

    XMLWordPrintable

    Details

    • Roadmap Theme:
      Administration

      Description

      The PolicyIndexRebuilder does not have access to the PolicyIndex it needs, because the RebuildServer does not load the requisite Spring beans. This leads to a NullPointerException. It can be worked around by copying the PolicyIndex configuration, and configuring an additional bean for the rebuilder like so:

      <bean id="org.fcrepo.server.security.xacml.pdp.data.PolicyIndexRebuilder2"
      class="org.fcrepo.server.security.xacml.pdp.data.PolicyIndexRebuilder" >
      <property name="policyIndex"
      ref="org.fcrepo.server.security.xacml.pdp.data.PolicyIndex" />
      </bean>

        Attachments

          Activity

            People

            Assignee:
            barmintor Benjamin Armintor
            Reporter:
            barmintor Benjamin Armintor
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: