René's URL Explorer Experiment


Title: Concurrency problem with _lastline in LCDSocketPoller · Issue #4 · lcdproc/lcdjava · GitHub

Open Graph Title: Concurrency problem with _lastline in LCDSocketPoller · Issue #4 · lcdproc/lcdjava

X Title: Concurrency problem with _lastline in LCDSocketPoller · Issue #4 · lcdproc/lcdjava

Description: I've observed crashes like the following: sep 17 11:08:19 raspberrypi java[537]: Exception in thread "Thread-1" java.lang.NullPointerException sep 17 11:08:19 raspberrypi java[537]: at java.util.regex.Matcher.getTextLength(Matcher.java:1...

Open Graph Description: I've observed crashes like the following: sep 17 11:08:19 raspberrypi java[537]: Exception in thread "Thread-1" java.lang.NullPointerException sep 17 11:08:19 raspberrypi java[537]: at java.util.re...

X Description: I've observed crashes like the following: sep 17 11:08:19 raspberrypi java[537]: Exception in thread "Thread-1" java.lang.NullPointerException sep 17 11:08:19 raspberrypi java[537]: a...

Opengraph URL: https://github.com/lcdproc/lcdjava/issues/4

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Concurrency problem with _lastline in LCDSocketPoller","articleBody":"I've observed crashes like the following:\n\n```\nsep 17 11:08:19 raspberrypi java[537]: Exception in thread \"Thread-1\" java.lang.NullPointerException\nsep 17 11:08:19 raspberrypi java[537]: at java.util.regex.Matcher.getTextLength(Matcher.java:1283)\nsep 17 11:08:19 raspberrypi java[537]: at java.util.regex.Matcher.reset(Matcher.java:309)\nsep 17 11:08:19 raspberrypi java[537]: at java.util.regex.Matcher.\u003cinit\u003e(Matcher.java:229)\nsep 17 11:08:19 raspberrypi java[537]: at java.util.regex.Pattern.matcher(Pattern.java:1093)\nsep 17 11:08:19 raspberrypi java[537]: at org.boncey.lcdjava.LCDSocketPoller.run(LCDSocketPoller.java:90)\nsep 17 11:08:19 raspberrypi java[537]: [main] INFO org.boncey.lcdjava.LCD - Connected\n\n```\n\nLooking inside LCDSocketPoller, it's clear that access to _lastline is not concurrency correct. A different thread (inside LCD) can call getLastLine, setting it to null, while the LCDSocketPoller thread is reading _lastline inside the run() loop. This can cause it to be equal to null on line 90, even though there is a not-null-check on line 87.\n\nUsing org.boncey.lcdjava 0.5.0\n","author":{"url":"https://github.com/antoneliasson","@type":"Person","name":"antoneliasson"},"datePublished":"2016-09-17T14:35:28.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/4/lcdjava/issues/4"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:d2f087d4-5f54-7ae4-7f95-15cedca1cb7d
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id906A:16E643:435F3D:5AB4E7:698EE06E
html-safe-nonce27658bb4e5bfb502c620ce0e07f2be7639d6a430b36b90e4d97004b9f6d41380
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MDZBOjE2RTY0Mzo0MzVGM0Q6NUFCNEU3OjY5OEVFMDZFIiwidmlzaXRvcl9pZCI6Ijc1OTE4NTA3MzYxMDg4ODgxNzQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacc226a3de64cbc9d7dcf137acf250d281fb059b3bc4b789ed1cea084f4b26e36e
hovercard-subject-tagissue:177580808
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/lcdproc/lcdjava/4/issue_layout
twitter:imagehttps://opengraph.githubassets.com/53c18b8954e0a7ba17b4ca5b1ae7de454251f9272f438b1e076390417b9e00e5/lcdproc/lcdjava/issues/4
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/53c18b8954e0a7ba17b4ca5b1ae7de454251f9272f438b1e076390417b9e00e5/lcdproc/lcdjava/issues/4
og:image:altI've observed crashes like the following: sep 17 11:08:19 raspberrypi java[537]: Exception in thread "Thread-1" java.lang.NullPointerException sep 17 11:08:19 raspberrypi java[537]: at java.util.re...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameantoneliasson
hostnamegithub.com
expected-hostnamegithub.com
Nonecb2828a801ee6b7be618f3ac76fbf55def35bbc30f053a9c41bf90210b8b72ba
turbo-cache-controlno-preview
go-importgithub.com/lcdproc/lcdjava git https://github.com/lcdproc/lcdjava.git
octolytics-dimension-user_id20595616
octolytics-dimension-user_loginlcdproc
octolytics-dimension-repository_id898160
octolytics-dimension-repository_nwolcdproc/lcdjava
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id898160
octolytics-dimension-repository_network_root_nwolcdproc/lcdjava
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
releasee6b91a7e6e46287d26887e3fb7a4161657bab8f7
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/lcdproc/lcdjava/issues/4#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Flcdproc%2Flcdjava%2Fissues%2F4
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%2Flcdproc%2Flcdjava%2Fissues%2F4
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=lcdproc%2Flcdjava
Reloadhttps://github.com/lcdproc/lcdjava/issues/4
Reloadhttps://github.com/lcdproc/lcdjava/issues/4
Reloadhttps://github.com/lcdproc/lcdjava/issues/4
lcdproc https://github.com/lcdproc
lcdjavahttps://github.com/lcdproc/lcdjava
Notifications https://github.com/login?return_to=%2Flcdproc%2Flcdjava
Fork 5 https://github.com/login?return_to=%2Flcdproc%2Flcdjava
Star 7 https://github.com/login?return_to=%2Flcdproc%2Flcdjava
Code https://github.com/lcdproc/lcdjava
Issues 1 https://github.com/lcdproc/lcdjava/issues
Pull requests 0 https://github.com/lcdproc/lcdjava/pulls
Actions https://github.com/lcdproc/lcdjava/actions
Projects 0 https://github.com/lcdproc/lcdjava/projects
Wiki https://github.com/lcdproc/lcdjava/wiki
Security 0 https://github.com/lcdproc/lcdjava/security
Insights https://github.com/lcdproc/lcdjava/pulse
Code https://github.com/lcdproc/lcdjava
Issues https://github.com/lcdproc/lcdjava/issues
Pull requests https://github.com/lcdproc/lcdjava/pulls
Actions https://github.com/lcdproc/lcdjava/actions
Projects https://github.com/lcdproc/lcdjava/projects
Wiki https://github.com/lcdproc/lcdjava/wiki
Security https://github.com/lcdproc/lcdjava/security
Insights https://github.com/lcdproc/lcdjava/pulse
New issuehttps://github.com/login?return_to=https://github.com/lcdproc/lcdjava/issues/4
New issuehttps://github.com/login?return_to=https://github.com/lcdproc/lcdjava/issues/4
Concurrency problem with _lastline in LCDSocketPollerhttps://github.com/lcdproc/lcdjava/issues/4#top
https://github.com/antoneliasson
https://github.com/antoneliasson
antoneliassonhttps://github.com/antoneliasson
on Sep 17, 2016https://github.com/lcdproc/lcdjava/issues/4#issue-177580808
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.