You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 30, 2024. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+22Lines changed: 22 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -37,6 +37,28 @@ Your first feature flag
37
37
// the code to run if the feature is off
38
38
}
39
39
40
+
Troubleshooting
41
+
---------------
42
+
1. Json parsing exception: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was....ExceptionType: com.google.gson.JsonSyntaxException
43
+
Make sure your build tool is bringing in the proper version of Gson. The LaunchDarkly SDK may have problems with versions earlier than 2.2.4. To enforce the proper version add this dependency:
44
+
```
45
+
<dependency>
46
+
<groupId>com.google.code.gson</groupId>
47
+
<artifactId>gson</artifactId>
48
+
<version>2.2.4</version>
49
+
</dependency>
50
+
```
51
+
52
+
1. SSL exceptions when calling toggle():
53
+
Make sure your build tool is bringing in the proper version of the Apache http client. The LaunchDarkly SDK may have problems with versions earlier than 3.3.6. To enforce the proper version add this dependency:
0 commit comments