On Thu, Mar 13, 2014 at 4:12 PM, Bill Burke <bburke@redhat.com> wrote:
I was able to reproduce and fix it.  alpha 4 release incoming.


awesome!

local creation of user works fine!

thanks 

-Matthias
 


On 3/13/2014 11:00 AM, Matthias Wessendorf wrote:
just saw

https://github.com/keycloak/keycloak/pull/294


let me build it locally and give it a quick run here


-M


On Thu, Mar 13, 2014 at 3:56 PM, Matthias Wessendorf <matzew@apache.org
<mailto:matzew@apache.org>> wrote:

    damn! email - how does it work?

    Sorry, but by accident I did not reply to the list :)

    * cache clearing did help;

    * Regarding the NPE Bill replied "Ok, I'll take a look and push
    another release.  Probably just need a null check."


    -M

    On Thu, Mar 13, 2014 at 2:43 PM, Matthias Wessendorf
    <matzew@apache.org <mailto:matzew@apache.org>> wrote:




        On Thu, Mar 13, 2014 at 2:21 PM, Bill Burke <bburke@redhat.com
        <mailto:bburke@redhat.com>> wrote:



            On 3/13/2014 5:15 AM, Matthias Wessendorf wrote:
             > Hello,
             >
             > when deploying the |deployments| folder of the
             > /keycloak-war-dist-all-1.0-alpha-3/ I noticed the
            following/WARN/:
             >
             > |10:02:18,449 WARN  [org.jboss.as.ee
            <http://org.jboss.as.ee>  <http://org.jboss.as.ee>] (MSC

            service thread 1-9) JBAS011006: Not installing optional
            component
            org.jboss.resteasy.plugins.server.servlet.Servlet3AsyncHttpRequest$Servlet3ExecutionContext$Servle3AsychronousResponse
            due to exception:
            org.jboss.as.server.deployment.DeploymentUnitProcessingException:
            JBAS011054: Could not find default constructor for class
            org.jboss.resteasy.plugins.server.servlet.Servlet3AsyncHttpRequest$Servlet3ExecutionContext$Servle3AsychronousResponse
             >      at
            org.jboss.as.ee.component.ComponentDescription$DefaultComponentConfigurator.configure(ComponentDescription.java:606)
             >      at
            org.jboss.as.ee.component.deployers.EEModuleConfigurationProcessor.deploy(EEModuleConfigurationProcessor.java:81)
             >      at
            org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:113)
            [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]
             >      at
            org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)
            [jboss-msc-1.0.2.GA.jar:1.0.2.GA <http://1.0.2.GA>
              <http://1.0.2.GA>]
             >      at
            org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)
            [jboss-msc-1.0.2.GA.jar:1.0.2.GA <http://1.0.2.GA>
              <http://1.0.2.GA>]
             >      at
            java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
            [rt.jar:1.7.0_09]
             >      at
            java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
            [rt.jar:1.7.0_09]
             >      at java.lang.Thread.run(Thread.java:722)
            [rt.jar:1.7.0_09]
             >

            Haven't figured out the above ^.  I assume you are running
            on EAP/AS7?



        Correct - JBoss AS 7.1.1-Final


            |
             >
             > Now, login (admin:admin) and the reset flow works fine.
            After creating a
             > REALM, I am on the Tab (of the new realm), but there I
            notice a few
             > "Page not found..." messages for these links:
             >

            Try clearing your browser cache and trying everything again.



        great! now I could create some roles and set default roles.


        However, the NPE on user creation is still present:



        Caused by: java.lang.NullPointerException

        at
        org.keycloak.services.resources.admin.UsersResource.updateUserFromRep(UsersResource.java:123)
        [keycloak-services-1.0-alpha-3.jar:]

        at
        org.keycloak.services.resources.admin.UsersResource.createUser(UsersResource.java:106)
        [keycloak-services-1.0-alpha-3.jar:]

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        [rt.jar:1.7.0_09]

        at
        sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        [rt.jar:1.7.0_09]

        at
        sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        [rt.jar:1.7.0_09]

        at java.lang.reflect.Method.invoke(Method.java:601)
        [rt.jar:1.7.0_09]

        at
        org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:137)
        [resteasy-jaxrs-3.0.6.Final.jar:]

        at
        org.jboss.resteasy.core.ResourceMethodInvoker.invokeOnTarget(ResourceMethodInvoker.java:280)
        [resteasy-jaxrs-3.0.6.Final.jar:]

        at
        org.jboss.resteasy.core.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:234)
        [resteasy-jaxrs-3.0.6.Final.jar:]

        at
        org.jboss.resteasy.core.ResourceLocatorInvoker.invokeOnTargetObject(ResourceLocatorInvoker.java:140)
        [resteasy-jaxrs-3.0.6.Final.jar:]

        at
        org.jboss.resteasy.core.ResourceLocatorInvoker.invoke(ResourceLocatorInvoker.java:109)
        [resteasy-jaxrs-3.0.6.Final.jar:]

        at
        org.jboss.resteasy.core.ResourceLocatorInvoker.invokeOnTargetObject(ResourceLocatorInvoker.java:135)
        [resteasy-jaxrs-3.0.6.Final.jar:]

        at
        org.jboss.resteasy.core.ResourceLocatorInvoker.invoke(ResourceLocatorInvoker.java:109)
        [resteasy-jaxrs-3.0.6.Final.jar:]

        at
        org.jboss.resteasy.core.ResourceLocatorInvoker.invokeOnTargetObject(ResourceLocatorInvoker.java:135)
        [resteasy-jaxrs-3.0.6.Final.jar:]

        at
        org.jboss.resteasy.core.ResourceLocatorInvoker.invoke(ResourceLocatorInvoker.java:103)
        [resteasy-jaxrs-3.0.6.Final.jar:]

        at
        org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:356)
        [resteasy-jaxrs-3.0.6.Final.jar:]

        ... 22 more






            --
            Bill Burke
            JBoss, a division of Red Hat
            http://bill.burkecentral.com
            _______________________________________________
            keycloak-dev mailing list
            keycloak-dev@lists.jboss.org
            <mailto:keycloak-dev@lists.jboss.org>

            https://lists.jboss.org/mailman/listinfo/keycloak-dev




        --
        Matthias Wessendorf

        blog: http://matthiaswessendorf.wordpress.com/
        sessions: http://www.slideshare.net/mwessendorf
        twitter: http://twitter.com/mwessendorf




    --
    Matthias Wessendorf

    blog: http://matthiaswessendorf.wordpress.com/
    sessions: http://www.slideshare.net/mwessendorf
    twitter: http://twitter.com/mwessendorf




--
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf

--
Bill Burke
JBoss, a division of Red Hat
http://bill.burkecentral.com



--
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf