Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JavaBean object contains recursively defined member variable of key "table" #58

Open
Tolsi opened this issue Jul 5, 2024 · 0 comments

Comments

@Tolsi
Copy link

Tolsi commented Jul 5, 2024

Hello, I have this exception on every capture call:

com.posthog.java.shaded.org.json.JSONException: JavaBean object contains recursively defined member variable of key "tab
le"
        at com.posthog.java.shaded.org.json.JSONObject.recursivelyDefinedObjectException(JSONObject.java:2921)
        at com.posthog.java.shaded.org.json.JSONObject.populateMap(JSONObject.java:1729)
        at com.posthog.java.shaded.org.json.JSONObject.<init>(JSONObject.java:360)
        at com.posthog.java.shaded.org.json.JSONObject.wrap(JSONObject.java:2699)
        at com.posthog.java.shaded.org.json.JSONObject.populateMap(JSONObject.java:1735)
        at com.posthog.java.shaded.org.json.JSONObject.<init>(JSONObject.java:360)
        at com.posthog.java.shaded.org.json.JSONObject.wrap(JSONObject.java:2699)
        at com.posthog.java.shaded.org.json.JSONObject.populateMap(JSONObject.java:1735)
        at com.posthog.java.shaded.org.json.JSONObject.populateMap(JSONObject.java:1701)
        at com.posthog.java.shaded.org.json.JSONObject.<init>(JSONObject.java:355)
        at com.posthog.java.shaded.org.json.JSONObject.wrap(JSONObject.java:2701)
        at com.posthog.java.shaded.org.json.JSONObject.wrap(JSONObject.java:2660)
        at com.posthog.java.shaded.org.json.JSONObject.<init>(JSONObject.java:287)
        at com.posthog.java.shaded.org.json.JSONObject.put(JSONObject.java:2029)
        at com.posthog.java.PostHog.getEventJson(PostHog.java:196)
        at com.posthog.java.PostHog.enqueue(PostHog.java:80)
        at com.posthog.java.PostHog.capture(PostHog.java:92)
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant