What steps will reproduce the problem?
1. Create a new instance of the LinkedInApiClientFactory
2. Use the factory to create a LinkedInApiClient from token and secret
3. Use the client's createPost method to post in a group the requires post
approbation.
The createPost method implemented in the BaseLinkedInApiClient works fine for
groups that do not require post approbation. Actually it also works for groups
that do require post approbation but the response status code from LinkedIn is
202 (Accepted) instead of the expected 201 (Created) which causes the client to
look for an error in the request error stream. Since this is not an error the
error stream is null and that causes a NullPointerException.
Same problem in version 1.0.416 and 1.0.429
Original issue reported on code.google.com by sebereni...@gmail.com on 11 Jun 2012 at 9:08
Original issue reported on code.google.com by
sebereni...@gmail.com
on 11 Jun 2012 at 9:08