[ https://issues.apache.org/jira/browse/OPENJPA-2767?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16844094#comment-16844094 ]
ASF subversion and git services commented on OPENJPA-2767: ---------------------------------------------------------- Commit 02ca4645733c8250d07d5003bfff17b7e5677fc9 in openjpa's branch refs/heads/2.2.x from Will Dazey [ https://gitbox.apache.org/repos/asf?p=openjpa.git;h=02ca464 ] Merge pull request #47 from dazey3/2767_2.2.x OPENJPA-2767: fix for checkstyles > Incomplete ValueMapDiscriminatorStrategy cache > ----------------------------------------------- > > Key: OPENJPA-2767 > URL: https://issues.apache.org/jira/browse/OPENJPA-2767 > Project: OpenJPA > Issue Type: Bug > Reporter: Will Dazey > Assignee: Will Dazey > Priority: Minor > Fix For: 2.2.3, 3.1.1 > > Attachments: OJ2767_2.2.x_v4.patch > > Time Spent: 1.5h > Remaining Estimate: 0h > > There exists the possibility that the discriminator class cache in > ValueMapDiscriminatorStrategy was originally created before the server fully > loaded all classes. If this happens, the cache is incomplete and needs to be > rebuilt. A simple enough strategy would be to just try rebuilding the cache, > before giving up and throwing a CNFE, and check again. -- This message was sent by Atlassian JIRA (v7.6.3#76005)