ofbiz-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Brohl (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (OFBIZ-9705) [FB] Package org.apache.ofbiz.entity.serialize
Date Fri, 13 Oct 2017 21:02:00 GMT

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

Michael Brohl reassigned OFBIZ-9705:

    Assignee: Michael Brohl

> [FB] Package org.apache.ofbiz.entity.serialize
> ----------------------------------------------
>                 Key: OFBIZ-9705
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-9705
>             Project: OFBiz
>          Issue Type: Sub-task
>    Affects Versions: Trunk
>            Reporter: Julian Leichert
>            Assignee: Michael Brohl
>            Priority: Minor
>         Attachments: OFBIZ-9705_org.apache.ofbiz.entity.serialize_bugfixes.patch
> XmlSerializer.java:134, NP_LOAD_OF_KNOWN_NULL_VALUE
> - NP: Load of known null value in org.apache.ofbiz.entity.serialize.XmlSerializer.serializeSingle(Object,
> The variable referenced at this point is known to be null due to an earlier check against
null. Although this is valid, it might be a mistake (perhaps you intended to refer to a different
variable, or perhaps the earlier check to see if the variable is null should have been a check
to see if it was non-null).
> XmlSerializer.java:494, LI_LAZY_INIT_STATIC
> - LI: Incorrect lazy initialization of static field org.apache.ofbiz.entity.serialize.XmlSerializer.simpleDateFormatter
in org.apache.ofbiz.entity.serialize.XmlSerializer.getDateFormat()
> This method contains an unsynchronized lazy initialization of a non-volatile static field.
Because the compiler or processor may reorder instructions, threads are not guaranteed to
see a completely initialized object, if the method can be called by multiple threads. You
can make the field volatile to correct the problem. For more information, see the Java Memory
Model web site.

This message was sent by Atlassian JIRA

View raw message