Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
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 12:52 Go to next message
Ali YILDIZ is currently offline Ali YILDIZFriend
Messages: 2
Registered: February 2022
Junior Member
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 #1849906 is a reply to message #1849754] Tue, 08 February 2022 11:01 Go to previous messageGo to next message
Ali YILDIZ is currently offline Ali YILDIZFriend
Messages: 2
Registered: February 2022
Junior Member
Hello,
The problem has been fixed. I downloaded the new version of sirius-web codes from github.
After rebuilding it , my model elements have been appeared as popup.

Thanks.
Re: Sirius web [message #1849918 is a reply to message #1849906] Tue, 08 February 2022 13:18 Go to previous message
Pierre-Charles David is currently offline Pierre-Charles DavidFriend
Messages: 701
Registered: July 2009
Senior Member
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.



Pierre-Charles David - Obeo

Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
Previous Topic:Creating new Nodes/Containers only with java code
Next Topic:How to export EMF projects and Sirius as plug-ins using Maven and Tycho?
Goto Forum:
  


Current Time: Fri Mar 29 05:46:54 GMT 2024

Powered by FUDForum. Page generated in 0.02830 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top