Uploaded image for project: 'MidPoint'
  1. MidPoint
  2. MID-1924

Wicket exception when editing account attributes in Resource-Accounts

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 3.0 (Newton)
    • 3.0 (Newton)
    • GUI
    • None

    Description

      1. go to Resource - Accounts
      2. edit some account
      3. click Show empty values
      4. set value to some attribute, e.g. carLicense in LDAP resource
      5. exception (stack visible only if wicket is set to development instead of deployment):

      Caused by: java.lang.reflect.InvocationTargetException: null
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.7.0_55]
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[na:1.7.0_55]
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_55]
              at java.lang.reflect.Method.invoke(Method.java:606) ~[na:1.7.0_55]
              at org.apache.wicket.RequestListenerInterface.internalInvoke(RequestListenerInterface.java:258) ~[wicket-core-6.14.0.jar:6.14.0]
              ... 59 common frames omitted
      Caused by: java.lang.IllegalStateException: ServletRequest does not contain multipart content. One possible solution is to explicitly call Form.setMultipart(true), Wicket tries its best to auto-detect multipart forms but there are certain situation where it cannot.
              at org.apache.wicket.protocol.http.servlet.MultipartServletWebRequestImpl.<init>(MultipartServletWebRequestImpl.java:128) ~[wicket-core-6.14.0.jar:6.14.0]
              at org.apache.wicket.protocol.http.servlet.MultipartServletWebRequestImpl.<init>(MultipartServletWebRequestImpl.java:91) ~[wicket-core-6.14.0.jar:6.14.0]
              at org.apache.wicket.protocol.http.servlet.ServletWebRequest.newMultipartWebRequest(ServletWebRequest.java:438) ~[wicket-core-6.14.0.jar:6.14.0]
              at org.apache.wicket.markup.html.form.Form.handleMultiPart(Form.java:1384) ~[wicket-core-6.14.0.jar:6.14.0]
              at org.apache.wicket.markup.html.form.Form.onFormSubmitted(Form.java:734) ~[wicket-core-6.14.0.jar:6.14.0]
              at org.apache.wicket.ajax.form.AjaxFormSubmitBehavior.onEvent(AjaxFormSubmitBehavior.java:156) ~[wicket-core-6.14.0.jar:6.14.0]
      

      Attachments

        Activity

          People

            vix Ivan Noris
            vix Ivan Noris
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: