You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@manifoldcf.apache.org by "Karl Wright (JIRA)" <ji...@apache.org> on 2011/06/17 16:42:48 UTC

[jira] [Commented] (CONNECTORS-213) DBInterfaceMySQL Initalization error

    [ https://issues.apache.org/jira/browse/CONNECTORS-213?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13051099#comment-13051099 ] 

Karl Wright commented on CONNECTORS-213:
----------------------------------------

Thank you for working on the MySQL database interface.  MySQL has not been updated for years.

I'll check in your patch in a moment.  I won't close this ticket until you've finished working, because I am sure there may well be other patches.


> DBInterfaceMySQL Initalization error
> ------------------------------------
>
>                 Key: CONNECTORS-213
>                 URL: https://issues.apache.org/jira/browse/CONNECTORS-213
>             Project: ManifoldCF
>          Issue Type: Bug
>          Components: Framework core
>    Affects Versions: ManifoldCF 0.3
>            Reporter: Emanuele Lombardi
>              Labels: Mysql, bug, manifoldcf
>             Fix For: ManifoldCF 0.3
>
>         Attachments: DBInterfaceMySQL.patch
>
>
> When I try to creare a new database using DBCreate and MySql DBInterface I have this exception
> Configuration file successfully read
> Exception in thread "main" java.lang.NullPointerException
> 	at org.apache.manifoldcf.core.interfaces.CacheManagerFactory.make(CacheManagerFactory.java:40)
> 	at org.apache.manifoldcf.core.database.Database.<init>(Database.java:63)
> 	at org.apache.manifoldcf.core.database.DBInterfaceMySQL.createUserAndDatabase(DBInterfaceMySQL.java:391)
> 	at org.apache.manifoldcf.core.system.ManifoldCF.createSystemDatabase(ManifoldCF.java:656)
> 	at org.apache.manifoldcf.core.DBCreate.doExecute(DBCreate.java:51)
> 	at org.apache.manifoldcf.core.DBInitializationCommand.execute(DBInitializationCommand.java:54)
> 	at org.apache.manifoldcf.core.DBCreate.main(DBCreate.java:80)

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira