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

你好,在运行SinaWeiboCrawler项目的WeiboCrawler3.java时候,出现空指针异常,请问如何解决 #1

Open
df8305909 opened this issue Jan 12, 2018 · 0 comments

Comments

@df8305909
Copy link

项目基本上没有改动什么,导了包,修改了微博账号密码,仅出现一些过时的方法提示就没有别的。
运行WeiboCrawler3.java 控制台:
20180112
开始爬取 "小米3" 关键字的微博
HTTP/1.1 200 OK
c =36022fc854......
Exception in thread "main" java.lang.NullPointerException
atcn.edu.Tsinghua.lxs.WeiboCrawler2.useVersion2014.WeiboCrawler3.getHTML(WeiboCrawler3.java:75)
at cn.edu.Tsinghua.lxs.WeiboCrawler2.useVersion2014.WeiboCrawler3.crawl(WeiboCrawler3.java:486)
at cn.edu.Tsinghua.lxs.WeiboCrawler2.useVersion2014.WeiboCrawler3.main(WeiboCrawler3.java:559)

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

1 participant