Skip to content

Commit ac21718

Browse files
author
gituser
committed
Merge branch '1.8_release_4.0.x' into 1.10_release_4.0.x
2 parents 608b9b7 + 36da59f commit ac21718

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flinkx-ftp/flinkx-ftp-reader/src/main/java/com/dtstack/flinkx/ftp/reader/FtpSeqBufferedReader.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ private void nextStream() throws IOException{
7777
String file = iter.next();
7878
InputStream in = ftpHandler.getInputStream(file);
7979
if (in == null) {
80-
throw new NullPointerException();
80+
throw new RuntimeException(String.format("can not get inputStream for file [%s], please check file read and write permissions", file));
8181
}
8282

8383
br = new BufferedReader(new InputStreamReader(in, charsetName));

0 commit comments

Comments
 (0)