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

Load into postgresql database issue #6

Open
Evelynchengusa opened this issue Nov 23, 2021 · 0 comments
Open

Load into postgresql database issue #6

Evelynchengusa opened this issue Nov 23, 2021 · 0 comments

Comments

@Evelynchengusa
Copy link

I use the following command line to upload the resulting schema and database into my PostgreSQL and I got the following error messages.

./loader.sh -f ./ActiveLearnM1/metadata.xml -u postgres -p postgres -d schemamapping -logconfig ./resource/log4jproperties.txt

70 [main] INFO org.vagabond.commandline.loader.CommandLineLoader - user has provided log level location: ./resource/log4jproperties.txt
363 [main] DEBUG org.vagabond.mapping.model.ModelLoader - validate mapping scenario
550 [main] ERROR org.vagabond.commandline.loader.CommandLineLoader - Exception occured: java.lang.NullPointerException
Message: null
java.base/java.io.Reader.(Reader.java:78)
java.base/java.io.InputStreamReader.(InputStreamReader.java:72)
org.vagabond.explanation.generation.QueryHolder.loadFromDirFallbackResource(QueryHolder.java:63)
org.vagabond.commandline.loader.CommandLineLoader.loadScenario(CommandLineLoader.java:117)
org.vagabond.commandline.loader.CommandLineLoader.parseOptionsAndLoadScenario(CommandLineLoader.java:63)
org.vagabond.commandline.loader.CommandLineLoader.execute(CommandLineLoader.java:198)
org.vagabond.commandline.loader.CommandLineLoader.main(CommandLineLoader.java:218)

I check the corresponding line 63 in QueryHolder.java:
BufferedReader fileList = new BufferedReader(new InputStreamReader(ClassLoader.getSystemResourceAsStream(queryListFile))

This line of code is trying to get resources by using the string queryListFile = QueryHolder.DEFAULT_QUERY_LIST_FILE ("VagabondQueryList.txt"). I wondered where can I find this "VagabondQueryList.txt" file. I search across the ibench project, there is no such file.

Do you have any ideas about how should I solve this issue?

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

1 participant