cancel
Showing results forΒ 
Search instead forΒ 
Did you mean:Β 

SAP Business Application Studio Workflow editor not opening

former_member61388
Participant

Hello, I used to develop Workflows using the Web Ide, now I have to use Business Application Studio to work with Cloud Foundry.

I created, compiled and deployed successfully some workflows, but when I double click on a worklow very often happens that it is opened in text editor and not in the visual editor.
Even clicking with the right button shows me only the text editor option.
When this happens I try to reload the page, to change workspace, to wait even some minutes, to stop the instance and restart it.

But sometimes it is not enogh, this morning is 2 hours that I try, but the editor doesn't appear 😞

Accepted Solutions (1)

Accepted Solutions (1)

hofit_koren
Explorer
0 Kudos

Hi,

Can you please open a BCP ticket to component CA-BAS-WEX?

Please add all the relevant information- dev-space id, link to BAS, console errors if exists.

Thanks,

Hofit

Answers (4)

Answers (4)

SamStuttard
Explorer

Just an update for some people if they are still struggling with this issue as I found the reason why my workflow editor was not working. Certain browser extensions can interfere with the loading of the Workflow Editor in Business Application Studio. So if you are continually having trouble even after restarting your Dev Space try turning off your browser extensions.

former_member61388
Participant

Thank you but in my case this is not the point, I even tried with different browsers and in incognito mode with no success.

I opened a ticket, SAP replied asking some trace files, I'm still waiting for an answer.

former_member725061
Discoverer

We have had this same issue occur frequently in SAP Business Application Studio with calculation views only being available in the Code Editor (e.g., text) with no option for the Graphic Calculation View Editor. In our case, the notification message that the full studio functionality was loaded and available upon entering a Dev Space would not appear, and only the Code Editor was available.

We have been able to resolve the issue by relaunching SAP Business Application Studio, then stopping and restarting the Dev Space. After restarting, when we launch the Dev Space it loads with the graphic editors enabled.

binlathip
Explorer

I try to open *.workflow via Chrome and Edge but it can only open via Code Editor. But when I open it via Firfox it can open properly via Workflow Editor.

Edge

Firefox

0 Kudos

It takes few seconds for custom editors to register after loading the IDE or after reconnect.

2 hours of unavailability doesn't make sense.

Do you have many reconnects? you can sport them by the IDE moving to offline mode with yellow stripe at the bottom.

Next time it is unavailable for long time could you check the browser console for errors?

former_member61388
Participant
0 Kudos

It seems to me that sometimes the plugin is not loaded, or load in a too lazy way, and if I double click the WF it then never loads it.
This is the console log I get when I wait some seconds and then click the WF:

Uncaught Error: There is no document for breakpointinput:vs.editor.ICodeEditor%3A2


Error: There is no document for breakpointinput:vs.editor.ICodeEditor%3A2
    at LinkProviderAdapter.provideLinks (theia/node_modules/@theia/plugin-ext/lib/plugin/languages/link-provider.js:43)
    at theia/node_modules/@theia/plugin-ext/lib/plugin/languages.js:333
    at LanguagesExtImpl.<anonymous> (theia/node_modules/@theia/plugin-ext/lib/plugin/languages.js:155)
    at step (theia/node_modules/@theia/plugin-ext/lib/plugin/languages.js:48)
    at Object.next (theia/node_modules/@theia/plugin-ext/lib/plugin/languages.js:29)
    at theia/node_modules/@theia/plugin-ext/lib/plugin/languages.js:23
    at new Promise (<anonymous>)
    at __awaiter (theia/node_modules/@theia/plugin-ext/lib/plugin/languages.js:19)
    at LanguagesExtImpl.withAdapter (theia/node_modules/@theia/plugin-ext/lib/plugin/languages.js:147)
    at LanguagesExtImpl.$provideDocumentLinks (theia/node_modules/@theia/plugin-ext/lib/plugin/languages.js:333)
    at RPCProtocolImpl.doInvokeHandler (theia/node_modules/@theia/plugin-ext/lib/common/rpc-protocol.js:291)
    at RPCProtocolImpl.invokeHandler (theia/node_modules/@theia/plugin-ext/lib/common/rpc-protocol.js:276)
    at RPCProtocolImpl.receiveRequest (theia/node_modules/@theia/plugin-ext/lib/common/rpc-protocol.js:240)
    at RPCProtocolImpl.receiveOneMessage (theia/node_modules/@theia/plugin-ext/lib/common/rpc-protocol.js:209)
    at theia/node_modules/@theia/plugin-ext/lib/common/rpc-protocol.js:101
    at theia/node_modules/@theia/plugin-ext/lib/common/rpc-protocol.js:316
    at theia/node_modules/@theia/core/lib/common/event.js:176
    at CallbackList.invoke (theia/node_modules/@theia/core/lib/common/event.js:191)
    at Emitter.fire (theia/node_modules/@theia/core/lib/common/event.js:318)
    at theia/node_modules/@theia/plugin-ext/lib/hosted/node/plugin-host.js:148
    at step (theia/node_modules/@theia/plugin-ext/lib/hosted/node/plugin-host.js:48)
    at Object.next (theia/node_modules/@theia/plugin-ext/lib/hosted/node/plugin-host.js:29)
    at theia/node_modules/@theia/plugin-ext/lib/hosted/node/plugin-host.js:23
    at new Promise (<anonymous>)
    at __awaiter (theia/node_modules/@theia/plugin-ext/lib/hosted/node/plugin-host.js:19)
    at process.<anonymous> (theia/node_modules/@theia/plugin-ext/lib/hosted/node/plugin-host.js:114)
    at process.emit (events.js:315)
    at emit (internal/child_process.js:876)
    at processTicksAndRejections (internal/process/task_queues.js:85)
    at editor.main.js:31
(anonymous) @ editor.main.js:31
setTimeout (async)
unexpectedErrorHandler @ editor.main.js:31
e.onUnexpectedExternalError @ editor.main.js:32
t.onUnexpectedExternalError @ editor.main.js:32
Promise.then (async)
(anonymous) @ editor.main.js:1426
m @ editor.main.js:1425
(anonymous) @ editor.main.js:2199
d @ editor.main.js:153
(anonymous) @ editor.main.js:2199
(anonymous) @ editor.main.js:34
(anonymous) @ editor.main.js:34
(anonymous) @ editor.main.js:33
a @ editor.main.js:33
e.beginCompute @ editor.main.js:2199
e.onModelChanged @ editor.main.js:2199
(anonymous) @ editor.main.js:2198
e.fire @ editor.main.js:116
t @ editor.main.js:2518
(anonymous) @ editor.main.js:2527
M @ editor.main.js:2526
T @ editor.main.js:2527
t.create @ monaco-editor.js:177
t @ monaco-editor.js:166
(anonymous) @ monaco-editor-provider.js:644
(anonymous) @ monaco-editor-provider.js:71
(anonymous) @ monaco-editor-provider.js:52
a @ monaco-editor-provider.js:43
Promise.then (async)
c @ monaco-editor-provider.js:45
(anonymous) @ monaco-editor-provider.js:46
s @ monaco-editor-provider.js:42
(anonymous) @ monaco-editor-provider.js:624
(anonymous) @ monaco-editor-provider.js:240
(anonymous) @ monaco-editor-provider.js:71
(anonymous) @ monaco-editor-provider.js:52
(anonymous) @ monaco-editor-provider.js:46
s @ monaco-editor-provider.js:42
e.doCreateEditor @ monaco-editor-provider.js:225
(anonymous) @ monaco-editor-provider.js:624
(anonymous) @ monaco-editor-provider.js:71
(anonymous) @ monaco-editor-provider.js:52
(anonymous) @ monaco-editor-provider.js:46
s @ monaco-editor-provider.js:42
e.createInline @ monaco-editor-provider.js:621
e.createInput @ debug-breakpoint-widget.tsx:184
(anonymous) @ debug-breakpoint-widget.tsx:86
(anonymous) @ bundle.js:28
(anonymous) @ bundle.js:28
(anonymous) @ bundle.js:28
a @ bundle.js:28
e.init @ bundle.js:28
(anonymous) @ instantiation.js:27
t.resolveInstance @ instantiation.js:47
(anonymous) @ resolver.js:72
a @ instantiation.js:11
t.resolveInstance @ instantiation.js:42
(anonymous) @ resolver.js:72
t.resolve @ resolver.js:96
(anonymous) @ container.js:319
e._get @ container.js:310
e.get @ container.js:230
e.createModel @ debug-editor-model.ts:47
(anonymous) @ debug-frontend-module.ts:74
e.push @ debug-editor-service.ts:66
(anonymous) @ debug-editor-service.ts:51
(anonymous) @ event.ts:117
e.invoke @ event.ts:125
e.fire @ event.ts:267
(anonymous) @ widget-open-handler.ts:59
(anonymous) @ event.ts:117
e.invoke @ event.ts:125
e.fire @ event.ts:267
(anonymous) @ widget-manager.ts:185
(anonymous) @ bundle.js:1
(anonymous) @ bundle.js:1
a @ bundle.js:1
Promise.then (async)
c @ bundle.js:1
a @ bundle.js:1
Promise.then (async)
c @ bundle.js:1
(anonymous) @ bundle.js:1
o @ bundle.js:1
e.getOrCreateWidget @ bundle.js:1
e.getOrCreateWidget @ widget-open-handler.ts:129
(anonymous) @ widget-open-handler.ts:80
(anonymous) @ bundle.js:20
(anonymous) @ bundle.js:20
(anonymous) @ bundle.js:20
a @ bundle.js:20
e.open @ bundle.js:20
(anonymous) @ editor-manager.ts:140
(anonymous) @ bundle.js:8
(anonymous) @ bundle.js:8
(anonymous) @ bundle.js:8
s @ bundle.js:8
t.open @ bundle.js:8
(anonymous) @ opener-service.ts:82
(anonymous) @ bundle.js:1
(anonymous) @ bundle.js:1
a @ bundle.js:1
Promise.then (async)
c @ bundle.js:1
(anonymous) @ bundle.js:1
a @ bundle.js:1
t.open @ bundle.js:1
t.previewNode @ navigator-model.ts:97
n.handleClickEvent @ navigator-widget.tsx:219
onClick @ tree-widget.tsx:873
s @ react-dom.production.min.js:14
f @ react-dom.production.min.js:14
(anonymous) @ react-dom.production.min.js:14
v @ react-dom.production.min.js:15
at @ react-dom.production.min.js:52
rt @ react-dom.production.min.js:51
st @ react-dom.production.min.js:52
ft @ react-dom.production.min.js:56
j @ react-dom.production.min.js:287
G @ react-dom.production.min.js:19
Xt @ react-dom.production.min.js:70
Zt @ react-dom.production.min.js:69
t.unstable_runWithPriority @ scheduler.production.min.js:19
Yr @ react-dom.production.min.js:122
P @ react-dom.production.min.js:287
$t @ react-dom.production.min.js:68
Show 45 more frames

0 Kudos

This error is unrelated to your issue.

Is this the console log you get when you face the problem you described above or on regular run?