{"action":"created","issue":{"url":"https://api.github.com/repos/yesworkflow-org/yw-prototypes/issues/26","labels_url":"https://api.github.com/repos/yesworkflow-org/yw-prototypes/issues/26/labels{/name}","comments_url":"https://api.github.com/repos/yesworkflow-org/yw-prototypes/issues/26/comments","events_url":"https://api.github.com/repos/yesworkflow-org/yw-prototypes/issues/26/events","html_url":"https://github.com/yesworkflow-org/yw-prototypes/issues/26","id":112199164,"number":26,"title":"YWConfiguration issue","user":{"login":"sycao5","id":3410307,"avatar_url":"https://avatars.githubusercontent.com/u/3410307?v=3","gravatar_id":"","url":"https://api.github.com/users/sycao5","html_url":"https://github.com/sycao5","followers_url":"https://api.github.com/users/sycao5/followers","following_url":"https://api.github.com/users/sycao5/following{/other_user}","gists_url":"https://api.github.com/users/sycao5/gists{/gist_id}","starred_url":"https://api.github.com/users/sycao5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sycao5/subscriptions","organizations_url":"https://api.github.com/users/sycao5/orgs","repos_url":"https://api.github.com/users/sycao5/repos","events_url":"https://api.github.com/users/sycao5/events{/privacy}","received_events_url":"https://api.github.com/users/sycao5/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-10-19T17:56:43Z","updated_at":"2015-10-25T23:47:46Z","closed_at":null,"body":"I ran into an issue about yw configuration. My code is attached below.\r\n```\r\n % Use yw.properties for configuration                                     \r\n  config = YWConfiguration();\r\n % Generate YW.Process_View dot file                   \r\n  config.applyPropertyFile(runManager.PROCESS_VIEW_PROPERTY_FILE_NAME); % Read from process_view_yw.properties\r\n  gconfig = config.getSection('graph');\r\n```\r\n\r\nThis code can read the yw.properties in the unit test of matlab. The debug information is attached below too.\r\n```\r\n  Name        Size            Bytes  Class                                     Attributes\r\n\r\n  config      1x1                org.yesworkflow.config.YWConfiguration             \r\n\r\n  Name         Size            Bytes  Class                Attributes\r\n\r\n  gconfig      1x1               java.util.HashMap              \r\n```\r\n\r\nBut when I run in the command-line mode of matlab, the code starts to work strangely. The debug information is attached here as well.\r\n```\r\n  Name        Size            Bytes  Class                                     Attributes\r\n\r\n  config      1x1                org.yesworkflow.config.YWConfiguration              \r\n\r\n\r\n  Name         Size            Bytes  Class     Attributes\r\n\r\n  gconfig      0x0                 0      double        \r\n```\r\n\r\nThis error caused the yw.properties file cannot be used for configuration.  Would you like to take a look at the class YWConfiguration again and troubleshooting the possible problem? \r\n\r\nThank you  very much!\r\n"},"comment":{"url":"https://api.github.com/repos/yesworkflow-org/yw-prototypes/issues/comments/150988505","html_url":"https://github.com/yesworkflow-org/yw-prototypes/issues/26#issuecomment-150988505","issue_url":"https://api.github.com/repos/yesworkflow-org/yw-prototypes/issues/26","id":150988505,"user":{"login":"sycao5","id":3410307,"avatar_url":"https://avatars.githubusercontent.com/u/3410307?v=3","gravatar_id":"","url":"https://api.github.com/users/sycao5","html_url":"https://github.com/sycao5","followers_url":"https://api.github.com/users/sycao5/followers","following_url":"https://api.github.com/users/sycao5/following{/other_user}","gists_url":"https://api.github.com/users/sycao5/gists{/gist_id}","starred_url":"https://api.github.com/users/sycao5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sycao5/subscriptions","organizations_url":"https://api.github.com/users/sycao5/orgs","repos_url":"https://api.github.com/users/sycao5/repos","events_url":"https://api.github.com/users/sycao5/events{/privacy}","received_events_url":"https://api.github.com/users/sycao5/received_events","type":"User","site_admin":false},"created_at":"2015-10-25T23:47:46Z","updated_at":"2015-10-25T23:47:46Z","body":"Many thanks! Have a good night!\r\n"}}