Uploaded image for project: 'Chemistry (Retired)'
  1. Chemistry (Retired)
  2. CMIS-98

NPE in APPRepository#loadTypes()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • None
    • chemistry-old
    • None

    Description

      Connecting to http://cmis.alfresco.com/service/cmis results in a NPE in APPRepository#loadTypes():

      java.lang.RuntimeException: Failed to load repository types for Main Repository
      at org.apache.chemistry.atompub.client.APPRepository.loadTypes(APPRepository.java:208)
      at org.apache.chemistry.atompub.client.APPRepository.getTypes(APPRepository.java:136)
      ...
      Caused by: java.lang.NullPointerException
      at org.apache.chemistry.atompub.client.APPType.loadPropertyDef(APPType.java:178)
      at org.apache.chemistry.atompub.client.APPType.getPropertyDefinitions(APPType.java:110)
      at org.apache.chemistry.impl.simple.SimpleTypeManager.addType(SimpleTypeManager.java:63)
      at org.apache.chemistry.atompub.client.TypeFeedReader.addEntry(TypeFeedReader.java:47)
      at org.apache.chemistry.atompub.client.TypeFeedReader.addEntry(TypeFeedReader.java:28)
      at org.apache.chemistry.atompub.client.stax.AbstractFeedReader.read(AbstractFeedReader.java:109)
      at org.apache.chemistry.atompub.client.stax.AbstractFeedReader.read(AbstractFeedReader.java:83)
      at org.apache.chemistry.atompub.client.APPRepository.readTypes(APPRepository.java:224)
      at org.apache.chemistry.atompub.client.APPRepository.loadTypes(APPRepository.java:201)
      ...

      Attachments

        1. CMIS-98.patch
          2 kB
          Michael Dürig

        Activity

          People

            Unassigned Unassigned
            mduerig Michael Dürig
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: