<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">When you look at clients of master
      realm, are you seeing master admin client for all of them? For
      example if you have 3 realms: "master", "demo", "foo", you should
      see all those clients under master realm:<br>
      <br>
      - foo-realm<br>
      - master-realm<br>
      - demo-realm <br>
      <br>
      Is it the case?<br>
      <br>
      Thanks,<br>
      Marek<br>
      <br>
      On 21/11/15 00:26, Travis Masselink wrote:<br>
    </div>
    <blockquote
cite="mid:CAJPq-9oUAOU6HqBJjcFy9KtQZjrvJtKikcFPbqKn=4uwcKYaRA@mail.gmail.com"
      type="cite">
      <div dir="ltr">That didn't work for me. I Tried 1.2 -&gt; 1.5, 1.2
        -&gt; 1.4 and then 1.2 -&gt; 1.3.1 (success) -&gt; 1.4. But all
        failed. I then cloned the project and built 1.7 and tried 1.2
        -&gt; 1.7. This also failed. In all cases it looks like 1.4 is
        the problem as this is the exception I get with all versions but
        1.3.1:
        <div><br>
        </div>
        <div>
          <div>6:10:43,401 ERROR
            [org.keycloak.services.resources.KeycloakApplication]
            (ServerService Thread Pool -- 62) Failed to migrate
            datamodel: java.lang.NullPointerException</div>
          <div><span class="" style="white-space:pre">        </span>at
org.keycloak.models.ImpersonationConstants.setupMasterRealmRole(ImpersonationConstants.java:26)</div>
          <div><span class="" style="white-space:pre">        </span>at
org.keycloak.models.ImpersonationConstants.setupImpersonationService(ImpersonationConstants.java:47)</div>
          <div><span class="" style="white-space:pre">        </span>at
            org.keycloak.migration.migrators.<b>MigrateTo1_4_0</b>.migrate(MigrateTo1_4_0.java:30)</div>
        </div>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On Tue, Nov 17, 2015 at 12:39 AM,
          Lohitha Chiranjeewa <span dir="ltr">&lt;<a
              moz-do-not-send="true" href="mailto:kalc04@gmail.com"
              target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:kalc04@gmail.com">kalc04@gmail.com</a></a>&gt;</span> wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div dir="ltr">
              <div>
                <div>Had the exact problem a few moments ago, thanks for
                  clarifying.<br>
                  <br>
                </div>
                Regards,<br>
              </div>
              Lohitha.<br>
            </div>
            <div class="HOEnZb">
              <div class="h5">
                <div class="gmail_extra"><br>
                  <div class="gmail_quote">On Tue, Nov 17, 2015 at 12:48
                    AM, Felipe Braun Azambuja <span dir="ltr">&lt;<a
                        moz-do-not-send="true"
                        href="mailto:felipe.braun@intelbras.com.br"
                        target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:felipe.braun@intelbras.com.br">felipe.braun@intelbras.com.br</a></a>&gt;</span>
                    wrote:<br>
                    <blockquote class="gmail_quote" style="margin:0 0 0
                      .8ex;border-left:1px #ccc solid;padding-left:1ex">Great!
                      Thanks for the quick reply. Upgraded now :)<br>
                      <span><br>
                        Il 16/11/2015 16:13, Stian Thorgersen ha
                        scritto:<br>
                        &gt; Hi,<br>
                        &gt;<br>
                        &gt; There's an issue with upgrading to 1.6 from
                        1.2. It will be fixed in<br>
                        &gt; 1.7, but you can bypass the issue by first
                        upgrading to 1.5 then to 1.6<br>
                        &gt;<br>
                        &gt; On 16 November 2015 at 18:13, Felipe Braun
                        Azambuja<br>
                      </span>&gt; &lt;<a moz-do-not-send="true"
                        href="mailto:felipe.braun@intelbras.com.br"
                        target="_blank">felipe.braun@intelbras.com.br</a>
                      &lt;mailto:<a moz-do-not-send="true"
                        href="mailto:felipe.braun@intelbras.com.br"
                        target="_blank">felipe.braun@intelbras.com.br</a>&gt;&gt;<br>
                      <div>
                        <div>&gt; wrote:<br>
                          &gt;<br>
                          &gt;     Hey all,<br>
                          &gt;<br>
                          &gt;     I'm trying to upgrade Keycloak in our
                          test instance, but I'm getting a<br>
                          &gt;     really generic error while trying to
                          start the service:<br>
                          &gt;<br>
                          &gt;     15:09:35,559 INFO<br>
                          &gt;   
                           [org.hibernate.hql.internal.ast.ASTQueryTranslatorFactory]<br>
                          &gt;     (ServerService Thread Pool -- 60)
                          HHH000397: Using<br>
                          &gt;     ASTQueryTranslatorFactory<br>
                          &gt;     15:09:35,594 INFO 
                          [org.hibernate.validator.internal.util.Version]<br>
                          &gt;     (ServerService Thread Pool -- 60)
                          HV000001: Hibernate Validator<br>
                          &gt;     5.1.3.Final<br>
                          &gt;     15:09:38,643 ERROR
                          [org.keycloak.services.resources.KeycloakApplication]<br>
                          &gt;     (ServerService Thread Pool -- 60)
                          Failed to migrate datamodel:<br>
                          &gt;     java.lang.NullPointerException<br>
                          &gt;               at<br>
                          &gt;   
 org.keycloak.migration.migrators.MigrateTo1_6_0.migrate(MigrateTo1_6_0.java:81)<br>
                          &gt;               at<br>
                          &gt;   
 org.keycloak.migration.MigrationModelManager.migrate(MigrationModelManager.java:55)<br>
                          &gt;               at<br>
                          &gt;   
 org.keycloak.services.resources.KeycloakApplication.migrateModel(KeycloakApplication.java:101)<br>
                          &gt;               at<br>
                          &gt;   
 org.keycloak.services.resources.KeycloakApplication.&lt;init&gt;(KeycloakApplication.java:86)<br>
                          &gt;               at<br>
                          &gt;   
                           sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
                          Method)<br>
                          &gt;     (...)<br>
                          &gt;<br>
                          &gt;     Is there any way to increase logging
                          level on the migration part, so<br>
                          &gt;     that I can try and understand where's
                          the problem with our database?<br>
                          &gt;<br>
                          &gt;<br>
                          &gt;     Thanks!<br>
                          &gt;     --<br>
                          &gt;     Felipe Braun Azambuja<br>
                          &gt;     DBA<br>
                          &gt;     Tecnologia da Informação e
                          Comunicação<br>
                          &gt;     (48) 3281 9577<br>
                        </div>
                      </div>
                      &gt;     <a moz-do-not-send="true"
                        href="mailto:felipe.braun@intelbras.com.br"
                        target="_blank">felipe.braun@intelbras.com.br</a>
                      &lt;mailto:<a moz-do-not-send="true"
                        href="mailto:felipe.braun@intelbras.com.br"
                        target="_blank">felipe.braun@intelbras.com.br</a>&gt;<br>
                      <span>&gt;     Esta mensagem, incluindo seus
                        anexos, contém informações protegidas<br>
                        &gt;     por lei, sujeitas a privilégios e/ou
                        confidencialidades, não podendo<br>
                        &gt;     ser retransmitida, arquivada, divulgada
                        ou copiada sem autorização<br>
                        &gt;     do remetente. O remetente utiliza o
                        correio eletrônico no exercício<br>
                        &gt;     do seu trabalho ou em razão dele,
                        eximindo esta instituição de<br>
                        &gt;     qualquer responsabilidade por
                        utilização indevida. Caso tenha<br>
                        &gt;     recebido esta mensagem por engano, por
                        favor informe o remetente<br>
                        &gt;     respondendo imediatamente a este
                        e-mail, e em seguida apague-a do<br>
                        &gt;     seu computador.<br>
                        &gt;<br>
                        &gt;     The information contained in this
                        e-mail and its attachments are<br>
                        &gt;     protected by law, subjected to
                        privilege and/or confidentiality and<br>
                        &gt;     cannot be retransmitted, filed,
                        disclosed or copied without<br>
                        &gt;     authorization from the sender. The
                        sender uses the electronic mail<br>
                        &gt;     in the exercise of his/her work or by
                        virtue thereof, and the<br>
                        &gt;     institution accepts no liability from
                        its undue use. If you have<br>
                        &gt;     received this message by mistake,
                        please notify us immediately by<br>
                        &gt;     returning the e-mail and deleting this
                        message from your system.<br>
                        &gt;<br>
                        &gt;   
                         _______________________________________________<br>
                        &gt;     keycloak-user mailing list<br>
                      </span>&gt;     <a moz-do-not-send="true"
                        href="mailto:keycloak-user@lists.jboss.org"
                        target="_blank">keycloak-user@lists.jboss.org</a>
                      &lt;mailto:<a moz-do-not-send="true"
                        href="mailto:keycloak-user@lists.jboss.org"
                        target="_blank">keycloak-user@lists.jboss.org</a>&gt;<br>
                      &gt;     <a moz-do-not-send="true"
                        href="https://lists.jboss.org/mailman/listinfo/keycloak-user"
                        rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/keycloak-user</a><br>
                      <div>
                        <div>&gt;<br>
                          &gt;<br>
                          <br>
                          --<br>
                          Felipe Braun Azambuja<br>
                          DBA<br>
                          Tecnologia da Informação e Comunicação<br>
                          (48) 3281 9577<br>
                          <a moz-do-not-send="true"
                            href="mailto:felipe.braun@intelbras.com.br"
                            target="_blank">felipe.braun@intelbras.com.br</a><br>
                          Esta mensagem, incluindo seus anexos, contém
                          informações protegidas por lei, sujeitas a
                          privilégios e/ou confidencialidades, não
                          podendo ser retransmitida, arquivada,
                          divulgada ou copiada sem autorização do
                          remetente. O remetente utiliza o correio
                          eletrônico no exercício do seu trabalho ou em
                          razão dele, eximindo esta instituição de
                          qualquer responsabilidade por utilização
                          indevida. Caso tenha recebido esta mensagem
                          por engano, por favor informe o remetente
                          respondendo imediatamente a este e-mail, e em
                          seguida apague-a do seu computador.<br>
                          <br>
                          The information contained in this e-mail and
                          its attachments are protected by law,
                          subjected to privilege and/or confidentiality
                          and cannot be retransmitted, filed, disclosed
                          or copied without authorization from the
                          sender. The sender uses the electronic mail in
                          the exercise of his/her work or by virtue
                          thereof, and the institution accepts no
                          liability from its undue use. If you have
                          received this message by mistake, please
                          notify us immediately by returning the e-mail
                          and deleting this message from your system.<br>
                          <br>
_______________________________________________<br>
                          keycloak-user mailing list<br>
                          <a moz-do-not-send="true"
                            href="mailto:keycloak-user@lists.jboss.org"
                            target="_blank">keycloak-user@lists.jboss.org</a><br>
                          <a moz-do-not-send="true"
                            href="https://lists.jboss.org/mailman/listinfo/keycloak-user"
                            rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/keycloak-user</a><br>
                        </div>
                      </div>
                    </blockquote>
                  </div>
                  <br>
                </div>
              </div>
            </div>
            <br>
            _______________________________________________<br>
            keycloak-user mailing list<br>
            <a moz-do-not-send="true"
              href="mailto:keycloak-user@lists.jboss.org">keycloak-user@lists.jboss.org</a><br>
            <a moz-do-not-send="true"
              href="https://lists.jboss.org/mailman/listinfo/keycloak-user"
              rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/keycloak-user</a><br>
          </blockquote>
        </div>
        <br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
keycloak-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:keycloak-user@lists.jboss.org">keycloak-user@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/keycloak-user">https://lists.jboss.org/mailman/listinfo/keycloak-user</a></pre>
    </blockquote>
    <br>
  </body>
</html>