cancel
Showing results for 
Search instead for 
Did you mean: 

Termination Message sent Error

kgaurav2k14
Participant
0 Kudos

Hi Friends,

I am getting a termination error while processing my application in Design Studio. There are no fixed steps for reproducing the error. I have couple of buttons, when I click randomly on them to bring data into the application, all of a sudden I get this error. Screenshot is attached for your reference.

Analysis: I can see "On Result Set" in the error text. In the application settings, I enabled the display messages settings to show "Error" Messages.

I see an error showing "Second Attempt to execute event handler" shown below.I have some codes to be executed on resultset changed event of the datasource DS_2. Earlier, I had set the display messages settings to "None", so was not getting any error message and application was behaving properly but I believe there is a limit of system accepting this error and after certain number, it throws this termnation error.

I searched in SCN, it says it was a bug which is resolved in DS1.2 but I am still getting this error. Anything still missing here?

SAP Design Studio - 1.6

Backend -  SAP BW(BEX Queries)

Thanks,

Gaurav

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Guarav,

Looks like your script may have some function call or a call to an event of some other component in the On Result Set change event of DS_2 that is in fact reloading DS_2. Maybe because of that one statement, application is entering an infinite loop and so is terminating to avoid it.

Please check your script once, we have had such instances and we could rectify it by changing the script.

Regards,

Swapnil Koti

kgaurav2k14
Participant
0 Kudos

Hi Swapnil,

Can you please make me understand that when is On result Set change event is triggered. May be if I understand this concept, I would be able to troubleshoot myself.

Also, I checked the DS_2, on result set change event code, it has following code:

CALMON.setItems(DS_2.getMemberList("0CALMONTH", MemberPresentation.INTERNAL_KEY, MemberDisplay.TEXT, 20,"ALL"));

ORGUNIT.setItems(DS_2.getMemberList("0ORGUNIT", MemberPresentation.INTERNAL_KEY, MemberDisplay.TEXT, 20,"ALL"));

COMPCODE.setItems(DS_2.getMemberList("0COMP_CODE", MemberPresentation.INTERNAL_KEY, MemberDisplay.TEXT, 20,"ALL"));

Is there any issue which is logically incorrect and triggering a loop?

Apperciate your help.

Thanks,

Gaurav

Former Member
0 Kudos

Hi Gaurav,

The script for On Result Set Change event is executed whenever there is any change in the result set of a data source, like when you use setFilter, setVariableValue, etc.

Doesn't look like you have a script here that will trigger the infinite loop.

Do you have any of these listboxes bound to DS_2? If you have one, do you have any script in the On Select event of that component that may lead to change in the DS_2 result set?

Anything like DS_2.setVariableValue() or DS_2.setFilter()?

Regards,

Swapnil Koti

TammyPowlas
Active Contributor
0 Kudos

Gaurav - which SP of Design Studio are you using? Is this happening in local mode? Are you using the BI platform?

I also recommend looking at the Design Studio troubleshooting wiki Design Studio Troubleshooting - Business Intelligence (BusinessObjects) - SCN Wiki

kgaurav2k14
Participant
0 Kudos

Hello Tammy,

1. SP - Design Studio

2. Yes, Currenlty I am running this application in local mode, after the completion of my development I will export it to BI Platform.

Thanks,

Gaurav

TammyPowlas
Active Contributor
0 Kudos

There are several SAP notes about the termination issue.  Have you searched?  https://launchpad.support.sap.com/#/solutions/notes/?q=%252522error%252522%252520%252522design%25252...

If they do not relate to your issue, I recommend creating a SAP incident with SAP Support - see Supplying SAP with a Log and a Log ID - Business Intelligence (BusinessObjects) - SCN Wiki

kgaurav2k14
Participant
0 Kudos

Hi,

Just saw one more type of termination error.

Meanwhile, I have already raised this issue with SAP. Thought of adding this error to this incident, if someone gets any idea.

Thanks,

Gaurav