You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Dmytro Pishchukhin (JIRA)" <ji...@apache.org> on 2011/04/06 15:45:05 UTC

[jira] [Created] (DERBY-5178) NPE in BaseDataFileFactory.jarClassPath(final Class cls)

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

[jira] [Resolved] (DERBY-5178) NPE in BaseDataFileFactory.jarClassPath(final Class cls)

Posted by "Knut Anders Hatlen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DERBY-5178?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Knut Anders Hatlen resolved DERBY-5178.
---------------------------------------

    Resolution: Duplicate

I think this problem was addressed by DERBY-4944, fixed in 10.8.

> 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