Details
-
Type:
Bug Fix
-
Status: Closed
-
Priority:
Critical
-
Resolution: Fixed
-
Affects Version/s: 2.4
-
Fix Version/s: 2.4
-
Component/s: Development, JPA, Regression
-
Security Level: Public (Public: Anyone can view)
-
Labels:None
-
Sprint:2.4.0-m4 Dev Sprint 4 (Real)
-
KAI Review Status:Not Required
-
KTI Review Status:Not Required
-
Code Review Status:Not Required
-
Include in Release Notes?:Yes
Description
Might be covered by a new failure
java.lang.RuntimeException: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'TravelAuthorizationDocument' defined in class path resource [org/kuali/rice/krad /test/document/TravelAuthorizationDocument.xml]: Initialization of bean failed; nested exception is org.springfr amework.beans.TypeMismatchException: Failed to convert property value of type 'java.lang.String' to required typ e 'java.lang.Class' for property 'documentClass'; nested exception is java.lang.IllegalArgumentException: Cannot find class [edu.sampleu.travel.dataobject.TravelAuthorizationDocument] at org.kuali.rice.test.RiceTestCase.setUp(RiceTestCase.java:101) at org.kuali.rice.test.BaselineTestCase.setUp(BaselineTestCase.java:115) at org.kuali.rice.krad.test.KRADTestCase.setUp(KRADTestCase.java:81) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.kuali.rice.test.runners.LoadTimeWeavableTestRunner.runLeaf(LoadTimeWeavableTestRunner.java:310) at org.kuali.rice.test.runners.LoadTimeWeavableTestRunner.runChild(LoadTimeWeavableTestRunner.java:499) at org.kuali.rice.test.runners.LoadTimeWeavableTestRunner$4.run(LoadTimeWeavableTestRunner.java:271) at org.kuali.rice.test.runners.LoadTimeWeavableTestRunner$2.schedule(LoadTimeWeavableTestRunner.java:116 ) at org.kuali.rice.test.runners.LoadTimeWeavableTestRunner.runChildren(LoadTimeWeavableTestRunner.java:26 9) at org.kuali.rice.test.runners.LoadTimeWeavableTestRunner.access$000(LoadTimeWeavableTestRunner.java:90) at org.kuali.rice.test.runners.LoadTimeWeavableTestRunner$3.evaluate(LoadTimeWeavableTestRunner.java:262 ) at org.kuali.rice.test.runners.LoadTimeWeavableTestRunner.run(LoadTimeWeavableTestRunner.java:352) at org.junit.runners.Suite.runChild(Suite.java:127) at org.junit.runners.Suite.runChild(Suite.java:26) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) at org.junit.runners.ParentRunner.run(ParentRunner.java:309) at org.junit.runner.JUnitCore.run(JUnitCore.java:160) at org.junit.runner.JUnitCore.run(JUnitCore.java:138) at org.junit.runner.JUnitCore.run(JUnitCore.java:128) at org.junit.runner.JUnitCore.runClasses(JUnitCore.java:73) at org.kuali.rice.test.runners.LoadTimeWeavableTestRunner.runBootstrapTest(LoadTimeWeavableTestRunner.ja va:372) at org.kuali.rice.test.runners.LoadTimeWeavableTestRunner.run(LoadTimeWeavableTestRunner.java:347) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:264) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:124) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:200) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)
CountyMaintenanceDocumentTest BusinessObjectDaoProxy called with non-legacy class: CountryBo
>>> org.kuali.rice.location.web.CountyMaintenanceDocumentTest.test_MismatchedStateCountry
>>> org.kuali.rice.location.web.CountyMaintenanceDocumentTest.test_EditDoc
>>> org.kuali.rice.location.web.CountyMaintenanceDocumentTest.test_NewDoc
>>> org.kuali.rice.location.web.CountyMaintenanceDocumentTest.test_CopyDoc
>>> org.kuali.rice.location.web.CountyMaintenanceDocumentTest.test_SaveNewDoc
Error Message BusinessObjectDaoProxy called with non-legacy class: class org.kuali.rice.location.impl.country.CountryBo Stacktrace java.lang.IllegalStateException: BusinessObjectDaoProxy called with non-legacy class: class org.kuali.rice.location.impl.country.CountryBo at org.kuali.rice.krad.dao.proxy.BusinessObjectDaoProxy.getDao(BusinessObjectDaoProxy.java:64) at org.kuali.rice.krad.dao.proxy.BusinessObjectDaoProxy.save(BusinessObjectDaoProxy.java:236) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:51) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:96) at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:260) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:94) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at com.sun.proxy.$Proxy83.save(Unknown Source) at org.kuali.rice.krad.service.impl.BusinessObjectServiceImpl.save(BusinessObjectServiceImpl.java:75) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:51) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:96) at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:260) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:94) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at com.sun.proxy.$Proxy87.save(Unknown Source) at org.kuali.rice.location.web.CountyMaintenanceDocumentTest.insertTestCountryAndState(CountyMaintenanceDocumentTest.java:50)
Jenkins shows the changeset associated with these failures as:
Revision 41031 by ewestfal:
KULRICE-10155 - changed LoadTimeWeavableTestRunner to keep a static instance of the custom classloader rather than one per class in order to save memory space
The file was modified /trunk/rice-middleware/it/internal-tools/src/main/java/org/kuali/rice/test/runners/LoadTimeWeavableTestRunner.java
Attachments
Issue Links
- is fixed by
-
KULRICE-7666 Implement default existence checks for Maintenance document and support general data objects
-
- Closed
-
Apparently the location ITs are not being run in CI?