Need Help with Dynamic Components Maths

Hello Koders,

I’m trying to make an order list through which it should be possible to increase or decrease the quantity with buttons.

However, I get the following error message and cannot explain why. Do you have a tip for me?

“Attempt to invoke virtual method ‘java.lang.Class java.lang.Object.getClass()’ on a null object reference”

Thanks in advance

Here My Blocks

blocks (31)



what is your error?

Attempt to invoke virtual method ‘java.lang.Class java.lang.Object.getClass()’ on a null object reference

Yes, it will appear due to this…

Check one by one, actually there proper dynamic id should come…

No logic, interms of Dynamic component extension

replace the get component with get index and try , if still error persists please post the screen (ais)

That was it, from so many changes i didnt think about it to try, Thank you :slight_smile:

1 Like

Glad to help you… and this is quit common whenever we work with dynamic component extension… :+1:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.