[Aqbanking-devel] Crash after online banking transactions

Derek Atkins warlord at MIT.EDU
Thu May 1 18:48:13 EDT 2008


Martin,

Thanks for the note.  I've adjusted GnuCash to deal with a potential
NULL return from this function.

-derek

Martin Preuss <aquamaniac at gmx.de> writes:

> Hi,
>
> AB_Job_GetResultText() might return NULL, and it does so, if there is nothing 
> usefull to report...
>
> So the caller should be prepared that this function returns NULL. I guess I 
> will have to amend the documentation.
>
> BTW: You should always be prepared for such functions in AqBanking/Gwen to 
> return NULL unless otherwise stated in the documentation. The APIDOC for some 
> functions says something to this effect, but for other functions this isn't 
> documented... Unfortunately the APIDOC for AqBanking isn't that complete :-/
>
>
> Regards
> Martin
>
>
> On Donnerstag, 1. Mai 2008, Jannick Asmus wrote:
>> Hi All,
>>
>> Derek advised me to drop an email on this here in this list on AqBanking.
>>
>> He found out that AB_Job_GetResultText() can return NULL so this case
>> should be handled case at /gnc-hbci-utils.c:265. See the IRC report at
>> http://lists.gnucash.org/logs/2008/05/2008-05-01.html#T14:01:09
>>
>> Do not hesitate to contact me if further information are needed. I saved
>> the error report so I could file that here if needed.
>>
>> Thank you for your support.
>>
>> Best wishes,
>> J.
>>
>> GC v2.2.5/WinXP
>>
>> On 01.05.2008 16:32, Jannick Asmus wrote:
>> > Hi All,
>> >
>> > GC crashes when terminating an online-banking transaction. The
>> > transaction is accepted as I can check in my online banking accounts.
>> > Because of the crash there are no information (such as transaction
>> > details, transaction booking) saved in the GC file.
>> >
>> > Bank details:
>> > - Sparda Bank München (Munich, Germany), BLZ (so called "bank zip
>> > code"): 700 905 00
>> > - Ing-DiBa, BLZ 500 105 17
>> >
>> > It appears that GC cashes so fast that there is no chance to leave any
>> > error message in the trace file.
>> >
>> > Any suggestions how this can be amended?
>> >
>> > Thanks for your input.
>>
>> Best wishes,
>> J.
>>
>> -------------------------------------------------------------------------
>> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
>> Don't miss this year's exciting event. There's still time to save $100.
>> Use priority code J8TL2D2.
>> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/java
>>one _______________________________________________
>> Aqbanking-devel mailing list
>> Aqbanking-devel at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/aqbanking-devel
>
>
>
> -- 
> "Things are only impossible until they're not"
>
> Martin Preuss - http://www.aquamaniac.de/
> AqBanking - http://www.aqbanking.de/
> LibChipcard - http://www.libchipcard.de/
>
>

-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord at MIT.EDU                        PGP key available


More information about the gnucash-user mailing list