René's URL Explorer Experiment


Title: Empty lines after chunk throw UnifiedDiffParserException · Issue #225 · java-diff-utils/java-diff-utils · GitHub

Open Graph Title: Empty lines after chunk throw UnifiedDiffParserException · Issue #225 · java-diff-utils/java-diff-utils

X Title: Empty lines after chunk throw UnifiedDiffParserException · Issue #225 · java-diff-utils/java-diff-utils

Description: Description Empty lines after chunk line seem to crash the UnifiedDiffReader.parseUnifiedDiff() method. To Reproduce Steps to reproduce the behavior: Example data: index 9e852060c..649690b43 100644 --- a/modules/configuration/gsrc/com/gu...

Open Graph Description: Description Empty lines after chunk line seem to crash the UnifiedDiffReader.parseUnifiedDiff() method. To Reproduce Steps to reproduce the behavior: Example data: index 9e852060c..649690b43 100644...

X Description: Description Empty lines after chunk line seem to crash the UnifiedDiffReader.parseUnifiedDiff() method. To Reproduce Steps to reproduce the behavior: Example data: index 9e852060c..649690b43 100644...

Opengraph URL: https://github.com/java-diff-utils/java-diff-utils/issues/225

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Empty lines after chunk throw UnifiedDiffParserException","articleBody":"**Description**\nEmpty lines after chunk line seem to crash the UnifiedDiffReader.parseUnifiedDiff() method.\n\n**To Reproduce**\nSteps to reproduce the behavior:\n1. Example data: \n```diff --git a/modules/configuration/gsrc/com/guidewire/pl/docexamples/DMSServlet.gs b/modules/configuration/gsrc/com/guidewire/pl/docexamples/DMSServlet.gs\nindex 9e852060c..649690b43 100644\n--- a/modules/configuration/gsrc/com/guidewire/pl/docexamples/DMSServlet.gs\n+++ b/modules/configuration/gsrc/com/guidewire/pl/docexamples/DMSServlet.gs\n@@ -37,6 +37,7 @@ class DMSServlet extends HttpServlet {\n \n   public static final var ATTRIB_DOC_PUBLICID_PARAM: String = \"Document.PublicID\"\n   public static final var ATTRIB_JOIN_TABLE_TYPE: String = \"JoinTable.Type\"\n+  //a test\n   public static final var ATTRIB_JOIN_TABLE_PROPERTY: String = \"JoinTable.JoinedProperty\"\n   public static final var ATTRIB_JOINED_PUBLICID: String = \"Joined.PublicID\"\n   private var _purgeableUrl: String\ndiff --git a/testfile.txt b/testfile.txt\nnew file mode 100644\nindex 000000000..0ccd05bf0\n--- /dev/null\n+++ b/testfile.txt\n@@ -0,0 +1 @@\n+file.test\n```\n2. Run `UnifiedDiffReader.parseUnifiedDiff(new ByteArrayInputStream(raw.getBytes(StandardCharsets.UTF_8)));`\n3. You will get:\n```Dec 16, 2025 7:25:12 PM com.github.difflib.unifieddiff.UnifiedDiffReader processLine\nWARNING:   \u003e\u003e\u003e no rule matched \ncom.github.difflib.unifieddiff.UnifiedDiffParserException: expected data line not found\n\tat com.github.difflib.unifieddiff.UnifiedDiffReader.parse(UnifiedDiffReader.java:145)\n\tat com.github.difflib.unifieddiff.UnifiedDiffReader.parseUnifiedDiff(UnifiedDiffReader.java:205)\n```\n because this line is empty:\n\n\u003cimg width=\"379\" height=\"61\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/b1164fac-a514-4f4c-8dbe-b4378d567b40\" /\u003e\n\n**Expected behavior**\nEmpty lines should not throw errors here according to my understanding.\n\n**System**\n - Java version 21\n - Version [e.g. 4.15 (latest)]\n","author":{"url":"https://github.com/MadnessIRL","@type":"Person","name":"MadnessIRL"},"datePublished":"2025-12-16T18:27:50.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/225/java-diff-utils/issues/225"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:4fc8dae8-e144-d5e5-84e6-ae76386b2c7f
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id8632:2962E0:26A94A:34651F:69681CC1
html-safe-nonceefa17f0c8d47992d70557cd90ae184fb3554f7d99a80058ab436d34e4d79d74c
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NjMyOjI5NjJFMDoyNkE5NEE6MzQ2NTFGOjY5NjgxQ0MxIiwidmlzaXRvcl9pZCI6IjQzNTM1MzAwOTQ3MDg0MDAwMSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac23ddf863dfa7320ae5010c374e12d9a31ebf64c41e52ef2a6afc4dfff2c68910
hovercard-subject-tagissue:3735885916
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/java-diff-utils/java-diff-utils/225/issue_layout
twitter:imagehttps://opengraph.githubassets.com/2d9c767fd6b861636f87d8189425458f888139043b8b4955acca38848d76d1d9/java-diff-utils/java-diff-utils/issues/225
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/2d9c767fd6b861636f87d8189425458f888139043b8b4955acca38848d76d1d9/java-diff-utils/java-diff-utils/issues/225
og:image:altDescription Empty lines after chunk line seem to crash the UnifiedDiffReader.parseUnifiedDiff() method. To Reproduce Steps to reproduce the behavior: Example data: index 9e852060c..649690b43 100644...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameMadnessIRL
hostnamegithub.com
expected-hostnamegithub.com
None2452ef75cc61e096c7ab0f8a4fca0ff7d45789bc2e145182d98e41a6ba61e5e1
turbo-cache-controlno-preview
go-importgithub.com/java-diff-utils/java-diff-utils git https://github.com/java-diff-utils/java-diff-utils.git
octolytics-dimension-user_id40540835
octolytics-dimension-user_loginjava-diff-utils
octolytics-dimension-repository_id86663812
octolytics-dimension-repository_nwojava-diff-utils/java-diff-utils
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id86663812
octolytics-dimension-repository_network_root_nwojava-diff-utils/java-diff-utils
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
release424b2f45b6311b8635b559db771ca199ff3a1b4f
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/java-diff-utils/java-diff-utils/issues/225#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fjava-diff-utils%2Fjava-diff-utils%2Fissues%2F225
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.com/login?return_to=https%3A%2F%2Fgithub.com%2Fjava-diff-utils%2Fjava-diff-utils%2Fissues%2F225
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=java-diff-utils%2Fjava-diff-utils
Reloadhttps://github.com/java-diff-utils/java-diff-utils/issues/225
Reloadhttps://github.com/java-diff-utils/java-diff-utils/issues/225
Reloadhttps://github.com/java-diff-utils/java-diff-utils/issues/225
java-diff-utils https://github.com/java-diff-utils
java-diff-utilshttps://github.com/java-diff-utils/java-diff-utils
Please reload this pagehttps://github.com/java-diff-utils/java-diff-utils/issues/225
Notifications https://github.com/login?return_to=%2Fjava-diff-utils%2Fjava-diff-utils
Fork 215 https://github.com/login?return_to=%2Fjava-diff-utils%2Fjava-diff-utils
Star 1.5k https://github.com/login?return_to=%2Fjava-diff-utils%2Fjava-diff-utils
Code https://github.com/java-diff-utils/java-diff-utils
Issues 1 https://github.com/java-diff-utils/java-diff-utils/issues
Pull requests 1 https://github.com/java-diff-utils/java-diff-utils/pulls
Discussions https://github.com/java-diff-utils/java-diff-utils/discussions
Actions https://github.com/java-diff-utils/java-diff-utils/actions
Projects 0 https://github.com/java-diff-utils/java-diff-utils/projects
Wiki https://github.com/java-diff-utils/java-diff-utils/wiki
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/java-diff-utils/java-diff-utils/security
Please reload this pagehttps://github.com/java-diff-utils/java-diff-utils/issues/225
Insights https://github.com/java-diff-utils/java-diff-utils/pulse
Code https://github.com/java-diff-utils/java-diff-utils
Issues https://github.com/java-diff-utils/java-diff-utils/issues
Pull requests https://github.com/java-diff-utils/java-diff-utils/pulls
Discussions https://github.com/java-diff-utils/java-diff-utils/discussions
Actions https://github.com/java-diff-utils/java-diff-utils/actions
Projects https://github.com/java-diff-utils/java-diff-utils/projects
Wiki https://github.com/java-diff-utils/java-diff-utils/wiki
Security https://github.com/java-diff-utils/java-diff-utils/security
Insights https://github.com/java-diff-utils/java-diff-utils/pulse
New issuehttps://github.com/login?return_to=https://github.com/java-diff-utils/java-diff-utils/issues/225
New issuehttps://github.com/login?return_to=https://github.com/java-diff-utils/java-diff-utils/issues/225
Empty lines after chunk throw UnifiedDiffParserExceptionhttps://github.com/java-diff-utils/java-diff-utils/issues/225#top
https://github.com/MadnessIRL
https://github.com/MadnessIRL
MadnessIRLhttps://github.com/MadnessIRL
on Dec 16, 2025https://github.com/java-diff-utils/java-diff-utils/issues/225#issue-3735885916
https://private-user-images.githubusercontent.com/78970141/527216856-b1164fac-a514-4f4c-8dbe-b4378d567b40.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Njg0MzEwODUsIm5iZiI6MTc2ODQzMDc4NSwicGF0aCI6Ii83ODk3MDE0MS81MjcyMTY4NTYtYjExNjRmYWMtYTUxNC00ZjRjLThkYmUtYjQzNzhkNTY3YjQwLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjAxMTQlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYwMTE0VDIyNDYyNVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTEwZjU2ZjhkZTJhMzcyMmIzZDQxMjQ1MWQ4ZTljYjcyODE2OGZmYTc4MjY2MWEzMDNlYTdjNGIzOTliNDZjMmYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.B-nQyjpTy8hj4gWvgEnBFLlN9eedpVJFrFV6_wo5Kgo
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.