cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with developing SAP Lumira Extension

0 Kudos
Hello from germany,

i've just developed a new geo map extension (based on mapbox.js). In SAP Lurima (v1.3.1) it does not work. Pplease look @ the following screenshot:

In my hana trial instance (https://webide-s0015132552trial.dispatcher.hanatrial.ondemand.com/) in the Web IDE everything works fine:

The protocol file show’s the following error:


2016/09/10 11:39:35.556000|==|S| | 5240|  47| |||||||||||||||[com.sap.hilo.desktop.v2.V2Main$StreamGobbler]SAPLumira.exe output: [0910/113935:INFO:CONSOLE(6)] "Uncaught Visualisierungsinstanz nicht angelegt", source: http://127.0.0.1:49466/bicomponents/sap/viz/controls/aio/aio-bundle.js (6)


It would be very kind, if someone could help my by solving this problem.



Kind regards

Berndt Gernand

Senior Consultant

X-PERION CONSULTING AG

Nikolaus-Otto-Str. 1    •    D-22946 Trittau 

Mobil:+49 (0) 162 - 259 18 44
Tel:
+49 (0) 4154 - 98 95 90
Fax:
+49 (0) 4154 - 98 95 92
E-mail:
berndt.gernand@x-perion.de
Internet:
www.x-perion.de

Accepted Solutions (1)

Accepted Solutions (1)

0 Kudos

Hi Berndt,

Can you enable the debugging in Lumira and post a screenshot of the stack trace of the error?

You can enable debugging by adding these lines to .ini file located usually at C:\Program Files\SAP Lumira\Desktop:

-Dhilo.cef.cache.enabled=false

-Dhilo.cef.frame.debug=true

Regards,

Maaz

0 Kudos

Thanks Maaz for you very quick reply,

I added the two lines to the file "SAPLumira.ini", but i don't see any additional debug information. Is the any logfile wich i can analyze?

Regards,

Berndt

0 Kudos

I just found some logfiles under "C:\Users\X-perion\AppData\Local\Temp\sapvi\logs":

Here is the significant part from today, 17:25h:

2016/09/11 17:25:08.602000|==|S| | 1260|  49| |||||||||||||||[com.sap.hilo.desktop.v2.V2Main$StreamGobbler]SAPLumira.exe output: [0911/172508:INFO:CONSOLE(6)] "Uncaught Visualisierungsinstanz nicht angelegt", source: http://127.0.0.1:49466/bicomponents/sap/viz/controls/aio/aio-bundle.js (6)

2016/09/11 17:25:11.826000|>>|S| | 1260|  39| |||||||||||||||[com.sap.hilo.desktop.embeddedserver.httpservice.HTTPAdapter]Call to service 'getSuggestedDateTimeFormat' failed

com.sap.hilo.desktop.embeddedserver.VIServiceException: java.lang.ClassCastException: Cannot cast class java.lang.Double to class java.lang.String

...

It seems, that my personal code is correct and that the problem is located in some SAP or Eclipse sources/libraries.

regards,

Berndt

0 Kudos

Hi Berndt,

I did not specify correctly in my previous message, my bad. When you add those two lines in the .ini, you will get debugging options on right click, like Google Chrome, inside Lumira. You can click on "Show DevTools" option and check the stack trace in the Console. It would be helpful if you could post that stack trace here. Here is how the right click options look like

Regards,

Maaz

Answers (1)

Answers (1)

shankarsgs
Contributor
0 Kudos

Hi,

Are you using Jquery trim() anywhere in the code ($.trim())?

Best

Shankar

0 Kudos

Hi Shankar,

no, not obliviously. Maybe in the Mapbox.js sources it'll be used.

In my render.js file i only generate new javascript code to set markers with popups on the map.

regards

Berndt