Failed to release reference to TValueApp.ITValueEvent

Tinku Mani Abraham <[email protected]> Thu, 9 Mar 2006 22:35:35 -0500
Newsgroups gmane.comp.windows.devel.jawin
Message-ID <LISTSERV%[email protected]>
Hi ,

          i am very new to jawin,i am trying jawin with a j2ee application
and a dll at the other end.it was previusly done with jintegra and now is
moving to open source.

There is a method generated by jawingen

 public void calculate(Variant[] pUnknownValue,long[] roundingAmount,Date[]
roundingDate) throws COMException
    {

  invokeN("Calculate", new Object[] {pUnknownValue, roundingAmount,
roundingDate});

    }

but when i am calling the method i am getting

org.jawin.COMException: 8000ffff: Could not create safearray

and DEBUG says

GenericStub.dispatchInvoke result
(null array)
-----------------------------------------------------------
at TValueApp.ITValueCashFlowMatrix.calculate(ITValueCashFlowMatrix.java:319)
GenericStub.dispatchInvoke
 method: Calculate
 peer: 0, unknown: 604140
 instructions: vvv:V:L16L16L16
 stackSize: 3
 flags: [DISPATCH_METHOD (1)]
 argStream: 64, argStreamSize: 36
07 20 01 00 00 00 06 D3  . .....Ó
57 22 4C F0 E2 40 14 20  W"Lðâ@.
01 00 00 00 01 00 00 00  ........
00 00 00 00 0C 20 01 00  ..... ..
00 00 01 00 00 00 00 00  ........
00 00 00 00 00 00 00 00  ........
00 00 00 00 00 00 00 00  ........
00 00 00 00 00 00 00 00  ........

****Failed to release reference to TValueApp.ITValueEvent[0,a13b4]
TValueApp.ITValueEvent[0,a13b4] Release = 0
****Failed to release reference to TValueApp.ITValueEvent[0,a262c]
TValueApp.ITValueEvent[0,a262c] Release = 0
****Failed to release reference to TValueApp.TValueUser[0,93d7c]
TValueApp.TValueUser[0,93d7c] Release = 0
****Failed to release reference to TValueApp.ITValueCashFlowMatrix[0,937ec]
TValueApp.ITValueCashFlowMatrix[0,937ec] Release = 0

i am passing three arguments "three null arrays" and the result is supposed
to return as the first param.i am not sure of what makes the problem.i am
not sure if the null varient array is creting the problem but i am not able
to find a way to initailise the array with a "0" value

please help me!!!