Showing results for 
Search instead for 
Do you mean 
Community Home Request Access Read Blogs Share Your Ideas Search Community View My Settings
Reply
Highlighted
Copper Super Contributor
Posts: 172
Registered: ‎07-06-2010

Process Orchestration Errors

I have only gotten Process Orchestration's simple tutorial to work once on an otherwise fine SLX installation (7.5.2.2161)

 

While my RegisteredProcesses link shows the correct information, I continually see errors when a process event is launched:

 


Exception: System.Reflection.TargetInvocationException

Message: Exception has been thrown by the target of an invocation.

StackTrace:
Server stack trace:
   at System.RuntimeType.InvokeDispMethod(String name, BindingFlags invokeAttr, Object target, Object[] args, Boolean[] byrefModifiers, Int32 culture, String[] namedParameters)
   at System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams)
   at System.Type.InvokeMember(String name, BindingFlags invokeAttr, Binder binder, Object target, Object[] args)
   at Sage.SalesLogix.DBEventing.DBEventClientPublisher.OnClientIsOnline(String clientId)
   at Sage.SalesLogix.DBEventing.DBEvents.GoOnline()
   at Sage.SalesLogix.DBEventing.DBEvents.HandleServerIsOnline(Object sender, DbEventServerEventArgs e)
   at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs)
   at System.Runtime.Remoting.Messaging.StackBuilderSink.PrivateProcessMessage(RuntimeMethodHandle md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs)
   at System.Runtime.Remoting.Messaging.StackBuilderSink.AsyncProcessMessage(IMessage msg, IMessageSink replySink)

Exception rethrown at [0]:
   at System.Runtime.Remoting.Proxies.RealProxy.EndInvokeHelper(Message reqMsg, Boolean bProxyCase)
   at System.Runtime.Remoting.Proxies.RemotingProxy.Invoke(Object NotUsed, MessageData& msgData)
   at System.EventHandler`1.EndInvoke(IAsyncResult result)
   at Sage.SalesLogix.DBEventing.DBEventServerStatusSubscriber.Callback(IAsyncResult ar)
   at System.Runtime.Remoting.Messaging.AsyncResult.SyncProcessMessage(IMessage msg)
   at System.Runtime.Remoting.Messaging.StackBuilderSink.AsyncProcessMessage(IMessage msg, IMessageSink replySink)
   at System.Runtime.Remoting.Proxies.AgileAsyncWorkerItem.DoAsyncCall()
   at System.Runtime.Remoting.Proxies.AgileAsyncWorkerItem.ThreadPoolCallBack(Object o)
   at System.Threading._ThreadPoolWaitCallback.WaitCallback_Context(Object state)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading._ThreadPoolWaitCallback.PerformWaitCallbackInternal(_ThreadPoolWaitCallback tpWaitCallBack)
   at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback(Object state)

InnerException: System.Runtime.InteropServices.COMException

Message: Error HRESULT E_FAIL has been returned from a call to a COM component.

 

And more commonly:

 

Exception: System.NullReferenceException

Message: Object reference not set to an instance of an object.

StackTrace:
Server stack trace:
   at Sage.SalesLogix.Web.CreateUpdateInterceptor..ctor()
   at fastConstructor()
   at Sage.Platform.Orm.DynamicInterceptorConfiguration.ConstructInterceptors(ILoadEventInterceptor[]& load, IUpdateEventInterceptor[]& update, IInsertEventInterceptor[]& insert, IDeleteEventInterceptor[]& delete, IFlushInterceptor[]& flush, ICreateInterceptor[]& create, IEntityStateInterceptor[]& state, ICollectionEventInterceptor[]& collection, IPrepareStatementInterceptor[]& prepare, IEntityInfoInterceptor[]& entity, ICacheInterceptor[]& cache)
   at Sage.Platform.Orm.DynamicInterceptor..ctor()
   at Sage.Platform.Orm.DynamicInterceptor.GetInterceptor()
   at Sage.Platform.Framework.SessionFactoryHolder.OpenSessionWithScope(ISessionScope scope, ISessionFactory sessionFactory)
   at Sage.Platform.Framework.SessionFactoryHolder.CreateScopeSession()
   at Sage.Platform.Framework.SessionFactoryHolder.CreateSession()
   at Sage.Platform.Orm.SessionScopeWrapper..ctor(Boolean createNewScope)
   at Sage.Platform.NHibernateRepository.NHibernateRepository.GetImpl(Object id)
   at Sage.Platform.NHibernateRepository.NHibernateRepository.Sage.Platform.Repository.IRepository.Get(Object id)
   at Sage.Platform.EntityFactory.GetById(Type type, Object id)
   at Sage.SalesLogix.Process.EntityEventService.CheckConditions(String condition, Type entityType, String entityId)
   at Sage.SalesLogix.Process.EntityEventService.OnPropertyChanged(String tableName, Type entityType, Object entityId, String fieldName)
   at Sage.SalesLogix.Process.EntityEventService.HandleDBChanged(Object sender, DBEventArgs args)
   at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs)
   at System.Runtime.Remoting.Messaging.StackBuilderSink.PrivateProcessMessage(RuntimeMethodHandle md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs)
   at System.Runtime.Remoting.Messaging.StackBuilderSink.AsyncProcessMessage(IMessage msg, IMessageSink replySink)

Exception rethrown at [0]:
   at System.Runtime.Remoting.Proxies.RealProxy.EndInvokeHelper(Message reqMsg, Boolean bProxyCase)
   at System.Runtime.Remoting.Proxies.RemotingProxy.Invoke(Object NotUsed, MessageData& msgData)
   at System.EventHandler`1.EndInvoke(IAsyncResult result)
   at Sage.SalesLogix.DBEventing.DBEventSourceSubscriber.ChangedCallback(IAsyncResult ar)
   at System.Runtime.Remoting.Messaging.AsyncResult.SyncProcessMessage(IMessage msg)
   at System.Runtime.Remoting.Messaging.StackBuilderSink.AsyncProcessMessage(IMessage msg, IMessageSink replySink)
   at System.Runtime.Remoting.Proxies.AgileAsyncWorkerItem.DoAsyncCall()
   at System.Runtime.Remoting.Proxies.AgileAsyncWorkerItem.ThreadPoolCallBack(Object o)
   at System.Threading._ThreadPoolWaitCallback.WaitCallback_Context(Object state)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading._ThreadPoolWaitCallback.PerformWaitCallbackInternal(_ThreadPoolWaitCallback tpWaitCallBack)
   at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback(Object state)

As far as I can tell, the process starts correctly. I watch as a TRACK file is written to disk and the DBEventService shortcut I am using to watch this reports a Change event created. But then the exception crops up and nothing happens.

 

I have tried stopping and restarting all services, blowing away ProcessHost and reinstalling a fresh one from my VFS, and nothing has worked.

 

Ideas?

Highlighted
Copper Super Contributor
Posts: 172
Registered: ‎07-06-2010

Re: Process Orchestration Errors

Does anyone from Sage have ANY suggestions?