Skip to content

Commit 8e13c31

Browse files
author
gituser
committed
Merge branch 'hotfix_1.8_3.10.x_32507' into 1.8_release_3.10.x
2 parents 4e484f2 + 19247b0 commit 8e13c31

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)