NullPointerException when using getMediasByTag
Closed this issue · 7 comments
tpraizler commented
Using the new 2.0 version I get:
2018-01-17T20:59:39.519034+00:00 app[web.1]: java.lang.NullPointerException: null
2018-01-17T20:59:39.519035+00:00 app[web.1]: at me.postaddict.instagram.scraper.mapper.ModelMapper.mapTag(ModelMapper.java:81)
2018-01-17T20:59:39.519037+00:00 app[web.1]: at me.postaddict.instagram.scraper.request.GetMediaByTagRequest.mapResponse(GetMediaByTagRequest.java:40)
2018-01-17T20:59:39.519038+00:00 app[web.1]: at me.postaddict.instagram.scraper.request.GetMediaByTagRequest.mapResponse(GetMediaByTagRequest.java:13)
2018-01-17T20:59:39.519039+00:00 app[web.1]: at me.postaddict.instagram.scraper.request.PaginatedRequest.requestInstagramResult(PaginatedRequest.java:39)
2018-01-17T20:59:39.519040+00:00 app[web.1]: at me.postaddict.instagram.scraper.Instagram.getMediasByTag(Instagram.java:136)
tpraizler commented
Thanks! Is it possible to release this fix?
…On Thu, Jan 18, 2018, 01:24 Igor Suhorukov ***@***.***> wrote:
Closed #88
<#88> via
9f6a2c3
<9f6a2c3>
.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#88 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AB4KxoenFympqBFM08bVJaUCB7TPzDekks5tLoEQgaJpZM4Rh-1a>
.
igor-suhorukov commented
@tpraizler no, it is too small changes in instagram-java-scraper to release into maven central
tpraizler commented
@igor-suhorukov I basicly use your lib only by using the method.
This means I cannot use your lib, which is a bummer ...:(
Can you release a minor version? 2.0.1?
igor-suhorukov commented
Just use jitpack repository and artifact com.github.postaddictme:instagram-java-scraper:0a9407d
tpraizler commented
Thanks!
tpraizler commented
Now I get:
Jan 19 14:21:43 app/web.1: java.lang.NullPointerException: null
Jan 19 14:21:43 app/web.1: at java.util.ArrayList.addAll(ArrayList.java:581)
Jan 19 14:21:43 app/web.1: at me.postaddict.instagram.scraper.request.GetMediaByTagRequest.updateResult(GetMediaByTagRequest.java:29)
Jan 19 14:21:43 app/web.1: at me.postaddict.instagram.scraper.request.GetMediaByTagRequest.updateResult(GetMediaByTagRequest.java:13)
Jan 19 14:21:43 app/web.1: at me.postaddict.instagram.scraper.request.PaginatedRequest.requestInstagramResult(PaginatedRequest.java:48)
Jan 19 14:21:43 app/web.1: at me.postaddict.instagram.scraper.Instagram.getMediasByTag(Instagram.java:136)