Forum Discussion

iggy99's avatar
13 years ago

Scheduler fail to load on Load agent

Hi, i am running LoadUi agent on a RH 2.6.32-220.el6.x86_64 server. When I try to start a VU scenario with a MockService and Scheduler the Scheduler fails with a nullPointer exception. It works ok when I run it locally.


............
settings( label: "Basic" ) {
property( property: runsLimit, label: 'Runs')
}

validateDuration()
updateState()</con:property><con:property propagates="true" key="stateProperty" type="java.lang.Boolean">true</con:property><con:property propagates="true" key="day" type="java.lang.String">* (All)</con:property><con:property propagates="true" key="time" type="java.lang.String">0 0 6</con:property><con:property propagates="true" key="duration" type="java.lang.Long">57600</con:property><con:property propagates="true" key="runsLimit" type="java.lang.Long">0</con:property></con:properties><con:attributes><con:property key="com.eviware.loadui.api.model.ComponentItem@type">Scheduler</con:property><con:property key="_digest">0f566928eae9f4a453ca83af849ead88</con:property><con:property key="_id">com.eviware.Scheduler</con:property><con:property key="_classLoader">com.eviware.Scheduler</con:property><con:property key="gui.layoutX">210</con:property><con:property key="gui.layoutY">266</con:property></con:attributes><con:addons/></con:component><con:component type="com.eviware.loadui.components.soapui.MockServiceComponent" label="soapUI MockService" id="5b8bfd8c-4372-4a8c-8c7a-3ff97f4e2761"><con:properties><con:property propagates="true" key="ModelItem.description" type="java.lang.String"/><con:property propagates="true" key="stateProperty" type="java.lang.Boolean">true</con:property><con:property propagates="true" key="projectFile" type="java.io.File">C:\xx\test-soapui-project.xml</con:property><con:property propagates="true" key="_projectPassword" xsi:nil="true" type="java.lang.String" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/><con:property propagates="true" key="settingsFile" type="java.io.File">C:\xx\soapui-settings.xml</con:property><con:property propagates="true" key="projectRelativePath" type="java.lang.String">..\..\..\Temp\test-soapui-project.xml</con:property><con:property propagates="true" key="useProjectRelativePath" type="java.lang.Boolean">false</con:property><con:property propagates="true" key="mockService" type="java.lang.String">HamtaGallandeUnderlagsversionResponderBinding MockService</con:property><con:property propagates="true" key="path" type="java.lang.String">/mockxxResponderBinding</con:property><con:property propagates="true" key="port" type="java.lang.String">8088</con:property><con:property propagates="true" key="addRequest" type="java.lang.Boolean">false</con:property><con:property propagates="true" key="addResponse" type="java.lang.Boolean">false</con:property></con:properties><con:attributes><con:property key="com.eviware.loadui.api.model.ComponentItem@type">soapUI MockService</con:property><con:property key="gui.layoutX">539</con:property><con:property key="gui.layoutY">199</con:property></con:attributes><con:addons/></con:component><con:connection outputTerminalId="3b6f0f7e-3549-4ced-a2a3-4e1925ab81de/outgoingTerminal" inputTerminalId="5b8bfd8c-4372-4a8c-8c7a-3ff97f4e2761/stateTerminal"/></con:loadui-scene>'; nested exception is java.lang.NullPointerException
at org.springframework.core.convert.support.ConversionUtils.invokeConverter(ConversionUtils.java:41)
at org.springframework.core.convert.support.GenericConversionService.convert(GenericConversionService.java:171)
at org.springframework.core.convert.support.GenericConversionService.convert(GenericConversionService.java:154)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:318)
at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:58)
at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:62)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invokeUnprivileged(ServiceTCCLInterceptor.java:56)
at org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invoke(ServiceTCCLInterceptor.java:39)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.osgi.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:59)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
at $Proxy27.convert(Unknown Source)
at com.eviware.loadui.impl.agent.ControllerImpl$SceneAgent.run(ControllerImpl.java:344)
at com.eviware.loadui.util.dispatch.CustomThreadPoolExecutor$Worker.run(CustomThreadPoolExecutor.java:198)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NullPointerException
at com.eviware.loadui.components.soapui.MockServiceComponent.<init>(MockServiceComponent.java:149)
at com.eviware.loadui.components.soapui.SoapUIBehaviorProvider.loadBehavior(SoapUIBehaviorProvider.java:41)
at com.eviware.loadui.impl.component.ComponentRegistryImpl.loadBehavior(ComponentRegistryImpl.java:145)
at com.eviware.loadui.impl.model.CanvasItemImpl.loadComponent(CanvasItemImpl.java:329)
at com.eviware.loadui.impl.model.CanvasItemImpl.createComponents(CanvasItemImpl.java:210)
at com.eviware.loadui.impl.model.CanvasItemImpl.init(CanvasItemImpl.java:189)
at com.eviware.loadui.impl.model.SceneItemImpl.init(SceneItemImpl.java:134)
at com.eviware.loadui.impl.model.SceneItemImpl.newInstance(SceneItemImpl.java:80)
at com.eviware.loadui.impl.conversion.StringToSceneItemConverter.convert(StringToSceneItemConverter.java:34)
at com.eviware.loadui.impl.conversion.StringToSceneItemConverter.convert(StringToSceneItemConverter.java:25)
at org.springframework.core.convert.support.GenericConversionService$ConverterAdapter.convert(GenericConversionService.java:517)
at org.springframework.core.convert.support.ConversionUtils.invokeConverter(ConversionUtils.java:35)
... 26 more
No RepliesBe the first to reply