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

NPE when credentials are correct but Hawkular-Persona is invalid

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        Activity

          People

            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

            Dates

              Created:
              Updated:
              Resolved: