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

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

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
             Fix For: ManifoldCF 0.3


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

        

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

Posted by "Karl Wright (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CONNECTORS-213?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Karl Wright reassigned CONNECTORS-213:
--------------------------------------

    Assignee: Karl Wright

> 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
>            Assignee: Karl Wright
>              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

        

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

Posted by "Karl Wright (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CONNECTORS-213?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13051103#comment-13051103 ] 

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

r1136893, for the first patch.


> 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

        

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

Posted by "Emanuele Lombardi (JIRA)" <ji...@apache.org>.
     [ 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

        

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

Posted by "Karl Wright (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CONNECTORS-213?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13084038#comment-13084038 ] 

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

I haven't heard anything further, so I'm closing this ticket.  I'll either reopen it, or open a new one, if there are further mysql issues/patches reported.


> 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

        

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

Posted by "Karl Wright (JIRA)" <ji...@apache.org>.
    [ 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

        

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

Posted by "Emanuele Lombardi (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CONNECTORS-213?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emanuele Lombardi updated CONNECTORS-213:
-----------------------------------------

    Priority: Major  (was: Minor)

> 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

        

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

Posted by "Karl Wright (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CONNECTORS-213?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Karl Wright updated CONNECTORS-213:
-----------------------------------

    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

> 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
>            Assignee: Karl Wright
>              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

        

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

Posted by "Emanuele Lombardi (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CONNECTORS-213?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emanuele Lombardi updated CONNECTORS-213:
-----------------------------------------

    Attachment: DBInterfaceMySQL.patch

> 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