cancel
Showing results for 
Search instead for 
Did you mean: 

automatec /getauthtoken /sso crash

mwulff
MVP
As the subject says I am trying to generate a token for use with the resource pc commands.

When using the command line like this:

automatec /getauthtoken /sso

I get the following response:

Error processing action: getauthtoken.
System.NullReferenceException: Object reference not set to an instance of an object.

Server stack trace:
at BluePrism.AutomateAppCore.clsServer.RegisterAuthorisationToken(IDatabaseConnection con, IUser owningUser, Guid processId, Boolean webService)
at BluePrism.AutomateAppCore.clsServer.RegisterAuthorisationToken(String username, SafeString password, Guid processid)
at SyncInvokeRegisterAuthorisationToken(Object , Object[] , Object[] )
at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs)
at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc& rpc)
at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5(MessageRpc& rpc)
at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage11(MessageRpc& rpc)
at System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet)
ved BluePrism.BPCoreLib.Extensions.RethrowWithStackTrace(Exception this)
ved BluePrism.AutomateAppCore.MyExceptionHandlingMessageInspector.AfterReceiveReply(Message& reply, Object correlationState)
ved System.ServiceModel.Dispatcher.ImmutableClientRuntime.AfterReceiveReply(ProxyRpc& rpc)
ved System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc)
ved System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
ved System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
ved System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)

Exception rethrown at [0]:
ved System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
ved System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
ved BluePrism.AutomateAppCore.IServer.RegisterAuthorisationToken(String username, SafeString password, Guid processID)
ved AutomateC.AutomateC.Run(String[] args)

I've managed to locate a knowledge base article that says to: 1 - Disable the "Session Management enforces permissions of controlling user".

However this does not solve the problem. Has anyone managed to solve this issue and have automatec generate a token? Or does anyone know where I can check the status of the bug BG-2434?

------------------------------
Michael Wulff Nielsen
Team-lead
Odense Kommune
Europe/Copenhagen
------------------------------
1 REPLY 1

nobu
Staff
Staff
Hi Michael,

Thank you for your enquiry. This is a bug found in v6.3.1 with single sign-on environment. This issue (BG-2434) has been fixed in v6.5.0.     

Regards,

Nobu

------------------------------
Nobuhiro Tokushige
Product Specialist
Blue Prism
Australia/Sydney
------------------------------