Uploaded image for project: 'Cayenne'
  1. Cayenne
  2. CAY-1170

cdbgen task fails due to NPE when instantiating TypesHandler

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0M5
    • 3.0M6
    • Core Library
    • None
    • RHEL 5 / Java 1.6.11

    Description

      Attempting to run cdbgen in 3.0M5 fails to load adapter if adapter is specified, or throws an NPE if none is specified. After some hair pulling, it looks like the newly rewritten method JdbcAdapter.findResource isn't locating types.xml. Haven't dug deeper, but problem doesn't occur with 3.0M4.

      Attachments

        1. antGen_2.txt
          2 kB
          dzmitar
        2. antGenTask_3.txt
          3 kB
          dzmitar
        3. antGenTask_4.txt
          1 kB
          dzmitar
        4. build.xml
          0.5 kB
          dzmitar

        Activity

          People

            andrus Andrus Adamchik
            jintrone Joshua Introne
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: