{"action":"opened","issue":{"url":"https://api.github.com/repos/softwarespartan/IB4m/issues/42","repository_url":"https://api.github.com/repos/softwarespartan/IB4m","labels_url":"https://api.github.com/repos/softwarespartan/IB4m/issues/42/labels{/name}","comments_url":"https://api.github.com/repos/softwarespartan/IB4m/issues/42/comments","events_url":"https://api.github.com/repos/softwarespartan/IB4m/issues/42/events","html_url":"https://github.com/softwarespartan/IB4m/issues/42","id":386142281,"node_id":"MDU6SXNzdWUzODYxNDIyODE=","number":42,"title":"session.eClientSocket.reqPositions() causes java.lang.NullPointerException","user":{"login":"Despair2000","id":38463411,"node_id":"MDQ6VXNlcjM4NDYzNDEx","avatar_url":"https://avatars0.githubusercontent.com/u/38463411?v=4","gravatar_id":"","url":"https://api.github.com/users/Despair2000","html_url":"https://github.com/Despair2000","followers_url":"https://api.github.com/users/Despair2000/followers","following_url":"https://api.github.com/users/Despair2000/following{/other_user}","gists_url":"https://api.github.com/users/Despair2000/gists{/gist_id}","starred_url":"https://api.github.com/users/Despair2000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Despair2000/subscriptions","organizations_url":"https://api.github.com/users/Despair2000/orgs","repos_url":"https://api.github.com/users/Despair2000/repos","events_url":"https://api.github.com/users/Despair2000/events{/privacy}","received_events_url":"https://api.github.com/users/Despair2000/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-30T11:07:39Z","updated_at":"2018-11-30T11:07:39Z","closed_at":null,"author_association":"NONE","body":"Hi Abel,\r\n\r\nI experience an issue that seems similar to an issue another user reported about 1 year ago (issue #15). In this thread one can read that you resolved the issue but somehow it is still there.\r\n\r\nFor me requesting open position when there is none throws the following error:\r\n\r\nException in thread \"Thread-27\": java.lang.NullPointerException\r\n\tat java.util.concurrent.ConcurrentHashMap.putVal(ConcurrentHashMap.java:1011)\r\n\tat java.util.concurrent.ConcurrentHashMap.put(ConcurrentHashMap.java:1006)\r\n\tat com.tws.Handler.processEvent(Handler.java:368)\r\n\tat com.tws.Handler.positionEnd(Handler.java:538)\r\n\tat com.ib.client.EDecoder.processPositionEndMsg(EDecoder.java:1918)\r\n\tat com.ib.client.EDecoder.processMsg(EDecoder.java:183)\r\n\tat com.ib.client.EReader.processMsgs(EReader.java:116)\r\n\tat com.ib.client.EClientSocket$MessageProcessingThread.run(EClientSocket.java:46)\r\n\r\nI'm afterwards not disconnected from TWS like the user described in issue #15.\r\nRequesting open positions when there are one or more works fine.\r\n\r\nI'm running the latest versions of everything (TWS, IB4m and matlab 2018b).\r\n\r\nThis issue is not very severe since the program doesn't stop running on this error but I wanted to report it anyway since I see the error in my log files frequently.\r\n\r\nCheers"}}
{"actor":{"display_login":"Despair2000"}}