Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warnings: No method matching "setpropertiesfile" was found in sqlline.SqlLineOpts #141

Closed
snuyanzin opened this issue Sep 9, 2018 · 2 comments

Comments

@snuyanzin
Copy link
Collaborator

Warnings like

Error setting configuration: propertiesfile: java.lang.IllegalArgumentException: No method matching "setpropertiesfile" was found in sqlline.SqlLineOpts.

the warning start happening after execution of command !set (at that time in properties file there will be written something like sqlline.propertiesfile=~/.sqlline/sqlline.properties). After that each time sqlline reads the file it will warn with that

from one side SqlLineOpts does not have method setpropertiesfile but it has

private File rcFile = new File(saveDir(), "sqlline.properties");

so the value from property file does not make sense.
What is the main idea of that? Should this value be applied after reading a file or should we just skip setter's call for this value?

@snuyanzin
Copy link
Collaborator Author

Looks like the issue fixed while #166
In #188 there is added a test

@julianhyde
Copy link
Owner

Fixed in 63c1276, PR #174; test case added in c62ddb1, PR #188. Thanks @snuyanzin!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants