Ivo Ladage - van Doorn created AMDATUAUTH-128:
-------------------------------------------------

             Summary: NullPointerException when registering a consumer without 
properties
                 Key: AMDATUAUTH-128
                 URL: http://jira.amdatu.org/jira/browse/AMDATUAUTH-128
             Project: Amdatu Auth
          Issue Type: Bug
          Components: Authorization & authentication
    Affects Versions: 0.2.1
            Reporter: Ivo Ladage - van Doorn
            Assignee: Ivo Ladage - van Doorn


A nullpointer exception occurs when a OAuth consumer is registered without 
properties:

[2012-03-14 13:43:38] WARNING: Invocation of 'start' failed. 
[org.amdatu.auth.example.oauth.provider]
null
java.lang.NullPointerException
        at 
org.amdatu.auth.oauth.consumerregistry.mem.service.OAuthServiceConsumerImpl.clone(OAuthServiceConsumerImpl.java:75)
        at 
org.amdatu.auth.oauth.consumerregistry.mem.service.OAuthServiceConsumerImpl.clone(OAuthServiceConsumerImpl.java:61)
        at 
org.amdatu.auth.oauth.consumerregistry.mem.service.InMemConsumerRegistryImpl.addConsumer(InMemConsumerRegistryImpl.java:93)
        at 
org.amdatu.auth.example.oauth.provider.service.OAuthProtectedResource.registerConsumer(OAuthProtectedResource.java:136)
        at 
org.amdatu.auth.example.oauth.provider.service.OAuthProtectedResource.start(OAuthProtectedResource.java:83)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at 
org.apache.felix.dm.InvocationUtil.invokeMethod(InvocationUtil.java:70)
        at 
org.apache.felix.dm.InvocationUtil.invokeCallbackMethod(InvocationUtil.java:40)
        at 
org.apache.felix.dm.impl.ComponentImpl.invokeCallbackMethod(ComponentImpl.java:668)
        at org.apache.felix.dm.impl.ComponentImpl.invoke(ComponentImpl.java:659)
        at 
org.apache.felix.dm.impl.ComponentImpl.bindService(ComponentImpl.java:604)
        at 
org.apache.felix.dm.impl.ComponentImpl.access$400(ComponentImpl.java:52)
        at org.apache.felix.dm.impl.ComponentImpl$11.run(ComponentImpl.java:207)
        at org.apache.felix.dm.impl.SerialExecutor$1.run(SerialExecutor.java:47)


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
http://jira.amdatu.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        
_______________________________________________
Amdatu-developers mailing list
[email protected]
http://lists.amdatu.org/mailman/listinfo/amdatu-developers

Reply via email to