db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmytro Pishchukhin (JIRA)" <j...@apache.org>
Subject [jira] [Created] (DERBY-5178) NPE in BaseDataFileFactory.jarClassPath(final Class cls)
Date Wed, 06 Apr 2011 13:45:05 GMT
NPE in BaseDataFileFactory.jarClassPath(final Class cls)
--------------------------------------------------------

                 Key: DERBY-5178
                 URL: https://issues.apache.org/jira/browse/DERBY-5178
             Project: Derby
          Issue Type: Bug
          Components: Store
    Affects Versions: 10.7.1.1
         Environment: Win x86. JVM 1.6.0_21. Knopflerfish OSGi.
            Reporter: Dmytro Pishchukhin
            Priority: Critical


in OSGi env this call returns null.

URL result = cs.getLocation ();

null check before return result.toString(); fixes the issue

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

Mime
View raw message