Skip to content

Database import yields ConfigurationException #98

Closed as not planned
Closed as not planned

Description

@daxenberger

Originally reported on Google Code with ID 104

What steps will reproduce the problem?
1. Use ConfigGUI and activate direct database import.
2. Specify valid database parameters.
3. Specify other necessary parameters as usual.
4. Save the configuration and start the import using the DiffTool.

What is the expected output? What do you see instead?

java.lang.RuntimeException: de.tudarmstadt.ukp.wikipedia.revisionmachine.common.exceptions.ConfigurationException:
CONFIGURATION_CONFIGURATIONMANAGER_UNKNOWN_CONFIG_PARAMETER:
SQL_HOST
    at de.tudarmstadt.ukp.wikipedia.revisionmachine.difftool.DiffToolThread.run(DiffToolThread.java:374)
    at de.tudarmstadt.ukp.wikipedia.revisionmachine.difftool.DiffTool.main(DiffTool.java:56)
    at CreateRevisionDatabase.main(CreateRevisionDatabase.java:11)
Caused by: de.tudarmstadt.ukp.wikipedia.revisionmachine.common.exceptions.ConfigurationException:
CONFIGURATION_CONFIGURATIONMANAGER_UNKNOWN_CONFIG_PARAMETER:
SQL_HOST
    at de.tudarmstadt.ukp.wikipedia.revisionmachine.common.exceptions.ErrorFactory.createConfigurationException(ErrorFactory.java:100)
    at de.tudarmstadt.ukp.wikipedia.revisionmachine.difftool.config.ConfigurationManager.getConfigParameter(ConfigurationManager.java:137)
    at de.tudarmstadt.ukp.wikipedia.revisionmachine.difftool.consumer.dump.writer.SQLDatabaseWriter.<init>(SQLDatabaseWriter.java:80)
    at de.tudarmstadt.ukp.wikipedia.revisionmachine.difftool.DiffToolThread$TaskTransmitter.<init>(DiffToolThread.java:195)
    at de.tudarmstadt.ukp.wikipedia.revisionmachine.difftool.DiffToolThread.run(DiffToolThread.java:284)
    ... 2 more


What version of the product are you using? On what operating system?
0.9.2; Linux

Please provide any additional information below.

Reported by chmeyer.de on 2012-10-29 10:29:15

Activity

  1. daxenberger commented on Jul 31, 2015

    @daxenberger
    MemberAuthor
    Reiimporting the configuration file causes the database settings to be empty. Thus,
    host, database, user, and password are not correctly stored.
    

    Reported by chmeyer.de on 2012-10-29 10:30:39

  2. added this to the Bug backlog milestone on Jan 4, 2021
  3. rzo1 commented on Sep 10, 2026

    @rzo1
    Contributor

    Not reproducable with current version of JWPL. Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions