Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Sirius » Upload my own odesign file to Sirius Web
Upload my own odesign file to Sirius Web [message #1833836] Sun, 25 October 2020 12:35 Go to next message
Alejandro Rueda is currently offline Alejandro RuedaFriend
Messages: 4
Registered: October 2020
Junior Member
I would like to know how I can adapt Sirius Web to use my own meta-model and upload the odesign file.

Thanks!
Re: Upload my own odesign file to Sirius Web [message #1833846 is a reply to message #1833836] Mon, 26 October 2020 07:15 Go to previous messageGo to next message
Pierre-Charles David is currently offline Pierre-Charles DavidFriend
Messages: 565
Registered: July 2009
Senior Member
Hi.

The current documentation for this is available at https://ocpmodeler.com/doc/2020.10.0/help_center.html#_developer_guide.
It's a first iteration, that will be improved and complete in future versions (we are still in beta at this point).
If you have feedback to help us improve it, do not hesitate!

Regards,
Pierre-Charles


Pierre-Charles David - Obeo

Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
Re: Upload my own odesign file to Sirius Web [message #1833881 is a reply to message #1833846] Mon, 26 October 2020 20:31 Go to previous messageGo to next message
Alejandro Rueda is currently offline Alejandro RuedaFriend
Messages: 4
Registered: October 2020
Junior Member
Hi.

Thank you very much for the documentation. It has worked well for me to adapt our modeling.

The only error I have had has been when adding elements to the diagram, which has not allowed us to show/add elements from a diagram. The error has been the following:

2020-10-26 21:20:26.888 DEBUG 10832 --- [d5-a20d676f4c7a] o.e.s.w.s.c.forms.FormEventProcessor : Form refreshed: Form {id: 62e93f82-e272-3ce9-b6c7-f58a4d734ae6, label: Form, targetObjectId: b8bbfd74-3b22-4d9b-b7d8-154c1285c90d, pageCount: 1})
2020-10-26 21:20:26.892 DEBUG 10832 --- [d5-a20d676f4c7a] o.e.s.w.s.g.w.h.StartMessageHandler : Message sent: DataMessage {id: 9, type: data, payload: formEvent}
2020-10-26 21:20:26.897 ERROR 10832 --- [nio-8080-exec-4] o.e.s.w.s.c.p.ProjectEventProcessor : java.lang.NullPointerException

java.util.concurrent.ExecutionException: java.lang.NullPointerException
at java.base/java.util.concurrent.FutureTask.report(FutureTask.java:122) ~[na:na]
at java.base/java.util.concurrent.FutureTask.get(FutureTask.java:191) ~[na:na]
at org.eclipse.sirius.web.spring.collaborative.projects.ProjectEventProcessor.handle(ProjectEventProcessor.java:149) ~[sirius-web-spring-collaborative-0.1.0-SNAPSHOT.jar!/:0.1.0-SNAPSHOT]
at org.eclipse.sirius.web.spring.collaborative.projects.ProjectEventProcessorRegistry.lambda$dispatchEvent$0(ProjectEventProcessorRegistry.java:89) ~[sirius-web-spring-collaborative-0.1.0-SNAPSHOT.jar!/:0.1.0-SNAPSHOT]
at java.base/java.util.Optional.flatMap(Optional.java:294) ~[na:na]
at org.eclipse.sirius.web.spring.collaborative.projects.ProjectEventProcessorRegistry.dispatchEvent(ProjectEventProcessorRegistry.java:89) ~[sirius-web-spring-collaborative-0.1.0-SNAPSHOT.jar!/:0.1.0-SNAPSHOT]
at org.eclipse.sirius.web.graphql.datafetchers.mutation.MutationInvokeNodeToolOnDiagramDataFetcher.get(MutationInvokeNodeToolOnDiagramDataFetcher.java:80) ~[sirius-web-graphql-0.1.0-SNAPSHOT.jar!/:0.1.0-SNAPSHOT]
at org.eclipse.sirius.web.graphql.datafetchers.mutation.MutationInvokeNodeToolOnDiagramDataFetcher.get(MutationInvokeNodeToolOnDiagramDataFetcher.java:46) ~[sirius-web-graphql-0.1.0-SNAPSHOT.jar!/:0.1.0-SNAPSHOT]
at graphql.execution.instrumentation.dataloader.DataLoaderDispatcherInstrumentation.lambda$instrumentDataFetcher$0(DataLoaderDispatcherInstrumentation.java:86) ~[graphql-java-14.0.jar!/:na]
at graphql.execution.ExecutionStrategy.fetchField(ExecutionStrategy.java:272) ~[graphql-java-14.0.jar!/:na]
at graphql.execution.ExecutionStrategy.resolveFieldWithInfo(ExecutionStrategy.java:200) ~[graphql-java-14.0.jar!/:na]
at graphql.execution.ExecutionStrategy.resolveField(ExecutionStrategy.java:173) ~[graphql-java-14.0.jar!/:na]
at graphql.execution.AsyncSerialExecutionStrategy.lambda$execute$1(AsyncSerialExecutionStrategy.java:41) ~[graphql-java-14.0.jar!/:na]
at graphql.execution.Async.eachSequentiallyImpl(Async.java:77) ~[graphql-java-14.0.jar!/:na]
at graphql.execution.Async.eachSequentially(Async.java:66) ~[graphql-java-14.0.jar!/:na]
at graphql.execution.AsyncSerialExecutionStrategy.execute(AsyncSerialExecutionStrategy.java:36) ~[graphql-java-14.0.jar!/:na]
at graphql.execution.Execution.executeOperation(Execution.java:165) ~[graphql-java-14.0.jar!/:na]
at graphql.execution.Execution.execute(Execution.java:106) ~[graphql-java-14.0.jar!/:na]
at graphql.GraphQL.execute(GraphQL.java:623) ~[graphql-java-14.0.jar!/:na]
at graphql.GraphQL.parseValidateAndExecute(GraphQL.java:556) ~[graphql-java-14.0.jar!/:na]
at graphql.GraphQL.executeAsync(GraphQL.java:520) ~[graphql-java-14.0.jar!/:na]
at graphql.GraphQL.execute(GraphQL.java:450) ~[graphql-java-14.0.jar!/:na]
at org.eclipse.sirius.web.spring.graphql.controllers.GraphQLController.performRequest(GraphQLController.java:148) ~[sirius-web-spring-graphql-0.1.0-SNAPSHOT.jar!/:0.1.0-SNAPSHOT]
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:na]
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:na]
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:na]
at java.base/java.lang.reflect.Method.invoke(Method.java:566) ~[na:na]
at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:190) ~[spring-web-5.2.7.RELEASE.jar!/:5.2.7.RELEASE]
at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:138) ~[spring-web-5.2.7.RELEASE.jar!/:5.2.7.RELEASE]
at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:105) ~[spring-webmvc-5.2.7.RELEASE.jar!/:5.2.7.RELEASE]
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:879) ~[spring-webmvc-5.2.7.RELEASE.jar!/:5.2.7.RELEASE]
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:793) ~[spring-webmvc-5.2.7.RELEASE.jar!/:5.2.7.RELEASE]
at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) ~[spring-webmvc-5.2.7.RELEASE.jar!/:5.2.7.RELEASE]
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1040) ~[spring-webmvc-5.2.7.RELEASE.jar!/:5.2.7.RELEASE]
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:943) ~[spring-webmvc-5.2.7.RELEASE.jar!/:5.2.7.RELEASE]
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006) ~[spring-webmvc-5.2.7.RELEASE.jar!/:5.2.7.RELEASE]
at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:909) ~[spring-webmvc-5.2.7.RELEASE.jar!/:5.2.7.RELEASE]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:660) ~[tomcat-embed-core-9.0.36.jar!/:9.0.36]
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883) ~[spring-webmvc-5.2.7.RELEASE.jar!/:5.2.7.RELEASE]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) ~[tomcat-embed-core-9.0.36.jar!/:9.0.36]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) ~[tomcat-embed-core-9.0.36.jar!/:9.0.36]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[tomcat-embed-core-9.0.36.jar!/:9.0.36]
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) ~[tomcat-embed-websocket-9.0.36.jar!/:9.0.36]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[tomcat-embed-core-9.0.36.jar!/:9.0.36]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[tomcat-embed-core-9.0.36.jar!/:9.0.36]
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:320) ~[spring-security-web-5.3.3.RELEASE.jar!/:5.3.3.RELEASE]
at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:126) ~[spring-security-web-5.3.3.RELEASE.jar!/:5.3.3.RELEASE]
at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:90) ~[spring-security-web-5.3.3.RELEASE.jar!/:5.3.3.RELEASE]
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) ~[spring-security-web-5.3.3.RELEASE.jar!/:5.3.3.RELEASE]
at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:118) ~[spring-security-web-5.3.3.RELEASE.jar!/:5.3.3.RELEASE]
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) ~[spring-security-web-5.3.3.RELEASE.jar!/:5.3.3.RELEASE]
at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:137) ~[spring-security-web-5.3.3.RELEASE.jar!/:5.3.3.RELEASE]
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) ~[spring-security-web-5.3.3.RELEASE.jar!/:5.3.3.RELEASE]
at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:111) ~[spring-security-web-5.3.3.RELEASE.jar!/:5.3.3.RELEASE]
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) ~[spring-security-web-5.3.3.RELEASE.jar!/:5.3.3.RELEASE]
at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:158) ~[spring-security-web-5.3.3.RELEASE.jar!/:5.3.3.RELEASE]
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) ~[spring-security-web-5.3.3.RELEASE.jar!/:5.3.3.RELEASE]
at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:63) ~[spring-security-web-5.3.3.RELEASE.jar!/:5.3.3.RELEASE]
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) ~[spring-security-web-5.3.3.RELEASE.jar!/:5.3.3.RELEASE]
at org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilterInternal(BasicAuthenticationFilter.java:204) ~[spring-security-web-5.3.3.RELEASE.jar!/:5.3.3.RELEASE]
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) ~[spring-web-5.2.7.RELEASE.jar!/:5.2.7.RELEASE]
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) ~[spring-security-web-5.3.3.RELEASE.jar!/:5.3.3.RELEASE]
at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:116) ~[spring-security-web-5.3.3.RELEASE.jar!/:5.3.3.RELEASE]
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) ~[spring-security-web-5.3.3.RELEASE.jar!/:5.3.3.RELEASE]
at org.springframework.security.web.header.HeaderWriterFilter.doHeadersAfter(HeaderWriterFilter.java:92) ~[spring-security-web-5.3.3.RELEASE.jar!/:5.3.3.RELEASE]
at org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:77) ~[spring-security-web-5.3.3.RELEASE.jar!/:5.3.3.RELEASE]
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) ~[spring-web-5.2.7.RELEASE.jar!/:5.2.7.RELEASE]
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) ~[spring-security-web-5.3.3.RELEASE.jar!/:5.3.3.RELEASE]
at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:105) ~[spring-security-web-5.3.3.RELEASE.jar!/:5.3.3.RELEASE]
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) ~[spring-security-web-5.3.3.RELEASE.jar!/:5.3.3.RELEASE]
at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:56) ~[spring-security-web-5.3.3.RELEASE.jar!/:5.3.3.RELEASE]
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) ~[spring-web-5.2.7.RELEASE.jar!/:5.2.7.RELEASE]
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) ~[spring-security-web-5.3.3.RELEASE.jar!/:5.3.3.RELEASE]
at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:215) ~[spring-security-web-5.3.3.RELEASE.jar!/:5.3.3.RELEASE]
at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:178) ~[spring-security-web-5.3.3.RELEASE.jar!/:5.3.3.RELEASE]
at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:358) ~[spring-web-5.2.7.RELEASE.jar!/:5.2.7.RELEASE]
at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:271) ~[spring-web-5.2.7.RELEASE.jar!/:5.2.7.RELEASE]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[tomcat-embed-core-9.0.36.jar!/:9.0.36]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[tomcat-embed-core-9.0.36.jar!/:9.0.36]
at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100) ~[spring-web-5.2.7.RELEASE.jar!/:5.2.7.RELEASE]
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) ~[spring-web-5.2.7.RELEASE.jar!/:5.2.7.RELEASE]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[tomcat-embed-core-9.0.36.jar!/:9.0.36]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[tomcat-embed-core-9.0.36.jar!/:9.0.36]
at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93) ~[spring-web-5.2.7.RELEASE.jar!/:5.2.7.RELEASE]
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) ~[spring-web-5.2.7.RELEASE.jar!/:5.2.7.RELEASE]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[tomcat-embed-core-9.0.36.jar!/:9.0.36]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[tomcat-embed-core-9.0.36.jar!/:9.0.36]
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201) ~[spring-web-5.2.7.RELEASE.jar!/:5.2.7.RELEASE]
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) ~[spring-web-5.2.7.RELEASE.jar!/:5.2.7.RELEASE]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[tomcat-embed-core-9.0.36.jar!/:9.0.36]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[tomcat-embed-core-9.0.36.jar!/:9.0.36]
at org.eclipse.sirius.web.sample.filters.SiriusWebAuthenticationFilter.doFilter(SiriusWebAuthenticationFilter.java:72) ~[classes!/:0.0.1-SNAPSHOT]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[tomcat-embed-core-9.0.36.jar!/:9.0.36]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[tomcat-embed-core-9.0.36.jar!/:9.0.36]
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:202) ~[tomcat-embed-core-9.0.36.jar!/:9.0.36]
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) ~[tomcat-embed-core-9.0.36.jar!/:9.0.36]
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541) ~[tomcat-embed-core-9.0.36.jar!/:9.0.36]
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) ~[tomcat-embed-core-9.0.36.jar!/:9.0.36]
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) ~[tomcat-embed-core-9.0.36.jar!/:9.0.36]
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) ~[tomcat-embed-core-9.0.36.jar!/:9.0.36]
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) ~[tomcat-embed-core-9.0.36.jar!/:9.0.36]
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:373) ~[tomcat-embed-core-9.0.36.jar!/:9.0.36]
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65) ~[tomcat-embed-core-9.0.36.jar!/:9.0.36]
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868) ~[tomcat-embed-core-9.0.36.jar!/:9.0.36]
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1590) ~[tomcat-embed-core-9.0.36.jar!/:9.0.36]
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) ~[tomcat-embed-core-9.0.36.jar!/:9.0.36]
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) ~[na:na]
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) ~[na:na]
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) ~[tomcat-embed-core-9.0.36.jar!/:9.0.36]
at java.base/java.lang.Thread.run(Thread.java:834) ~[na:na]
Caused by: java.lang.NullPointerException: null
at org.eclipse.sirius.web.interpreter.ExpressionConverter.convertExpression(ExpressionConverter.java:57) ~[sirius-web-interpreter-0.1.0-SNAPSHOT.jar!/:0.1.0-SNAPSHOT]
at org.eclipse.sirius.web.interpreter.AQLInterpreter.evaluateExpression(AQLInterpreter.java:108) ~[sirius-web-interpreter-0.1.0-SNAPSHOT.jar!/:0.1.0-SNAPSHOT]
at org.eclipse.sirius.web.compat.diagrams.ContainerMappingStyleProvider.apply(ContainerMappingStyleProvider.java:54) ~[sirius-web-compatibility-0.1.0-SNAPSHOT.jar!/:0.1.0-SNAPSHOT]
at org.eclipse.sirius.web.compat.diagrams.ContainerMappingStyleProvider.apply(ContainerMappingStyleProvider.java:36) ~[sirius-web-compatibility-0.1.0-SNAPSHOT.jar!/:0.1.0-SNAPSHOT]
at org.eclipse.sirius.web.diagrams.components.NodeComponent.render(NodeComponent.java:70) ~[sirius-web-diagrams-0.1.0-SNAPSHOT.jar!/:0.1.0-SNAPSHOT]
at org.eclipse.sirius.web.components.BaseRenderer.renderComponent(BaseRenderer.java:200) ~[sirius-web-components-0.1.0-SNAPSHOT.jar!/:0.1.0-SNAPSHOT]
at org.eclipse.sirius.web.components.BaseRenderer.renderElement(BaseRenderer.java:121) ~[sirius-web-components-0.1.0-SNAPSHOT.jar!/:0.1.0-SNAPSHOT]
at org.eclipse.sirius.web.components.BaseRenderer.renderChildren(BaseRenderer.java:170) ~[sirius-web-components-0.1.0-SNAPSHOT.jar!/:0.1.0-SNAPSHOT]
at org.eclipse.sirius.web.components.BaseRenderer.renderInstance(BaseRenderer.java:143) ~[sirius-web-components-0.1.0-SNAPSHOT.jar!/:0.1.0-SNAPSHOT]
at org.eclipse.sirius.web.components.BaseRenderer.renderElement(BaseRenderer.java:117) ~[sirius-web-components-0.1.0-SNAPSHOT.jar!/:0.1.0-SNAPSHOT]
at org.eclipse.sirius.web.components.BaseRenderer.renderComponent(BaseRenderer.java:202) ~[sirius-web-components-0.1.0-SNAPSHOT.jar!/:0.1.0-SNAPSHOT]
at org.eclipse.sirius.web.components.BaseRenderer.renderElement(BaseRenderer.java:121) ~[sirius-web-components-0.1.0-SNAPSHOT.jar!/:0.1.0-SNAPSHOT]
at org.eclipse.sirius.web.diagrams.renderer.DiagramRenderer.render(DiagramRenderer.java:43) ~[sirius-web-diagrams-0.1.0-SNAPSHOT.jar!/:0.1.0-SNAPSHOT]
at org.eclipse.sirius.web.spring.collaborative.diagrams.DiagramService.create(DiagramService.java:71) ~[sirius-web-spring-collaborative-diagrams-0.1.0-SNAPSHOT.jar!/:0.1.0-SNAPSHOT]
at org.eclipse.sirius.web.spring.collaborative.diagrams.DiagramRefreshManager.computeDiagram(DiagramRefreshManager.java:98) ~[sirius-web-spring-collaborative-diagrams-0.1.0-SNAPSHOT.jar!/:0.1.0-SNAPSHOT]
at org.eclipse.sirius.web.spring.collaborative.diagrams.DiagramRefreshManager.refresh(DiagramRefreshManager.java:91) ~[sirius-web-spring-collaborative-diagrams-0.1.0-SNAPSHOT.jar!/:0.1.0-SNAPSHOT]
at org.eclipse.sirius.web.spring.collaborative.diagrams.DiagramEventProcessor.refresh(DiagramEventProcessor.java:104) ~[sirius-web-spring-collaborative-diagrams-0.1.0-SNAPSHOT.jar!/:0.1.0-SNAPSHOT]
at org.eclipse.sirius.web.spring.collaborative.projects.ProjectEventProcessor.lambda$doHandle$3(ProjectEventProcessor.java:208) ~[sirius-web-spring-collaborative-0.1.0-SNAPSHOT.jar!/:0.1.0-SNAPSHOT]
at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183) ~[na:na]
at java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:177) ~[na:na]
at java.base/java.util.concurrent.ConcurrentHashMap$ValueSpliterator.forEachRemaining(ConcurrentHashMap.java:3605) ~[na:na]
at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484) ~[na:na]
at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) ~[na:na]
at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150) ~[na:na]
at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173) ~[na:na]
at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[na:na]
at java.base/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:497) ~[na:na]
at org.eclipse.sirius.web.spring.collaborative.projects.ProjectEventProcessor.doHandle(ProjectEventProcessor.java:207) ~[sirius-web-spring-collaborative-0.1.0-SNAPSHOT.jar!/:0.1.0-SNAPSHOT]
at org.eclipse.sirius.web.spring.collaborative.projects.ProjectEventProcessor.lambda$handle$1(ProjectEventProcessor.java:140) ~[sirius-web-spring-collaborative-0.1.0-SNAPSHOT.jar!/:0.1.0-SNAPSHOT]
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) ~[na:na]
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) ~[na:na]
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) ~[na:na]
... 1 common frames omitted


Thanks!
  • Attachment: diagram.PNG
    (Size: 5.03KB, Downloaded 17 times)

[Updated on: Mon, 26 October 2020 21:33]

Report message to a moderator

Re: Upload my own odesign file to Sirius Web [message #1833945 is a reply to message #1833881] Wed, 28 October 2020 15:25 Go to previous messageGo to next message
Alberti López is currently offline Alberti LópezFriend
Messages: 1
Registered: October 2020
Junior Member
I have the same problem with sirius-web-spring-collaborative, I managed to adapt my modeling but the diagram doesn't show anything.

I have adapted the configuration files in SampleEMFConfiguration and SampleSiriusConfiguration to our ecore and odesign as shown in the documentation. I have also imported the main packages, edit and design from the poml.

I haven't found a way to fix it.
Re: Upload my own odesign file to Sirius Web [message #1833946 is a reply to message #1833945] Wed, 28 October 2020 15:45 Go to previous messageGo to next message
Pierre-Charles David is currently offline Pierre-Charles DavidFriend
Messages: 565
Registered: July 2009
Senior Member
Hi,

From the look of the stack posted by Alejandro, it seems the the odesign file defines a conditional style which does not specify a predicate expression.
The code should be more robust to this, I'll open a ticket.
In the meantime, you should be able to workaround it by making sure all conditional styles have a predicate, even if it is just "aql:true"

Regards,
Pierre-Charles


Pierre-Charles David - Obeo

Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
Re: Upload my own odesign file to Sirius Web [message #1836945 is a reply to message #1833946] Tue, 19 January 2021 15:22 Go to previous message
mike hill is currently offline mike hillFriend
Messages: 13
Registered: December 2020
Junior Member
Hi

This is the instruction for Sirius Desktop compatibility:

Quote:


1. Make sure the JAR which contains the modeler definition is in your application's classpath. Typically this involves publishing the .design JAR in a Maven repository and adding its coordinates into your sample application's POM file. Example in Sirius Web.

2. In your application, provide a Spring @Configuration which implements org.eclipse.sirius.web.compat.services.api.ISiriusConfiguration and tells the platform the path (inside the JAR) where the .odesign file is available. Example in Sirius Web



This is probably a newbie question, but how do I publish my .design into a Maven repository with Obeo Designer?

Regards

[Updated on: Tue, 19 January 2021 16:05]

Report message to a moderator

Previous Topic:How to access Sirius edition table's cell editor from SWTBot?
Next Topic:Direct edit label on begin/end label of edges
Goto Forum:
  


Current Time: Wed Apr 21 12:29:06 GMT 2021

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

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

Back to the top