I get a NPE within socketConnector.java:150 with the current release 126.96.36.199 of libreoffice and UNO API (jurt.jar)
Seems there is already a change on GitHub. But the description of the change doesn't deal with an exception.
Sebastian: it seems the useful http://cgit.freedesktop.org/libreoffice/core/commit/?id=9ffdcc76858bc01150727345de4dfd0ef40ed8c0 is only on master sources (so for future 5.1.0)
Now since Noel affected himself to this bugtracker, I suppose he planned to backport this on 5.0 branch (and perhaps also on 5.0.1 branch).
Noel Grandin committed a patch related to this issue.
It has been pushed to "libreoffice-5-0":
tdf#93410 - NPE while connecting to LibreOffice via Java UNO API
It will be available in 5.0.2.
The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
Affected users are encouraged to test the fix and report feedback.
With the latest update of jurt.jar to version 188.8.131.52 (bundled with libreoffice 5.0.2) the socket connection to the background process works again. Thanks a lot.