[
https://issues.apache.org/jira/browse/DERBY-2831?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12509009
]
Mamta A. Satoor commented on DERBY-2831:
----------------------------------------
Commited changes into trunk using revision 551793. the commit comments are as
follows
DERBY-2831 Creating a function that returns a character string literal inside a
schema that doesnot exist should not give
a null pointer exception. This was happening while we were trying to look up
the collation. The collation lookup should be
done using the super class's getSchemaDescriptor method.
> NullPointerException creating a function in a schema that doesn't exist when
> the return type is a character type
> ----------------------------------------------------------------------------------------------------------------
>
> Key: DERBY-2831
> URL: https://issues.apache.org/jira/browse/DERBY-2831
> Project: Derby
> Issue Type: Bug
> Components: SQL
> Affects Versions: 10.3.0.0
> Reporter: Daniel John Debrunner
> Priority: Minor
>
> ij> connect 'jdbc:derby:cs;create=true';
> ij> create function aa.b() returns varchar(10) no sql
> parameter style java language java
> external name 'aaa.bbb.ccc';
> ERROR XJ001: Java exception: ': java.lang.NullPointerException'.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.