René's URL Explorer Experiment


Title: java exception with SQLDatabaseMetaData == null · Issue #42 · squirrel-sql-client/squirrel-sql-code · GitHub

Open Graph Title: java exception with SQLDatabaseMetaData == null · Issue #42 · squirrel-sql-client/squirrel-sql-code

X Title: java exception with SQLDatabaseMetaData == null · Issue #42 · squirrel-sql-client/squirrel-sql-code

Description: Hello gurus, I'm new to SquirrelSQL. I encounter the error that confuses me. I installed SquirrelSQL 4.8.0 om Mac M2, with Sonoma. I have JDK 21. SquirrelSQL runs fine. I can connect to Mysql and IBM Db2 servers without issues. I can que...

Open Graph Description: Hello gurus, I'm new to SquirrelSQL. I encounter the error that confuses me. I installed SquirrelSQL 4.8.0 om Mac M2, with Sonoma. I have JDK 21. SquirrelSQL runs fine. I can connect to Mysql and I...

X Description: Hello gurus, I'm new to SquirrelSQL. I encounter the error that confuses me. I installed SquirrelSQL 4.8.0 om Mac M2, with Sonoma. I have JDK 21. SquirrelSQL runs fine. I can connect to Mysql a...

Opengraph URL: https://github.com/squirrel-sql-client/squirrel-sql-code/issues/42

X: @github

direct link

Domain: patch-diff.githubusercontent.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"java exception with SQLDatabaseMetaData == null","articleBody":"Hello gurus,\r\n\r\nI'm new to SquirrelSQL. I encounter the error that confuses me.\r\n\r\nI installed SquirrelSQL 4.8.0 om Mac M2, with Sonoma. I have JDK 21. SquirrelSQL runs fine. I can connect to Mysql and IBM Db2 servers without issues. I can query the databases and get the results. I can edit data.\r\n\r\nWhat is however doesn't work is any refactor command. Whenever I try to alter table or add a column I consistently get an exception:\r\n\r\n```\r\nERROR  net.sourceforge.squirrel_sql.plugins.refactoring.commands.AbstractRefactoringCommand  - Unexpected exception on sql generation: SQLDatabaseMetaData == null\r\njava.lang.IllegalArgumentException: SQLDatabaseMetaData == null\r\n        at net.sourceforge.squirrel_sql.fw.sql.DatabaseObjectInfo.\u003cinit\u003e(DatabaseObjectInfo.java:69)\r\n        at net.sourceforge.squirrel_sql.fw.sql.TableColumnInfo.\u003cinit\u003e(TableColumnInfo.java:56)\r\n        at net.sourceforge.squirrel_sql.client.gui.db.ColumnDetailDialog.getColumnInfo(ColumnDetailDialog.java:259)  \r\n        at net.sourceforge.squirrel_sql.plugins.refactoring.commands.AddColumnCommand.generateSQLStatements(AddColumnCommand.java:88)\r\n        at net.sourceforge.squirrel_sql.plugins.refactoring.commands.AbstractRefactoringCommand$1.run(AbstractRefactoringCommand.java:200)\r\n        at net.sourceforge.squirrel_sql.fw.util.TaskExecuter.run(TaskExecuter.java:82)\r\n        at java.base/java.lang.Thread.run(Thread.java:1623)\r\n```\r\n\r\nThis behavior is identical with both IBM Db2 and Mysql databases. I also installed SquirrelSQL 4.8.0 on my older Intel Mac with Mojave and JDK 17. Same issue. I couldn't find on Google anything related to this. \r\n\r\nWhat's wrong here? How to solve the problem with refactoring? Thank you for your help. \r\n\r\nP.S.\r\nTo copy the above log entries I checked the SquirrelSQL log files and see that it is full of the similar exceptions like this (though I don't observe these errors in the GUI):\r\n```\r\nERROR  net.sourceforge.squirrel_sql.client.session.messagepanel.MessagePanel  - privateShowMessage: Exception was: SQLDatabaseMetaData == null\r\njava.lang.IllegalArgumentException: SQLDatabaseMetaData == null\r\n        at net.sourceforge.squirrel_sql.fw.sql.DatabaseObjectInfo.\u003cinit\u003e(DatabaseObjectInfo.java:69)\r\n        at net.sourceforge.squirrel_sql.fw.sql.TableColumnInfo.\u003cinit\u003e(TableColumnInfo.java:56)\r\n        at net.sourceforge.squirrel_sql.client.gui.db.ColumnDetailDialog.getColumnInfo(ColumnDetailDialog.java:259)\r\n        at net.sourceforge.squirrel_sql.plugins.refactoring.commands.AddColumnCommand.generateSQLStatements(AddColumnCommand.java:88)\r\n        at net.sourceforge.squirrel_sql.plugins.refactoring.commands.AbstractRefactoringCommand$1.run(AbstractRefactoringCommand.java:200)\r\n        at net.sourceforge.squirrel_sql.fw.util.TaskExecuter.run(TaskExecuter.java:82)\r\n        at java.base/java.lang.Thread.run(Thread.java:1583)\r\n``` \r\n\r\n[UPDATE]: I installed SquirrelSQL on my third PC, Fedora 40 x86_64, with OpenJDK 21. Same thing. I'm now sure that either I'm doing something fundamentally wrong, or this client has a bug. I'm doing just clean install with necessary DB plugins, then driver installation, then alias creation. No any other configurations made, so this works as described out of the box.\r\n\r\n[UPDATE 2]: Yeah, the previous version, 4.7.1, doesn't contain this bug (at least on Fedora) and works as expected.","author":{"url":"https://github.com/dutty5","@type":"Person","name":"dutty5"},"datePublished":"2024-10-04T10:59:15.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/42/squirrel-sql-code/issues/42"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:cfd6b5bb-28dd-2ebf-3ec1-9dabad3b57da
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id83E2:1D7F:81E548E:A5EBF6D:697EFA00
html-safe-nonce4c3b2c458fe2a4b0ee6bd00c8d99c30516381778ba33e28ed8f9ea6f5f53bcd3
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4M0UyOjFEN0Y6ODFFNTQ4RTpBNUVCRjZEOjY5N0VGQTAwIiwidmlzaXRvcl9pZCI6IjUyNTExNzE0NjYxOTk2MjgyODgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac539902ec3f6c4da5b3fd88c2dc4c05f3ffa2b5c3e6a71980ad7f93718b055ec3
hovercard-subject-tagissue:2566089298
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/squirrel-sql-client/squirrel-sql-code/42/issue_layout
twitter:imagehttps://opengraph.githubassets.com/5315a79ae945dc4b392b1e6680126eac09a708292f8a72b7d36d363356d471ab/squirrel-sql-client/squirrel-sql-code/issues/42
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/5315a79ae945dc4b392b1e6680126eac09a708292f8a72b7d36d363356d471ab/squirrel-sql-client/squirrel-sql-code/issues/42
og:image:altHello gurus, I'm new to SquirrelSQL. I encounter the error that confuses me. I installed SquirrelSQL 4.8.0 om Mac M2, with Sonoma. I have JDK 21. SquirrelSQL runs fine. I can connect to Mysql and I...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamedutty5
hostnamegithub.com
expected-hostnamegithub.com
None60279d4097367e16897439d16d6bbe4180663db828c666eeed2656988ffe59f6
turbo-cache-controlno-preview
go-importgithub.com/squirrel-sql-client/squirrel-sql-code git https://github.com/squirrel-sql-client/squirrel-sql-code.git
octolytics-dimension-user_id108697363
octolytics-dimension-user_loginsquirrel-sql-client
octolytics-dimension-repository_id510507055
octolytics-dimension-repository_nwosquirrel-sql-client/squirrel-sql-code
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id510507055
octolytics-dimension-repository_network_root_nwosquirrel-sql-client/squirrel-sql-code
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
release7c85641c598ad130c74f7bcc27f58575cac69551
ui-targetcanary-2
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/squirrel-sql-client/squirrel-sql-code/issues/42#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsquirrel-sql-client%2Fsquirrel-sql-code%2Fissues%2F42
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://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsquirrel-sql-client%2Fsquirrel-sql-code%2Fissues%2F42
Sign up https://patch-diff.githubusercontent.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=squirrel-sql-client%2Fsquirrel-sql-code
Reloadhttps://patch-diff.githubusercontent.com/squirrel-sql-client/squirrel-sql-code/issues/42
Reloadhttps://patch-diff.githubusercontent.com/squirrel-sql-client/squirrel-sql-code/issues/42
Reloadhttps://patch-diff.githubusercontent.com/squirrel-sql-client/squirrel-sql-code/issues/42
squirrel-sql-client https://patch-diff.githubusercontent.com/squirrel-sql-client
squirrel-sql-codehttps://patch-diff.githubusercontent.com/squirrel-sql-client/squirrel-sql-code
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Fsquirrel-sql-client%2Fsquirrel-sql-code
Fork 25 https://patch-diff.githubusercontent.com/login?return_to=%2Fsquirrel-sql-client%2Fsquirrel-sql-code
Star 89 https://patch-diff.githubusercontent.com/login?return_to=%2Fsquirrel-sql-client%2Fsquirrel-sql-code
Code https://patch-diff.githubusercontent.com/squirrel-sql-client/squirrel-sql-code
Issues 31 https://patch-diff.githubusercontent.com/squirrel-sql-client/squirrel-sql-code/issues
Pull requests 5 https://patch-diff.githubusercontent.com/squirrel-sql-client/squirrel-sql-code/pulls
Projects 0 https://patch-diff.githubusercontent.com/squirrel-sql-client/squirrel-sql-code/projects
Security 0 https://patch-diff.githubusercontent.com/squirrel-sql-client/squirrel-sql-code/security
Insights https://patch-diff.githubusercontent.com/squirrel-sql-client/squirrel-sql-code/pulse
Code https://patch-diff.githubusercontent.com/squirrel-sql-client/squirrel-sql-code
Issues https://patch-diff.githubusercontent.com/squirrel-sql-client/squirrel-sql-code/issues
Pull requests https://patch-diff.githubusercontent.com/squirrel-sql-client/squirrel-sql-code/pulls
Projects https://patch-diff.githubusercontent.com/squirrel-sql-client/squirrel-sql-code/projects
Security https://patch-diff.githubusercontent.com/squirrel-sql-client/squirrel-sql-code/security
Insights https://patch-diff.githubusercontent.com/squirrel-sql-client/squirrel-sql-code/pulse
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/squirrel-sql-client/squirrel-sql-code/issues/42
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/squirrel-sql-client/squirrel-sql-code/issues/42
java exception with SQLDatabaseMetaData == nullhttps://patch-diff.githubusercontent.com/squirrel-sql-client/squirrel-sql-code/issues/42#top
https://github.com/dutty5
https://github.com/dutty5
dutty5https://github.com/dutty5
on Oct 4, 2024https://github.com/squirrel-sql-client/squirrel-sql-code/issues/42#issue-2566089298
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.