René's URL Explorer Experiment


Title: regression in 20.0 on LambdaFetchingSupport , Kotlin data class, Spring boot · Issue #3121 · graphql-java/graphql-java · GitHub

Open Graph Title: regression in 20.0 on LambdaFetchingSupport , Kotlin data class, Spring boot · Issue #3121 · graphql-java/graphql-java

X Title: regression in 20.0 on LambdaFetchingSupport , Kotlin data class, Spring boot · Issue #3121 · graphql-java/graphql-java

Description: I am trying to upgrade the library from 18.0 to 20.0 today and found below regression. Describe the bug The LadmbdaFetchingSupport has a regression that causeS this error: java.lang.ClassCastException: part.to.namespace.Xxx incompatible ...

Open Graph Description: I am trying to upgrade the library from 18.0 to 20.0 today and found below regression. Describe the bug The LadmbdaFetchingSupport has a regression that causeS this error: java.lang.ClassCastExcept...

X Description: I am trying to upgrade the library from 18.0 to 20.0 today and found below regression. Describe the bug The LadmbdaFetchingSupport has a regression that causeS this error: java.lang.ClassCastExcept...

Opengraph URL: https://github.com/graphql-java/graphql-java/issues/3121

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"regression in 20.0 on LambdaFetchingSupport , Kotlin data class, Spring boot","articleBody":"I am trying to upgrade the library from 18.0 to 20.0 today and found below regression.\r\n\r\n**Describe the bug**\r\nThe LadmbdaFetchingSupport has a regression that causeS this error:\r\n```\r\njava.lang.ClassCastException: part.to.namespace.Xxx incompatible with part.to.namespace.Xxx\r\n\tat graphql.schema.PropertyFetchingImpl.getPropertyValue(PropertyFetchingImpl.java:76) ~[graphql-java-20.0.jar:na]\r\n\tat graphql.schema.PropertyDataFetcherHelper.getPropertyValue(PropertyDataFetcherHelper.java:22) ~[graphql-java-20.0.jar:na]\r\n\tat graphql.schema.PropertyDataFetcher.getImpl(PropertyDataFetcher.java:131) ~[graphql-java-20.0.jar:na]\r\n```\r\n\r\n**To Reproduce**\r\nEnvironment: Java 17, Kotlin 1.8.0,\r\nlast known good library version: 19.3\r\n\r\n```java\r\n// This works\r\nobject.getClass().getDeclaredMethods()[0].invoke(object)\r\n// This doesn't work\r\nLambdaFetchingSupport.createGetter(object.getClass(), \"id\").get().apply(object)\r\n```\r\n\r\nI wasn't able to re-produce the error with the exact same class in Junit environement. \r\nTwo different things maybe related when I check the `object.getClass()`\r\n\r\nIn Junit, the class loader is ClassLoaders$AppClassLoader\r\nIn application , it is RestartClassLoader from Spring.\r\n\r\n```\r\n// This work\r\nProtectionDomain  (file:/C:/dev/asterisk/app/build/classes/kotlin/main/ \u003cno signer certificates\u003e)\r\n jdk.internal.loader.ClassLoaders$AppClassLoader@2089d901\r\n \u003cno principals\u003e\r\n java.security.Permissions@fe1776a3 (\r\n (\"java.io.FilePermission\" \"C:\\dev\\asterisk\\app\\build\\classes\\kotlin\\main\\-\" \"read\")\r\n (\"java.lang.RuntimePermission\" \"exitVM\")\r\n)\r\n// This doesn't work\r\nProtectionDomain  (file:/C:/dev/asterisk/app/build/classes/kotlin/main/ \u003cno signer certificates\u003e)\r\n org.springframework.boot.devtools.restart.classloader.RestartClassLoader@d8afcbba\r\n \u003cno principals\u003e\r\n java.security.Permissions@f41df67b (\r\n (\"java.net.SocketPermission\" \"localhost:0\" \"listen,resolve\")\r\n (\"java.lang.RuntimePermission\" \"accessClassInPackage.com.sun.beans.*\")\r\n (\"java.lang.RuntimePermission\" \"accessClassInPackage.com.apple.*\")\r\n (\"java.lang.RuntimePermission\" \"accessClassInPackage.com.sun.java.swing.plaf.*\")\r\n (\"java.lang.RuntimePermission\" \"accessClassInPackage.com.sun.beans\")\r\n (\"java.util.PropertyPermission\" \"java.specification.version\" \"read\")\r\n (\"java.util.PropertyPermission\" \"java.vm.vendor\" \"read\")\r\n (\"java.util.PropertyPermission\" \"path.separator\" \"read\")\r\n (\"java.util.PropertyPermission\" \"os.version\" \"read\")\r\n (\"java.util.PropertyPermission\" \"java.vendor.url\" \"read\")\r\n (\"java.util.PropertyPermission\" \"java.vm.name\" \"read\")\r\n (\"java.util.PropertyPermission\" \"java.vm.specification.version\" \"read\")\r\n (\"java.util.PropertyPermission\" \"os.name\" \"read\")\r\n (\"java.util.PropertyPermission\" \"java.version\" \"read\")\r\n (\"java.util.PropertyPermission\" \"os.arch\" \"read\")\r\n (\"java.util.PropertyPermission\" \"java.specification.vendor\" \"read\")\r\n (\"java.util.PropertyPermission\" \"java.vm.specification.name\" \"read\")\r\n (\"java.util.PropertyPermission\" \"file.separator\" \"read\")\r\n (\"java.util.PropertyPermission\" \"line.separator\" \"read\")\r\n (\"java.util.PropertyPermission\" \"java.vm.specification.vendor\" \"read\")\r\n (\"java.util.PropertyPermission\" \"java.specification.name\" \"read\")\r\n (\"java.util.PropertyPermission\" \"java.vendor\" \"read\")\r\n (\"java.util.PropertyPermission\" \"java.vm.version\" \"read\")\r\n (\"java.util.PropertyPermission\" \"java.class.version\" \"read\")\r\n (\"java.io.FilePermission\" \"C:\\dev\\asterisk\\app\\build\\classes\\kotlin\\main\\-\" \"read\")\r\n (\"java.io.FilePermission\" \"C:\\dev\\asterisk\\app\\build\\classes\\kotlin\\main\\-#plus\" \"read\")\r\n)\r\n```\r\n\r\n","author":{"url":"https://github.com/ntf","@type":"Person","name":"ntf"},"datePublished":"2023-03-16T17:55:21.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/3121/graphql-java/issues/3121"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:47699d1b-222b-b785-ae41-e267f05904fd
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idE718:B26D:25C53:34345:6A626084
html-safe-nonceecaf1488c7961126163630ff1b4da3a1cd39149c126a77dc043148277a98c89b
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNzE4OkIyNkQ6MjVDNTM6MzQzNDU6NkE2MjYwODQiLCJ2aXNpdG9yX2lkIjoiNjA2NTEwMTI3Mzg0NjQwNzMwMCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac8bf82ecb5d1e30d3eef2072b586d4e37833b8dec47bde710472f9800ae55713c
hovercard-subject-tagissue:1627999814
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/graphql-java/graphql-java/3121/issue_layout
twitter:imagehttps://opengraph.githubassets.com/5f3c0ee4ae1f1883c39d8d4e1b2262f1203200fcc566e1f897917b5128d12714/graphql-java/graphql-java/issues/3121
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/5f3c0ee4ae1f1883c39d8d4e1b2262f1203200fcc566e1f897917b5128d12714/graphql-java/graphql-java/issues/3121
og:image:altI am trying to upgrade the library from 18.0 to 20.0 today and found below regression. Describe the bug The LadmbdaFetchingSupport has a regression that causeS this error: java.lang.ClassCastExcept...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamentf
hostnamegithub.com
expected-hostnamegithub.com
None6d5cd56dfa7e7ed6718ba879da3c0d884bd8b5fecd3883b5f00dcb66b8b8680f
turbo-cache-controlno-preview
go-importgithub.com/graphql-java/graphql-java git https://github.com/graphql-java/graphql-java.git
octolytics-dimension-user_id14289921
octolytics-dimension-user_logingraphql-java
octolytics-dimension-repository_id38602457
octolytics-dimension-repository_nwographql-java/graphql-java
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id38602457
octolytics-dimension-repository_network_root_nwographql-java/graphql-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
released28abcf30a4025dfeef7673e1509edbc5d402c97
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/graphql-java/graphql-java/issues/3121#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgraphql-java%2Fgraphql-java%2Fissues%2F3121
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
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
Code QualityEnforce quality at mergehttps://github.com/features/code-quality
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
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
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/enterprise/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://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgraphql-java%2Fgraphql-java%2Fissues%2F3121
Sign up https://github.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=graphql-java%2Fgraphql-java
Reloadhttps://github.com/graphql-java/graphql-java/issues/3121
Reloadhttps://github.com/graphql-java/graphql-java/issues/3121
Reloadhttps://github.com/graphql-java/graphql-java/issues/3121
Please reload this pagehttps://github.com/graphql-java/graphql-java/issues/3121
graphql-java https://github.com/graphql-java
graphql-javahttps://github.com/graphql-java/graphql-java
Notifications https://github.com/login?return_to=%2Fgraphql-java%2Fgraphql-java
Fork 1.1k https://github.com/login?return_to=%2Fgraphql-java%2Fgraphql-java
Star 6.2k https://github.com/login?return_to=%2Fgraphql-java%2Fgraphql-java
Code https://github.com/graphql-java/graphql-java
Issues 26 https://github.com/graphql-java/graphql-java/issues
Pull requests 11 https://github.com/graphql-java/graphql-java/pulls
Discussions https://github.com/graphql-java/graphql-java/discussions
Actions https://github.com/graphql-java/graphql-java/actions
Projects https://github.com/graphql-java/graphql-java/projects
Wiki https://github.com/graphql-java/graphql-java/wiki
Security and quality 0 https://github.com/graphql-java/graphql-java/security
Insights https://github.com/graphql-java/graphql-java/pulse
Code https://github.com/graphql-java/graphql-java
Issues https://github.com/graphql-java/graphql-java/issues
Pull requests https://github.com/graphql-java/graphql-java/pulls
Discussions https://github.com/graphql-java/graphql-java/discussions
Actions https://github.com/graphql-java/graphql-java/actions
Projects https://github.com/graphql-java/graphql-java/projects
Wiki https://github.com/graphql-java/graphql-java/wiki
Security and quality https://github.com/graphql-java/graphql-java/security
Insights https://github.com/graphql-java/graphql-java/pulse
regression in 20.0 on LambdaFetchingSupport , Kotlin data class, Spring boothttps://github.com/graphql-java/graphql-java/issues/3121#top
https://github.com/ntf
ntfhttps://github.com/ntf
on Mar 16, 2023https://github.com/graphql-java/graphql-java/issues/3121#issue-1627999814
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.