Hi,
I was going to perform more testing of my previous problems, but I had to end-task FAS and after that I can no longer run sfictest!!
When I run it I receive this error :
Awapphost.warning_xxxsetsparms() - As of FoxInCloud version 2.10, xxxSet.Init() (as awSets of awPublic.prg) accepts 2 parameters
Please take the following steps:
modify command 'C:\work_FoxInCloud\4manufacturing-FoxInCloud\programs\sficsets.prg'
After
procedure sficSets.Init
Add this instruction:
lparameters ;
result as String; && @ {en} error if any {fr} erreur éventuelle
, toAppHost as awAppHost of awAppHost.fxp && {en} Application Host object {fr} Objet Hôte d'application
For more information about these 2 parameters,
modify command (Home(1) + '\Tools\AB\AW\App\Progs\xxxSets.prg')
Awapphost.init_app_() - Application environment class 'sficSets' could not be instantiated.: ""
Awapphost.init() - Application could not start: ""
sficsets has not changed - it still contains all of the correct code, including the lparameters statement!
sficserver still contains the correct startup settings :
cAppSetsLib = 'sficSets.prg'
cAppSets = 'sficSets' && sficSets
.
I have deleted the contents of the Temp directory in case something was corrupted but this has not helped.
I have also recompiled sficsets.
It seems that doing the end-task has corrupted something, but I don't know what.
Any idea?
Paul
maybe delete file wwRequestLog.*
Deleted, still get the weird error...
I have found the problem and sorry to waste your time.
I had a bug when calling a function from within xxxsets and the bug was passing too many parameters to the function.
It looks like FiC's error handler detects a "too many parameters" error and produces the error message I posted before.
Paul
no worry it happens when tackling a new system…
I had this in mind… we added this code when adding parameters to awSets.Init()
:
catch to oException when InList(m.oException.ErrorNo;
, 94; && Must specify additional parameter
, 1238; && No PARAMETER statement found
)
Could now be removed.