|
|
| Author |
Message |
|
| vladdu |
Posted: Wed Nov 04, 2009 8:19 am |
|
|
|
User
Joined: 28 Feb 2005
Posts: 397
Location: Gothenburg, Sweden
|
Hi,
There is a NullPointerException being thrown from AbstractNode if the
.erlang.cookie file exists but is empty. The following patch takes
care of it.
regards,
Vlad
---- com.ericsson.jinterface/src/com/ericsson/otp/erlang/AbstractNode.java ----
@@ -125,7 +125,7 @@ public class AbstractNode {
br = new BufferedReader(new FileReader(dotCookieFile));
defaultCookie = br.readLine().trim();
- } catch (final IOException e) {
+ } catch (final Exception e) {
defaultCookie = "";
} finally {
try {
________________________________________________________________
erlang-bugs mailing list. See http://www.erlang.org/faq.html
erlang-bugs (at) erlang.org
Post received from mailinglist |
|
|
| Back to top |
|
|
|
All times are GMT
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You cannot download files in this forum
|
|
|