Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error about file #11

Open
leisurehippo opened this issue Jan 9, 2018 · 1 comment
Open

error about file #11

leisurehippo opened this issue Jan 9, 2018 · 1 comment

Comments

@leisurehippo
Copy link

命令java -jar PKUSUMSUM.jar -T 1 -input article_didi.txt -output summay.txt -L 1 -n 20 -m 2 -stop n
报错如下
Exception in thread "main" java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.simontuffs.onejar.Boot.run(Boot.java:306)
at com.simontuffs.onejar.Boot.main(Boot.java:159)
Caused by: java.lang.NullPointerException
at java.io.File.(Unknown Source)
at code.Run.main(Run.java:192)
... 6 more

这个是什么原因造成的呢?多谢

@zshtom
Copy link

zshtom commented Mar 21, 2018

-output /dirname/test.txt 这样 就可以了 输出是需要一个文件名的

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants