Uploaded image for project: 'OpenJPA'
  1. OpenJPA
  2. OPENJPA-1998

NPE getTableNameForMetadata when running SchemaTool reflect against Postgres DB

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 2.1.0
    • 2.2.0
    • jdbc
    • None
    • Windows 7, Eclipse Helios 3.6.2, remote Postgres DB 8.4. on Debian squeeze

    Description

      When running the SchemaTool to reverse a DB Schema, an NPE occurs at getTableNameForMetadata for foreign keys (tables and pk / uq indices works correctly!) Debugging shows that the tableName parameter is null when invoked. The NPE is caused by the invocation of tableName.getUnqualifiedName() ... tableName is still null at that point!

      Attachments

        1. output.txt
          42 kB
          John Boblitz

        Issue Links

          Activity

            People

              mikedd Michael Dick
              jboblitz John Boblitz
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: