frib-high-level-controls / save-set-restore

save set restore
MIT License
2 stars 0 forks source link

empty for string PV #24

Open shengb opened 8 years ago

shengb commented 8 years ago

if there is an array string PV (DBF_STRING) with empty value, it will not be able to restore and show an error: 2016-03-15 17:18:28.904 WARNING [Thread 33] org.csstudio.saverestore.ui.SnapshotViewerController (restoreSnapshot) - Not all PVs could be restored for [masarService/test] test: 2016 Mar 15 18:30:35: (shen) this is a test on mac (SNAPSHOT ID: 64). The following errors occured: masarExampleStringArray: java.lang.RuntimeException: Unsupported type for CA: class java.util.Arrays$ArrayList

It does not happen to other array PVs.

jbobnar commented 8 years ago

This is a bug in diirt channel access support. I opened an issue for this on CSS github: https://github.com/ControlSystemStudio/cs-studio/issues/1667