{"action":"opened","issue":{"url":"https://api.github.com/repos/ballerina-platform/ballerina-examples/issues/265","repository_url":"https://api.github.com/repos/ballerina-platform/ballerina-examples","labels_url":"https://api.github.com/repos/ballerina-platform/ballerina-examples/issues/265/labels{/name}","comments_url":"https://api.github.com/repos/ballerina-platform/ballerina-examples/issues/265/comments","events_url":"https://api.github.com/repos/ballerina-platform/ballerina-examples/issues/265/events","html_url":"https://github.com/ballerina-platform/ballerina-examples/issues/265","id":315813600,"number":265,"title":"Ftp-client-connector sample fails","user":{"login":"ShanikaWickramasinghe","id":31848014,"avatar_url":"https://avatars0.githubusercontent.com/u/31848014?v=4","gravatar_id":"","url":"https://api.github.com/users/ShanikaWickramasinghe","html_url":"https://github.com/ShanikaWickramasinghe","followers_url":"https://api.github.com/users/ShanikaWickramasinghe/followers","following_url":"https://api.github.com/users/ShanikaWickramasinghe/following{/other_user}","gists_url":"https://api.github.com/users/ShanikaWickramasinghe/gists{/gist_id}","starred_url":"https://api.github.com/users/ShanikaWickramasinghe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ShanikaWickramasinghe/subscriptions","organizations_url":"https://api.github.com/users/ShanikaWickramasinghe/orgs","repos_url":"https://api.github.com/users/ShanikaWickramasinghe/repos","events_url":"https://api.github.com/users/ShanikaWickramasinghe/events{/privacy}","received_events_url":"https://api.github.com/users/ShanikaWickramasinghe/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-04-19T10:14:02Z","updated_at":"2018-04-19T10:14:02Z","closed_at":null,"author_association":"NONE","body":"**Environment**\r\nballerina-platform-linux-installer-x64-0.970.0.beta1.rpm (2018/04/19)\r\n\r\n**Description:**\r\nInstall ballerina platform using ballerina-platform-linux-installer-x64-0.970.0.beta1.rpm installer\r\nRun the below command to execute the sample\r\nGo inside /ballerina-examples/examples$ and execute\r\n\r\nballerina run  ftp-client-connector/ftp-client-connector.bal\r\n\r\nObeserved the below exception\r\n\r\nballerina: cannot find file 'ftp-client-connector/ftp-client-connector.bal'\r\nCan't load log handler \"org.ballerinalang.logging.handlers.DefaultLogFileHandler\"\r\njava.nio.file.AccessDeniedException: /opt/Ballerina/ballerina-platform-0.970.0-beta1/logs/bre.log.lck\r\njava.nio.file.AccessDeniedException: /opt/Ballerina/ballerina-platform-0.970.0-beta1/logs/bre.log.lck\r\n\tat sun.nio.fs.UnixException.translateToIOException(UnixException.java:84)\r\n\tat sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102)\r\n\tat sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107)\r\n\tat sun.nio.fs.UnixFileSystemProvider.newFileChannel(UnixFileSystemProvider.java:177)\r\n\tat java.nio.channels.FileChannel.open(FileChannel.java:287)\r\n\tat java.nio.channels.FileChannel.open(FileChannel.java:335)\r\n\tat java.util.logging.FileHandler.openFiles(FileHandler.java:478)\r\n\tat java.util.logging.FileHandler.<init>(FileHandler.java:281)\r\n\tat org.ballerinalang.logging.handlers.DefaultLogFileHandler.<init>(DefaultLogFileHandler.java:30)\r\n\tat sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)\r\n\tat sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)\r\n\tat sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)\r\n\tat java.lang.reflect.Constructor.newInstance(Constructor.java:423)\r\n\tat java.lang.Class.newInstance(Class.java:442)\r\n\tat java.util.logging.LogManager$5.run(LogManager.java:966)\r\n\tat java.security.AccessController.doPrivileged(Native Method)\r\n\tat java.util.logging.LogManager.loadLoggerHandlers(LogManager.java:958)\r\n\tat java.util.logging.LogManager.initializeGlobalHandlers(LogManager.java:1578)\r\n\tat java.util.logging.LogManager.access$1500(LogManager.java:145)\r\n\tat java.util.logging.LogManager$RootLogger.accessCheckedHandlers(LogManager.java:1667)\r\n\tat java.util.logging.Logger.getHandlers(Logger.java:1777)\r\n\tat java.util.logging.Logger.log(Logger.java:735)\r\n\tat org.slf4j.impl.JDK14LoggerAdapter.log(JDK14LoggerAdapter.java:582)\r\n\tat org.slf4j.impl.JDK14LoggerAdapter.error(JDK14LoggerAdapter.java:559)\r\n\tat org.ballerinalang.launcher.Main.main(Main.java:80)"}}
{"actor":{"display_login":"ShanikaWickramasinghe"}}