getServiceDelegate () error in WF/BG

Hi,

sometimes, i have an error on account of the init of my WF

getServiceDelegate is called before any app init:

it gives me this on console(just after running my WF) :


Error: Unhandled Exception
Exception: UnexpectedTypeException: Expected Object/Array/Dictionary/ByteArray, given null
Stack:
  - launchStockRequest() at E:\...\WebRequest.mc:64 0x100009f2
  - initialize() at E:\...WebRequest.mc:352 0x10001ad7
  - getServiceDelegate() at E:\...CubeWatchApp.mc:182 0x100007f6

****getInitialView =****
 in userSettings :
***enter  onShow..
*** exit onShow..
Background: ****background Init ****true
Background: **** initialize**** TOTAL MEM28688
Background: **** initialize**** USED MEM21592
Background: **** initialize**** FREE MEM7096

Probably logical to have an error if no init is made, but how can this happen, and how can i avoid this pb?

May it be some BG process still running in mem ?

Thanks

Marco