Open-Systems-Pharmacology / QualificationRunner

Qualification runner in charge of managing a qualification workflow
Other
0 stars 1 forks source link

Crash when processing a qualification plan in the new schema #113

Closed Yuri05 closed 2 years ago

Yuri05 commented 2 years ago

Input.zip When I extract attached files to C:/Temp/Input and run the Qualification Runner: "C:/QualificationRunner_11.0.114/QualificationRunner.exe" -i "C:/Temp/Input/qualification_plan.json" -o "C:/Temp/re_input" --norun -p C:/PK-Sim_11.0.123/ -n "report-configuration-plan" -f

I get the error message below:

info: QualificationRunner[0]
      Starting qualification workflow
fail: QualificationRunner[0]
      Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.

      Stack trace:
      bei QualificationRunner.Core.Services.QualificationRunner.absolutePathFrom(String relatedTo, String relativePath)
         bei QualificationRunner.Core.Services.QualificationRunner.copySectionContent(Section section)
         bei System.Linq.Enumerable.WhereSelectArrayIterator`2.MoveNext()
         bei System.Linq.Buffer`1..ctor(IEnumerable`1 source)
         bei System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
         bei QualificationRunner.Core.Services.QualificationRunner.copySectionContents(Section[] sections)
         bei QualificationRunner.Core.Services.QualificationRunner.<copyStaticFiles>d__9.MoveNext()
      --- Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde ---
         bei System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
         bei System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
         bei CallSite.Target(Closure , CallSite , Object )
         bei System.Dynamic.UpdateDelegates.UpdateAndExecute1[T0,TRet](CallSite site, T0 arg0)
         bei QualificationRunner.Core.Services.QualificationRunner.<RunBatchAsync>d__5.MoveNext()
       --- End of inner exception stack trace ---
         bei System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
         bei System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
         bei System.Threading.Tasks.Task.Wait()
         bei QualificationRunner.Program.startCommand[TRunOptions](CLICommand`1 command)
fail: QualificationRunner[0]
      Qualification Workflow failed

The qualification plan was adjusted to use the new schema (SectionReference instead of SectionId etc.)

Qualirunner log file: log1.txt

Yuri05 commented 2 years ago

Maybe it's because the Content is optional now, so I removed those funny "Empty.md" content refs grafik

msevestre commented 2 years ago

oh yeah maybe. Let me check