René's URL Explorer Experiment


Title: BigInteger and BigDecimal parameters are broken · Issue #475 · scijava/scijava-common · GitHub

Open Graph Title: BigInteger and BigDecimal parameters are broken · Issue #475 · scijava/scijava-common

X Title: BigInteger and BigDecimal parameters are broken · Issue #475 · scijava/scijava-common

Description: In the Script Editor, open Widgets.js (template from scripting-javascript). It has many parameter types, including: #@ BigInteger bigInteger #@ BigDecimal bigDecimal Run it, and an exception is thrown with message ClassCastException: jav...

Open Graph Description: In the Script Editor, open Widgets.js (template from scripting-javascript). It has many parameter types, including: #@ BigInteger bigInteger #@ BigDecimal bigDecimal Run it, and an exception is thr...

X Description: In the Script Editor, open Widgets.js (template from scripting-javascript). It has many parameter types, including: #@ BigInteger bigInteger #@ BigDecimal bigDecimal Run it, and an exception is thr...

Opengraph URL: https://github.com/scijava/scijava-common/issues/475

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"BigInteger and BigDecimal parameters are broken","articleBody":"In the Script Editor, open Widgets.js (template from scripting-javascript).\r\n\r\nIt has many parameter types, including:\r\n```javascript\r\n#@ BigInteger bigInteger\r\n#@ BigDecimal bigDecimal\r\n```\r\n\r\nRun it, and an exception is thrown with message `ClassCastException: java.lang.Double cannot be cast to java.math.BigInteger`.\r\n\r\n\u003cdetails\u003e\u003csummary\u003eClassCastException stack trace\u003c/summary\u003e\r\n\r\n```\r\n[ERROR] Command errored: script:Widgets.js\r\njava.lang.ClassCastException: java.lang.Double cannot be cast to java.math.BigInteger\r\n\tat org.scijava.ui.swing.widget.SpinnerNumberModelFactory.createModel(SpinnerNumberModelFactory.java:56)\r\n\tat org.scijava.ui.swing.widget.SwingNumberWidget.set(SwingNumberWidget.java:123)\r\n\tat org.scijava.ui.swing.widget.SwingNumberWidget.set(SwingNumberWidget.java:74)\r\n\tat org.scijava.plugin.WrapperService.create(WrapperService.java:65)\r\n\tat org.scijava.widget.AbstractInputHarvester.addInput(AbstractInputHarvester.java:110)\r\n\tat org.scijava.widget.AbstractInputHarvester.buildPanel(AbstractInputHarvester.java:84)\r\n\tat org.scijava.widget.InputHarvester.harvest(InputHarvester.java:67)\r\n\tat org.scijava.ui.AbstractInputHarvesterPlugin.process(AbstractInputHarvesterPlugin.java:74)\r\n\tat org.scijava.module.ModuleRunner.preProcess(ModuleRunner.java:103)\r\n\tat org.scijava.module.ModuleRunner.run(ModuleRunner.java:154)\r\n\tat org.scijava.module.ModuleRunner.call(ModuleRunner.java:125)\r\n\tat org.scijava.module.ModuleRunner.call(ModuleRunner.java:64)\r\n\tat org.scijava.thread.DefaultThreadService.lambda$wrap$2(DefaultThreadService.java:247)\r\n\tat java.util.concurrent.FutureTask.run(FutureTask.java:266)\r\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)\r\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)\r\n\tat java.lang.Thread.run(Thread.java:750)\r\n[ERROR] java.util.concurrent.ExecutionException: java.lang.RuntimeException: Module threw exception\r\n\tat java.util.concurrent.FutureTask.report(FutureTask.java:122)\r\n\tat java.util.concurrent.FutureTask.get(FutureTask.java:192)\r\n\tat org.scijava.ui.swing.script.TextEditor.evalScript(TextEditor.java:3439)\r\n\tat org.scijava.ui.swing.script.TextEditor.access$600(TextEditor.java:208)\r\n\tat org.scijava.ui.swing.script.TextEditor$5.execute(TextEditor.java:2761)\r\n\tat org.scijava.ui.swing.script.TextEditor$Executer$1.run(TextEditor.java:2526)\r\nCaused by: java.lang.RuntimeException: Module threw exception\r\n\tat org.scijava.module.ModuleRunner.call(ModuleRunner.java:128)\r\n\tat org.scijava.module.ModuleRunner.call(ModuleRunner.java:64)\r\n\tat org.scijava.thread.DefaultThreadService.lambda$wrap$2(DefaultThreadService.java:247)\r\n\tat java.util.concurrent.FutureTask.run(FutureTask.java:266)\r\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)\r\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)\r\n\tat java.lang.Thread.run(Thread.java:750)\r\nCaused by: java.lang.ClassCastException: java.lang.Double cannot be cast to java.math.BigInteger\r\n\tat org.scijava.ui.swing.widget.SpinnerNumberModelFactory.createModel(SpinnerNumberModelFactory.java:56)\r\n\tat org.scijava.ui.swing.widget.SwingNumberWidget.set(SwingNumberWidget.java:123)\r\n\tat org.scijava.ui.swing.widget.SwingNumberWidget.set(SwingNumberWidget.java:74)\r\n\tat org.scijava.plugin.WrapperService.create(WrapperService.java:65)\r\n\tat org.scijava.widget.AbstractInputHarvester.addInput(AbstractInputHarvester.java:110)\r\n\tat org.scijava.widget.AbstractInputHarvester.buildPanel(AbstractInputHarvester.java:84)\r\n\tat org.scijava.widget.InputHarvester.harvest(InputHarvester.java:67)\r\n\tat org.scijava.ui.AbstractInputHarvesterPlugin.process(AbstractInputHarvesterPlugin.java:74)\r\n\tat org.scijava.module.ModuleRunner.preProcess(ModuleRunner.java:103)\r\n\tat org.scijava.module.ModuleRunner.run(ModuleRunner.java:154)\r\n\tat org.scijava.module.ModuleRunner.call(ModuleRunner.java:125)\r\n\t... 6 more\r\n```\r\n\r\n\u003c/details\u003e\r\n\r\nRemoving these two parameters avoids the exception. But it looks like something broken either here in scijava-common, or maybe in scijava-ui-swing.\r\n\r\nCC @hwilson23","author":{"url":"https://github.com/ctrueden","@type":"Person","name":"ctrueden"},"datePublished":"2024-01-26T18:22:35.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/475/scijava-common/issues/475"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:eb031cef-d9b5-87fa-b3c8-8d7b8c4615d1
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idE604:36727:25E6D:31258:6969C5B2
html-safe-nonce72c0e633702686600e950b81dbaef3f8c055427875ea5363b517af83bd155073
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNjA0OjM2NzI3OjI1RTZEOjMxMjU4OjY5NjlDNUIyIiwidmlzaXRvcl9pZCI6IjQ4MTIzOTA5NjI5MjQ0NzE3MzAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac0d1d6e296766af675a773c522551e8fc6a26aec4c400d84a5b3a67d18ffb5179
hovercard-subject-tagissue:2102688567
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/scijava/scijava-common/475/issue_layout
twitter:imagehttps://opengraph.githubassets.com/b8cfea4244c179356657db801b84979fd32d0e7421b9ef60cfcd9b8c6e2802a6/scijava/scijava-common/issues/475
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/b8cfea4244c179356657db801b84979fd32d0e7421b9ef60cfcd9b8c6e2802a6/scijava/scijava-common/issues/475
og:image:altIn the Script Editor, open Widgets.js (template from scripting-javascript). It has many parameter types, including: #@ BigInteger bigInteger #@ BigDecimal bigDecimal Run it, and an exception is thr...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamectrueden
hostnamegithub.com
expected-hostnamegithub.com
Noneacedec8b5f975d9e3d494ddd8f949b0b8a0de59d393901e26f73df9dcba80056
turbo-cache-controlno-preview
go-importgithub.com/scijava/scijava-common git https://github.com/scijava/scijava-common.git
octolytics-dimension-user_id1262770
octolytics-dimension-user_loginscijava
octolytics-dimension-repository_id3594497
octolytics-dimension-repository_nwoscijava/scijava-common
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id3594497
octolytics-dimension-repository_network_root_nwoscijava/scijava-common
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
release83c08c21cdda978090dc44364b71aa5bc6dcea79
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/scijava/scijava-common/issues/475#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fscijava%2Fscijava-common%2Fissues%2F475
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%2Fscijava%2Fscijava-common%2Fissues%2F475
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=scijava%2Fscijava-common
Reloadhttps://github.com/scijava/scijava-common/issues/475
Reloadhttps://github.com/scijava/scijava-common/issues/475
Reloadhttps://github.com/scijava/scijava-common/issues/475
scijava https://github.com/scijava
scijava-commonhttps://github.com/scijava/scijava-common
Notifications https://github.com/login?return_to=%2Fscijava%2Fscijava-common
Fork 53 https://github.com/login?return_to=%2Fscijava%2Fscijava-common
Star 90 https://github.com/login?return_to=%2Fscijava%2Fscijava-common
Code https://github.com/scijava/scijava-common
Issues 169 https://github.com/scijava/scijava-common/issues
Pull requests 16 https://github.com/scijava/scijava-common/pulls
Actions https://github.com/scijava/scijava-common/actions
Projects 0 https://github.com/scijava/scijava-common/projects
Wiki https://github.com/scijava/scijava-common/wiki
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/scijava/scijava-common/security
Please reload this pagehttps://github.com/scijava/scijava-common/issues/475
Insights https://github.com/scijava/scijava-common/pulse
Code https://github.com/scijava/scijava-common
Issues https://github.com/scijava/scijava-common/issues
Pull requests https://github.com/scijava/scijava-common/pulls
Actions https://github.com/scijava/scijava-common/actions
Projects https://github.com/scijava/scijava-common/projects
Wiki https://github.com/scijava/scijava-common/wiki
Security https://github.com/scijava/scijava-common/security
Insights https://github.com/scijava/scijava-common/pulse
New issuehttps://github.com/login?return_to=https://github.com/scijava/scijava-common/issues/475
New issuehttps://github.com/login?return_to=https://github.com/scijava/scijava-common/issues/475
BigInteger and BigDecimal parameters are brokenhttps://github.com/scijava/scijava-common/issues/475#top
bughttps://github.com/scijava/scijava-common/issues?q=state%3Aopen%20label%3A%22bug%22
m1https://github.com/scijava/scijava-common/milestone/3
https://github.com/ctrueden
https://github.com/ctrueden
ctruedenhttps://github.com/ctrueden
on Jan 26, 2024https://github.com/scijava/scijava-common/issues/475#issue-2102688567
@hwilson23https://github.com/hwilson23
bughttps://github.com/scijava/scijava-common/issues?q=state%3Aopen%20label%3A%22bug%22
m1No due datehttps://github.com/scijava/scijava-common/milestone/3
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.