Uploaded image for project: 'Openmeetings'
  1. Openmeetings
  2. OPENMEETINGS-531

Error Missing[XXXX]

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.0 Apache Incubator Release
    • 2.1.0 Apache Release
    • UI
    • None
    • Windows and Oracle

    Description

      UI display Error Missing[XXXX] when I use Oracle

      ERROR 02-18 11:08:27.781 Fieldmanagment.java 678985 255 org.openmeetings.app.data.basic.Fieldmanagment [NioProcessor-2] - [getLabelsByLanguage]:
      java.lang.NullPointerException: null
      at org.openmeetings.app.data.basic.Fieldmanagment.performReplace(Fieldmanagment.java:591) ~[openmeetings-2.0.0-RELEASE.jar:na]
      at org.openmeetings.app.data.basic.Fieldmanagment.getLabelsByLanguage(Fieldmanagment.java:209) ~[openmeetings-2.0.0-RELEASE.jar:na]

      Because in Oracle "" == null

      These rows in Oracle the value field is null.

      select t.value
      from FIELDLANGUAGESVALUES t
      where t.language_id = 11
      and t.fieldvalues_id in
      (300, 400, 971, 998, 1012, 1027, 1028, 1199, 1205)

      org.openmeetings.app.data.basic.Fieldmanagment
      line 205-211
      for (Object fl : query.getResultList())

      { Map<String, Object> map = new HashMap<String, Object>(); Object[] row = (Object[])fl; map.put("id", (Long)row[0]); map.put("value", -------------------------> performReplace((String)row[1], appName) <-------------------------); returnList.add(map); }

      when id in (300, 400, 971, 998, 1012, 1027, 1028, 1199, 1205)
      NullPointerException Occur
      the loop was break and the other row was not add into the List

      Attachments

        1. OpenMeetings - Windows Internet Explorer_2013-02-18_11-11-44.jpg
          32 kB
          DROOPY
        2. openmeetings_log.zip
          12 kB
          DROOPY
        3. 111.jpg
          31 kB
          DROOPY

        Activity

          People

            swagner Steve R Wagner
            realdroopy DROOPY
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: