{"action":"created","issue":{"url":"https://api.github.com/repos/SINTEF-9012/JArduino/issues/60","repository_url":"https://api.github.com/repos/SINTEF-9012/JArduino","labels_url":"https://api.github.com/repos/SINTEF-9012/JArduino/issues/60/labels{/name}","comments_url":"https://api.github.com/repos/SINTEF-9012/JArduino/issues/60/comments","events_url":"https://api.github.com/repos/SINTEF-9012/JArduino/issues/60/events","html_url":"https://github.com/SINTEF-9012/JArduino/issues/60","id":155774642,"number":60,"title":"java.lang.ClassNotFoundException: org.sintef.jarduino.comm.Serial4JArduino","user":{"login":"SkyHawkBre","id":19474719,"avatar_url":"https://avatars.githubusercontent.com/u/19474719?v=3","gravatar_id":"","url":"https://api.github.com/users/SkyHawkBre","html_url":"https://github.com/SkyHawkBre","followers_url":"https://api.github.com/users/SkyHawkBre/followers","following_url":"https://api.github.com/users/SkyHawkBre/following{/other_user}","gists_url":"https://api.github.com/users/SkyHawkBre/gists{/gist_id}","starred_url":"https://api.github.com/users/SkyHawkBre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SkyHawkBre/subscriptions","organizations_url":"https://api.github.com/users/SkyHawkBre/orgs","repos_url":"https://api.github.com/users/SkyHawkBre/repos","events_url":"https://api.github.com/users/SkyHawkBre/events{/privacy}","received_events_url":"https://api.github.com/users/SkyHawkBre/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-05-19T16:03:55Z","updated_at":"2016-10-21T00:16:32Z","closed_at":null,"body":"I am tring to run the Blink example:\r\n\r\n```\r\nimport org.sintef.jarduino.*;\r\n\r\npublic class Blink extends JArduino \r\n{\r\n\r\n\tpublic Blink(String port) \r\n\t{\r\n\t    super(port);\r\n\t}\r\n\t\r\n\t@Override\r\n\tprotected void setup() \r\n\t{\r\n\t    // initialize the digital pin as an output.\r\n\t    // Pin 13 has an LED connected on most Arduino boards:\r\n\t    pinMode(DigitalPin.PIN_12, PinMode.OUTPUT);\r\n\t}\r\n\t\r\n\t@Override\r\n\tprotected void loop() \r\n\t{\r\n\t\t\r\n\t    // set the LED on\r\n\t    digitalWrite(DigitalPin.PIN_12, DigitalState.HIGH);\r\n\t    delay(1000); // wait for a second\r\n\t    // set the LED off\r\n\t    digitalWrite(DigitalPin.PIN_12, DigitalState.LOW);\r\n\t    delay(1000); // wait for a second\r\n\t}\r\n\t\r\n\tpublic static void main(String[] args) \r\n\t{\r\n\t    String serialPort = \"/dev/cu.wchusbserial1410\";\r\n\t    JArduino arduino = new Blink(serialPort);\r\n\t    arduino.runArduinoProcess();\r\n\t}\r\n}\r\n```\r\n\r\nAnd I am getting the following error:\r\n\r\n```\r\njava.lang.ClassNotFoundException: org.sintef.jarduino.comm.Serial4JArduino\r\n\tat java.net.URLClassLoader.findClass(URLClassLoader.java:381)\r\n\tat java.lang.ClassLoader.loadClass(ClassLoader.java:424)\r\n\tat sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)\r\n\tat java.lang.ClassLoader.loadClass(ClassLoader.java:357)\r\n\tat org.sintef.jarduino.AbstractJArduino.<init>(AbstractJArduino.java:41)\r\n\tat org.sintef.jarduino.JArduino.<init>(JArduino.java:48)\r\n\tat Blink.<init>(Blink.java:8)\r\n\tat Blink.main(Blink.java:34)\r\nException in thread \"Thread-0\" java.lang.NullPointerException\r\n\tat org.sintef.jarduino.AbstractJArduino.pinMode(AbstractJArduino.java:64)\r\n\tat Blink.setup(Blink.java:16)\r\n\tat org.sintef.jarduino.JArduino$RemoteArduinoProcess.run(JArduino.java:128)\r\n```\r\n\r\n\r\nI am new to GitHub and don't know what I am doing wrong, any help is greatly appreciated :)\r\n-Sky"},"comment":{"url":"https://api.github.com/repos/SINTEF-9012/JArduino/issues/comments/255262303","html_url":"https://github.com/SINTEF-9012/JArduino/issues/60#issuecomment-255262303","issue_url":"https://api.github.com/repos/SINTEF-9012/JArduino/issues/60","id":255262303,"user":{"login":"jsutaria","id":16076622,"avatar_url":"https://avatars.githubusercontent.com/u/16076622?v=3","gravatar_id":"","url":"https://api.github.com/users/jsutaria","html_url":"https://github.com/jsutaria","followers_url":"https://api.github.com/users/jsutaria/followers","following_url":"https://api.github.com/users/jsutaria/following{/other_user}","gists_url":"https://api.github.com/users/jsutaria/gists{/gist_id}","starred_url":"https://api.github.com/users/jsutaria/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jsutaria/subscriptions","organizations_url":"https://api.github.com/users/jsutaria/orgs","repos_url":"https://api.github.com/users/jsutaria/repos","events_url":"https://api.github.com/users/jsutaria/events{/privacy}","received_events_url":"https://api.github.com/users/jsutaria/received_events","type":"User","site_admin":false},"created_at":"2016-10-21T00:16:32Z","updated_at":"2016-10-21T00:16:32Z","body":"Also having the same problem! Any thoughts?"}}
{"actor":{"display_login":"jsutaria"}}