Home » Eclipse Projects » Sirius » Sirius web(imported model representation doesn't show the model elements as popup )
Sirius web [message #1849754] |
Tue, 01 February 2022 07:52  |
Eclipse User |
|
|
|
Hello,
I want to use sirius web in my modeling project. I was able to import a sample model (basic family model and advanced tutorial solution basicfamily.odesign) as described in a youtube video and using this forum posts. In sirius web sample model "flow", I can draw a representation using popup menu items. However in basic family representation, It doesn't show popup menu items and I get an error in terminal window. How can I solve this error? Thanks.
2022-02-01 15:17:17.607 WARN 11052 --- [nio-8080-exec-8] o.e.s.w.s.g.c.GraphQLController : {
"errors" : [ {
"message" : "The field at path '/viewer/editingContext/representation/description/toolSections[0]/tools[2]/targetDescriptions[0]' was declared as a non null type, but the code involved in retrieving data has wrongly returned a null value. The graphql specification requires that the parent field be set to null, or if that is non nullable that it bubble up null to its parent and so on. The non-nullable type is 'NodeDescription' within parent type '[NodeDescription!]'",
"path" : [ "viewer", "editingContext", "representation", "description", "toolSections", 0, "tools", 2, "targetDescriptions", 0 ],
"extensions" : {
"classification" : "NullValueInNonNullableField"
}
}, {
"message" : "The field at path '/viewer/editingContext/representation/description/toolSections[1]/tools[2]/targetDescriptions[0]' was declared as a non null type, but the code involved in retrieving data has wrongly returned a null value. The graphql specification requires that the parent field be set to null, or if that is non nullable that it bubble up null to its parent and so on. The non-nullable type is 'NodeDescription' within parent type '[NodeDescription!]'",
"path" : [ "viewer", "editingContext", "representation", "description", "toolSections", 1, "tools", 2, "targetDescriptions", 0 ],
"extensions" : {
"classification" : "NullValueInNonNullableField"
}
} ],
"data" : {
"viewer" : {
"editingContext" : {
"representation" : {
"description" : {
"toolSections" : [ {
"id" : "Tools",
"label" : "Tools",
"imageURL" : "/api/images",
"tools" : [ {
"__typename" : "CreateNodeTool",
"id" : "44518467-1ab3-4d71-bc27-6dbbf5c4c77e",
"label" : "Man",
"imageURL" : "/api/images/icons/full/obj16/Man.gif",
"targetDescriptions" : [ ],
"appliesToDiagramRoot" : false,
"selectionDescriptionId" : null
}, {
"__typename" : "CreateEdgeTool",
"id" : "bf7c58ff-5f29-4b47-9b79-fac316dde814",
"label" : "Father",
"imageURL" : "/api/images/icons/father.png",
"edgeCandidates" : [ {
"sources" : [ {
"id" : "18bb6819-bf04-48b0-8aa6-79dfeb7e6355",
"__typename" : "NodeDescription"
}, {
"id" : "5ad157cb-dea2-4fbc-8bf1-1924a41ddeff",
"__typename" : "NodeDescription"
} ],
"targets" : [ {
"id" : "18bb6819-bf04-48b0-8aa6-79dfeb7e6355",
"__typename" : "NodeDescription"
} ],
"__typename" : "EdgeCandidate"
} ]
}, null ],
"__typename" : "ToolSection"
}, {
"id" : "Tools",
"label" : "Tools",
"imageURL" : "/api/images",
"tools" : [ {
"__typename" : "CreateNodeTool",
"id" : "64203b03-215c-4df9-8764-4a99361430e7",
"label" : "Woman",
"imageURL" : "/api/images/icons/full/obj16/Woman.gif",
"targetDescriptions" : [ ],
"appliesToDiagramRoot" : false,
"selectionDescriptionId" : null
}, {
"__typename" : "CreateEdgeTool",
"id" : "d270762b-012b-466d-9071-c4ae1ec628f9",
"label" : "Mother",
"imageURL" : "/api/images/icons/mother.png",
"edgeCandidates" : [ {
"sources" : [ {
"id" : "18bb6819-bf04-48b0-8aa6-79dfeb7e6355",
"__typename" : "NodeDescription"
}, {
"id" : "5ad157cb-dea2-4fbc-8bf1-1924a41ddeff",
"__typename" : "NodeDescription"
} ],
"targets" : [ {
"id" : "5ad157cb-dea2-4fbc-8bf1-1924a41ddeff",
"__typename" : "NodeDescription"
} ],
"__typename" : "EdgeCandidate"
} ]
}, null ],
"__typename" : "ToolSection"
} ],
"__typename" : "DiagramDescription"
},
"__typename" : "RepresentationMetadata"
},
"__typename" : "EditingContext"
},
"__typename" : "User"
}
}
}
|
|
| |
Re: Sirius web [message #1849918 is a reply to message #1849906] |
Tue, 08 February 2022 08:18  |
Eclipse User |
|
|
|
Thanks for notifying.
Really sorry about the lack of response. I could not see an immediate reason for the error and wanted to dig further but had not yet found the time.
|
|
|
Goto Forum:
Current Time: Sun May 11 07:55:55 EDT 2025
Powered by FUDForum. Page generated in 0.03610 seconds
|