jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dave Brosius (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (JCR-3189) JCARepositoryManager.createNonTransientRepository throws NPE with no JCAManagedConnectionFactory.CONFIGFILE_KEY
Date Wed, 21 Dec 2011 04:13:30 GMT
JCARepositoryManager.createNonTransientRepository throws NPE with no JCAManagedConnectionFactory.CONFIGFILE_KEY
---------------------------------------------------------------------------------------------------------------

                 Key: JCR-3189
                 URL: https://issues.apache.org/jira/browse/JCR-3189
             Project: Jackrabbit Content Repository
          Issue Type: Bug
          Components: jackrabbit-jca
            Reporter: Dave Brosius
            Priority: Minor


JCARepositoryManager.createNonTransientRepository fails if

String configFile = parameters.get(JCAManagedConnectionFactory.CONFIGFILE_KEY);

is null, because

config = RepositoryConfig.create(configFile, homeDir);

will always throw an NPE, perhaps the call should just be

config = RepositoryConfig.create(homeDir);



--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message