Uploaded image for project: 'Java Script UI (App and Dialog Fields)'
  1. Java Script UI (App and Dialog Fields)
  2. JSFIELD-58

Prevent class cast exception when binding fields in SwitchableFormView

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Neutral Neutral
    • 2.0.7
    • None
    • None

      class info.magnolia.ui.editor.SwitchableFormView cannot be cast to class info.magnolia.ui.editor.FormView (info.magnolia.ui.editor.SwitchableFormView and info.magnolia.ui.editor.FormView are in unnamed module of loader org.apache.catalina.loader.ParallelWebappClassLoader @6ba63e7e)
      
      Subject
      class info.magnolia.ui.editor.SwitchableFormView cannot be cast to class info.magnolia.ui.editor.FormView (info.magnolia.ui.editor.SwitchableFormView and info.magnolia.ui.editor.FormView are in unnamed module of loader org.apache.catalina.loader.ParallelWebappClassLoader @6ba63e7e)
      Notification text
      RpcInvocationException: Unable to invoke method call in com.vaadin.ui.JavaScript$JavaScriptCallbackRpc
      caused by InvocationTargetException
      caused by ClassCastException: class info.magnolia.ui.editor.SwitchableFormView cannot be cast to class info.magnolia.ui.editor.FormView (info.magnolia.ui.editor.SwitchableFormView and info.magnolia.ui.editor.FormView are in unnamed module of loader org.apache.catalina.loader.ParallelWebappClassLoader @6ba63e7e) 

        Acceptance criteria

              canh.nguyen Canh Nguyen
              tmiyar Teresa Miyar
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: