cancel
Showing results for 
Search instead for 
Did you mean: 

Fiori My Shopping Cart Apps : Uncaught TypeError: Cannot read property 'length' of null

0 Kudos

Hi All,

When running the My Shopping Cart applications, after searching for the catalog and click on the item to diplay the details, nothing showed up and hit the following Error :

Uncaught TypeError: Cannot read property 'length' of null

Any Notes I required to apply? tried applying the following note but it shows not implementable.

Note :  1977830 - An error is thrown My Shopping Cart app when an item with description greater than 40 characters is added to the cart

Accepted Solutions (1)

Accepted Solutions (1)

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Wai,

Please check the SAPUI5 library version.

SAP Fiori - UI Add-on SP12 notes list, SAPUI5 library 1.28.9

Regards,

Masa / SAP Technology RIG

0 Kudos

Dear Masa San,

Just checked and found out we are only at 1.28.1. will try to go to 1.28.9 and let you know the outcome.

Thanks for the useful note! one more thing, notice the Add to basket icon is missing which is different from Wave 1 apps. Is this correct ?

Best Regards

Wai Meng

0 Kudos

Dear Masa San,

Just checked, we can only go to 1.28.8 as 1.28.9 is for Java Stack. Will there be any impact?

Thanks in Advance.

kirankola
Advisor
Advisor
0 Kudos

Hi Wai,

Make sure your backend is also updated to SRMNXP01 to SP 7:

Back-End/Front-End Server

Back-End/Front-End Component

Technical Name of Software Component

Support Package Level

Back-end server

Back-end component

SRMNXP01 100

7

Front-end server

Front-end component

UIX01SRM 100

6

Regards,

Kiran

0 Kudos

Hi Kiran,

I can't find SRMNXP01 patch level 7 file from service market place. When is this patch being released?


Regards

Wai Meng.

0 Kudos

Dear Masa San,

We've already patched the SAPUI5 Library to 1.28.8 following the SAP Note 2176638.

As mentioned, we can't go for 1.28.9.

we are still hitting the same error when clicking on the product to display the product details from the Catalog.

Best Regars

Wai Meng

Answers (3)

Answers (3)

0 Kudos

Dear All,

We've already patch the SRMNXP01 to SP7 and also updated the SAPUI5 Library to 2.8.8 yet we are still hitting the same error while trying to display the product details by clicking on the product with the error "Uncaught TypeError: Cannot read property 'length' of null"

Any help is much appreciated.

Thanks in Advance.

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Wai,

Please follow the troubleshooting steps.

Regards,

Masa / SAP Technology RIG

JerryWang
Advisor
Advisor
0 Kudos

Hello Wai,

Normally I will meet with such types of error frequently every day. If you are a developer and would like to debug where exactly such error is raised, you can find two of my examples how I find out such errors via debugging:

http://scn.sap.com/community/developer-center/front-end/blog/2015/01/03/why-my-formatter-does-not-wo...

http://scn.sap.com/community/developer-center/front-end/blog/2014/12/11/my-small-experience-about-ho...

Best regards,

Jerry

former_member312987
Active Participant
0 Kudos

Hi Wai

Could you please share more information. What have you done to get this error message. It seems from the screenshot above, that you are navigating to X and there are some parameters not defined.

Regards

Raquel

0 Kudos

Hi Raquel,

Basically I just did a catalog search. After returning the results, I clicked on the Catalog to display the product details which supposed to show on the right but nothing came out. so I do a inspect element and found out this error.

Best Regards

Wai Meng