René's URL Explorer Experiment


Title: DocumentException didn't initalize cause in the standard way and lose inner stack trace when using logback · Issue #20 · dom4j/dom4j · GitHub

Open Graph Title: DocumentException didn't initalize cause in the standard way and lose inner stack trace when using logback · Issue #20 · dom4j/dom4j

X Title: DocumentException didn't initalize cause in the standard way and lose inner stack trace when using logback · Issue #20 · dom4j/dom4j

Description: In the class org.dom4j.DocumentException public DocumentException(Throwable nestedException) { super(nestedException.getMessage()); this.nestedException = nestedException; } public DocumentException(String message, Throwable nestedExcept...

Open Graph Description: In the class org.dom4j.DocumentException public DocumentException(Throwable nestedException) { super(nestedException.getMessage()); this.nestedException = nestedException; } public DocumentExceptio...

X Description: In the class org.dom4j.DocumentException public DocumentException(Throwable nestedException) { super(nestedException.getMessage()); this.nestedException = nestedException; } public DocumentExceptio...

Opengraph URL: https://github.com/dom4j/dom4j/issues/20

X: @github

direct link

Domain: github-redirect.dependabot.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"DocumentException didn't initalize cause in the standard way and lose inner stack trace when using logback","articleBody":"In the class org.dom4j.DocumentException\r\n```\r\npublic DocumentException(Throwable nestedException) {\r\n\tsuper(nestedException.getMessage());\r\n\tthis.nestedException = nestedException;\r\n}\r\n\r\npublic DocumentException(String message, Throwable nestedException) {\r\n\tsuper(message);\r\n\tthis.nestedException = nestedException;\r\n}\r\n```\r\nThese two constructor function didn't assign inner exception to java.lang.Throwable.cause.\r\nInstead,it used org.dom4j.DocumentException.nestedException.\r\nWhen I used Logback to log the error,the inner exception stack is lost.\r\n\r\nCurrently, i used the following code to get around it.\r\n\r\n```\r\npublic static void fillDom4jCause(Throwable t) {\r\n\tif (null == t) {\r\n\t\treturn;\r\n\t}\r\n\tif (t instanceof org.dom4j.DocumentException) {\r\n\t\tThrowable inner = ((org.dom4j.DocumentException) t).getNestedException();\r\n\t\tif (null == inner)\r\n\t\t\treturn;\r\n\t\tfillDom4jCause(inner);\r\n\t\tt.initCause(inner);\r\n\t}\r\n\telse {\r\n\t\tThrowable inner = t.getCause();\r\n\t\tif (null == inner)\r\n\t\t\treturn;\r\n\t\tfillDom4jCause(inner);\r\n\t}\r\n}\r\n```\r\n\r\n","author":{"url":"https://github.com/tankilo","@type":"Person","name":"tankilo"},"datePublished":"2016-12-28T05:18:18.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/20/dom4j/issues/20"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:a981ddde-116b-9d2a-13cf-a9254ee462a2
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idAF5E:2ACFE8:1817545:1FE54C1:6996B5EE
html-safe-nonce1614b3179eaed1af8feeaa3780d52000945538bbb7adb898c2460c44c30e3442
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRjVFOjJBQ0ZFODoxODE3NTQ1OjFGRTU0QzE6Njk5NkI1RUUiLCJ2aXNpdG9yX2lkIjoiMjc4NTU5NDU1NTkxNTIyMDQ2MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac0de87b6d7497d6be6d693c4cb07d50f37c89463699e545ac0647e92067e9f246
hovercard-subject-tagissue:197797501
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/dom4j/dom4j/20/issue_layout
twitter:imagehttps://opengraph.githubassets.com/250c17d526729dcba3400bf6264a7b3767e2460ba44bd39f610bf13743fcced7/dom4j/dom4j/issues/20
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/250c17d526729dcba3400bf6264a7b3767e2460ba44bd39f610bf13743fcced7/dom4j/dom4j/issues/20
og:image:altIn the class org.dom4j.DocumentException public DocumentException(Throwable nestedException) { super(nestedException.getMessage()); this.nestedException = nestedException; } public DocumentExceptio...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernametankilo
hostnamegithub.com
expected-hostnamegithub.com
None5513290f8d09a9ed78de519ab8316ed23b2b0ddd5e91d2420df56691d00827e8
turbo-cache-controlno-preview
go-importgithub.com/dom4j/dom4j git https://github.com/dom4j/dom4j.git
octolytics-dimension-user_id13147578
octolytics-dimension-user_logindom4j
octolytics-dimension-repository_id38423426
octolytics-dimension-repository_nwodom4j/dom4j
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id38423426
octolytics-dimension-repository_network_root_nwodom4j/dom4j
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
releasef514dad261e3ac9cceca6fa432a562be2927d949
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github-redirect.dependabot.com/dom4j/dom4j/issues/20#start-of-content
https://github-redirect.dependabot.com/
Sign in https://github-redirect.dependabot.com/login?return_to=https%3A%2F%2Fgithub.com%2Fdom4j%2Fdom4j%2Fissues%2F20
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://github-redirect.dependabot.com/login?return_to=https%3A%2F%2Fgithub.com%2Fdom4j%2Fdom4j%2Fissues%2F20
Sign up https://github-redirect.dependabot.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=dom4j%2Fdom4j
Reloadhttps://github-redirect.dependabot.com/dom4j/dom4j/issues/20
Reloadhttps://github-redirect.dependabot.com/dom4j/dom4j/issues/20
Reloadhttps://github-redirect.dependabot.com/dom4j/dom4j/issues/20
dom4j https://github-redirect.dependabot.com/dom4j
dom4jhttps://github-redirect.dependabot.com/dom4j/dom4j
Notifications https://github-redirect.dependabot.com/login?return_to=%2Fdom4j%2Fdom4j
Fork 242 https://github-redirect.dependabot.com/login?return_to=%2Fdom4j%2Fdom4j
Star 947 https://github-redirect.dependabot.com/login?return_to=%2Fdom4j%2Fdom4j
Code https://github-redirect.dependabot.com/dom4j/dom4j
Issues 64 https://github-redirect.dependabot.com/dom4j/dom4j/issues
Pull requests 4 https://github-redirect.dependabot.com/dom4j/dom4j/pulls
Actions https://github-redirect.dependabot.com/dom4j/dom4j/actions
Wiki https://github-redirect.dependabot.com/dom4j/dom4j/wiki
Security 0 https://github-redirect.dependabot.com/dom4j/dom4j/security
Insights https://github-redirect.dependabot.com/dom4j/dom4j/pulse
Code https://github-redirect.dependabot.com/dom4j/dom4j
Issues https://github-redirect.dependabot.com/dom4j/dom4j/issues
Pull requests https://github-redirect.dependabot.com/dom4j/dom4j/pulls
Actions https://github-redirect.dependabot.com/dom4j/dom4j/actions
Wiki https://github-redirect.dependabot.com/dom4j/dom4j/wiki
Security https://github-redirect.dependabot.com/dom4j/dom4j/security
Insights https://github-redirect.dependabot.com/dom4j/dom4j/pulse
New issuehttps://github-redirect.dependabot.com/login?return_to=https://github.com/dom4j/dom4j/issues/20
New issuehttps://github-redirect.dependabot.com/login?return_to=https://github.com/dom4j/dom4j/issues/20
DocumentException didn't initalize cause in the standard way and lose inner stack trace when using logbackhttps://github-redirect.dependabot.com/dom4j/dom4j/issues/20#top
https://github-redirect.dependabot.com/FilipJirsak
bughttps://github.com/dom4j/dom4j/issues?q=state%3Aopen%20label%3A%22bug%22
2.0.1https://github.com/dom4j/dom4j/milestone/4
https://github.com/tankilo
https://github.com/tankilo
tankilohttps://github.com/tankilo
on Dec 28, 2016https://github.com/dom4j/dom4j/issues/20#issue-197797501
FilipJirsakhttps://github-redirect.dependabot.com/FilipJirsak
bughttps://github.com/dom4j/dom4j/issues?q=state%3Aopen%20label%3A%22bug%22
2.0.1https://github.com/dom4j/dom4j/milestone/4
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.