question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

BPMN file cannot be opened with BPMN Editor

See original GitHub issue

Issue Type: Bug

In the explorer view, click a file with .bpmn extension. The editor show an error message “Editor content has not been set.”

Extension version: 0.15.0 VS Code version: Code 1.62.3 (ccbaa2d27e38e5afa3e5c21c1c7bef4657064247, 2021-11-17T07:59:13.865Z) OS version: Darwin x64 19.6.0 Restricted Mode: No

System Info
Item Value
CPUs Intel® Core™ i5-7360U CPU @ 2.30GHz (4 x 2300)
GPU Status 2d_canvas: enabled
gpu_compositing: enabled
metal: disabled_off
multiple_raster_threads: enabled_on
oop_rasterization: enabled
opengl: enabled_on
rasterization: enabled
skia_renderer: disabled_off_ok
video_decode: enabled
webgl: enabled
webgl2: enabled
Load (avg) 4, 4, 4
Memory (System) 16.00GB (0.24GB free)
Process Argv –crash-reporter-id 08e96890-6377-42cd-a256-7108fc8a88b0
Screen Reader no
VM 0%
A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
pythontb:30283811
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
vscoreces:30384385
pythondataviewer:30285071
vscod805:30301674
pythonvspyt200:30340761
binariesv615:30325510
bridge0708:30335490
dockerwalkthru:30377721
bridge0723:30353136
pythonrunftest32:30373476
pythonf5test824:30373475
javagetstartedt:30391933
pythonvspyt187:30373474
vsqsis300:30402085
vsaa593cf:30376535
vssld246cf:30401891
vscop804cf:30404767
vs360:30404995

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:10 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
tiagobentocommented, Jan 26, 2022

@sKniffin Can you please try again with 0.16.0?

1reaction
cheanweicommented, Dec 3, 2021

Here is one the bpmn source file content.

<?xml version="1.0" encoding="UTF-8"?>
<definitions xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:activiti="http://activiti.org/bpmn" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:omgdc="http://www.omg.org/spec/DD/20100524/DC" xmlns:omgdi="http://www.omg.org/spec/DD/20100524/DI" typeLanguage="http://www.w3.org/2001/XMLSchema" expressionLanguage="http://www.w3.org/1999/XPath" targetNamespace="customer_case">
  <process id="customer_case_closing" name="Customer Case Closing" isExecutable="true">

    <startEvent id="customer_case_closing_start" name="Start"></startEvent>
    <serviceTask id="customer_case_closing_service_note_closed" name="Add note: Case Closed" activiti:expression="${caseManagementProcessService.generateSystemActionNote(execution,&quot;Case closed&quot;)}"></serviceTask>
    <sequenceFlow id="flow1" sourceRef="customer_case_closing_start" targetRef="customer_case_closing_service_note_closed"></sequenceFlow>
    <serviceTask id="customer_case_closing_service_status_closed" name="Update status: Closed" activiti:expression="${caseManagementProcessService.updateStatus(execution,&quot;closed&quot;)}"></serviceTask>
    <sequenceFlow id="flow2" sourceRef="customer_case_closing_service_note_closed" targetRef="customer_case_closing_service_status_closed"></sequenceFlow>
    <sequenceFlow id="flow3" sourceRef="customer_case_closing_service_status_closed" targetRef="customer_case_closing_end"></sequenceFlow>
    <endEvent id="customer_case_closing_end" name="End">
      <terminateEventDefinition></terminateEventDefinition>
    </endEvent>
  </process>
  <bpmndi:BPMNDiagram id="BPMNDiagram_customer_case_closing">
    <bpmndi:BPMNPlane bpmnElement="customer_case_closing" id="BPMNPlane_customer_case_closing">
      <bpmndi:BPMNShape bpmnElement="customer_case_closing_start" id="BPMNShape_customer_case_closing_start">
        <omgdc:Bounds height="35.0" width="35.0" x="60.0" y="190.0"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="customer_case_closing_service_note_closed" id="BPMNShape_customer_case_closing_service_note_closed">
        <omgdc:Bounds height="75.0" width="105.0" x="151.0" y="170.0"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="customer_case_closing_service_status_closed" id="BPMNShape_customer_case_closing_service_status_closed">
        <omgdc:Bounds height="75.0" width="105.0" x="301.0" y="170.0"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="customer_case_closing_end" id="BPMNShape_customer_case_closing_end">
        <omgdc:Bounds height="35.0" width="35.0" x="450.0" y="190.0"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge bpmnElement="flow1" id="BPMNEdge_flow1">
        <omgdi:waypoint x="95.0" y="207.0"></omgdi:waypoint>
        <omgdi:waypoint x="151.0" y="207.0"></omgdi:waypoint>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="flow2" id="BPMNEdge_flow2">
        <omgdi:waypoint x="256.0" y="207.0"></omgdi:waypoint>
        <omgdi:waypoint x="301.0" y="207.0"></omgdi:waypoint>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="flow3" id="BPMNEdge_flow3">
        <omgdi:waypoint x="406.0" y="207.0"></omgdi:waypoint>
        <omgdi:waypoint x="450.0" y="207.0"></omgdi:waypoint>
      </bpmndi:BPMNEdge>
    </bpmndi:BPMNPlane>
  </bpmndi:BPMNDiagram>
</definitions>
Read more comments on GitHub >

github_iconTop Results From Across the Web

Opening a BPMN diagram gives the "Could not open the ... - IBM
Symptom. Double-click the .bpmx model from the Project Explorer in order to open the BPMN diagram. The Could not open the editor: An ......
Read more >
Can not open process.bpmn - Modeler - Camunda Forum
I create a Maven Project on Eclipse and can not open process.bpmn in src/main.resources how can I model BPMN processes inside Eclipse?
Read more >
error opening modeler · Issue #76 · bpmn-io/vs-code ... - GitHub
Describe the Bug. cannot open the modeler in vscode. Steps to Reproduce. click ctrl + shift + p to open command pallete; select...
Read more >
Can't open file from local disk - Misc - Forum - bpmn.io
Hi, when trying to open a file from my local disk I get the following message: [image] I can open the file locally...
Read more >
What is it? How to open a BPMN file? - FILExt
If you cannot open your BPMN file correctly, try to right-click or long-press the file. Then click "Open with" and choose an application....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found