[ 
https://issues.apache.org/jira/browse/OPENMEETINGS-531?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Maxim Solodovnik closed OPENMEETINGS-531.
-----------------------------------------

    
> Error Missing[XXXX]
> -------------------
>
>                 Key: OPENMEETINGS-531
>                 URL: https://issues.apache.org/jira/browse/OPENMEETINGS-531
>             Project: Openmeetings
>          Issue Type: Bug
>          Components: UI
>    Affects Versions: 2.0 Apache Incubator Release
>         Environment: Windows and Oracle
>            Reporter: DROOPY
>            Assignee: SebastianWagner
>             Fix For: 2.1 Apache Release
>
>         Attachments: 111.jpg, openmeetings_log.zip, OpenMeetings - Windows 
> Internet Explorer_2013-02-18_11-11-44.jpg
>
>
> 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

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to