René's URL Explorer Experiment


Title: Error testing Resource Provider - java.lang.ClassNotFoundException: software.amazon.cloudformation..HandlerWrapper · Issue #238 · aws-cloudformation/cloudformation-cli-java-plugin · GitHub

Open Graph Title: Error testing Resource Provider - java.lang.ClassNotFoundException: software.amazon.cloudformation..HandlerWrapper · Issue #238 · aws-cloudformation/cloudformation-cli-java-plugin

X Title: Error testing Resource Provider - java.lang.ClassNotFoundException: software.amazon.cloudformation..HandlerWrapper · Issue #238 · aws-cloudformation/cloudformation-cli-java-plugin

Description: I'm following this tutorial here [1], and creating a Resource Provider using the cfn CLI. When I run "sam local invoke TestEntrypoint --event sam-tests/create.json" I get error below. Invoking software.amazon.cloudformation.command.Handl...

Open Graph Description: I'm following this tutorial here [1], and creating a Resource Provider using the cfn CLI. When I run "sam local invoke TestEntrypoint --event sam-tests/create.json" I get error below. Invoking soft...

X Description: I'm following this tutorial here [1], and creating a Resource Provider using the cfn CLI. When I run "sam local invoke TestEntrypoint --event sam-tests/create.json" I get error below....

Opengraph URL: https://github.com/aws-cloudformation/cloudformation-cli-java-plugin/issues/238

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Error testing Resource Provider - java.lang.ClassNotFoundException: software.amazon.cloudformation.\u003cprojectName>.HandlerWrapper","articleBody":"I'm following this tutorial here [1], and creating a Resource Provider using the cfn CLI.\r\n\r\nWhen I run \"sam local invoke TestEntrypoint --event sam-tests/create.json\" I get error below.\r\n\r\n```\r\nInvoking software.amazon.cloudformation.command.HandlerWrapper::testEntrypoint (java8)\r\n\r\nFetching lambci/lambda:java8 Docker container image......\r\nMounting /Users/shantgup/Documents/CloudFormation-Command-Project/target/aws-cloudformation-command-handler-1.0-SNAPSHOT.jar as /var/task:ro,delegated inside runtime container\r\nSTART RequestId: 4d2dbf5e-b8c6-159e-9687-8b59ce7d918a Version: $LATEST\r\njava.lang.ClassNotFoundException: software.amazon.cloudformation.command.HandlerWrapper\r\n\tat java.net.URLClassLoader.findClass(URLClassLoader.java:382)\r\n\tat java.lang.ClassLoader.loadClass(ClassLoader.java:424)\r\n\tat java.lang.ClassLoader.loadClass(ClassLoader.java:357)\r\n\tat java.lang.Class.forName0(Native Method)\r\n\tat java.lang.Class.forName(Class.java:348)\r\n\r\nException in thread \"main\" java.lang.Error: java.lang.RuntimeException: java.lang.RuntimeException: Unexpected status code from invocation/response: 299\r\n\tat lambdainternal.AWSLambda.\u003cclinit>(AWSLambda.java:65)\r\n\tat java.lang.Class.forName0(Native Method)\r\n\tat java.lang.Class.forName(Class.java:348)\r\n\tat lambdainternal.LambdaRTEntry.main(LambdaRTEntry.java:119)\r\nCaused by: java.lang.RuntimeException: java.lang.RuntimeException: Unexpected status code from invocation/response: 299\r\n\tat lambdainternal.LambdaRuntime.reportDone(LambdaRuntime.java:227)\r\n\tat lambdainternal.AWSLambda.startRuntime(AWSLambda.java:366)\r\n\tat lambdainternal.AWSLambda.\u003cclinit>(AWSLambda.java:63)\r\n\t... 3 more\r\nCaused by: java.lang.RuntimeException: Unexpected status code from invocation/response: 299\r\n\tat lambdainternal.LambdaRuntime.reportDone(LambdaRuntime.java:224)\r\n\t... 5 more\r\n\r\n````\r\nNow the file does not exist in my \"src/main/java/software/amazon/cloudformation/\u003cproject_name>/\"\r\n\r\nBut I see 3 of them in /target/classes/software/amazon/cloudformation/\u003cproject_name>. There's HandlerWrapper.class, HandlerWrapper$1.class, HandlerWrapper$2.class, HandlerWrapper$3.class.\r\n\r\nAlso, my build steps have been as follows:\r\n\r\n```\r\n1. cfn generate\r\n2. Build project in IntelliJ Idea\r\n3. sam local invoke TestEntrypoint --event sam-tests/create.json\r\n\r\n```\r\n\r\nAny help to troubleshoot / fix this would be greatly appreciated.\r\n\r\n[1] - https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/resource-type-walkthrough.html","author":{"url":"https://github.com/shantgup","@type":"Person","name":"shantgup"},"datePublished":"2020-03-18T02:18:58Z","url":"https://github.com/aws-cloudformation/cloudformation-cli-java-plugin/issues/238"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:90efc119-b0eb-77cf-c041-f76d6d3df7fb
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idD3E2:936E5:9210C:C91AC:6AFD8B9C
html-safe-nonce2d36082ec07ad2b92f0cf0a338488deae3296afa991cd450a4c92bcf58a461e7
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEM0UyOjkzNkU1OjkyMTBDOkM5MUFDOjZBRkQ4QjlDIiwidmlzaXRvcl9pZCI6Ijc0NDMxNTg2ODQ4Nzc1NTY2MzYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacd1bcf99765a1055dfea69a39d0db7ba15695c7bc51be11476a5c5dc037879513
hovercard-subject-tagissue:583415055
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/aws-cloudformation/cloudformation-cli-java-plugin/238/issue_layout
twitter:imagehttps://opengraph.githubassets.com/dada0f156ef47d4bed271f9a13f832476338e1e07a5f99936e9772491560fcec/aws-cloudformation/cloudformation-cli-java-plugin/issues/238
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/dada0f156ef47d4bed271f9a13f832476338e1e07a5f99936e9772491560fcec/aws-cloudformation/cloudformation-cli-java-plugin/issues/238
og:image:altI'm following this tutorial here [1], and creating a Resource Provider using the cfn CLI. When I run "sam local invoke TestEntrypoint --event sam-tests/create.json" I get error below. Invoking soft...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameshantgup
hostnamegithub.com
expected-hostnamegithub.com
Nonebc86424ef34a73b386237872800e922d149d65ba907f63d6f150a2dcb8433bea
turbo-cache-controlno-preview
go-importgithub.com/aws-cloudformation/cloudformation-cli-java-plugin git https://github.com/aws-cloudformation/cloudformation-cli-java-plugin.git
octolytics-dimension-user_id19900777
octolytics-dimension-user_loginaws-cloudformation
octolytics-dimension-repository_id152624998
octolytics-dimension-repository_nwoaws-cloudformation/cloudformation-cli-java-plugin
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id152624998
octolytics-dimension-repository_network_root_nwoaws-cloudformation/cloudformation-cli-java-plugin
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
release927a6c5ab1c32b38830f1b9d3050c0b9e9aa92e1
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/aws-cloudformation/cloudformation-cli-java-plugin/issues/238#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Faws-cloudformation%2Fcloudformation-cli-java-plugin%2Fissues%2F238
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
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
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://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
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Faws-cloudformation%2Fcloudformation-cli-java-plugin%2Fissues%2F238
Sign uphttps://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=aws-cloudformation%2Fcloudformation-cli-java-plugin
Reloadhttps://github.com/aws-cloudformation/cloudformation-cli-java-plugin/issues/238
Reloadhttps://github.com/aws-cloudformation/cloudformation-cli-java-plugin/issues/238
Reloadhttps://github.com/aws-cloudformation/cloudformation-cli-java-plugin/issues/238
aws-cloudformationhttps://github.com/aws-cloudformation
cloudformation-cli-java-pluginhttps://github.com/aws-cloudformation/cloudformation-cli-java-plugin
Codehttps://github.com/aws-cloudformation/cloudformation-cli-java-plugin
Issues30 (30)https://github.com/aws-cloudformation/cloudformation-cli-java-plugin/issues
Pull requests13 (13)https://github.com/aws-cloudformation/cloudformation-cli-java-plugin/pulls
Actionshttps://github.com/aws-cloudformation/cloudformation-cli-java-plugin/actions
Projectshttps://github.com/aws-cloudformation/cloudformation-cli-java-plugin/projects
Security and quality1 (1)https://github.com/aws-cloudformation/cloudformation-cli-java-plugin/security
Insightshttps://github.com/aws-cloudformation/cloudformation-cli-java-plugin/insights
https://github.com/aws-cloudformation/cloudformation-cli-java-plugin
New issuehttps://github.com/login?return_to=https://github.com/aws-cloudformation/cloudformation-cli-java-plugin/issues/238
New issuehttps://github.com/login?return_to=https://github.com/aws-cloudformation/cloudformation-cli-java-plugin/issues/238
Error testing Resource Provider - java.lang.ClassNotFoundException: software.amazon.cloudformation..HandlerWrapperhttps://github.com/aws-cloudformation/cloudformation-cli-java-plugin/issues/238#top
https://github.com/chuchocd85
investigatinghttps://github.com/aws-cloudformation/cloudformation-cli-java-plugin/issues?q=state%3Aopen%20label%3A%22investigating%22
https://github.com/shantgup
shantguphttps://github.com/shantgup
on Mar 18, 2020https://github.com/aws-cloudformation/cloudformation-cli-java-plugin/issues/238#issue-583415055
https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/resource-type-walkthrough.htmlhttps://docs.aws.amazon.com/cloudformation-cli/latest/userguide/resource-type-walkthrough.html
ammokhovhttps://github.com/ammokhov
chuchocd85https://github.com/chuchocd85
on Sep 22, 2020https://github.com/aws-cloudformation/cloudformation-cli-java-plugin/issues/238#event-3795427510
ammokhovhttps://github.com/ammokhov
investigatinghttps://github.com/aws-cloudformation/cloudformation-cli-java-plugin/issues?q=state%3Aopen%20label%3A%22investigating%22
on Sep 22, 2020https://github.com/aws-cloudformation/cloudformation-cli-java-plugin/issues/238#event-3795427996
https://github.com/larse514
larse514https://github.com/larse514
on Oct 16, 2021https://github.com/aws-cloudformation/cloudformation-cli-java-plugin/issues/238#issuecomment-945015225
AWS Docshttps://aws.amazon.com/premiumsupport/knowledge-center/cloudformation-java-resource-error/
Sign up for freehttps://github.com/signup?return_to=https://github.com/aws-cloudformation/cloudformation-cli-java-plugin/issues/238
Sign in to commenthttps://github.com/login?return_to=https://github.com/aws-cloudformation/cloudformation-cli-java-plugin/issues/238
chuchocd85https://github.com/chuchocd85
investigatinghttps://github.com/aws-cloudformation/cloudformation-cli-java-plugin/issues?q=state%3Aopen%20label%3A%22investigating%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.