Environment
- Chat2DB Edition: Chat2DB Local
- Chat2DB Version: 5.3.5 and 5.3.6-beta.1
- Deployment: Desktop
- Operating System: macOS and Windows
- Database and Version: MySQL
Problem and Reproduction
Problem Summary
Desktop table-data requests can fail when SQL syntax plugin discovery runs on a JCEF worker whose context ClassLoader differs from the loader that defined ISqlSyntaxPlugin.
Steps to Reproduce
- Start Chat2DB Local Desktop.
- Restore or open multiple table-data tabs.
- Let a JCEF worker trigger SQL syntax registry initialization.
Expected Behavior
Bundled SQL syntax providers load through the same ClassLoader as their service interface and table data renders normally.
Actual Behavior
Plugin discovery can fail during static initialization. All later table-data requests in the process fail and the table content remains blank.
Evidence
java.util.ServiceConfigurationError: ai.chat2db.spi.ISqlSyntaxPlugin:
ai.chat2db.plugin.tdengine.TDengineSyntaxPlugin not a subtype
Impact and Workaround
- Impact: Blocks a core workflow.
- Workaround: Restarting can temporarily avoid the failing initialization order, but it is not reliable.
Submission Checklist
Environment
Problem and Reproduction
Problem Summary
Desktop table-data requests can fail when SQL syntax plugin discovery runs on a JCEF worker whose context ClassLoader differs from the loader that defined ISqlSyntaxPlugin.
Steps to Reproduce
Expected Behavior
Bundled SQL syntax providers load through the same ClassLoader as their service interface and table data renders normally.
Actual Behavior
Plugin discovery can fail during static initialization. All later table-data requests in the process fail and the table content remains blank.
Evidence
Impact and Workaround
Submission Checklist