mirror of
https://github.com/Febbweiss/logstash-forwarder-java.git
synced 2026-03-04 22:25:39 +00:00
Fix nullpointerexception.
This commit is contained in:
@@ -344,7 +344,7 @@ public class RandomAccessFile implements DataInput, DataOutput {
|
|||||||
|
|
||||||
// Close the underlying file object.
|
// Close the underlying file object.
|
||||||
file.close();
|
file.close();
|
||||||
file = null; // help the gc
|
//file = null; // help the gc => commented because of problems with nullpointerexceptions when trying to read after close
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user