MyFaces Core
  1. MyFaces Core
  2. MYFACES-626

org.apache.myfaces.el.getType(Object base, int index) return null if base instanceof Object[]

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.1.0
    • Fix Version/s: 1.1.2
    • Component/s: General
    • Labels:
      None
    • Environment:
      w2k, jboss-4.0.2, tomcat55

      Description

      if (base instanceof Object[] && ((Object[])base)[index] != null) {
      Object[] array = (Object[]) base;
      return array[index].getClass().getComponentType(); == return null
      .....

      getComponentType() returns the Class representing the component type of an array. If this class does not represent an array class this method returns null.

        Activity

        Hide
        Pavel Stetsuk added a comment -

        >>org.apache.myfaces.el.getType(Object base, int index)
        org.apache.myfaces.el.PropertyResolverImpl.getType(Object base, int index)

        Show
        Pavel Stetsuk added a comment - >>org.apache.myfaces.el.getType(Object base, int index) org.apache.myfaces.el.PropertyResolverImpl.getType(Object base, int index)
        Hide
        Pavel Stetsuk added a comment -
        Show
        Pavel Stetsuk added a comment - see MYFACES-689

          People

          • Assignee:
            Manfred Geiler
            Reporter:
            Pavel Stetsuk
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development