Clear Filters
Clear Filters

Current client context warning

2 views (last 30 days)
Måns Larsson
Måns Larsson on 15 Apr 2016
Commented: Albert on 18 Aug 2017
Hi, everytime I start Matlab I get the following warning
"Apr 15, 2016 9:18:33 AM com.mathworks.matlabserver.workercommon.client.a az WARNING: Tried to retrieve current client context, but queue was empty. Returning default context. Apr 15, 2016 9:18:33 AM com.mathworks.matlabserver.workercommon.client.services.ClientEditorServiceImpl a INFO: Sending OpenFileResponse through request-response: OpenFileResponseMessageDO [file=FileDO{fileInfo=FileInfoDO{name='weizmann_train_joint_fcn.m', location='/home/cvia/Documents/Code/deepseg/structured_learning/2d/', isDirectory='false', version=null, filePermissions=FilePermissionsDO{canWrite=true}, shareAttributes=null}, data.length=4081}', lineNumber=-1', column=-1'] Apr 15, 2016 9:18:33 AM com.mathworks.matlabserver.workercommon.client.a az WARNING: Tried to retrieve current client context, but queue was empty. Returning default context. Apr 15, 2016 9:18:33 AM com.mathworks.matlabserver.workercommon.client.services.ClientEditorServiceImpl a INFO: Sending OpenFileResponse through request-response: OpenFileResponseMessageDO [file=FileDO{fileInfo=FileInfoDO{name='weizmann_train_joint_fcn.m', location='/home/cvia/Documents/Code/deepseg/structured_learning/2d/', isDirectory='false', version=null, filePermissions=FilePermissionsDO{canWrite=true}, shareAttributes=null}, data.length=4081}', lineNumber=-1', column=-1']"
Something similar shows up when I enter debug mode. Everything still works fine but I was wondering what makes the message appear and how to get rid of it.
Thank you!
\\Måns

Answers (1)

Ritesh Naik
Ritesh Naik on 18 Apr 2016
This issue could be caused if any user-defined function name conflicts with MATLAB builtin function name.
To resolve this issue, remove such function from the path. This may be done with 'restoredefaultpath' or by manipulating only the folder which contains this function.
  2 Comments
Måns Larsson
Måns Larsson on 19 Apr 2016
Ok, that worked. Thank you!
Albert
Albert on 18 Aug 2017
Is there a way to find out which function ist conflicting?

Sign in to comment.

Categories

Find more on Startup and Shutdown in Help Center and File Exchange

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!