Skip to content

Graphviz Error: The type initializer threw an exception #182

@Solacx

Description

@Solacx

Description
Processing runs into an error almost immediately after clicking to generate documentation.

An error has occurred.

Error message: The type initializer for 'Rubjerg.Graphviz.ForeignFunctionInterface' threw an exception.

Details:

  at Rubjerg.Graphviz.ForeignFunctionInterface.Rjagopen(String name, Int32 graphtype)
  at Rubjerg.Graphviz.RootGraph.CreateNew(GraphType graphtype, String name, CoordinateSystem coordinateSystem)
  at PowerDocu.FlowDocumenter.GraphBuilder.buildGraph(Boolean showSubactions) in C:\Users\rene\GitHub\PowerDocu-Release\PowerDocu\PowerDocu.FlowDocumenter\GraphBuilder.cs:line 44
  at PowerDocu.FlowDocumenter.GraphBuilder.buildTopLevelGraph() in C:\Users\rene\GitHub\PowerDocu-Release\PowerDocu\PowerDocu.FlowDocumenter\GraphBuilder.cs:line 30
  at PowerDocu.FlowDocumenter.FlowDocumentationGenerator.GenerateDocumentation(String filePath, String fileFormat, Boolean fullDocumentation, String flowActionSortOrder, String wordTemplate, String outputPath) in C:\Users\rene\GitHub\PowerDocu-Release\PowerDocu\PowerDocu.FlowDocumenter\FlowDocumentationGenerator.cs:line 25
  at PowerDocu.SolutionDocumenter.SolutionDocumentationGenerator.GenerateDocumentation(String filePath, String fileFormat, Boolean fullDocumentation, Boolean documentDefaultChangesOnly, Boolean documentDefaults, Boolean documentSampleData, String flowActionSortOrder, String wordTemplate, String outputPath) in C:\Users\rene\GitHub\PowerDocu-Release\PowerDocu\PowerDocu.SolutionDocumenter\SolutionDocumentationGenerator.cs:line 20
  at PowerDocu.GUI.PowerDocuForm.startDocumentation(Boolean fullDocumentation) in C:\Users\rene\GitHub\PowerDocu-Release\PowerDocu\PowerDocu.GUI\PowerDocuForm.cs:line 191

The error message references a "rene" user folder a few times - is processing not being done locally? I had assumed this was the case.

To Reproduce
Steps to reproduce the behaviour:

  1. Open PowerDocu
  2. Choose an App, Flow, or Solution to document
  3. Click to generate documentation
  4. See error

Please note:

  • Using PowerDocu v2.2.0 (self-contained release)
  • Machine does not have .NET installed

Expected Behaviour
Documentation is generated.

Flow Used
Flow name: Temp
Trigger: Instant (renamed to "Trigger")
Actions (1):

  • Compose; value is "Temp."

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions