Uploaded image for project: 'Hawkular'
  1. Hawkular
  2. HAWKULAR-1010

NPE when credentials are correct but Hawkular-Persona is invalid

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 1.0.0.Alpha 11
    • None
    • _am_uncertain
    • None

      When sending correct user credentials and invalid Hawkular-Persona (ie: non existing organization), there's a NPE in the following path:

        at org.hawkular.accounts.api.internal.impl.PersonaServiceImpl.isAllowedToImpersonate(PersonaServiceImpl.java:194)
        at org.hawkular.accounts.api.internal.impl.PersonaServiceImpl.getCurrent(PersonaServiceImpl.java:172)
      

      The code should throw an exception here.

              jpkroehling@redhat.com Juraci Paixão Kröhling (Inactive)
              jpkroehling@redhat.com Juraci Paixão Kröhling (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: