{"action":"created","issue":{"url":"https://api.github.com/repos/pac4j/pac4j/issues/212","labels_url":"https://api.github.com/repos/pac4j/pac4j/issues/212/labels{/name}","comments_url":"https://api.github.com/repos/pac4j/pac4j/issues/212/comments","events_url":"https://api.github.com/repos/pac4j/pac4j/issues/212/events","html_url":"https://github.com/pac4j/pac4j/issues/212","id":97472798,"number":212,"title":"xml metadata file is always of type null","user":{"login":"hboumedane","id":2765105,"avatar_url":"https://avatars.githubusercontent.com/u/2765105?v=3","gravatar_id":"","url":"https://api.github.com/users/hboumedane","html_url":"https://github.com/hboumedane","followers_url":"https://api.github.com/users/hboumedane/followers","following_url":"https://api.github.com/users/hboumedane/following{/other_user}","gists_url":"https://api.github.com/users/hboumedane/gists{/gist_id}","starred_url":"https://api.github.com/users/hboumedane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hboumedane/subscriptions","organizations_url":"https://api.github.com/users/hboumedane/orgs","repos_url":"https://api.github.com/users/hboumedane/repos","events_url":"https://api.github.com/users/hboumedane/events{/privacy}","received_events_url":"https://api.github.com/users/hboumedane/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-07-27T14:13:08Z","updated_at":"2015-07-28T07:59:35Z","closed_at":null,"body":"Hi,\r\nI'm using pac4j 1.8 and i'm facing a hard issue.\r\nI use the xml file provided with play-demo project to config my clients.\r\n\r\nI'm getting this issue :  \r\n```java\r\n->java.lang.NullPointerException : null\r\n org.opensaml.saml.metadata.resolver.impl.DOMMetadataResolver.initMetadataResolver(DOMMetadataResolver.java:68)\r\n org.opensaml.saml.metadata.resolver.impl.AbstractMetadataResolver.doInitialize(AbstractMetadataResolver.java:191)\r\n net.shibboleth.utilities.java.support.component.AbstractInitializableComponent.initialize(AbstractInitializableComponent.java:61)\r\n org.pac4j.saml.metadata.SAML2IdentityProviderMetadataResolver.resolve(SAML2IdentityProviderMetadataResolver.java:95)\r\n org.pac4j.saml.client.SAML2Client.initIdentityProviderMetadataResolver(SAML2Client.java:183)\r\n org.pac4j.saml.client.SAML2Client.internalInit(SAML2Client.java:126)\r\n org.pac4j.core.util.InitializableObject.init(InitializableObject.java:37)\r\n org.pac4j.core.client.IndirectClient.getRedirectAction(IndirectClient.java:106)\r\n org.pac4j.core.client.IndirectClient.redirect(IndirectClient.java:85)\r\n```\r\n\r\nI noticed when i debug my app that this line of code in the file SAML2IdentityProviderMetadataResolver.java\r\n```java\r\nfinal Document inCommonMDDoc = Configuration.getParserPool().parse(in);\r\n```\r\n\r\nthe inCommonMDDoc is always of type null, it has a refrence but the type is null so when my app try to unmarshall the the xml data i'm getting the exception above .\r\n\r\nis this normal ?"},"comment":{"url":"https://api.github.com/repos/pac4j/pac4j/issues/comments/125490918","html_url":"https://github.com/pac4j/pac4j/issues/212#issuecomment-125490918","issue_url":"https://api.github.com/repos/pac4j/pac4j/issues/212","id":125490918,"user":{"login":"mmoayyed","id":1205228,"avatar_url":"https://avatars.githubusercontent.com/u/1205228?v=3","gravatar_id":"","url":"https://api.github.com/users/mmoayyed","html_url":"https://github.com/mmoayyed","followers_url":"https://api.github.com/users/mmoayyed/followers","following_url":"https://api.github.com/users/mmoayyed/following{/other_user}","gists_url":"https://api.github.com/users/mmoayyed/gists{/gist_id}","starred_url":"https://api.github.com/users/mmoayyed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mmoayyed/subscriptions","organizations_url":"https://api.github.com/users/mmoayyed/orgs","repos_url":"https://api.github.com/users/mmoayyed/repos","events_url":"https://api.github.com/users/mmoayyed/events{/privacy}","received_events_url":"https://api.github.com/users/mmoayyed/received_events","type":"User","site_admin":false},"created_at":"2015-07-28T07:59:35Z","updated_at":"2015-07-28T07:59:35Z","body":"Nothing yet. I have been busy with other engagements. I may be able to get to this by the weekend, unless @leleuj or @miremond beat me to it."}}