René's URL Explorer Experiment


Title: Uncaught exception: 'java.project.listSourcePaths' already exists · Issue #2331 · redhat-developer/vscode-java · GitHub

Open Graph Title: Uncaught exception: 'java.project.listSourcePaths' already exists · Issue #2331 · redhat-developer/vscode-java

X Title: Uncaught exception: 'java.project.listSourcePaths' already exists · Issue #2331 · redhat-developer/vscode-java

Description: When developing my own extension and running it under the Extension Development Host in the debugger (I have it set to pause on uncaught exceptions), on opening a Java project (with this extension installed), I am getting the following s...

Open Graph Description: When developing my own extension and running it under the Extension Development Host in the debugger (I have it set to pause on uncaught exceptions), on opening a Java project (with this extension ...

X Description: When developing my own extension and running it under the Extension Development Host in the debugger (I have it set to pause on uncaught exceptions), on opening a Java project (with this extension ...

Opengraph URL: https://github.com/redhat-developer/vscode-java/issues/2331

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.114.3


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Uncaught exception: 'java.project.listSourcePaths' already exists","articleBody":"When developing my own extension and running it under the Extension Development Host in the debugger (I have it set to pause on uncaught exceptions), on opening a Java project (with this extension installed), I am getting the following stack trace:\r\n```\r\nException has occurred: Error: command 'java.project.listSourcePaths' already exists\r\nt u.registerCommand ([/Users/inonit/Applications/Visual]() Studio Code.app[/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:93:28683]())\r\n\tat Object.registerCommand ([/Users/inonit/Applications/Visual]() Studio Code.app[/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:107:30423]())\r\n\tat X.register ([/Users/inonit/.vscode/extensions/redhat.java-1.3.0/dist/extension.js:2:945419]())\r\n\tat [/Users/inonit/.vscode/extensions/redhat.java-1.3.0/dist/extension.js:2:966900]()\r\n\tat new Promise (\u003canonymous>)\r\n\tat w.handleRegistrationRequest ([/Users/inonit/.vscode/extensions/redhat.java-1.3.0/dist/extension.js:2:966543]())\r\n\tat [/Users/inonit/.vscode/extensions/redhat.java-1.3.0/dist/extension.js:2:957330]()\r\n\tat [/Users/inonit/.vscode/extensions/redhat.java-1.3.0/dist/extension.js:2:1106102]()\r\n\tat [/Users/inonit/.vscode/extensions/redhat.java-1.3.0/dist/extension.js:2:1107161]()\r\n\tat Immediate._onImmediate ([/Users/inonit/.vscode/extensions/redhat.java-1.3.0/dist/extension.js:2:1109867]())\r\n\tat processImmediate (internal[/timers.js:461:21]())\r\n\tat process.callbackTrampoline (internal[/async_hooks.js:131:14]())```\r\n\r\n##### Environment\r\n- Operating System: macOS (10.15.7 and 12.2.1)\r\n- JDK version: Oracle JDK 1.8.0_212 and AdoptOpenJDK 11.0.8\r\n- Visual Studio Code version: 1.64.2\r\n- Java extension version: 1.3.0\r\n\r\n##### Steps To Reproduce\r\n1. Open Extension Development Host with my (unpublished) extension and with a window containing Java projects\r\n2. Wait. I don't know the API well enough to know whether this is on a timer (the stack trace may suggest this) or whether it's more complicated than that (`processImmediate` is maybe just something to do with the event loop)?\r\n\r\n##### Current Result\r\nSee stack trace of uncaught exception above.\r\n\r\n##### Expected Result\r\nNo uncaught exception.\r\n\r\n##### Additional Informations\r\n![Screen Shot 2022-02-23 at 2 26 38 PM](https://user-images.githubusercontent.com/1809061/155395932-3a03d2f6-e15e-432d-8866-12721772c8b3.png)\r\n\r\n","author":{"url":"https://github.com/davidpcaldwell","@type":"Person","name":"davidpcaldwell"},"datePublished":"2022-02-23T19:41:09Z","url":"https://github.com/redhat-developer/vscode-java/issues/2331"}

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:133df63d-f888-28c8-aaaa-4a4fc747d519
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id97DC:FE817:1FD881:2A4278:6B075EE6
html-safe-noncee046f209dea86d8e14b505fe53219cc99620c2dbb1ae7dd5656cd16a389a4fbf
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5N0RDOkZFODE3OjFGRDg4MToyQTQyNzg6NkIwNzVFRTYiLCJ2aXNpdG9yX2lkIjoiNzQ4MzYxODU1MTM5Mjc0NDcxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmaceccbfb310718274540a6d8d55adac3b0fd0255637c5b3f305b2f24cd516f9b2b
hovercard-subject-tagissue:1148502309
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/redhat-developer/vscode-java/2331/issue_layout
twitter:imagehttps://opengraph.githubassets.com/b81950be2259b59e3d837c3fdb315f969a14c871714bae94a8f9407dd8e4aff0/redhat-developer/vscode-java/issues/2331
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/b81950be2259b59e3d837c3fdb315f969a14c871714bae94a8f9407dd8e4aff0/redhat-developer/vscode-java/issues/2331
og:image:altWhen developing my own extension and running it under the Extension Development Host in the debugger (I have it set to pause on uncaught exceptions), on opening a Java project (with this extension ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamedavidpcaldwell
hostnamegithub.com
expected-hostnamegithub.com
None7a557ecc960a3ae6e299fc66b0bc9132072f8860191648e6749fee5d3ff00d82
turbo-cache-controlno-preview
go-importgithub.com/redhat-developer/vscode-java git https://github.com/redhat-developer/vscode-java.git
octolytics-dimension-user_id11033755
octolytics-dimension-user_loginredhat-developer
octolytics-dimension-repository_id65561709
octolytics-dimension-repository_nworedhat-developer/vscode-java
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id65561709
octolytics-dimension-repository_network_root_nworedhat-developer/vscode-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
releasebd845eb7947c1ed8c850f7ab415a51339d162de3
ui-targetcanary-2
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/redhat-developer/vscode-java/issues/2331#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fredhat-developer%2Fvscode-java%2Fissues%2F2331
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%2Fredhat-developer%2Fvscode-java%2Fissues%2F2331
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=redhat-developer%2Fvscode-java
Reloadhttps://github.com/redhat-developer/vscode-java/issues/2331
Reloadhttps://github.com/redhat-developer/vscode-java/issues/2331
Reloadhttps://github.com/redhat-developer/vscode-java/issues/2331
redhat-developerhttps://github.com/redhat-developer
vscode-javahttps://github.com/redhat-developer/vscode-java
Codehttps://github.com/redhat-developer/vscode-java
Issues839 (839)https://github.com/redhat-developer/vscode-java/issues
Pull requests8 (8)https://github.com/redhat-developer/vscode-java/pulls
Discussionshttps://github.com/redhat-developer/vscode-java/discussions
Actionshttps://github.com/redhat-developer/vscode-java/actions
Projectshttps://github.com/redhat-developer/vscode-java/projects
Wikihttps://github.com/redhat-developer/vscode-java/wiki
Security and qualityhttps://github.com/redhat-developer/vscode-java/security
Insightshttps://github.com/redhat-developer/vscode-java/insights
https://github.com/redhat-developer/vscode-java
New issuehttps://github.com/login?return_to=https://github.com/redhat-developer/vscode-java/issues/2331
New issuehttps://github.com/login?return_to=https://github.com/redhat-developer/vscode-java/issues/2331
#2349https://github.com/redhat-developer/vscode-java/pull/2349
Uncaught exception: 'java.project.listSourcePaths' already existshttps://github.com/redhat-developer/vscode-java/issues/2331#top
#2349https://github.com/redhat-developer/vscode-java/pull/2349
bughttps://github.com/redhat-developer/vscode-java/issues?q=state%3Aopen%20label%3A%22bug%22
Early April 2022https://github.com/redhat-developer/vscode-java/milestone/101
https://github.com/davidpcaldwell
davidpcaldwellhttps://github.com/davidpcaldwell
on Feb 23, 2022https://github.com/redhat-developer/vscode-java/issues/2331#issue-1148502309
rgrunberhttps://github.com/rgrunber
bughttps://github.com/redhat-developer/vscode-java/issues?q=state%3Aopen%20label%3A%22bug%22
on Feb 24, 2022https://github.com/redhat-developer/vscode-java/issues/2331#event-6134053172
https://github.com/rgrunber
rgrunberhttps://github.com/rgrunber
on Feb 24, 2022https://github.com/redhat-developer/vscode-java/issues/2331#issuecomment-1050146245
https://github.com/eclipse/eclipse.jdt.ls/blob/master/org.eclipse.jdt.ls.core/plugin.xml#L54-L106https://github.com/eclipse/eclipse.jdt.ls/blob/master/org.eclipse.jdt.ls.core/plugin.xml#L54-L106
https://github.com/redhat-developer/vscode-java/blob/master/src/buildpath.ts#L48https://github.com/redhat-developer/vscode-java/blob/master/src/buildpath.ts#L48
@fbriconhttps://github.com/fbricon
@snjezahttps://github.com/snjeza
https://github.com/rgrunber
rgrunberhttps://github.com/rgrunber
on Feb 28, 2022https://github.com/redhat-developer/vscode-java/issues/2331#issuecomment-1054696049
https://github.com/redhat-developer/vscode-java/blob/master/src/buildpath.ts#L48-L49https://github.com/redhat-developer/vscode-java/blob/master/src/buildpath.ts#L48-L49
https://github.com/eclipse/eclipse.jdt.ls/blob/master/org.eclipse.jdt.ls.core/src/org/eclipse/jdt/ls/core/internal/handlers/JDTLanguageServer.java#L350-L351https://github.com/eclipse/eclipse.jdt.ls/blob/master/org.eclipse.jdt.ls.core/src/org/eclipse/jdt/ls/core/internal/handlers/JDTLanguageServer.java#L350-L351
https://github.com/eclipse/eclipse.jdt.ls/blob/master/org.eclipse.jdt.ls.core/plugin.xml#L74https://github.com/eclipse/eclipse.jdt.ls/blob/master/org.eclipse.jdt.ls.core/plugin.xml#L74
https://github.com/microsoft/vscode-languageserver-node/blob/main/client/src/common/client.ts#L2887-L2891https://github.com/microsoft/vscode-languageserver-node/blob/main/client/src/common/client.ts#L2887-L2891
rgrunberhttps://github.com/rgrunber
on Mar 9, 2022https://github.com/redhat-developer/vscode-java/issues/2331#event-6206740848
Ensure that client-side commands do not clash with server-side.https://github.com/rgrunber/vscode-java/commit/29b1ae765e1bb4972221693f0a613ab0060aad07
https://docs.github.com/articles/closing-issues-via-commit-messages
29b1ae7https://github.com/rgrunber/vscode-java/commit/29b1ae765e1bb4972221693f0a613ab0060aad07
rgrunberhttps://github.com/rgrunber
on Mar 16, 2022https://github.com/redhat-developer/vscode-java/issues/2331#event-6253997069
Ensure that client-side commands do not clash with server-side.https://github.com/rgrunber/vscode-java/commit/55ccfb68a6899d214e1ecde005b9c8bb404f68a7
https://docs.github.com/articles/closing-issues-via-commit-messages
55ccfb6https://github.com/rgrunber/vscode-java/commit/55ccfb68a6899d214e1ecde005b9c8bb404f68a7
rgrunberhttps://github.com/rgrunber
End March 2022https://github.com/redhat-developer/vscode-java/milestone/101
on Mar 16, 2022https://github.com/redhat-developer/vscode-java/issues/2331#event-6254374084
rgrunberhttps://github.com/rgrunber
completedhttps://github.com/redhat-developer/vscode-java/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
#2349https://github.com/redhat-developer/vscode-java/pull/2349
on Mar 16, 2022https://github.com/redhat-developer/vscode-java/issues/2331#event-6254375214
rgrunberhttps://github.com/rgrunber
on Mar 16, 2022https://github.com/redhat-developer/vscode-java/issues/2331#event-6254375295
Ensure that client-side commands do not clash with server-side.https://github.com/redhat-developer/vscode-java/commit/ca9e8cc41b21fabd761b66f02eadbef8b300e173
https://docs.github.com/articles/closing-issues-via-commit-messages
ca9e8cchttps://github.com/redhat-developer/vscode-java/commit/ca9e8cc41b21fabd761b66f02eadbef8b300e173
Sign up for freehttps://github.com/signup?return_to=https://github.com/redhat-developer/vscode-java/issues/2331
Sign in to commenthttps://github.com/login?return_to=https://github.com/redhat-developer/vscode-java/issues/2331
bughttps://github.com/redhat-developer/vscode-java/issues?q=state%3Aopen%20label%3A%22bug%22
Early April 2022https://github.com/redhat-developer/vscode-java/milestone/101
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

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlmax-age=0, private, must-revalidate

Viewport: width=device-width


URLs of crawlers that visited me.