[
https://issues.apache.org/jira/browse/CONNECTORS-213?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Emanuele Lombardi updated CONNECTORS-213:
-----------------------------------------
Status: Patch Available (was: Open)
I have resolved the issue by removing the local variable context who hide the
superclass variable.
> 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
> Priority: Minor
> 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