[
https://issues.apache.org/jira/browse/DERBY-4410?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Knut Anders Hatlen updated DERBY-4410:
--------------------------------------
Issue & fix info: [Patch Available, Repro attached] (was: [Repro attached])
> NullPointerException when USING clause contains all columns in both join
> tables
> -------------------------------------------------------------------------------
>
> Key: DERBY-4410
> URL: https://issues.apache.org/jira/browse/DERBY-4410
> Project: Derby
> Issue Type: Bug
> Components: SQL
> Affects Versions: 10.6.0.0
> Reporter: Knut Anders Hatlen
> Assignee: Knut Anders Hatlen
> Attachments: adjustIndex.diff, adjustIndexWithTest.diff
>
>
> ij> create table t(x int);
> 0 rows inserted/updated/deleted
> ij> select t1.*, t2.* from t t1 join t t2 using (x);
> ERROR XJ001: Java exception: ': java.lang.NullPointerException'.
> This statement should have raised an exception because both t1.* and t2.*
> expand to no columns. See DERBY-4407.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.