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:04244db5-b5bb-3624-4de6-fe6e29a22889
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idE590:19DA02:27E21D4:379EE56:69694D2D
html-safe-nonce1cbb47badcaa94a9cf3f34329d79957db72c77e26397baf3e951147c2fd551f9
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNTkwOjE5REEwMjoyN0UyMUQ0OjM3OUVFNTY6Njk2OTREMkQiLCJ2aXNpdG9yX2lkIjoiNzU5Mzc1NjM3MzE3NzY2NDQ1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac345774aa0edda8889163786283668bb54133bb89eaffb1147f2847ef57e53bdd
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
None54182691a21263b584d2e600b758e081b0ff1d10ffc0d2eefa51cf754b43b51d
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
released69ac0477df0f87da03b8b06cebd187012d7a930
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttp://github.com/java-diff-utils/java-diff-utils/issues/225#start-of-content
http://github.com/
Sign in http://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 http://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fjava-diff-utils%2Fjava-diff-utils%2Fissues%2F225
Sign up http://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
Reloadhttp://github.com/java-diff-utils/java-diff-utils/issues/225
Reloadhttp://github.com/java-diff-utils/java-diff-utils/issues/225
Reloadhttp://github.com/java-diff-utils/java-diff-utils/issues/225
java-diff-utils http://github.com/java-diff-utils
java-diff-utilshttp://github.com/java-diff-utils/java-diff-utils
Please reload this pagehttp://github.com/java-diff-utils/java-diff-utils/issues/225
Notifications http://github.com/login?return_to=%2Fjava-diff-utils%2Fjava-diff-utils
Fork 215 http://github.com/login?return_to=%2Fjava-diff-utils%2Fjava-diff-utils
Star 1.5k http://github.com/login?return_to=%2Fjava-diff-utils%2Fjava-diff-utils
Code http://github.com/java-diff-utils/java-diff-utils
Issues 1 http://github.com/java-diff-utils/java-diff-utils/issues
Pull requests 1 http://github.com/java-diff-utils/java-diff-utils/pulls
Discussions http://github.com/java-diff-utils/java-diff-utils/discussions
Actions http://github.com/java-diff-utils/java-diff-utils/actions
Projects 0 http://github.com/java-diff-utils/java-diff-utils/projects
Wiki http://github.com/java-diff-utils/java-diff-utils/wiki
Security Uh oh! There was an error while loading. Please reload this page. http://github.com/java-diff-utils/java-diff-utils/security
Please reload this pagehttp://github.com/java-diff-utils/java-diff-utils/issues/225
Insights http://github.com/java-diff-utils/java-diff-utils/pulse
Code http://github.com/java-diff-utils/java-diff-utils
Issues http://github.com/java-diff-utils/java-diff-utils/issues
Pull requests http://github.com/java-diff-utils/java-diff-utils/pulls
Discussions http://github.com/java-diff-utils/java-diff-utils/discussions
Actions http://github.com/java-diff-utils/java-diff-utils/actions
Projects http://github.com/java-diff-utils/java-diff-utils/projects
Wiki http://github.com/java-diff-utils/java-diff-utils/wiki
Security http://github.com/java-diff-utils/java-diff-utils/security
Insights http://github.com/java-diff-utils/java-diff-utils/pulse
New issuehttp://github.com/login?return_to=https://github.com/java-diff-utils/java-diff-utils/issues/225
New issuehttp://github.com/login?return_to=https://github.com/java-diff-utils/java-diff-utils/issues/225
Empty lines after chunk throw UnifiedDiffParserExceptionhttp://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.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Njg1MDkwMTcsIm5iZiI6MTc2ODUwODcxNywicGF0aCI6Ii83ODk3MDE0MS81MjcyMTY4NTYtYjExNjRmYWMtYTUxNC00ZjRjLThkYmUtYjQzNzhkNTY3YjQwLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjAxMTUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYwMTE1VDIwMjUxN1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWM0M2E2M2Q2YTY4ZDUwNjc1YTNjMTJmMzJlMGU4ZTE4Y2JlNmVmMTAxNTZhZDVjNjRjMzIyN2MxYWE4ZjdlYmImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.fBRTZD-IxgXAb53hbt_nJ4CelzX-quOXo8uEjHfYV9U
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.