You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openjpa.apache.org by "Rick Curtis (JIRA)" <ji...@apache.org> on 2010/01/26 19:04:34 UTC

[jira] Created: (OPENJPA-1482) NoSuchMethodError when calling setVersion on an enhanced property access Entity

NoSuchMethodError when calling setVersion on an enhanced property access Entity
-------------------------------------------------------------------------------

                 Key: OPENJPA-1482
                 URL: https://issues.apache.org/jira/browse/OPENJPA-1482
             Project: OpenJPA
          Issue Type: Bug
          Components: kernel
    Affects Versions: 2.0.0-M3, 1.2.2, 1.3.0, 2.0.0-beta
            Reporter: Rick Curtis
            Assignee: Rick Curtis


I get the following exception when I call setVersion(..) on an enhanced property access Entity.

java.lang.NoSuchMethodError: org/apache/openjpa/persistence/detachment/model/NoDetachedStateEntityPropertyAccess.pcsetPcVersionInit(Z)V
        at org.apache.openjpa.persistence.detachment.model.NoDetachedStateEntityPropertyAccess.setVersion(NoDetachedStateEntityPropertyAccess.java)

It appears that the bytecode that is generated by the enhancer added an invalid method call to the setVersion() method.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (OPENJPA-1482) NoSuchMethodError when calling setVersion on an enhanced property access Entity

Posted by "Rick Curtis (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OPENJPA-1482?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rick Curtis reassigned OPENJPA-1482:
------------------------------------

    Assignee: Michael Dick  (was: Rick Curtis)

> NoSuchMethodError when calling setVersion on an enhanced property access Entity
> -------------------------------------------------------------------------------
>
>                 Key: OPENJPA-1482
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-1482
>             Project: OpenJPA
>          Issue Type: Bug
>          Components: kernel
>    Affects Versions: 1.2.2, 1.3.0, 2.0.0-M3, 2.0.0-beta
>            Reporter: Rick Curtis
>            Assignee: Michael Dick
>             Fix For: 1.2.3
>
>         Attachments: OPENJPA-1482-1.2.x.patch
>
>
> I get the following exception when I call setVersion(..) on an enhanced property access Entity.
> java.lang.NoSuchMethodError: org/apache/openjpa/persistence/detachment/model/NoDetachedStateEntityPropertyAccess.pcsetPcVersionInit(Z)V
>         at org.apache.openjpa.persistence.detachment.model.NoDetachedStateEntityPropertyAccess.setVersion(NoDetachedStateEntityPropertyAccess.java)
> It appears that the bytecode that is generated by the enhancer added an invalid method call to the setVersion() method.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (OPENJPA-1482) NoSuchMethodError when calling setVersion on an enhanced property access Entity

Posted by "Michael Dick (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OPENJPA-1482?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Dick updated OPENJPA-1482:
----------------------------------

    Fix Version/s: 1.2.3

> NoSuchMethodError when calling setVersion on an enhanced property access Entity
> -------------------------------------------------------------------------------
>
>                 Key: OPENJPA-1482
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-1482
>             Project: OpenJPA
>          Issue Type: Bug
>          Components: kernel
>    Affects Versions: 1.2.2, 1.3.0, 2.0.0-M3, 2.0.0-beta
>            Reporter: Rick Curtis
>            Assignee: Rick Curtis
>             Fix For: 1.2.3
>
>         Attachments: OPENJPA-1482-1.2.x.patch
>
>
> I get the following exception when I call setVersion(..) on an enhanced property access Entity.
> java.lang.NoSuchMethodError: org/apache/openjpa/persistence/detachment/model/NoDetachedStateEntityPropertyAccess.pcsetPcVersionInit(Z)V
>         at org.apache.openjpa.persistence.detachment.model.NoDetachedStateEntityPropertyAccess.setVersion(NoDetachedStateEntityPropertyAccess.java)
> It appears that the bytecode that is generated by the enhancer added an invalid method call to the setVersion() method.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (OPENJPA-1482) NoSuchMethodError when calling setVersion on an enhanced property access Entity

Posted by "Michael Dick (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OPENJPA-1482?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Dick resolved OPENJPA-1482.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 2.0.0
                   1.3.0

> NoSuchMethodError when calling setVersion on an enhanced property access Entity
> -------------------------------------------------------------------------------
>
>                 Key: OPENJPA-1482
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-1482
>             Project: OpenJPA
>          Issue Type: Bug
>          Components: kernel
>    Affects Versions: 1.2.2, 1.3.0, 2.0.0-M3, 2.0.0-beta
>            Reporter: Rick Curtis
>            Assignee: Michael Dick
>             Fix For: 1.2.3, 1.3.0, 2.0.0
>
>         Attachments: OPENJPA-1482-1.2.x.patch
>
>
> I get the following exception when I call setVersion(..) on an enhanced property access Entity.
> java.lang.NoSuchMethodError: org/apache/openjpa/persistence/detachment/model/NoDetachedStateEntityPropertyAccess.pcsetPcVersionInit(Z)V
>         at org.apache.openjpa.persistence.detachment.model.NoDetachedStateEntityPropertyAccess.setVersion(NoDetachedStateEntityPropertyAccess.java)
> It appears that the bytecode that is generated by the enhancer added an invalid method call to the setVersion() method.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (OPENJPA-1482) NoSuchMethodError when calling setVersion on an enhanced property access Entity

Posted by "Donald Woods (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OPENJPA-1482?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Donald Woods updated OPENJPA-1482:
----------------------------------

    Fix Version/s:     (was: 2.0.0)
                   2.0.0-beta3

> NoSuchMethodError when calling setVersion on an enhanced property access Entity
> -------------------------------------------------------------------------------
>
>                 Key: OPENJPA-1482
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-1482
>             Project: OpenJPA
>          Issue Type: Bug
>          Components: kernel
>    Affects Versions: 1.2.2, 1.3.0, 2.0.0-M3, 2.0.0-beta
>            Reporter: Rick Curtis
>            Assignee: Michael Dick
>             Fix For: 1.2.3, 1.3.0, 2.0.0-beta3
>
>         Attachments: OPENJPA-1482-1.2.x.patch
>
>
> I get the following exception when I call setVersion(..) on an enhanced property access Entity.
> java.lang.NoSuchMethodError: org/apache/openjpa/persistence/detachment/model/NoDetachedStateEntityPropertyAccess.pcsetPcVersionInit(Z)V
>         at org.apache.openjpa.persistence.detachment.model.NoDetachedStateEntityPropertyAccess.setVersion(NoDetachedStateEntityPropertyAccess.java)
> It appears that the bytecode that is generated by the enhancer added an invalid method call to the setVersion() method.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (OPENJPA-1482) NoSuchMethodError when calling setVersion on an enhanced property access Entity

Posted by "Michael Dick (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OPENJPA-1482?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12805171#action_12805171 ] 

Michael Dick commented on OPENJPA-1482:
---------------------------------------

Tentatively targeting for 1.2.3. 

> NoSuchMethodError when calling setVersion on an enhanced property access Entity
> -------------------------------------------------------------------------------
>
>                 Key: OPENJPA-1482
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-1482
>             Project: OpenJPA
>          Issue Type: Bug
>          Components: kernel
>    Affects Versions: 1.2.2, 1.3.0, 2.0.0-M3, 2.0.0-beta
>            Reporter: Rick Curtis
>            Assignee: Rick Curtis
>             Fix For: 1.2.3
>
>         Attachments: OPENJPA-1482-1.2.x.patch
>
>
> I get the following exception when I call setVersion(..) on an enhanced property access Entity.
> java.lang.NoSuchMethodError: org/apache/openjpa/persistence/detachment/model/NoDetachedStateEntityPropertyAccess.pcsetPcVersionInit(Z)V
>         at org.apache.openjpa.persistence.detachment.model.NoDetachedStateEntityPropertyAccess.setVersion(NoDetachedStateEntityPropertyAccess.java)
> It appears that the bytecode that is generated by the enhancer added an invalid method call to the setVersion() method.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (OPENJPA-1482) NoSuchMethodError when calling setVersion on an enhanced property access Entity

Posted by "Rick Curtis (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OPENJPA-1482?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rick Curtis updated OPENJPA-1482:
---------------------------------

    Attachment: OPENJPA-1482-1.2.x.patch

Attaching a patch for the changes I propose for the 1.2.x branch and a test case. I'm not sure I'm sold on this being the proper change for trunk.

> NoSuchMethodError when calling setVersion on an enhanced property access Entity
> -------------------------------------------------------------------------------
>
>                 Key: OPENJPA-1482
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-1482
>             Project: OpenJPA
>          Issue Type: Bug
>          Components: kernel
>    Affects Versions: 1.2.2, 1.3.0, 2.0.0-M3, 2.0.0-beta
>            Reporter: Rick Curtis
>            Assignee: Rick Curtis
>         Attachments: OPENJPA-1482-1.2.x.patch
>
>
> I get the following exception when I call setVersion(..) on an enhanced property access Entity.
> java.lang.NoSuchMethodError: org/apache/openjpa/persistence/detachment/model/NoDetachedStateEntityPropertyAccess.pcsetPcVersionInit(Z)V
>         at org.apache.openjpa.persistence.detachment.model.NoDetachedStateEntityPropertyAccess.setVersion(NoDetachedStateEntityPropertyAccess.java)
> It appears that the bytecode that is generated by the enhancer added an invalid method call to the setVersion() method.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.