{"action":"created","issue":{"url":"https://api.github.com/repos/java-native-access/jna/issues/572","labels_url":"https://api.github.com/repos/java-native-access/jna/issues/572/labels{/name}","comments_url":"https://api.github.com/repos/java-native-access/jna/issues/572/comments","events_url":"https://api.github.com/repos/java-native-access/jna/issues/572/events","html_url":"https://github.com/java-native-access/jna/issues/572","id":124570743,"number":572,"title":"MS Office automation example broken with 4.2.1 release","user":{"login":"9percent","id":1983190,"avatar_url":"https://avatars.githubusercontent.com/u/1983190?v=3","gravatar_id":"","url":"https://api.github.com/users/9percent","html_url":"https://github.com/9percent","followers_url":"https://api.github.com/users/9percent/followers","following_url":"https://api.github.com/users/9percent/following{/other_user}","gists_url":"https://api.github.com/users/9percent/gists{/gist_id}","starred_url":"https://api.github.com/users/9percent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/9percent/subscriptions","organizations_url":"https://api.github.com/users/9percent/orgs","repos_url":"https://api.github.com/users/9percent/repos","events_url":"https://api.github.com/users/9percent/events{/privacy}","received_events_url":"https://api.github.com/users/9percent/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/java-native-access/jna/labels/bug?","name":"bug?","color":"eb6420"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-01-02T02:01:16Z","updated_at":"2016-01-27T07:13:04Z","closed_at":null,"body":"The JNA MS office example from: https://github.com/java-native-access/jna/tree/master/contrib/msoffice is broken. \r\nThe example code works fine with JNA 4.1.0, but when I update JNA to latest 4.2.1 release, it's broken. \r\nI get the following exception:  \r\n\r\n> Exception in thread \"main\" com.sun.jna.platform.win32.COM.COMException: A null reference pointer was passed to the stub. (puArgErr=)\r\n> at com.sun.jna.platform.win32.COM.COMUtils.checkRC(COMUtils.java:112)\r\n> at com.sun.jna.platform.win32.COM.COMUtils.checkRC(COMUtils.java:95)\r\n> at com.sun.jna.platform.win32.COM.COMBindingBaseObject.oleMethod(COMBindingBaseObject.java:217)\r\n> at com.sun.jna.platform.win32.COM.COMBindingBaseObject.oleMethod(COMBindingBaseObject.java:322)\r\n> at com.sun.jna.platform.win32.COM.COMLateBindingObject.invokeNoReply(COMLateBindingObject.java:422)\r\n> at testjna.MSExcel.quit(MSExcel.java:42)\r\n> at testjna.MSOfficeDemo.testMSExcel(MSOfficeDemo.java:120)\r\n> at testjna.MSOfficeDemo.<init>(MSOfficeDemo.java:21)\r\n> at testjna.MSOfficeDemo.main(MSOfficeDemo.java:13)"},"comment":{"url":"https://api.github.com/repos/java-native-access/jna/issues/comments/175456033","html_url":"https://github.com/java-native-access/jna/issues/572#issuecomment-175456033","issue_url":"https://api.github.com/repos/java-native-access/jna/issues/572","id":175456033,"user":{"login":"burksr","id":16845896,"avatar_url":"https://avatars.githubusercontent.com/u/16845896?v=3","gravatar_id":"","url":"https://api.github.com/users/burksr","html_url":"https://github.com/burksr","followers_url":"https://api.github.com/users/burksr/followers","following_url":"https://api.github.com/users/burksr/following{/other_user}","gists_url":"https://api.github.com/users/burksr/gists{/gist_id}","starred_url":"https://api.github.com/users/burksr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/burksr/subscriptions","organizations_url":"https://api.github.com/users/burksr/orgs","repos_url":"https://api.github.com/users/burksr/repos","events_url":"https://api.github.com/users/burksr/events{/privacy}","received_events_url":"https://api.github.com/users/burksr/received_events","type":"User","site_admin":false},"created_at":"2016-01-27T07:13:04Z","updated_at":"2016-01-27T07:13:04Z","body":"I receive this error as well. I'm using Excel 16 on Windows 10 with the jars. It works when I us 4.1.0, but not 4.2.1. The Excel application seems to be created, but if I try to invoke any methods, or set any properties, this error happens."}}