Uploaded image for project: 'XBean'
  1. XBean
  2. XBEAN-39

NPE in XBeanHelper.createBeanDefinitionReader with some Classloaders

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0, 2.1, 2.2, 2.3, 2.4, 2.5
    • 2.6
    • None
    • None

    Description

      XBean fails on systems with some classloaders, which do not return sensible values from the following methods
      pkg.getImplementationVersion(); or
      cl.getResourceAsStream(name);

      This leads to
      a) a NPE thrown by SpringVersion.getVersion,
      b) the property files with custom mappings are not found.

      Attachments

        1. XBEAN-39.patch
          3 kB
          Stefan Kleineikenscheidt
        2. XBEAN-39.patch
          3 kB
          Stefan Kleineikenscheidt

        Activity

          People

            gnodet Guillaume Nodet
            skleinei Stefan Kleineikenscheidt
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: