Grishu / linkedin-j

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

LinkedInApiClient.joinGroup() throws NullPointerException #117

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Calls to LinkedInApiClient.joinGroup(), possibly with some wrong setup
2.
3.

What is the expected output? What do you see instead?
No error at all, or an exception with error output. Now it is throwing a 
NullPointerException

What version of the product are you using? On what operating system?
Release 1.0.429 (Android) With Companies, Groups and Jobs API (Beta) on Android 
2.1

Please provide any additional information below.
08-16 15:51:11.810: E/AndroidRuntime(14822): Caused by: 
java.lang.NullPointerException
08-16 15:51:11.810: E/AndroidRuntime(14822):    at 
java.util.zip.InflaterInputStream.<init>(InflaterInputStream.java:106)
08-16 15:51:11.810: E/AndroidRuntime(14822):    at 
java.util.zip.GZIPInputStream.<init>(GZIPInputStream.java:79)
08-16 15:51:11.810: E/AndroidRuntime(14822):    at 
java.util.zip.GZIPInputStream.<init>(GZIPInputStream.java:64)
08-16 15:51:11.810: E/AndroidRuntime(14822):    at 
com.google.code.linkedinapi.client.impl.BaseLinkedInApiClient.getWrappedInputStr
eam(BaseLinkedInApiClient.java:3920)
08-16 15:51:11.810: E/AndroidRuntime(14822):    at 
com.google.code.linkedinapi.client.impl.BaseLinkedInApiClient.callApiMethod(Base
LinkedInApiClient.java:3843)
08-16 15:51:11.810: E/AndroidRuntime(14822):    at 
com.google.code.linkedinapi.client.impl.BaseLinkedInApiClient.joinGroup(BaseLink
edInApiClient.java:3645)
08-16 15:51:11.810: E/AndroidRuntime(14822):    at 
nl.ecp.jaarcongres2012.NetworkFragment.onStart(NetworkFragment.java:140)
08-16 15:51:11.810: E/AndroidRuntime(14822):    at 
android.support.v4.app.Fragment.performStart(Fragment.java:1332)
08-16 15:51:11.810: E/AndroidRuntime(14822):    at 
android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:906)
08-16 15:51:11.810: E/AndroidRuntime(14822):    at 
android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1080
)
08-16 15:51:11.810: E/AndroidRuntime(14822):    at 
android.support.v4.app.BackStackRecord.run(BackStackRecord.java:622)
08-16 15:51:11.810: E/AndroidRuntime(14822):    at 
android.support.v4.app.FragmentManagerImpl.execPendingActions(FragmentManager.ja
va:1416)
08-16 15:51:11.810: E/AndroidRuntime(14822):    at 
android.support.v4.app.FragmentManagerImpl.executePendingTransactions(FragmentMa
nager.java:431)
08-16 15:51:11.810: E/AndroidRuntime(14822):    at 
nl.ecp.jaarcongres2012.TabFragmentsActivity.openTab(TabFragmentsActivity.java:21
3)
08-16 15:51:11.810: E/AndroidRuntime(14822):    at 
nl.ecp.jaarcongres2012.TabFragmentsActivity.onResume(TabFragmentsActivity.java:2
30)
08-16 15:51:11.810: E/AndroidRuntime(14822):    at 
android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1150)
08-16 15:51:11.810: E/AndroidRuntime(14822):    at 
android.app.Activity.performResume(Activity.java:3858)
08-16 15:51:11.810: E/AndroidRuntime(14822):    at 
android.app.ActivityThread.performResumeActivity(ActivityThread.java:2114)
08-16 15:51:11.810: E/AndroidRuntime(14822):    ... 12 more

Original issue reported on code.google.com by cont...@kevinbreed.nl on 16 Aug 2012 at 2:22

GoogleCodeExporter commented 9 years ago
It seems that this occurs when someone already is a member of the group

Original comment by cont...@kevinbreed.nl on 16 Aug 2012 at 2:49