You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openjpa.apache.org by "Amy Yang (JIRA)" <ji...@apache.org> on 2008/12/11 05:10:44 UTC
[jira] Created: (OPENJPA-824)
org.apache.openjpa.lib.util.ParseException when try to get property
descriptor for property: CacheMarshallers
org.apache.openjpa.lib.util.ParseException when try to get property descriptor for property: CacheMarshallers
-------------------------------------------------------------------------------------------------------------
Key: OPENJPA-824
URL: https://issues.apache.org/jira/browse/OPENJPA-824
Project: OpenJPA
Issue Type: Bug
Components: kernel
Environment: All supported environments
Reporter: Amy Yang
When running org/apache/openjpa/persistence/conf/TestKodoConfiguration, there will be an exception:
testBeanAccessors(org.apache.openjpa.persistence.conf.TestKodoConfiguration) Time elapsed: 0.172 sec <<< ERROR!
org.apache.openjpa.lib.util.ParseException: Errors occurred while creating property descriptors for the following properties: [CacheMarshallers].
at org.apache.openjpa.lib.conf.ConfigurationImpl.getPropertyDescriptors(ConfigurationImpl.java:449)
at org.apache.openjpa.persistence.conf.TestKodoConfiguration.testBeanAccessors(TestKodoConfiguration.java:128)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at junit.framework.TestCase.runTest(TestCase.java:154)
at junit.framework.TestCase.runBare(TestCase.java:127)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:118)
at org.apache.openjpa.persistence.test.PersistenceTestCase.run(PersistenceTestCase.java:127)
at junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:213)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:334)
at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:980)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (OPENJPA-824)
org.apache.openjpa.lib.util.ParseException when try to get property
descriptor for property: CacheMarshallers
Posted by "Amy Yang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OPENJPA-824?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Amy Yang updated OPENJPA-824:
-----------------------------
Currently TestKodoConfiguration is excluded.
To fix the ParseException, there will be 2 parts:
1. add information for property CacheMarshallers in corresponding localizer.properties.
2. change test code in TestKodoConfiguration to skip some check for kodo-specific property.
Then TestKodoConfiguration can be removed from the excluded list.
I'll attach the patch for review
> org.apache.openjpa.lib.util.ParseException when try to get property descriptor for property: CacheMarshallers
> -------------------------------------------------------------------------------------------------------------
>
> Key: OPENJPA-824
> URL: https://issues.apache.org/jira/browse/OPENJPA-824
> Project: OpenJPA
> Issue Type: Bug
> Components: kernel
> Environment: All supported environments
> Reporter: Amy Yang
>
> When running org/apache/openjpa/persistence/conf/TestKodoConfiguration, there will be an exception:
> testBeanAccessors(org.apache.openjpa.persistence.conf.TestKodoConfiguration) Time elapsed: 0.172 sec <<< ERROR!
> org.apache.openjpa.lib.util.ParseException: Errors occurred while creating property descriptors for the following properties: [CacheMarshallers].
> at org.apache.openjpa.lib.conf.ConfigurationImpl.getPropertyDescriptors(ConfigurationImpl.java:449)
> at org.apache.openjpa.persistence.conf.TestKodoConfiguration.testBeanAccessors(TestKodoConfiguration.java:128)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at junit.framework.TestCase.runTest(TestCase.java:154)
> at junit.framework.TestCase.runBare(TestCase.java:127)
> at junit.framework.TestResult$1.protect(TestResult.java:106)
> at junit.framework.TestResult.runProtected(TestResult.java:124)
> at junit.framework.TestResult.run(TestResult.java:109)
> at junit.framework.TestCase.run(TestCase.java:118)
> at org.apache.openjpa.persistence.test.PersistenceTestCase.run(PersistenceTestCase.java:127)
> at junit.framework.TestSuite.runTest(TestSuite.java:208)
> at junit.framework.TestSuite.run(TestSuite.java:203)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:213)
> at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
> at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
> at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:334)
> at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:980)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (OPENJPA-824)
org.apache.openjpa.lib.util.ParseException when try to get property
descriptor for property: CacheMarshallers
Posted by "Amy Yang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OPENJPA-824?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Amy Yang resolved OPENJPA-824.
------------------------------
Resolution: Fixed
The fix has been checked in (Thanks a lot to David Ezzio) with change 726860, 68, and 76.
The name of the test case is changed from TestKodoConfiguration to TestOpenJPAConfiguration.
> org.apache.openjpa.lib.util.ParseException when try to get property descriptor for property: CacheMarshallers
> -------------------------------------------------------------------------------------------------------------
>
> Key: OPENJPA-824
> URL: https://issues.apache.org/jira/browse/OPENJPA-824
> Project: OpenJPA
> Issue Type: Bug
> Components: kernel
> Environment: All supported environments
> Reporter: Amy Yang
> Attachments: OPENJPA-824.patch
>
>
> When running org/apache/openjpa/persistence/conf/TestKodoConfiguration, there will be an exception:
> testBeanAccessors(org.apache.openjpa.persistence.conf.TestKodoConfiguration) Time elapsed: 0.172 sec <<< ERROR!
> org.apache.openjpa.lib.util.ParseException: Errors occurred while creating property descriptors for the following properties: [CacheMarshallers].
> at org.apache.openjpa.lib.conf.ConfigurationImpl.getPropertyDescriptors(ConfigurationImpl.java:449)
> at org.apache.openjpa.persistence.conf.TestKodoConfiguration.testBeanAccessors(TestKodoConfiguration.java:128)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at junit.framework.TestCase.runTest(TestCase.java:154)
> at junit.framework.TestCase.runBare(TestCase.java:127)
> at junit.framework.TestResult$1.protect(TestResult.java:106)
> at junit.framework.TestResult.runProtected(TestResult.java:124)
> at junit.framework.TestResult.run(TestResult.java:109)
> at junit.framework.TestCase.run(TestCase.java:118)
> at org.apache.openjpa.persistence.test.PersistenceTestCase.run(PersistenceTestCase.java:127)
> at junit.framework.TestSuite.runTest(TestSuite.java:208)
> at junit.framework.TestSuite.run(TestSuite.java:203)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:213)
> at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
> at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
> at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:334)
> at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:980)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (OPENJPA-824)
org.apache.openjpa.lib.util.ParseException when try to get property
descriptor for property: CacheMarshallers
Posted by "Donald Woods (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OPENJPA-824?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Donald Woods updated OPENJPA-824:
---------------------------------
Fix Version/s: 2.0.0-M1
> org.apache.openjpa.lib.util.ParseException when try to get property descriptor for property: CacheMarshallers
> -------------------------------------------------------------------------------------------------------------
>
> Key: OPENJPA-824
> URL: https://issues.apache.org/jira/browse/OPENJPA-824
> Project: OpenJPA
> Issue Type: Bug
> Components: kernel
> Environment: All supported environments
> Reporter: Amy Yang
> Fix For: 2.0.0-M1
>
> Attachments: OPENJPA-824.patch
>
>
> When running org/apache/openjpa/persistence/conf/TestKodoConfiguration, there will be an exception:
> testBeanAccessors(org.apache.openjpa.persistence.conf.TestKodoConfiguration) Time elapsed: 0.172 sec <<< ERROR!
> org.apache.openjpa.lib.util.ParseException: Errors occurred while creating property descriptors for the following properties: [CacheMarshallers].
> at org.apache.openjpa.lib.conf.ConfigurationImpl.getPropertyDescriptors(ConfigurationImpl.java:449)
> at org.apache.openjpa.persistence.conf.TestKodoConfiguration.testBeanAccessors(TestKodoConfiguration.java:128)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at junit.framework.TestCase.runTest(TestCase.java:154)
> at junit.framework.TestCase.runBare(TestCase.java:127)
> at junit.framework.TestResult$1.protect(TestResult.java:106)
> at junit.framework.TestResult.runProtected(TestResult.java:124)
> at junit.framework.TestResult.run(TestResult.java:109)
> at junit.framework.TestCase.run(TestCase.java:118)
> at org.apache.openjpa.persistence.test.PersistenceTestCase.run(PersistenceTestCase.java:127)
> at junit.framework.TestSuite.runTest(TestSuite.java:208)
> at junit.framework.TestSuite.run(TestSuite.java:203)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:213)
> at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
> at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
> at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:334)
> at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:980)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (OPENJPA-824)
org.apache.openjpa.lib.util.ParseException when try to get property
descriptor for property: CacheMarshallers
Posted by "Amy Yang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OPENJPA-824?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Amy Yang updated OPENJPA-824:
-----------------------------
Attachment: OPENJPA-824.patch
patch for review
> org.apache.openjpa.lib.util.ParseException when try to get property descriptor for property: CacheMarshallers
> -------------------------------------------------------------------------------------------------------------
>
> Key: OPENJPA-824
> URL: https://issues.apache.org/jira/browse/OPENJPA-824
> Project: OpenJPA
> Issue Type: Bug
> Components: kernel
> Environment: All supported environments
> Reporter: Amy Yang
> Attachments: OPENJPA-824.patch
>
>
> When running org/apache/openjpa/persistence/conf/TestKodoConfiguration, there will be an exception:
> testBeanAccessors(org.apache.openjpa.persistence.conf.TestKodoConfiguration) Time elapsed: 0.172 sec <<< ERROR!
> org.apache.openjpa.lib.util.ParseException: Errors occurred while creating property descriptors for the following properties: [CacheMarshallers].
> at org.apache.openjpa.lib.conf.ConfigurationImpl.getPropertyDescriptors(ConfigurationImpl.java:449)
> at org.apache.openjpa.persistence.conf.TestKodoConfiguration.testBeanAccessors(TestKodoConfiguration.java:128)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at junit.framework.TestCase.runTest(TestCase.java:154)
> at junit.framework.TestCase.runBare(TestCase.java:127)
> at junit.framework.TestResult$1.protect(TestResult.java:106)
> at junit.framework.TestResult.runProtected(TestResult.java:124)
> at junit.framework.TestResult.run(TestResult.java:109)
> at junit.framework.TestCase.run(TestCase.java:118)
> at org.apache.openjpa.persistence.test.PersistenceTestCase.run(PersistenceTestCase.java:127)
> at junit.framework.TestSuite.runTest(TestSuite.java:208)
> at junit.framework.TestSuite.run(TestSuite.java:203)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:213)
> at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
> at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
> at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:334)
> at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:980)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.