NPE in APPRepository#loadTypes()
--------------------------------

                 Key: CMIS-98
                 URL: https://issues.apache.org/jira/browse/CMIS-98
             Project: Chemistry
          Issue Type: Bug
          Components: atompub
            Reporter: Michael Dürig


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)
        ... 





-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to