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

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 10.1.2.1
    • Fix Version/s: None
    • Component/s: Store
    • Environment:
      sane mode
    • Urgency:
      Normal
    • Issue & fix info:
      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
          Rick Hillegas

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              djd Daniel John Debrunner
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: