Uploaded image for project: 'Mobile App'
  1. Mobile App
  2. MOBILEAPP-3

get-token with login and password : error 500

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • 1.0.0
    • None
    • None
    • None
    • 4.4 M5

      how to reproduce
      http://mstlucemobileapp-site.ironman.anyware.corp/_plugins/mobileapp/1/intranet/get-token
      In headers or body

      {"login":"fravetier","password":"admin"}
      

      I have the 500 error

      Caused by: java.lang.NullPointerException
      	at org.ametys.core.util.URIUtils._encodeUriComponent(URIUtils.java:90)
      	at org.ametys.core.util.URIUtils.encodeParameter(URIUtils.java:51)
      	at org.ametys.plugins.mobileapp.action.GetTokenAction.authenticate(GetTokenAction.java:128)
      	at org.ametys.plugins.mobileapp.action.GetTokenAction.act(GetTokenAction.java:83)
      

            cedric Cédric Damioli
            fravetier Frederic Ravetier (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: