You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by Myrna van Lunteren <m....@gmail.com> on 2006/02/20 19:28:12 UTC

Re: [jira] Updated: (DERBY-479) Passing the return of a RETURN NULL ON NULL INPUT function to another function call throws linkage error.

Hi mamta,

Without looking at the diff, I'm wondering if you might be hitting the
intermittent diff in wisconsin?

Myrna

On 2/20/06, Mamta A. Satoor (JIRA) <de...@db.apache.org> wrote:
>
>     [ http://issues.apache.org/jira/browse/DERBY-479?page=all ]
>
> Mamta A. Satoor updated DERBY-479:
> ----------------------------------
>
>    Attachment: wisconsin.out
>                wisconsinAfterRemovingNullChk.out
>
> I reran the tests after removing the "if (methodParms[parm] != null)" from
> StaticMethodCallNBode.optimizeDomainValueConversion and this caused
> lang/wisconsin.java test to fail. I am not sure exactly why, but if I put
> the null check back, the wisconsin test doesnot fail. I have attached the
> original master as wisconsin.out and the failed wisconsin results as
> wisconsinAfterRemovingNullChk.out to this JIRA entry to shows what the
> diffs are. Does this ring a bell to anyone?
>
> > Passing the return of  a RETURN NULL ON NULL INPUT function to another
> function call throws linkage error.
> >
> ----------------------------------------------------------------------------------------------------------
> >
> >          Key: DERBY-479
> >          URL: http://issues.apache.org/jira/browse/DERBY-479
> >      Project: Derby
> >         Type: Bug
> >   Components: SQL
> >     Versions: 10.2.0.0
> >     Reporter: Daniel John Debrunner
> >     Assignee: Mamta A. Satoor
> >  Attachments: Derby479LinkageErrorReturnNullIfNulldiff021306.txt,
> Derby479LinkageErrorReturnNullIfNulldiff021406.txt,
> Derby479LinkageErrorReturnNullIfNulldiff021606.txt, wisconsin.out,
> wisconsinAfterRemovingNullChk.out
> >
> > Error in ij (RN_RADIANS is a function declared as returns null on null
> input)
> > ij> VALUES CAST( CALL_COS(RN_RADIANS(90.0)) AS DECIMAL(3,2));
> > ERROR XBCM1: Java linkage error thrown during load of generated class
> org.apache.derby.exe.ace5214067x0105x5e41x7a46xffff855452e375.
> > ERROR XJ001: Java exception: '(class:
> org/apache/derby/exe/ace5214067x0105x5e41x
> > 7a46xffff855452e375, method: e0 signature: ()Ljava/lang/Object;)
> Expecting to find double on stack: java.lang.VerifyError'.
> > extract from derby.log
> > 2005-07-28 16:23:43.836 GMT Thread[main,5,main] Wrote class
> org.apache.derby.exe
> > .ace5214067x0105x5e41x7a46xffff855452e375 to file
> C:\_work\svn_pb\trunk\systest\
> > out\functions\ace5214067x0105x5e41x7a46xffff855452e375.class. Please
> provide sup
> > port with the file and the following exception information:
> java.lang.VerifyErro
> > r: (class:
> org/apache/derby/exe/ace5214067x0105x5e41x7a46xffff855452e375, method
> > : e0 signature: ()Ljava/lang/Object;) Expecting to find double on stack
> > I will add a test case to lang/functions.sql commented with this bug
> number. Test cases
> > that fail will be commented out.
>
> --
> This message is automatically generated by JIRA.
> -
> If you think it was sent incorrectly contact one of the administrators:
>   http://issues.apache.org/jira/secure/Administrators.jspa
> -
> For more information on JIRA, see:
>   http://www.atlassian.com/software/jira
>
>