Live Script (.mlx) copy and paste error?
显示 更早的评论
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 个评论
M. Owen
2018-3-21
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
2018-4-3
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
2018-4-4
Hi, I have the same problem. Within a Live Script copy and paste does not work. Any ideas?
Nnanna Ijioma
2018-9-10
回答(1 个)
Jonghyun Ra
2018-4-18
3 个投票
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
类别
在 帮助中心 和 File Exchange 中查找有关 Software Development 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!