{"action":"created","issue":{"url":"https://api.github.com/repos/RaiMan/SikuliX-2014/issues/110","labels_url":"https://api.github.com/repos/RaiMan/SikuliX-2014/issues/110/labels{/name}","comments_url":"https://api.github.com/repos/RaiMan/SikuliX-2014/issues/110/comments","events_url":"https://api.github.com/repos/RaiMan/SikuliX-2014/issues/110/events","html_url":"https://github.com/RaiMan/SikuliX-2014/issues/110","id":59036585,"number":110,"title":"Sikulix Java Intellij setup","user":{"login":"rstormsf","id":9360827,"avatar_url":"https://avatars.githubusercontent.com/u/9360827?v=3","gravatar_id":"","url":"https://api.github.com/users/rstormsf","html_url":"https://github.com/rstormsf","followers_url":"https://api.github.com/users/rstormsf/followers","following_url":"https://api.github.com/users/rstormsf/following{/other_user}","gists_url":"https://api.github.com/users/rstormsf/gists{/gist_id}","starred_url":"https://api.github.com/users/rstormsf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rstormsf/subscriptions","organizations_url":"https://api.github.com/users/rstormsf/orgs","repos_url":"https://api.github.com/users/rstormsf/repos","events_url":"https://api.github.com/users/rstormsf/events{/privacy}","received_events_url":"https://api.github.com/users/rstormsf/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-02-26T08:26:29Z","updated_at":"2015-10-25T18:26:11Z","closed_at":"2015-10-25T18:26:11Z","body":"when I cloned this repo https://github.com/RaiMan/MySikuliExample\r\nand opened in NetBeans 8.0.2 on Mac - it works perfectly fine\r\nI'm trying to run in Intellij IDEA Community Edition and it gives me errors:\r\n```\r\n[error] ResourceLoader: check: Terminating: The jar was not built with setup nor can the libs be exported from classpath!\r\n/Users/storm/.m2/repository/com/sikulix/sikulixapi/1.1.0-SNAPSHOT/sikulixapi-1.1.0-20150116.001551-75.jar\r\n```\r\nall module settings setup for Compile\r\n\r\nI have no idea why it is failing as soon as I call \r\n```\r\n Screen screen = new Screen();\r\n```\r\nAny help?\r\n\r\n```\r\nException in thread \"main\" java.lang.ExceptionInInitializerError\r\n\tat my.sikuli.example.MySikuliTest.main(MySikuliTest.java:24)\r\nCaused by: java.lang.NullPointerException\r\n\tat org.sikuli.script.Screen.getPrimaryScreen(Screen.java:321)\r\n\tat org.sikuli.script.Sikulix.cleanUp(Sikulix.java:199)\r\n\tat org.sikuli.script.Sikulix.terminate(Sikulix.java:180)\r\n\tat org.sikuli.basics.ResourceLoader.check(ResourceLoader.java:274)\r\n\tat org.sikuli.basics.FileManager.loadLibrary(FileManager.java:82)\r\n\tat org.sikuli.script.Screen.<clinit>(Screen.java:56)\r\n```\r\n\r\nis there any Global environments need to be setup? \r\n"},"comment":{"url":"https://api.github.com/repos/RaiMan/SikuliX-2014/issues/comments/150951746","html_url":"https://github.com/RaiMan/SikuliX-2014/issues/110#issuecomment-150951746","issue_url":"https://api.github.com/repos/RaiMan/SikuliX-2014/issues/110","id":150951746,"user":{"login":"RaiMan","id":586370,"avatar_url":"https://avatars.githubusercontent.com/u/586370?v=3","gravatar_id":"","url":"https://api.github.com/users/RaiMan","html_url":"https://github.com/RaiMan","followers_url":"https://api.github.com/users/RaiMan/followers","following_url":"https://api.github.com/users/RaiMan/following{/other_user}","gists_url":"https://api.github.com/users/RaiMan/gists{/gist_id}","starred_url":"https://api.github.com/users/RaiMan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RaiMan/subscriptions","organizations_url":"https://api.github.com/users/RaiMan/orgs","repos_url":"https://api.github.com/users/RaiMan/repos","events_url":"https://api.github.com/users/RaiMan/events{/privacy}","received_events_url":"https://api.github.com/users/RaiMan/received_events","type":"User","site_admin":false},"created_at":"2015-10-25T18:26:11Z","updated_at":"2015-10-25T18:26:11Z","body":"no activity"}}