Build: #207 failed

Job: Default Job failed

Stages & jobs

  1. Default Stage

  2. Release to maven

    Requires a user to start manually

Process should set custom model properties: Test case result

The below summarizes the result of the test "Process should set custom model properties" in build 207 of UI Framework - UI Framework - Default Job. View test case history
Description
Process should set custom model properties
Test class
org.openmrs.ui.framework.page.PageFactoryTest
Method
process_shouldSetCustomModelProperties
Duration
< 1 sec
Status
Failed (New Failure)

Error Log

org.openmrs.ui.framework.ViewException: Error rendering page view for groovy. Model properties: varInjectedByConfigurator  varInjectedByInterceptor  ui  context  contextPath  session  param  out
org.openmrs.ui.framework.ViewException: Error rendering page view for groovy. Model properties:
varInjectedByConfigurator 
varInjectedByInterceptor 
ui 
context 
contextPath 
session 
param 
out
	at org.openmrs.ui.framework.page.GroovyPageView.render(GroovyPageView.java:55)
	at org.openmrs.ui.framework.page.PageFactory.processThisFragment(PageFactory.java:185)
	at org.openmrs.ui.framework.page.PageFactory.process(PageFactory.java:114)
	at org.openmrs.ui.framework.page.PageFactory.handle(PageFactory.java:84)
	at org.openmrs.ui.framework.page.PageFactoryTest.process_shouldSetCustomModelProperties(PageFactoryTest.java:156)
	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:622)
	at org.junit.internal.runners.TestMethod.invoke(TestMethod.java:66)
	at org.powermock.modules.junit4.internal.impl.PowerMockJUnit44RunnerDelegateImpl$PowerMockJUnit44MethodRunner.runTestMethod(PowerMockJUnit44RunnerDelegateImpl.java:307)
	at org.junit.internal.runners.MethodRoadie$2.run(MethodRoadie.java:86)
	at org.junit.internal.runners.MethodRoadie.runBeforesThenTestThenAfters(MethodRoadie.java:94)
	at org.powermock.modules.junit4.internal.impl.PowerMockJUnit44RunnerDelegateImpl$PowerMockJUnit44MethodRunner.executeTest(PowerMockJUnit44RunnerDelegateImpl.java:294)
	at org.powermock.modules.junit4.internal.impl.PowerMockJUnit47RunnerDelegateImpl$PowerMockJUnit47MethodRunner.executeTestInSuper(PowerMockJUnit47RunnerDelegateImpl.java:112)
	at org.powermock.modules.junit4.internal.impl.PowerMockJUnit47RunnerDelegateImpl$PowerMockJUnit47MethodRunner.executeTest(PowerMockJUnit47RunnerDelegateImpl.java:73)
	at org.powermock.modules.junit4.internal.impl.PowerMockJUnit44RunnerDelegateImpl$PowerMockJUnit44MethodRunner.runBeforesThenTestThenAfters(PowerMockJUnit44RunnerDelegateImpl.java:282)
	at org.junit.internal.runners.MethodRoadie.runTest(MethodRoadie.java:84)
	at org.junit.internal.runners.MethodRoadie.run(MethodRoadie.java:49)
	at org.powermock.modules.junit4.internal.impl.PowerMockJUnit44RunnerDelegateImpl.invokeTestMethod(PowerMockJUnit44RunnerDelegateImpl.java:207)
	at org.powermock.modules.junit4.internal.impl.PowerMockJUnit44RunnerDelegateImpl.runMethods(PowerMockJUnit44RunnerDelegateImpl.java:146)
	at org.powermock.modules.junit4.internal.impl.PowerMockJUnit44RunnerDelegateImpl$1.run(PowerMockJUnit44RunnerDelegateImpl.java:120)
	at org.junit.internal.runners.ClassRoadie.runUnprotected(ClassRoadie.java:34)
	at org.junit.internal.runners.ClassRoadie.runProtected(ClassRoadie.java:44)
	at org.powermock.modules.junit4.internal.impl.PowerMockJUnit44RunnerDelegateImpl.run(PowerMockJUnit44RunnerDelegateImpl.java:118)
	at org.powermock.modules.junit4.common.internal.impl.JUnit4TestSuiteChunkerImpl.run(JUnit4TestSuiteChunkerImpl.java:102)
	at org.powermock.modules.junit4.common.internal.impl.AbstractCommonPowerMockRunner.run(AbstractCommonPowerMockRunner.java:53)
	at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)
	at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)
	at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)
	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:622)
	at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
	at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
	at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)
Caused by: java.lang.RuntimeException: javassist.CannotCompileException: by java.io.IOException: too much data
	at org.powermock.core.classloader.MockClassLoader.loadUnmockedClass(MockClassLoader.java:187)
	at org.powermock.core.classloader.MockClassLoader.loadModifiedClass(MockClassLoader.java:147)
	at org.powermock.core.classloader.DeferSupportingClassLoader.loadClass(DeferSupportingClassLoader.java:65)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:268)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116)
	at SimpleTemplateScript1.run(SimpleTemplateScript1.groovy:1)
	at groovy.text.SimpleTemplateEngine$SimpleTemplate$1.writeTo(SimpleTemplateEngine.java:165)
	at groovy.text.SimpleTemplateEngine$SimpleTemplate$1.toString(SimpleTemplateEngine.java:177)
	at org.openmrs.ui.framework.page.GroovyPageView.render(GroovyPageView.java:43)
	... 38 more
Caused by: javassist.CannotCompileException: by java.io.IOException: too much data
	at javassist.CtClassType.toBytecode(CtClassType.java:1428)
	at javassist.CtClass.toBytecode(CtClass.java:1246)
	at org.powermock.core.classloader.MockClassLoader.loadUnmockedClass(MockClassLoader.java:184)
	... 46 more
Caused by: java.io.IOException: too much data
	at javassist.ClassPoolTail.copyStream(ClassPoolTail.java:440)
	at javassist.ClassPoolTail.writeClassfile(ClassPoolTail.java:290)
	at javassist.ClassPool.writeClassfile(ClassPool.java:634)
	at javassist.CtClassType.toBytecode(CtClassType.java:1416)
	... 48 more