{"action":"opened","issue":{"url":"https://api.github.com/repos/dCache/pcells-maven/issues/1","labels_url":"https://api.github.com/repos/dCache/pcells-maven/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/dCache/pcells-maven/issues/1/comments","events_url":"https://api.github.com/repos/dCache/pcells-maven/issues/1/events","html_url":"https://github.com/dCache/pcells-maven/issues/1","id":95185848,"number":1,"title":"pcells 2.0.4 - KeyPairs generated in Windows cause NPE","user":{"login":"chrber","id":1185618,"avatar_url":"https://avatars.githubusercontent.com/u/1185618?v=3","gravatar_id":"","url":"https://api.github.com/users/chrber","html_url":"https://github.com/chrber","followers_url":"https://api.github.com/users/chrber/followers","following_url":"https://api.github.com/users/chrber/following{/other_user}","gists_url":"https://api.github.com/users/chrber/gists{/gist_id}","starred_url":"https://api.github.com/users/chrber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrber/subscriptions","organizations_url":"https://api.github.com/users/chrber/orgs","repos_url":"https://api.github.com/users/chrber/repos","events_url":"https://api.github.com/users/chrber/events{/privacy}","received_events_url":"https://api.github.com/users/chrber/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-07-15T13:01:54Z","updated_at":"2015-07-15T13:01:54Z","closed_at":null,"body":"When using keypairs generated in Windows, which have a Cp1252 encoding a login into pcells is not possible.\r\n\r\nA slightly altered version of 2.0.4 created this debug output:\r\n\r\n2015-07-15 11:16:25.948 [Thread-4        ] DEBUG o.p.s.c.Ssh2DomainConnection        - Created PemFileReader with encoding: Cp1252\r\n2015-07-15 11:16:25.949 [Thread-4        ] DEBUG o.p.s.c.Ssh2DomainConnection        - Create PemReader of PemFileReader.\r\n2015-07-15 11:16:25.977 [Thread-4        ] DEBUG o.p.s.c.Ssh2DomainConnection        - Created PemReader\r\n2015-07-15 11:16:25.978 [Thread-4        ] ERROR o.p.s.c.Ssh2DomainConnection        - Problem during keypair creation.\r\n2015-07-15 11:16:25.986 [Thread-4        ] ERROR o.p.s.c.Ssh2DomainConnection        - Ssh2 Exception caught: {}\r\njava.lang.NullPointerException: null\r\n\tat org.pcells.services.connection.Ssh2DomainConnection.go(Ssh2DomainConnection.java:80) ~[pcells-gui-core-2.0.4.jar!/:na]\r\n\tat org.pcells.services.gui.JMonoLogin.tryLogin(JMonoLogin.java:410) [pcells-gui-core-2.0.4.jar!/:na]\r\n\tat org.pcells.services.gui.JMonoLogin.access$900(JMonoLogin.java:25) [pcells-gui-core-2.0.4.jar!/:na]\r\n\tat org.pcells.services.gui.JMonoLogin$Switchboard$1.run(JMonoLogin.java:132) [pcells-gui-core-2.0.4.jar!/:na]\r\n\tat java.lang.Thread.run(Unknown Source) [na:1.8.0_31]\r\n\r\nI have a keypair which I can use to reproduce the problem. Linux machines do not suffer from the issue."}}