Live Script (.mlx) copy and paste error?
Afficher commentaires plus anciens
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 commentaires
M. Owen
le 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
le 3 Avr 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
le 4 Avr 2018
Hi, I have the same problem. Within a Live Script copy and paste does not work. Any ideas?
Nnanna Ijioma
le 10 Sep 2018
Réponses (1)
Jonghyun Ra
le 18 Avr 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 commentaire
Nnanna Ijioma
le 5 Juin 2018
Catégories
En savoir plus sur Software Development dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!