omit / linkedin-j

Automatically exported from code.google.com/p/linkedin-j
0 stars 0 forks source link

error LinkedInApiClientException: java.lang.IllegalArgumentException attribute cannot be null #33

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi Nabeel.
Thanks for your library. I have tried it and i keep getting this error.

 'com.google.code.linkedinapi.client.LinkedInApiClientException: java.lang.IllegalArgumentException: attribute name can not be null'

The exception is being thrown by this line:

Person profile = client.getProfileForCurrentUser(EnumSet.of(ProfileField.ID));

 can you please help me out.I am using the latest linkedin-j and signpost 1.2.1.1. the problem persists even when i use the no_argument constructor 'getProfileForCurrentUser()'.

Regards, Eugene

Original issue reported on code.google.com by kamau.eu...@gmail.com on 2 Jul 2010 at 7:57

GoogleCodeExporter commented 9 years ago

Original comment by nabeelmukhtar on 6 Jul 2010 at 1:17