René's URL Explorer Experiment


Title: Loading a group crashes due to roleIdsToView being null · Issue #7 · vrchatapi/vrchatapi-java · GitHub

Open Graph Title: Loading a group crashes due to roleIdsToView being null · Issue #7 · vrchatapi/vrchatapi-java

X Title: Loading a group crashes due to roleIdsToView being null · Issue #7 · vrchatapi/vrchatapi-java

Description: I am attempting to load a group with the following code: String groupId = ""; // Fill in a group ID here GroupsApi groupsApi = new GroupsApi(); Group group = groupsApi.getGroup(groupId, false); This crashes with the following exception: ...

Open Graph Description: I am attempting to load a group with the following code: String groupId = ""; // Fill in a group ID here GroupsApi groupsApi = new GroupsApi(); Group group = groupsApi.getGroup(groupId, false); Thi...

X Description: I am attempting to load a group with the following code: String groupId = ""; // Fill in a group ID here GroupsApi groupsApi = new GroupsApi(); Group group = groupsApi.getGroup(groupId, f...

Opengraph URL: https://github.com/vrchatapi/vrchatapi-java/issues/7

X: @github

direct link

Domain: patch-diff.githubusercontent.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Loading a group crashes due to roleIdsToView being null","articleBody":"I am attempting to load a group with the following code:\n\n```java\nString groupId = \"\"; // Fill in a group ID here\nGroupsApi groupsApi = new GroupsApi();\nGroup group = groupsApi.getGroup(groupId, false);\n```\n\nThis crashes with the following exception:\n```\nError: Expected the field `roleIdsToView` to be an array in the JSON string but got `null`\njava.lang.IllegalArgumentException: Expected the field `roleIdsToView` to be an array in the JSON string but got `null`\n\tat io.github.vrchatapi.model.GroupGallery.validateJsonObject(GroupGallery.java:481)\n\tat io.github.vrchatapi.model.Group.validateJsonObject(Group.java:1218)\n\tat io.github.vrchatapi.model.Group$CustomTypeAdapterFactory$1.read(Group.java:1263)\n\tat io.github.vrchatapi.model.Group$CustomTypeAdapterFactory$1.read(Group.java:1253)\n\tat com.google.gson.TypeAdapter$1.read(TypeAdapter.java:308)\n\tat com.google.gson.Gson.fromJson(Gson.java:1361)\n\tat com.google.gson.Gson.fromJson(Gson.java:1262)\n\tat com.google.gson.Gson.fromJson(Gson.java:1171)\n\tat com.google.gson.Gson.fromJson(Gson.java:1137)\n\tat io.github.vrchatapi.JSON.deserialize(JSON.java:340)\n\tat io.github.vrchatapi.ApiClient.deserialize(ApiClient.java:851)\n\tat io.github.vrchatapi.ApiClient.handleResponse(ApiClient.java:1061)\n\tat io.github.vrchatapi.ApiClient.execute(ApiClient.java:985)\n\tat io.github.vrchatapi.api.GroupsApi.getGroupWithHttpInfo(GroupsApi.java:2606)\n\tat io.github.vrchatapi.api.GroupsApi.getGroup(GroupsApi.java:2584)\n```\n\nLooking into this, it does appear that that field is marked as nullable in the specification: https://github.com/vrchatapi/specification/blob/main/openapi/components/schemas/GroupGallery.yaml#L21\n\nand the raw response from the server looks like this:\n```json\n{\n\"roleIdsToView\": null,\n}\n```\n\nInspecting the generated code and setting a breakpoint leads me to this generated code snippet:\n```java\n      // ensure the optional json data is an array if present\n      if (jsonObj.get(\"roleIdsToView\") != null \u0026\u0026 !jsonObj.get(\"roleIdsToView\").isJsonArray()) {\n        throw new IllegalArgumentException(String.format(\"Expected the field `roleIdsToView` to be an array in the JSON string but got `%s`\", jsonObj.get(\"roleIdsToView\").toString()));\n      }\n```\n\nSetting a breakpoint on the throw line reveals that jsonObj.get(\"roleIdsToView\") is not set to null, but to JsonNull:\n\u003cimg width=\"1469\" height=\"651\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/f98f9324-dc35-4ad4-a8a5-beaeae51555a\" /\u003e\n\ncausing the check for null to fail and the code to crash. I'm assuming this would affect other nullable fields as well; is there a flag or something that needs to be changed with the codegen to fix this?","author":{"url":"https://github.com/unshowered","@type":"Person","name":"unshowered"},"datePublished":"2025-09-03T04:29:55.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/7/vrchatapi-java/issues/7"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:697d2c54-9544-18b7-0f36-abc8a86f5db6
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id80AA:82740:1CF0849:26E0C57:697AABBF
html-safe-nonce2901d1b5846326b88f695fe1ce2fd1bf96c04053aaa053272dd3ab96b7a49919
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MEFBOjgyNzQwOjFDRjA4NDk6MjZFMEM1Nzo2OTdBQUJCRiIsInZpc2l0b3JfaWQiOiI2NTExNzQ1ODAyMDk0NDIyOTc1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac662ebed99ba67818bb7728978707583a630828efa91d2e6923c501d706153bde
hovercard-subject-tagissue:3378257914
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/vrchatapi/vrchatapi-java/7/issue_layout
twitter:imagehttps://opengraph.githubassets.com/0832b3ca586d490caddbc2996e8b6dffe325d912d71f85f46e5b6f390897fda9/vrchatapi/vrchatapi-java/issues/7
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/0832b3ca586d490caddbc2996e8b6dffe325d912d71f85f46e5b6f390897fda9/vrchatapi/vrchatapi-java/issues/7
og:image:altI am attempting to load a group with the following code: String groupId = ""; // Fill in a group ID here GroupsApi groupsApi = new GroupsApi(); Group group = groupsApi.getGroup(groupId, false); Thi...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameunshowered
hostnamegithub.com
expected-hostnamegithub.com
None4d375b6c612de26fd037e0638eaf57e32cf9b16daf53ab68c25c04cd3b058113
turbo-cache-controlno-preview
go-importgithub.com/vrchatapi/vrchatapi-java git https://github.com/vrchatapi/vrchatapi-java.git
octolytics-dimension-user_id36933130
octolytics-dimension-user_loginvrchatapi
octolytics-dimension-repository_id398903273
octolytics-dimension-repository_nwovrchatapi/vrchatapi-java
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id398903273
octolytics-dimension-repository_network_root_nwovrchatapi/vrchatapi-java
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release5b310e2c1221fb24ffd3f38a097000863d2dfdd4
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/vrchatapi/vrchatapi-java/issues/7#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fvrchatapi%2Fvrchatapi-java%2Fissues%2F7
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fvrchatapi%2Fvrchatapi-java%2Fissues%2F7
Sign up https://patch-diff.githubusercontent.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=vrchatapi%2Fvrchatapi-java
Reloadhttps://patch-diff.githubusercontent.com/vrchatapi/vrchatapi-java/issues/7
Reloadhttps://patch-diff.githubusercontent.com/vrchatapi/vrchatapi-java/issues/7
Reloadhttps://patch-diff.githubusercontent.com/vrchatapi/vrchatapi-java/issues/7
vrchatapi https://patch-diff.githubusercontent.com/vrchatapi
vrchatapi-javahttps://patch-diff.githubusercontent.com/vrchatapi/vrchatapi-java
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Fvrchatapi%2Fvrchatapi-java
Fork 11 https://patch-diff.githubusercontent.com/login?return_to=%2Fvrchatapi%2Fvrchatapi-java
Star 17 https://patch-diff.githubusercontent.com/login?return_to=%2Fvrchatapi%2Fvrchatapi-java
Code https://patch-diff.githubusercontent.com/vrchatapi/vrchatapi-java
Issues 3 https://patch-diff.githubusercontent.com/vrchatapi/vrchatapi-java/issues
Pull requests 0 https://patch-diff.githubusercontent.com/vrchatapi/vrchatapi-java/pulls
Actions https://patch-diff.githubusercontent.com/vrchatapi/vrchatapi-java/actions
Security 0 https://patch-diff.githubusercontent.com/vrchatapi/vrchatapi-java/security
Insights https://patch-diff.githubusercontent.com/vrchatapi/vrchatapi-java/pulse
Code https://patch-diff.githubusercontent.com/vrchatapi/vrchatapi-java
Issues https://patch-diff.githubusercontent.com/vrchatapi/vrchatapi-java/issues
Pull requests https://patch-diff.githubusercontent.com/vrchatapi/vrchatapi-java/pulls
Actions https://patch-diff.githubusercontent.com/vrchatapi/vrchatapi-java/actions
Security https://patch-diff.githubusercontent.com/vrchatapi/vrchatapi-java/security
Insights https://patch-diff.githubusercontent.com/vrchatapi/vrchatapi-java/pulse
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/vrchatapi/vrchatapi-java/issues/7
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/vrchatapi/vrchatapi-java/issues/7
Loading a group crashes due to roleIdsToView being nullhttps://patch-diff.githubusercontent.com/vrchatapi/vrchatapi-java/issues/7#top
https://patch-diff.githubusercontent.com/jellejurre
Type: BugThere is a **factual incorrectness** in the spechttps://github.com/vrchatapi/vrchatapi-java/issues?q=state%3Aopen%20label%3A%22Type%3A%20Bug%22
https://github.com/unshowered
https://github.com/unshowered
unshoweredhttps://github.com/unshowered
on Sep 3, 2025https://github.com/vrchatapi/vrchatapi-java/issues/7#issue-3378257914
https://github.com/vrchatapi/specification/blob/main/openapi/components/schemas/GroupGallery.yaml#L21https://github.com/vrchatapi/specification/blob/main/openapi/components/schemas/GroupGallery.yaml#L21
https://private-user-images.githubusercontent.com/177792838/484914590-f98f9324-dc35-4ad4-a8a5-beaeae51555a.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Njk2NDczNDAsIm5iZiI6MTc2OTY0NzA0MCwicGF0aCI6Ii8xNzc3OTI4MzgvNDg0OTE0NTkwLWY5OGY5MzI0LWRjMzUtNGFkNC1hOGE1LWJlYWVhZTUxNTU1YS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjYwMTI5JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI2MDEyOVQwMDM3MjBaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0wMWE5ZGNjZjI0NTZkOGI4NTc0OWY4NDdmNmU1YjBhNjk2NTFmZGE1MGZkNGVjODA5ZjY0NzhhMzllMDVkZTYyJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.x39bnzF_laJZzb6H6dzAi3z5VVSWv5DforPLBLTK0Z4
jellejurrehttps://patch-diff.githubusercontent.com/jellejurre
Type: BugThere is a **factual incorrectness** in the spechttps://github.com/vrchatapi/vrchatapi-java/issues?q=state%3Aopen%20label%3A%22Type%3A%20Bug%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.