Live Script (.mlx) copy and paste error?
Show older comments
hello,
i updated my MAtlab (to version 2017b) and i recenty tried to edit a live script. when i tried to copy and paste the one part of the script to another i got the following error: please, what is wrong? and what is this "subscription handler"
=====================================================
WARNING: Error in subscription handler
java.lang.IllegalArgumentException: C:\Users\Guest User1\AppData\Local\Temp\ConnectorClipboard7695891344922226972 does not exist
at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1637)
at com.mathworks.services.clipboardservice.ConnectorClipboardService$4.handle(ConnectorClipboardService.java:319)
at com.mathworks.connector.message_service.impl.MessageServiceJSONImpl.handleMessage(MessageServiceJSONImpl.java:50)
at com.mathworks.connector.message_service.impl.MessageServiceJniPush.handleMessage(MessageServiceJniPush.java:49)
at com.mathworks.connector.message_service.impl.JniMessageServiceAdaptorImpl.doHandlePublish(JniMessageServiceAdaptorImpl.java:46)
at com.mathworks.connector.message_service.api.JniMessageServiceAdaptor.fromNative(JniMessageServiceAdaptor.java:21)
error:
=====================================================
4 Comments
M. Owen
on 21 Mar 2018
I want to bring this back up because I also have this problem.
Mar 20, 2018 9:48:51 PM com.mathworks.connector.message_service.impl.MessageServiceJSONImpl handleMessage
WARNING: Error in subscription handler
java.lang.IllegalArgumentException: C:\Users\mowen\AppData\Local\Temp\ConnectorClipboard4509181840531976573 does not exist
at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1637)
at com.mathworks.services.clipboardservice.ConnectorClipboardService$4.handle(ConnectorClipboardService.java:319)
at com.mathworks.connector.message_service.impl.MessageServiceJSONImpl.handleMessage(MessageServiceJSONImpl.java:50)
at com.mathworks.connector.message_service.impl.MessageServiceJniPush.handleMessage(MessageServiceJniPush.java:49)
at com.mathworks.connector.message_service.impl.JniMessageServiceAdaptorImpl.doHandlePublish(JniMessageServiceAdaptorImpl.java:46)
at com.mathworks.connector.message_service.api.JniMessageServiceAdaptor.fromNative(JniMessageServiceAdaptor.java:21)
Peter Lusis
on 3 Apr 2018
Hi all, I am experiencing the same issue with the same error message. It started when I first used Ctrl+C in Live Script to copy a part of my script. Would like to hear from someone on how to fix this.
Juan Ignacio Peña
on 4 Apr 2018
Hi, I have the same problem. Within a Live Script copy and paste does not work. Any ideas?
Nnanna Ijioma
on 10 Sep 2018
Answers (1)
Jonghyun Ra
on 18 Apr 2018
3 votes
I had the same problem.
I don't know why but increasing Java heap memory fixed the problem.
https://www.mathworks.com/help/matlab/matlab_external/java-heap-memory-preferences.html
1 Comment
Nnanna Ijioma
on 5 Jun 2018
Categories
Find more on Software Development in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!