Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-720

Calling SYSCS_INPLACE_COMPRESS_TABLE on a synonym or a temp table results in a NullPointerException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 10.1.2.1
    • None
    • Store
    • sane mode
    • Normal
    • Repro attached

    Description

      ij> create synonym fred for barney;
      0 rows inserted/updated/deleted
      WARNING 01522: The newly defined synonym 'FRED' resolved to the object 'APP.BARN
      EY' which is currently undefined.
      ij> call SYSCS_UTIL.SYSCS_INPLACE_COMPRESS_TABLE('APP', 'FRED', 1, 1, 1);
      ERROR 38000: The exception 'java.lang.NullPointerException' was thrown while eva
      luating an expression.
      ERROR XJ001: Java exception: ': java.lang.NullPointerException'.

      Also seems to occur if the table behind the synonym does exist.

      Attachments

        1. w.sql
          0.3 kB
          Richard N. Hillegas

        Activity

          People

            Unassigned Unassigned
            djd Daniel John Debrunner
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: