In an app I used Statemanager and HTTPUtils2.
Now I try to replace some static code modules with libraries. I created a library from statemanager and removed it from my app and included the generated library instead. That was the only change I have made to my code. Now I get the following error on compile:
Parsing code. 0.36
Running custom action. 0.14
Compiling code. Error
Error compiling program.
Error description: Process object is expected. {Type=HttpJob,Rank=0} is an Activity object.
Declaring the variable in Sub Globals instead of Sub Process_Globals will solve this problem.
Occurred on line: 30
TaskIdToJob.Put(taskCounter, job)
Word: job
It seems that the compiler thinks that HttpJob is an Activity object now. The error is reported in HttpUtils2Service.SubmitJob
Any ideas? It would be very hard to provide the project.