Quantcast
Viewing all articles
Browse latest Browse all 2218

Java service calls are being repeated after 1 hour



OK, this is a strange one.  I'm curious if you have ever seen anything like it.


Our plugin is used to perform a non-disruptive upgrade of our system.  This can often take over one hour.


The user initiates the upgrade with a button click, and the call is proxied to our Java service (which then makes REST Calls out to our system).  That Java code then continues to execute for over an hour (making REST calls, updating various vCenter tasks, etc.).


Then, after exactly 1 hour (provided the original service call is still running) a second Java service call is made.


I originally thought that this might be caused by some bad refresh or eventing code on our FLEX UI, so I placed breakpoints throughout that code, but they were never hit prior to that 2nd Java service call.  The only breakpoint that was hit was the one in the Java code.  And when that breakpoint is hit, the stack trace looks like what I pasted below.  I couldn't tell from this what initiated the call.  I left the debugger on the breakpoint in the Java code so that the 2nd call wouldn't finish, and an additional Java service call was made every hour without fail.


Any thoughts on this?  Thank you in advance for anything you might be able to provide.


Main Thread (Suspended: TypeError: Error #1009: Cannot access a property or method of a null object reference.)


     com.vmware.vsphere.client.util.tasks::ClientTaskMonitor/processTaskInfos

     com.vmware.vsphere.client.util.tasks::ClientTaskMonitor/onTaskChildInfoReturned

     Function/http://adobe.com/AS3/2006/builtin::apply

     EventFunctor/notifyTarget

     EventFunctor/onEvent

     flash.events::EventDispatcher/dispatchEventFunction

     flash.events::EventDispatcher/dispatchEvent

     com.vmware.frinje::EventBus/dispatchEvent

     com.vmware.frinje::EventBus/onEvent

     flash.events::EventDispatcher/dispatchEventFunction

     flash.events::EventDispatcher/dispatchEvent

     com.vmware.data.query.commands::DataRequestCommand/onMultiEntityDataReturn

     DataAccessItem/notify

     DataAccessItem/handleResult

     DataAccessItem/processResult

     com.vmware.data.query::DataAccessManager/onDataRetrieved

     com.vmware.flexutil.proxies::BaseProxy/notify

     com.vmware.flexutil.proxies::BaseProxy/result

     com.vmware.flexutil.proxies::BaseProxy/onInvocationComplete

     OperationInvoker/resultResponseForRequest

     OperationInvoker/result

     mx.rpc::AsyncToken/http://www.adobe.com/2006/flex/mx/internal::applyResult

     mx.rpc.events::ResultEvent/http://www.adobe.com/2006/flex/mx/internal::callTokenResponders

     mx.rpc::AbstractOperation/http://www.adobe.com/2006/flex/mx/internal::dispatchRpcEvent

     mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::resultHandler

     mx.rpc::Responder/result

     mx.rpc::AsyncRequest/acknowledge

     NetConnectionMessageResponder/resultHandler

     mx.messaging::MessageResponder/result

     Daemon Thread (Suspended (entry into method upgradeVplexSystem in TaskClient))


owns: SocketWrapper<E>  (id=23131)



TaskClient.upgradeVplexSystem(NDUUpgradeData) line: 2693



VplexRestDataImpl.upgradeVplexSystem(ServiceInstance, NDUUpgradeData) line: 1177


     NativeMethodAccessorImpl.invoke0(Method, Object, Object[]) line: not available


NativeMethodAccessorImpl.invoke(Object, Object[]) line: 57



DelegatingMethodAccessorImpl.invoke(Object, Object[]) line: 43



Method.invoke(Object, Object...) line: 601



AopUtils.invokeJoinpointUsingReflection(Object, Method, Object[]) line: 309



ReflectiveMethodInvocation.invokeJoinpoint() line: 183



ReflectiveMethodInvocation.proceed() line: 150



ExposeInvocationInterceptor.invoke(MethodInvocation) line: 89



ReflectiveMethodInvocation.proceed() line: 172



JdkDynamicAopProxy.invoke(Object, Method, Object[]) line: 202



$Proxy460.upgradeVplexSystem(ServiceInstance, NDUUpgradeData) line: not available



VplexServiceImpl.upgradeVplexSystem(NDUUpgradeData) line: 335


     NativeMethodAccessorImpl.invoke0(Method, Object, Object[]) line: not available


NativeMethodAccessorImpl.invoke(Object, Object[]) line: 57



DelegatingMethodAccessorImpl.invoke(Object, Object[]) line: 43



Method.invoke(Object, Object...) line: 601



AopUtils.invokeJoinpointUsingReflection(Object, Method, Object[]) line: 309



ReflectiveMethodInvocation.invokeJoinpoint() line: 183



ReflectiveMethodInvocation.proceed() line: 150



AfterReturningAdviceInterceptor.invoke(MethodInvocation) line: 50



ReflectiveMethodInvocation.proceed() line: 161



AspectJAfterThrowingAdvice.invoke(MethodInvocation) line: 55



ReflectiveMethodInvocation.proceed() line: 161



MethodBeforeAdviceInterceptor.invoke(MethodInvocation) line: 50



ReflectiveMethodInvocation.proceed() line: 161



ExposeInvocationInterceptor.invoke(MethodInvocation) line: 89



ReflectiveMethodInvocation.proceed() line: 172



JdkDynamicAopProxy.invoke(Object, Method, Object[]) line: 202



$Proxy464.upgradeVplexSystem(NDUUpgradeData) line: not available


     NativeMethodAccessorImpl.invoke0(Method, Object, Object[]) line: not available


NativeMethodAccessorImpl.invoke(Object, Object[]) line: 57



DelegatingMethodAccessorImpl.invoke(Object, Object[]) line: 43



Method.invoke(Object, Object...) line: 601



AopUtils.invokeJoinpointUsingReflection(Object, Method, Object[]) line: 309



ServiceDynamicInterceptor(ServiceInvoker).doInvoke(Object, MethodInvocation) line: 58



ServiceDynamicInterceptor(ServiceInvoker).invoke(MethodInvocation) line: 62



ReflectiveMethodInvocation.proceed() line: 172



InfrastructureOsgiProxyAdvice(DelegatingIntroductionInterceptor).doProceed(MethodInvocation) line: 131



InfrastructureOsgiProxyAdvice(DelegatingIntroductionInterceptor).invoke(MethodInvocation) line: 119



ReflectiveMethodInvocation.proceed() line: 172



LocalBundleContextAdvice.invoke(MethodInvocation) line: 59



ReflectiveMethodInvocation.proceed() line: 172



ImportedOsgiServiceProxyAdvice(DelegatingIntroductionInterceptor).doProceed(MethodInvocation) line: 131



ImportedOsgiServiceProxyAdvice(DelegatingIntroductionInterceptor).invoke(MethodInvocation) line: 119



ReflectiveMethodInvocation.proceed() line: 172



JdkDynamicAopProxy.invoke(Object, Method, Object[]) line: 202



$Proxy470.upgradeVplexSystem(NDUUpgradeData) line: not available


     NativeMethodAccessorImpl.invoke0(Method, Object, Object[]) line: not available


NativeMethodAccessorImpl.invoke(Object, Object[]) line: 57



DelegatingMethodAccessorImpl.invoke(Object, Object[]) line: 43



Method.invoke(Object, Object...) line: 601



JavaAdapterEx(JavaAdapter).invoke(Message) line: 418



JavaAdapterEx.invoke(Message) line: 38



RemotingService.serviceMessage(Message) line: 183



MessageBroker.routeMessageToService(Message, Endpoint) line: 1400



SecureAMFEndpoint(AbstractEndpoint).serviceMessage(Message) line: 1011



AbstractEndpoint$$FastClassByCGLIB$$1a3ef066.invoke(int, Object, Object[]) line: not available



MethodProxy.invoke(Object, Object[]) line: 149



Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint() line: 688



Cglib2AopProxy$CglibMethodInvocation(ReflectiveMethodInvocation).proceed() line: 150



MessageInterceptionAdvice.invoke(MethodInvocation) line: 66



Cglib2AopProxy$CglibMethodInvocation(ReflectiveMethodInvocation).proceed() line: 172



ThrowsAdviceInterceptor.invoke(MethodInvocation) line: 124



Cglib2AopProxy$CglibMethodInvocation(ReflectiveMethodInvocation).proceed() line: 172



Cglib2AopProxy$FixedChainStaticTargetInterceptor.intercept(Object, Method, Object[], MethodProxy) line: 572



SecureAMFEndpoint$$EnhancerByCGLIB$$30539293.serviceMessage(Message) line: not available



MessageBrokerFilter.invoke(ActionContext) line: 103



LegacyFilter.invoke(ActionContext) line: 158



SessionFilter.invoke(ActionContext) line: 44



BatchProcessFilter.invoke(ActionContext) line: 67



SerializationFilter.invoke(ActionContext) line: 166



SecureAMFEndpoint(BaseHTTPEndpoint).service(HttpServletRequest, HttpServletResponse) line: 291



SecureAMFEndpoint$$EnhancerByCGLIB$$30539293.service(HttpServletRequest, HttpServletResponse) line: not available



MessageBrokerHandlerAdapter.handle(HttpServletRequest, HttpServletResponse, Object) line: 101



DispatcherServlet.doDispatch(HttpServletRequest, HttpServletResponse) line: 790



DispatcherServlet.doService(HttpServletRequest, HttpServletResponse) line: 719



DispatcherServlet(FrameworkServlet).processRequest(HttpServletRequest, HttpServletResponse) line: 644



DispatcherServlet(FrameworkServlet).doPost(HttpServletRequest, HttpServletResponse) line: 560



DispatcherServlet(HttpServlet).service(HttpServletRequest, HttpServletResponse) line: 755



DispatcherServlet(HttpServlet).service(ServletRequest, ServletResponse) line: 848



ApplicationFilterChain.internalDoFilter(ServletRequest, ServletResponse) line: 305



ApplicationFilterChain.doFilter(ServletRequest, ServletResponse) line: 210



StandardWrapperValve.invoke(Request, Response) line: 224



StandardContextValve.invoke(Request, Response) line: 169



NonLoginAuthenticator(AuthenticatorBase).invoke(Request, Response) line: 472



StandardHostValve.invoke(Request, Response) line: 168



ErrorReportValve.invoke(Request, Response) line: 98



ApplicationNameTrackingValve.invoke(Request, Response) line: 33



AccessLogValve.invoke(Request, Response) line: 927



StandardEngineValve.invoke(Request, Response) line: 118



CoyoteAdapter.service(Request, Response) line: 407



Http11Processor(AbstractHttp11Processor<S>).process(SocketWrapper<S>) line: 987



Http11Protocol$Http11ConnectionHandler(AbstractProtocol$AbstractConnectionHandler<S,P>).process(SocketWrapper<S>, SocketStatus) line: 579



JIoEndpoint$SocketProcessor.run() line: 309



ThreadPoolExecutor(ThreadPoolExecutor).runWorker(ThreadPoolExecutor$Worker) line: 1145



ThreadPoolExecutor$Worker.run() line: 615



TaskThread(Thread).run() line: 722



Viewing all articles
Browse latest Browse all 2218

Trending Articles