Uploaded image for project: 'Cocoon'
  1. Cocoon
  2. COCOON-1213

GetInstance don't work with upgrade from db-ojb-1.0rc6

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.2
    • None
    • Blocks: (Undefined)
    • None
    • Operating System: Linux
      Platform: PC
    • 30065

    Description

      Hi!

      I use odmg to connect postgres since cocoon 2.1.5 db-ojb is 1.0rc6
      I upgrade to cocoon 2.2 dev db-ojb is 1.0.0
      but the code is fail for getInstance();
      the code is
      var odmgImpl =
      cocoon.getComponent(Packages.org.apache.cocoon.ojb.odmg.components.OdmgImple
      metation.ROLE);
      var impl = odmgImpl.getInstance("sy");
      If I change the db-ojb back to 1.0rc6 it's ok
      But in 1.0.0 java.lang.NullPointerException occurs

      How to correct it.

      Best regards

      Johnson

      Ps. If I use rc7, the same problem appeared

      Attachments

        Activity

          People

            antonio Antonio Gallardo Rivera
            johnson@soho.club.tw Johnson Hsu
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: