You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@roller.apache.org by "Allen Gilliland (JIRA)" <no...@atlassian.com> on 2007/05/29 18:58:55 UTC

[Roller-JIRA] Created: (ROL-1436) JPA backend code triggers lots of warning messages at build time

JPA backend code triggers lots of warning messages at build time
----------------------------------------------------------------

                 Key: ROL-1436
                 URL: http://opensource.atlassian.com/projects/roller/browse/ROL-1436
             Project: Roller
          Issue Type: Task
          Components: JPA Backend
            Reporter: Allen Gilliland
            Assignee: Roller Unassigned


There are a ton of warning messages given when building the new jpa backend code and they should probably be addressed ...

[openjpac] "org.apache.roller.pojos.TaskLockData" uses property access, but its field "timeAquired" is accessed directly in method "getLeaseExpires" defined in "org.apache.roller.pojos.TaskLockData".

[openjpac] Bytecode analysis of the setter and getter methods for persistent property "org.apache.roller.pojos.TaskLockData.locked" indicates that the two methods might be acting on different backing fields.  The setter method assigns to field "locked", while the getter method returns field "null".



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/roller/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[Roller-JIRA] Commented: (ROL-1436) JPA backend code triggers lots of warning messages at build time

Posted by "Allen Gilliland (JIRA)" <no...@atlassian.com>.
    [ http://opensource.atlassian.com/projects/roller/browse/ROL-1436?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_13787 ] 

Allen Gilliland commented on ROL-1436:
--------------------------------------

I also see a ton of these messages at runtime ...

RollerPU  WARN   [main] openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.roller.pojos.RefererData".  Ignoring.

sounds like something not right in the mapping files.

> JPA backend code triggers lots of warning messages at build time
> ----------------------------------------------------------------
>
>                 Key: ROL-1436
>                 URL: http://opensource.atlassian.com/projects/roller/browse/ROL-1436
>             Project: Roller
>          Issue Type: Task
>          Components: JPA Backend
>            Reporter: Allen Gilliland
>            Assignee: Roller Unassigned
>
> There are a ton of warning messages given when building the new jpa backend code and they should probably be addressed ...
> [openjpac] "org.apache.roller.pojos.TaskLockData" uses property access, but its field "timeAquired" is accessed directly in method "getLeaseExpires" defined in "org.apache.roller.pojos.TaskLockData".
> [openjpac] Bytecode analysis of the setter and getter methods for persistent property "org.apache.roller.pojos.TaskLockData.locked" indicates that the two methods might be acting on different backing fields.  The setter method assigns to field "locked", while the getter method returns field "null".

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/roller/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira