diff --git a/TaskAndTimeTimJahn.txt b/TaskAndTimeTimJahn.txt index acb997666585c160bacef67c53634b77dfc7de58..41913ff2b04e276a83b1c1cd48efee54c50103d0 100644 --- a/TaskAndTimeTimJahn.txt +++ b/TaskAndTimeTimJahn.txt @@ -52,6 +52,8 @@ hours: 23.12.24 8h 24.12.24 2h 06.01.25 8h +11.01.25 4h +12.01.25 12h //------------------------------------------------------------------------------------------------------ see https://github.com/eclipse-theia/theia/blob/master/doc/Developing.md#prerequisite_native_keymap @@ -139,6 +141,15 @@ some unclear aspects regarding the issues: - how does that look? + for the GLSP example at https://github.com/eclipse-glsp/glsp-examples MIND TAKING THE CORRECT BRANCH + - https://github.com/eclipse-glsp/glsp-examples/tree/example-javaemftheia-extension + + THE REFERENCES OF THE GLSP EXTENSION WILL OTHERWISE NOT MAKE SENSE + + graphical objects are mostly done by the sprotty framework, not glsp + - found example of adding new element on https://github.com/eclipse-glsp/glsp/discussions/1042 + - https://github.com/eclipse-glsp/glsp-examples/compare/master...example-javaemftheia-extension + #5 "all elements like channels" - only channels - input only for transitions, markings only for places - see @@ -171,364 +182,11 @@ push to devel, merge with sebastioan as assignee in gitlab website issue #1 - recreated error by creating new file test.pnml in editor: -$ yarn start -yarn run v1.22.22 -$ yarn rebuild:browser && yarn --cwd tasklist-browser-app start -$ theia rebuild:browser -native node modules are already rebuilt for browser -$ theia start --TASKLIST_GLSP=5007 --root-dir=../workspace -Configuration directory URI: 'file:///home/mite/.theia' -2024-12-08T15:30:51.938Z root INFO Backend Object.initialize: 20.0 ms [Finished 0.941 s after backend start] -2024-12-08T15:30:51.938Z root INFO Backend Object.configure: 18.2 ms [Finished 0.942 s after backend start] -2024-12-08T15:30:51.939Z root INFO Backend MessagingContribution.onStart: 3.2 ms [Finished 0.942 s after backend start] -2024-12-08T15:30:51.939Z root INFO Backend NodeFileUploadService.configure: 2.0 ms [Finished 0.983 s after backend start] -2024-12-08T15:30:51.939Z root INFO Backend LocalizationServerImpl.initialize: 41.0 ms [Finished 0.983 s after backend start] -2024-12-08T15:30:51.939Z root INFO Backend FileDownloadEndpoint.configure: 2.7 ms [Finished 0.985 s after backend start] -2024-12-08T15:30:51.942Z root INFO Theia app listening on http://127.0.0.1:3000. -2024-12-08T15:30:51.953Z root INFO Backend DefaultWorkspaceServer.onStart: 19.0 ms [Finished 1.000 s after backend start] -2024-12-08T15:30:51.954Z root INFO Finished starting backend application: 0.1 ms [Finished 1.000 s after backend start] -2024-12-08T15:30:53.993Z root ERROR TaskList: WARNING: Runtime environment or build system does not support multi-release JARs. This will impact location-based features. -2024-12-08T15:35:47.398Z root WARN Frontend CommonFrontendContribution.configure took longer than the expected maximum 100 milliseconds: 121.0 ms [Finished 5.112 s after frontend start] -2024-12-08T15:35:47.417Z root WARN A command editor.action.toggleStickyScroll is already registered. -2024-12-08T15:35:47.628Z root INFO Start frontend contributions: 382.0 ms [Finished 5.298 s after frontend start] -2024-12-08T15:35:47.629Z root INFO Changed application state from 'init' to 'started_contributions'. -2024-12-08T15:35:47.629Z root INFO Changed application state from 'started_contributions' to 'attached_shell'. -2024-12-08T15:35:47.629Z root INFO >>> Restoring the layout state... -2024-12-08T15:35:50.780Z root WARN Linked preference "workbench.colorCustomizations" not found. -2024-12-08T15:35:50.780Z root WARN Linked preference "window.titleBarStyle" not found. -2024-12-08T15:35:50.784Z root ERROR DefaultJsonSchemaContribution.registerSchemas is taking more than 500.0 ms, new schemas are ignored. -2024-12-08T15:35:51.028Z root INFO Factory for model element 'edge' will be overwritten. -2024-12-08T15:35:51.028Z root INFO Factory for model element 'comp:header' will be overwritten. -2024-12-08T15:35:51.028Z root INFO Factory for model element 'label' will be overwritten. -2024-12-08T15:35:51.029Z root INFO Factory for model element 'graph' will be overwritten. -2024-12-08T15:35:51.029Z root INFO Factory for model element 'edge' will be overwritten. -2024-12-08T15:35:51.029Z root INFO Factory for model element 'comp:header' will be overwritten. -2024-12-08T15:35:51.029Z root INFO Factory for model element 'label' will be overwritten. -2024-12-08T15:35:51.029Z root INFO Factory for model element 'graph' will be overwritten. -2024-12-08T15:35:51.188Z root INFO <<< The layout has been successfully restored. -2024-12-08T15:35:51.189Z root INFO View instance for type 'edge' will be overwritten. -2024-12-08T15:35:51.189Z root INFO View instance for type 'comp:header' will be overwritten. -2024-12-08T15:35:51.189Z root INFO View instance for type 'label' will be overwritten. -2024-12-08T15:35:51.189Z root INFO View instance for type 'graph' will be overwritten. -2024-12-08T15:35:51.189Z root INFO View instance for type 'edge' will be overwritten. -2024-12-08T15:35:51.189Z root INFO View instance for type 'comp:header' will be overwritten. -2024-12-08T15:35:51.189Z root INFO View instance for type 'label' will be overwritten. -2024-12-08T15:35:51.189Z root INFO View instance for type 'graph' will be overwritten. -2024-12-08T15:35:51.189Z root INFO Initialize the workbench layout: 3503.0 ms [Finished 8.865 s after frontend start] -2024-12-08T15:35:51.189Z root INFO Changed application state from 'attached_shell' to 'initialized_layout'. -2024-12-08T15:35:52.074Z root INFO Frontend application start: 4742.8 ms [Finished 301.121 s after backend start] -2024-12-08T15:35:52.075Z root INFO Replace loading indicator with ready workbench UI (animation): 921.0 ms [Finished 9.790 s after frontend start] -2024-12-08T15:35:52.076Z root INFO Changed application state from 'initialized_layout' to 'ready'. -2024-12-08T15:36:03.489Z root INFO Factory for model element 'edge' will be overwritten. -2024-12-08T15:36:03.489Z root INFO Factory for model element 'comp:header' will be overwritten. -2024-12-08T15:36:03.489Z root INFO Factory for model element 'label' will be overwritten. -2024-12-08T15:36:03.489Z root INFO Factory for model element 'graph' will be overwritten. -2024-12-08T15:36:03.489Z root INFO View instance for type 'edge' will be overwritten. -2024-12-08T15:36:03.490Z root INFO View instance for type 'comp:header' will be overwritten. -2024-12-08T15:36:03.490Z root INFO View instance for type 'label' will be overwritten. -2024-12-08T15:36:03.490Z root INFO View instance for type 'graph' will be overwritten. -2024-12-08T15:36:12.191Z root WARN A command editor.action.toggleStickyScroll is already registered. -2024-12-08T15:36:12.339Z root INFO Start frontend contributions: 218.0 ms [Finished 3.107 s after frontend start] -2024-12-08T15:36:12.339Z root INFO Changed application state from 'init' to 'started_contributions'. -2024-12-08T15:36:12.739Z root WARN Linked preference "workbench.colorCustomizations" not found. -2024-12-08T15:36:12.739Z root WARN Linked preference "window.titleBarStyle" not found. -2024-12-08T15:36:13.382Z root ERROR TaskList: Dec 08, 2024 4:36:13 PM org.eclipse.lsp4j.jsonrpc.RemoteEndpoint fallbackResponseError -2024-12-08T15:36:13.383Z root ERROR TaskList: SEVERE: Internal error: org.eclipse.lsp4j.jsonrpc.JsonRpcException: java.io.IOException: java.io.IOException: Broken pipe -2024-12-08T15:36:13.383Z root ERROR TaskList: java.util.concurrent.CompletionException: org.eclipse.lsp4j.jsonrpc.JsonRpcException: java.io.IOException: java.io.IOException: Broken pipe -2024-12-08T15:36:13.383Z root ERROR TaskList: at java.base/java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:315) -2024-12-08T15:36:13.383Z root ERROR TaskList: at java.base/java.util.concurrent.CompletableFuture.uniAcceptNow(CompletableFuture.java:761) -2024-12-08T15:36:13.383Z root ERROR TaskList: at java.base/java.util.concurrent.CompletableFuture.uniAcceptStage(CompletableFuture.java:735) -2024-12-08T15:36:13.383Z root ERROR TaskList: at java.base/java.util.concurrent.CompletableFuture.thenAccept(CompletableFuture.java:2214) -2024-12-08T15:36:13.383Z root ERROR TaskList: at org.eclipse.lsp4j.jsonrpc.RemoteEndpoint.handleRequest(RemoteEndpoint.java:288) -2024-12-08T15:36:13.384Z root ERROR TaskList: at org.eclipse.lsp4j.jsonrpc.RemoteEndpoint.consume(RemoteEndpoint.java:201) -2024-12-08T15:36:13.384Z root ERROR TaskList: at org.eclipse.lsp4j.jsonrpc.json.StreamMessageProducer.handleMessage(StreamMessageProducer.java:185) -2024-12-08T15:36:13.384Z root ERROR TaskList: at org.eclipse.lsp4j.jsonrpc.json.StreamMessageProducer.listen(StreamMessageProducer.java:97) -2024-12-08T15:36:13.384Z root ERROR TaskList: at org.eclipse.lsp4j.jsonrpc.json.ConcurrentMessageProcessor.run(ConcurrentMessageProcessor.java:114) -2024-12-08T15:36:13.384Z root ERROR TaskList: at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:572) -2024-12-08T15:36:13.384Z root ERROR TaskList: at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317) -2024-12-08T15:36:13.384Z root ERROR TaskList: at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) -2024-12-08T15:36:13.385Z root ERROR TaskList: at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) -2024-12-08T15:36:13.385Z root ERROR TaskList: at java.base/java.lang.Thread.run(Thread.java:1583) -2024-12-08T15:36:13.385Z root ERROR TaskList: Caused by: org.eclipse.lsp4j.jsonrpc.JsonRpcException: java.io.IOException: java.io.IOException: Broken pipe -2024-12-08T15:36:13.385Z root ERROR TaskList: at org.eclipse.lsp4j.jsonrpc.json.StreamMessageConsumer.consume(StreamMessageConsumer.java:72) -2024-12-08T15:36:13.385Z root ERROR TaskList: at org.eclipse.lsp4j.jsonrpc.RemoteEndpoint.lambda$handleRequest$1(RemoteEndpoint.java:290) -2024-12-08T15:36:13.385Z root ERROR TaskList: at java.base/java.util.concurrent.CompletableFuture.uniAcceptNow(CompletableFuture.java:757) -2024-12-08T15:36:13.386Z root ERROR TaskList: ... 12 more -2024-12-08T15:36:13.386Z root ERROR TaskList: Caused by: java.io.IOException: java.io.IOException: Broken pipe -2024-12-08T15:36:13.386Z root ERROR TaskList: at java.base/java.nio.channels.Channels$2.write(Channels.java:238) -2024-12-08T15:36:13.386Z root ERROR TaskList: at java.base/java.io.OutputStream.write(OutputStream.java:124) -2024-12-08T15:36:13.386Z root ERROR TaskList: at org.eclipse.lsp4j.jsonrpc.json.StreamMessageConsumer.consume(StreamMessageConsumer.java:68) -2024-12-08T15:36:13.386Z root ERROR TaskList: ... 14 more -2024-12-08T15:36:13.386Z root ERROR TaskList: Caused by: java.io.IOException: Broken pipe -2024-12-08T15:36:13.386Z root ERROR TaskList: at java.base/sun.nio.ch.SocketDispatcher.write0(Native Method) -2024-12-08T15:36:13.386Z root ERROR TaskList: at java.base/sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:62) -2024-12-08T15:36:13.387Z root ERROR TaskList: at java.base/sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:137) -2024-12-08T15:36:13.387Z root ERROR TaskList: at java.base/sun.nio.ch.IOUtil.write(IOUtil.java:102) -2024-12-08T15:36:13.387Z root ERROR TaskList: at java.base/sun.nio.ch.IOUtil.write(IOUtil.java:65) -2024-12-08T15:36:13.387Z root ERROR TaskList: at java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.implWrite(UnixAsynchronousSocketChannelImpl.java:713) -2024-12-08T15:36:13.387Z root ERROR TaskList: at java.base/sun.nio.ch.AsynchronousSocketChannelImpl.write(AsynchronousSocketChannelImpl.java:382) -2024-12-08T15:36:13.387Z root ERROR TaskList: at java.base/sun.nio.ch.AsynchronousSocketChannelImpl.write(AsynchronousSocketChannelImpl.java:387) -2024-12-08T15:36:13.387Z root ERROR TaskList: at java.base/java.nio.channels.Channels$2.write(Channels.java:236) -2024-12-08T15:36:13.387Z root ERROR TaskList: ... 16 more -2024-12-08T15:36:13.387Z root ERROR TaskList: - -editor message: - -Model loading in progress -NewPage04NewPlace12NewPlace63NewPlace11NewTransition3NewTransition8Red and Blue111 -2 -[GLSP-Server] Could not process message:ActionMessage [action=requestModel, clientId=tasklist-diagram_4] - -org.xml.sax.SAXParseExceptionpublicId: file:/mnt/c/Users/tim65/SHK-Projects/dineros/pnml-petri-net-editor/glsp-client/workspace/test2.pnml; systemId: file:/mnt/c/Users/tim65/SHK-Projects/dineros/pnml-petri-net-editor/glsp-client/workspace/test2.pnml; lineNumber: 1; columnNumber: 1; Premature end of file. -org.eclipse.emf.ecore.resource.impl.ResourceSetImpl$1DiagnosticWrappedException: org.xml.sax.SAXParseExceptionpublicId: file:/mnt/c/Users/tim65/SHK-Projects/dineros/pnml-petri-net-editor/glsp-client/workspace/test2.pnml; systemId: file:/mnt/c/Users/tim65/SHK-Projects/dineros/pnml-petri-net-editor/glsp-client/workspace/test2.pnml; lineNumber: 1; columnNumber: 1; Premature end of file. - at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.handleDemandLoadException(ResourceSetImpl.java:319) - at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLoadHelper(ResourceSetImpl.java:278) - at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.getResource(ResourceSetImpl.java:406) - at org.eclipse.glsp.server.emf.EMFSourceModelStorage.loadResource(EMFSourceModelStorage.java:90) - at org.eclipse.glsp.server.emf.EMFSourceModelStorage.loadResource(EMFSourceModelStorage.java:85) - at org.eclipse.glsp.server.emf.notation.EMFNotationSourceModelStorage.loadSemanticModel(EMFNotationSourceModelStorage.java:57) - at org.eclipse.glsp.example.javaemf.model.TaskListSourceModelStorage.doLoadSourceModel(TaskListSourceModelStorage.java:42) - at org.eclipse.glsp.server.emf.EMFSourceModelStorage.loadSourceModel(EMFSourceModelStorage.java:60) - at org.eclipse.glsp.server.features.core.model.RequestModelActionHandler.executeAction(RequestModelActionHandler.java:75) - at org.eclipse.glsp.server.features.core.model.RequestModelActionHandler.executeAction(RequestModelActionHandler.java:45) - at org.eclipse.glsp.server.actions.AbstractActionHandler.execute(AbstractActionHandler.java:53) - at org.eclipse.glsp.server.internal.actions.DefaultActionDispatcher.runAction(DefaultActionDispatcher.java:198) - at org.eclipse.glsp.server.internal.actions.DefaultActionDispatcher.handleAction(DefaultActionDispatcher.java:176) - at org.eclipse.glsp.example.javaemf.handler.MyActionDispatcher.handleAction(MyActionDispatcher.java:24) - at org.eclipse.glsp.server.internal.actions.DefaultActionDispatcher.handleNextAction(DefaultActionDispatcher.java:163) - at org.eclipse.glsp.server.internal.actions.DefaultActionDispatcher.runThread(DefaultActionDispatcher.java:149) - at java.base/java.lang.Thread.run(Thread.java:1583) -Caused by: org.xml.sax.SAXParseExceptionpublicId: file:/mnt/c/Users/tim65/SHK-Projects/dineros/pnml-petri-net-editor/glsp-client/workspace/test2.pnml; systemId: file:/mnt/c/Users/tim65/SHK-Projects/dineros/pnml-petri-net-editor/glsp-client/workspace/test2.pnml; lineNumber: 1; columnNumber: 1; Premature end of file. - at java.xml/com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:204) - at java.xml/com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:178) - at java.xml/com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:400) - at java.xml/com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:327) - at java.xml/com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(XMLScanner.java:1465) - at java.xml/com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:1013) - at java.xml/com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:605) - at java.xml/com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:542) - at java.xml/com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:889) - at java.xml/com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:825) - at java.xml/com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141) - at java.xml/com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1224) - at java.xml/com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:637) - at java.xml/com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.parse(SAXParserImpl.java:326) - at org.eclipse.emf.ecore.xmi.impl.XMLLoadImpl.load(XMLLoadImpl.java:175) - at org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl.doLoad(XMLResourceImpl.java:261) - at org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(ResourceImpl.java:1563) - at org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(ResourceImpl.java:1342) - at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLoad(ResourceSetImpl.java:259) - at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLoadHelper(ResourceSetImpl.java:274) - ... 15 more - - - - -Model loading in progress -global -NewPage0ServiceYChannel1requestresponserequestresponseTopicXpublisher10subscriber10NodePageA2Pa10Pa20Pa30Pa4Ta1Red AND BlueTa2Blue1111NodePageC0Pc10Pc2ServerF0Pf10Pf30Pf2Tf1Tf21111NodePageB0Pb10Pb2Tb111NodePageD0Pd10 -Pd2 -[GLSP-Server] Could not process message:ActionMessage [action=requestModel, clientId=tasklist-diagram_8] - -org.xml.sax.SAXParseExceptionpublicId: file:/mnt/c/Users/tim65/SHK-Projects/dineros/pnml-petri-net-editor/glsp-client/workspace/test.pnml; systemId: file:/mnt/c/Users/tim65/SHK-Projects/dineros/pnml-petri-net-editor/glsp-client/workspace/test.pnml; lineNumber: 1; columnNumber: 1; Premature end of file. -org.eclipse.emf.ecore.resource.impl.ResourceSetImpl$1DiagnosticWrappedException: org.xml.sax.SAXParseExceptionpublicId: file:/mnt/c/Users/tim65/SHK-Projects/dineros/pnml-petri-net-editor/glsp-client/workspace/test.pnml; systemId: file:/mnt/c/Users/tim65/SHK-Projects/dineros/pnml-petri-net-editor/glsp-client/workspace/test.pnml; lineNumber: 1; columnNumber: 1; Premature end of file. - at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.handleDemandLoadException(ResourceSetImpl.java:319) - at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLoadHelper(ResourceSetImpl.java:278) - at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.getResource(ResourceSetImpl.java:406) - at org.eclipse.glsp.server.emf.EMFSourceModelStorage.loadResource(EMFSourceModelStorage.java:90) - at org.eclipse.glsp.server.emf.EMFSourceModelStorage.loadResource(EMFSourceModelStorage.java:85) - at org.eclipse.glsp.server.emf.notation.EMFNotationSourceModelStorage.loadSemanticModel(EMFNotationSourceModelStorage.java:57) - at org.eclipse.glsp.example.javaemf.model.TaskListSourceModelStorage.doLoadSourceModel(TaskListSourceModelStorage.java:42) - at org.eclipse.glsp.server.emf.EMFSourceModelStorage.loadSourceModel(EMFSourceModelStorage.java:60) - at org.eclipse.glsp.server.features.core.model.RequestModelActionHandler.executeAction(RequestModelActionHandler.java:75) - at org.eclipse.glsp.server.features.core.model.RequestModelActionHandler.executeAction(RequestModelActionHandler.java:45) - at org.eclipse.glsp.server.actions.AbstractActionHandler.execute(AbstractActionHandler.java:53) - at org.eclipse.glsp.server.internal.actions.DefaultActionDispatcher.runAction(DefaultActionDispatcher.java:198) - at org.eclipse.glsp.server.internal.actions.DefaultActionDispatcher.handleAction(DefaultActionDispatcher.java:176) - at org.eclipse.glsp.example.javaemf.handler.MyActionDispatcher.handleAction(MyActionDispatcher.java:24) - at org.eclipse.glsp.server.internal.actions.DefaultActionDispatcher.handleNextAction(DefaultActionDispatcher.java:163) - at org.eclipse.glsp.server.internal.actions.DefaultActionDispatcher.runThread(DefaultActionDispatcher.java:149) - at java.base/java.lang.Thread.run(Thread.java:1583) -Caused by: org.xml.sax.SAXParseExceptionpublicId: file:/mnt/c/Users/tim65/SHK-Projects/dineros/pnml-petri-net-editor/glsp-client/workspace/test.pnml; systemId: file:/mnt/c/Users/tim65/SHK-Projects/dineros/pnml-petri-net-editor/glsp-client/workspace/test.pnml; lineNumber: 1; columnNumber: 1; Premature end of file. - at java.xml/com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:204) - at java.xml/com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:178) - at java.xml/com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:400) - at java.xml/com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:327) - at java.xml/com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(XMLScanner.java:1465) - at java.xml/com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:1013) - at java.xml/com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:605) - at java.xml/com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:542) - at java.xml/com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:889) - at java.xml/com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:825) - at java.xml/com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141) - at java.xml/com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1224) - at java.xml/com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:637) - at java.xml/com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.parse(SAXParserImpl.java:326) - at org.eclipse.emf.ecore.xmi.impl.XMLLoadImpl.load(XMLLoadImpl.java:175) - at org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl.doLoad(XMLResourceImpl.java:261) - at org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(ResourceImpl.java:1563) - at org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(ResourceImpl.java:1342) - at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLoad(ResourceSetImpl.java:259) - at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLoadHelper(ResourceSetImpl.java:274) - ... 15 more - - -================================================================================================================================================= - -Error on new File creation (test.pnml): - - -Model loading in progress -[GLSP-Server] Could not process message:ActionMessage [action=requestModel, clientId=tasklist-diagram_0] - -org.xml.sax.SAXParseExceptionpublicId: file:/mnt/c/Users/tim65/SHK-Projects/dineros/pnml-petri-net-editor/glsp-client/workspace/test.pnml; systemId: file:/mnt/c/Users/tim65/SHK-Projects/dineros/pnml-petri-net-editor/glsp-client/workspace/test.pnml; lineNumber: 1; columnNumber: 1; Premature end of file. -org.eclipse.emf.ecore.resource.impl.ResourceSetImpl$1DiagnosticWrappedException: org.xml.sax.SAXParseExceptionpublicId: file:/mnt/c/Users/tim65/SHK-Projects/dineros/pnml-petri-net-editor/glsp-client/workspace/test.pnml; systemId: file:/mnt/c/Users/tim65/SHK-Projects/dineros/pnml-petri-net-editor/glsp-client/workspace/test.pnml; lineNumber: 1; columnNumber: 1; Premature end of file. - at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.handleDemandLoadException(ResourceSetImpl.java:319) - at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLoadHelper(ResourceSetImpl.java:278) - at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.getResource(ResourceSetImpl.java:406) <-- https://github.com/eclipse-emf/org.eclipse.emf/blob/master/plugins/org.eclipse.emf.gwt.ecore/src/org/eclipse/emf/ecore/resource/impl/ResourceSetImpl.java Zeile 385 - at org.eclipse.glsp.server.emf.EMFSourceModelStorage.loadResource(EMFSourceModelStorage.java:90) - at org.eclipse.glsp.server.emf.EMFSourceModelStorage.loadResource(EMFSourceModelStorage.java:85) - at org.eclipse.glsp.server.emf.notation.EMFNotationSourceModelStorage.loadSemanticModel(EMFNotationSourceModelStorage.java:57) - - A - | (stack trace upwards) - - at org.eclipse.glsp.example.javaemf.model.TaskListSourceModelStorage.doLoadSourceModel(TaskListSourceModelStorage.java:47) <-- pnml-petri-net-editor/glsp-server/src/main/java/org/eclipse/glsp/example/javaemf/model/TaskListSourceModelStorage.java - - A - | - - at org.eclipse.glsp.server.emf.EMFSourceModelStorage.loadSourceModel(EMFSourceModelStorage.java:60) - at org.eclipse.glsp.server.features.core.model.RequestModelActionHandler.executeAction(RequestModelActionHandler.java:75) - at org.eclipse.glsp.server.features.core.model.RequestModelActionHandler.executeAction(RequestModelActionHandler.java:45) - at org.eclipse.glsp.server.actions.AbstractActionHandler.execute(AbstractActionHandler.java:53) - at org.eclipse.glsp.server.internal.actions.DefaultActionDispatcher.runAction(DefaultActionDispatcher.java:198) - at org.eclipse.glsp.server.internal.actions.DefaultActionDispatcher.handleAction(DefaultActionDispatcher.java:176) - at org.eclipse.glsp.example.javaemf.handler.MyActionDispatcher.handleAction(MyActionDispatcher.java:24) - at org.eclipse.glsp.server.internal.actions.DefaultActionDispatcher.handleNextAction(DefaultActionDispatcher.java:163) - at org.eclipse.glsp.server.internal.actions.DefaultActionDispatcher.runThread(DefaultActionDispatcher.java:149) - at java.base/java.lang.Thread.run(Thread.java:1583) -Caused by: org.xml.sax.SAXParseExceptionpublicId: file:/mnt/c/Users/tim65/SHK-Projects/dineros/pnml-petri-net-editor/glsp-client/workspace/test.pnml; systemId: file:/mnt/c/Users/tim65/SHK-Projects/dineros/pnml-petri-net-editor/glsp-client/workspace/test.pnml; lineNumber: 1; columnNumber: 1; Premature end of file. - at java.xml/com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:204) - at java.xml/com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:178) - at java.xml/com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:400) - at java.xml/com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:327) - at java.xml/com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(XMLScanner.java:1465) - at java.xml/com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:1013) - at java.xml/com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:605) - at java.xml/com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:542) - at java.xml/com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:889) - at java.xml/com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:825) - at java.xml/com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141) - at java.xml/com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1224) - at java.xml/com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:637) - at java.xml/com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.parse(SAXParserImpl.java:326) - at org.eclipse.emf.ecore.xmi.impl.XMLLoadImpl.load(XMLLoadImpl.java:175) - at org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl.doLoad(XMLResourceImpl.java:261) - at org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(ResourceImpl.java:1563) - at org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(ResourceImpl.java:1342) - at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLoad(ResourceSetImpl.java:259) - at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLoadHelper(ResourceSetImpl.java:274) - ... 15 more - - -Error on opening sorting-wf-synced-safe-sensor-grpn-sig.pnml - -[GLSP-Server] Could not process message:ActionMessage [action=requestModel, clientId=tasklist-diagram_3] - -Cannot invoke "org.pnml.emf.ptnet.Node.getId()" because the return value of "org.pnml.emf.ptnet.Arc.getSource()" is null -java.lang.NullPointerException: Cannot invoke "org.pnml.emf.ptnet.Node.getId()" because the return value of "org.pnml.emf.ptnet.Arc.getSource()" is null - at org.eclipse.glsp.example.javaemf.model.TaskListGModelFactory.createArc(TaskListGModelFactory.java:164) - at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197) - at java.base/java.util.AbstractList$RandomAccessSpliterator.forEachRemaining(AbstractList.java:722) - at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509) - at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499) - at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151) - at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174) - at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) - at java.base/java.util.stream.ReferencePipeline.forEachOrdered(ReferencePipeline.java:601) - at org.eclipse.glsp.example.javaemf.model.TaskListGModelFactory.populatePage(TaskListGModelFactory.java:266) - at org.eclipse.glsp.example.javaemf.model.TaskListGModelFactory.createPage(TaskListGModelFactory.java:215) - at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197) - at java.base/java.util.AbstractList$RandomAccessSpliterator.forEachRemaining(AbstractList.java:722) - at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509) - at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499) - at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151) - at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174) - at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) - at java.base/java.util.stream.ReferencePipeline.forEachOrdered(ReferencePipeline.java:601) - at org.eclipse.glsp.example.javaemf.model.TaskListGModelFactory.populatePage(TaskListGModelFactory.java:270) - at org.eclipse.glsp.example.javaemf.model.TaskListGModelFactory.createPage(TaskListGModelFactory.java:215) - at org.eclipse.glsp.example.javaemf.model.TaskListGModelFactory.lambda$fillRootElement$0(TaskListGModelFactory.java:57) - at java.base/java.util.AbstractList$RandomAccessSpliterator.forEachRemaining(AbstractList.java:722) - at java.base/java.util.stream.ReferencePipeline$Head.forEachOrdered(ReferencePipeline.java:772) - at org.eclipse.glsp.example.javaemf.model.TaskListGModelFactory.fillRootElement(TaskListGModelFactory.java:56) - at org.eclipse.glsp.example.javaemf.model.TaskListGModelFactory.fillRootElement(TaskListGModelFactory.java:69) - at org.eclipse.glsp.server.emf.EMFGModelFactory.createGModel(EMFGModelFactory.java:41) - at org.eclipse.glsp.server.features.core.model.ModelSubmissionHandler.submitModel(ModelSubmissionHandler.java:107) - at org.eclipse.glsp.server.features.core.model.ModelSubmissionHandler.submitModel(ModelSubmissionHandler.java:122) - at org.eclipse.glsp.server.features.core.model.ModelSubmissionHandler.submitInitialModel(ModelSubmissionHandler.java:91) - at org.eclipse.glsp.server.features.core.model.RequestModelActionHandler.executeAction(RequestModelActionHandler.java:83) - at org.eclipse.glsp.server.features.core.model.RequestModelActionHandler.executeAction(RequestModelActionHandler.java:45) - at org.eclipse.glsp.server.actions.AbstractActionHandler.execute(AbstractActionHandler.java:53) - at org.eclipse.glsp.server.internal.actions.DefaultActionDispatcher.runAction(DefaultActionDispatcher.java:198) - at org.eclipse.glsp.server.internal.actions.DefaultActionDispatcher.handleAction(DefaultActionDispatcher.java:176) - at org.eclipse.glsp.example.javaemf.handler.MyActionDispatcher.handleAction(MyActionDispatcher.java:24) - at org.eclipse.glsp.server.internal.actions.DefaultActionDispatcher.handleNextAction(DefaultActionDispatcher.java:163) - at org.eclipse.glsp.server.internal.actions.DefaultActionDispatcher.runThread(DefaultActionDispatcher.java:149) - at java.base/java.lang.Thread.run(Thread.java:1583) - - -opening DiNeROSNet.pnml and base.html in new tabs seems to work fine - the issue likely stems from errors in the .xml files - - - - -[GLSP-Server] Could not process message:ActionMessage [action=requestModel, clientId=tasklist-diagram_8] - -org.xml.sax.SAXParseExceptionpublicId: file:/mnt/c/Users/tim65/SHK-Projects/dineros/pnml-petri-net-editor/glsp-client/workspace/Untitled.pnml; systemId: file:/mnt/c/Users/tim65/SHK-Projects/dineros/pnml-petri-net-editor/glsp-client/workspace/Untitled.pnml; lineNumber: 1; columnNumber: 1; Premature end of file. -org.eclipse.emf.ecore.resource.impl.ResourceSetImpl$1DiagnosticWrappedException: org.xml.sax.SAXParseExceptionpublicId: file:/mnt/c/Users/tim65/SHK-Projects/dineros/pnml-petri-net-editor/glsp-client/workspace/Untitled.pnml; systemId: file:/mnt/c/Users/tim65/SHK-Projects/dineros/pnml-petri-net-editor/glsp-client/workspace/Untitled.pnml; lineNumber: 1; columnNumber: 1; Premature end of file. - at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.handleDemandLoadException(ResourceSetImpl.java:319) - at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLoadHelper(ResourceSetImpl.java:278) - at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.getResource(ResourceSetImpl.java:406) - at org.eclipse.glsp.server.emf.EMFSourceModelStorage.loadResource(EMFSourceModelStorage.java:90) - at org.eclipse.glsp.server.emf.EMFSourceModelStorage.loadResource(EMFSourceModelStorage.java:85) - at org.eclipse.glsp.server.emf.notation.EMFNotationSourceModelStorage.loadSemanticModel(EMFNotationSourceModelStorage.java:57) - at org.eclipse.glsp.example.javaemf.model.TaskListSourceModelStorage.doLoadSourceModel(TaskListSourceModelStorage.java:51) - at org.eclipse.glsp.example.javaemf.model.TaskListSourceModelStorage.loadSourceModel(TaskListSourceModelStorage.java:76) - at org.eclipse.glsp.server.features.core.model.RequestModelActionHandler.executeAction(RequestModelActionHandler.java:75) - at org.eclipse.glsp.server.features.core.model.RequestModelActionHandler.executeAction(RequestModelActionHandler.java:45) - at org.eclipse.glsp.server.actions.AbstractActionHandler.execute(AbstractActionHandler.java:53) - at org.eclipse.glsp.server.internal.actions.DefaultActionDispatcher.runAction(DefaultActionDispatcher.java:198) - at org.eclipse.glsp.server.internal.actions.DefaultActionDispatcher.handleAction(DefaultActionDispatcher.java:176) - at org.eclipse.glsp.example.javaemf.handler.MyActionDispatcher.handleAction(MyActionDispatcher.java:24) - at org.eclipse.glsp.server.internal.actions.DefaultActionDispatcher.handleNextAction(DefaultActionDispatcher.java:163) - at org.eclipse.glsp.server.internal.actions.DefaultActionDispatcher.runThread(DefaultActionDispatcher.java:149) - at java.base/java.lang.Thread.run(Thread.java:1583) -Caused by: org.xml.sax.SAXParseExceptionpublicId: file:/mnt/c/Users/tim65/SHK-Projects/dineros/pnml-petri-net-editor/glsp-client/workspace/Untitled.pnml; systemId: file:/mnt/c/Users/tim65/SHK-Projects/dineros/pnml-petri-net-editor/glsp-client/workspace/Untitled.pnml; lineNumber: 1; columnNumber: 1; Premature end of file. - at java.xml/com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:204) - at java.xml/com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:178) - at java.xml/com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:400) - at java.xml/com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:327) - at java.xml/com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(XMLScanner.java:1465) - at java.xml/com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:1013) - at java.xml/com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:605) - at java.xml/com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:542) - at java.xml/com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:889) - at java.xml/com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:825) - at java.xml/com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141) - at java.xml/com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1224) - at java.xml/com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:637) - at java.xml/com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.parse(SAXParserImpl.java:326) - at org.eclipse.emf.ecore.xmi.impl.XMLLoadImpl.load(XMLLoadImpl.java:175) - at org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl.doLoad(XMLResourceImpl.java:261) - at org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(ResourceImpl.java:1563) - at org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(ResourceImpl.java:1342) - at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLoad(ResourceSetImpl.java:259) - at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLoadHelper(ResourceSetImpl.java:274) - ... 15 more +=========================================================================================================================== +I will delete all error dcumentation for resolved issues, since they will still be on git and clutter the file otherwise +=========================================================================================================================== pageNode implementation