[ 
https://issues.apache.org/jira/browse/DERBY-720?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12615649#action_12615649
 ] 

Mamta A. Satoor commented on DERBY-720:
---------------------------------------

By following the examples provided in this jira entry, I couldn't get the npe 
for synonym but still get it for global temp table. Even for synonym, I am not 
sure if we are just skipping the code as suggested by Satheesh(seems like that 
might be the right thing for synonyms based on Satheesh's comment above). If 
nothing else, the issue definitely needs further looking into for global 
temporary tables.

> Calling SYSCS_INPLACE_COMPRESS_TABLE on a synonym or a temp table results in 
> a NullPointerException
> ---------------------------------------------------------------------------------------------------
>
>                 Key: DERBY-720
>                 URL: https://issues.apache.org/jira/browse/DERBY-720
>             Project: Derby
>          Issue Type: Bug
>          Components: Store
>         Environment: sane mode
>            Reporter: Daniel John Debrunner
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to