cancel
Showing results for 
Search instead for 
Did you mean: 

Hybris 6.0 and 6.1 OOB Liveedit throwing "The element "null" could not be found, maybe it was deleted. Please reload the Live Edit Browser". When ever trying to edit any component

Former Member
0 Kudos

Hybris 6.0 and 6.1 OOB Liveedit throwing "The element "null" could not be found, maybe it was deleted. Please reload the Live Edit Browser". When ever trying to edit any component.

Please reply if any one having solution for it.

Former Member
0 Kudos

The same. Have you found solution?

Former Member
0 Kudos

Any solution?

Former Member
0 Kudos

I'm also having this same issue, any ideas?

Former Member
0 Kudos

I am also facing the issues in 6.1 version wit error messag as "name must not be null". Anyone could get any solution for this? Pl reply. Thanks

Accepted Solutions (0)

Answers (4)

Answers (4)

ivansaracino
Discoverer
0 Kudos

Update:

Hi all again, Finally I was able to resolve the issue:

I reinstalled the liveedit addon on my custom storefront, executing this command:

ant addoninstall -Daddonnames="liveeditaddon" -DaddonStorefront.yacceleratorstorefront="'customstorename'storefront"

where 'customstorename' is the name of my custom accelerator module.

Then I needed do rebuild and, sadly, to initialize the system again, as stated on this wiki page liveeditaddon

It seems that the correct procedure, from beginning, should be

  1. Install recipe b2c_acc

  2. Create the new custom accelerator module

  3. Install the liveedit addon on the custom storefront

  4. Only then build and initialize

  5. Happy live editing!

Cheers Ivan

ivansaracino
Discoverer
0 Kudos

Hi all, I'm a new SAP Hybris employee and I was struggling with this issue. I was trying to create a custom ecommerce site using the b2c_acc recipe and the generation of a new accelerator module with ant modulegen following this path:

  1. Unzipping a new hybris 6.2.0.2 distribution

  2. Executing . ./setantenv.sh in the platform dir

  3. Removing from build.gradle of the b2_acc recipe, the line extName 'yacceleratorcockpits' due to this workaround workaround for responsive live edit

  4. Executing the ./install -r b2c_acc in the installer dir

  5. Executing ant modulegen [accelerator] to create a new custom accelerator module

  6. Executing ant all in the platform dir

  7. Starting the hybris server

  8. Initializing the system through the hac

With this procedure, trying to edit a component on a page with liveedit in the cmscockpit for every site (apparel,electronics, custom) is always showing up the "The element nul" could not be found, maybe it was deleted. Please reload the Live Edit Browser" issue.

Then I repeated the above steps without creating my custom accelerator module (step. 5) and the liveedit functionality in the cmscockpit was ok for both the apparel and electronics sites.

It seems that creating a new custom accelerator module broke the liveedit addon. Maybe shall I install the liveedit addon on the new customstorefront extension after creating my accelerator module? Any ideas? I hope this will help others to find the right way to create a new custom accelerator module with correct liveedit addon functionality on top of the standard b2c_acc recipe.

Regards. Ivan

ivansaracino
Discoverer
0 Kudos

During the Hybris Ecommerce developer course part 1, building the bookstore site with the same procedure described above, I found the same issue too ...

Former Member
0 Kudos

Hi everyone,

  1. Go to the hac - > platform -> update

  2. Check the "update running system", "localize types" and "liveeditaddon" options and click on the "update" button

  3. Restart the server


I hope it will help,

Regards,
Artur

Former Member
0 Kudos

Hi Artur, Its is not working.I did sys update with the addon 'liveeditaddon' and restarted the sever as well. still getting the exception in console as:: 'name' must not be null' Thanks

Former Member
0 Kudos

Please try to open it in other browser. I checked it on two different versions, and in my case, this solution works fine.

Former Member
0 Kudos

Any clues to this one? I don't see anything in the log when this happens.