cancel
Showing results for 
Search instead for 
Did you mean: 

Error on widget creation - cockpit NG

Former Member
0 Kudos

Hi,
I have this error when I follow the tutorials on the widget creation and I try to load the widget in the Application Orchestrator.
'How to Create a Widget' OR 'How to Pass Data Between Widgets'. The error is this string in the backoffice when i load my widget:

 "Failed to render widget [id='d867308a-922d-43db-9413-3695959d4462', definitionId='com.hybris.RESTaddon.widgets.mysearch', message='entry']"

I dont have errors during the build or in ee but some in the console

 INFO   | jvm 1    | main    | 2015/04/15 10:45:27.683 | GRAVE: Unable to load metainfo/zk/config.xml
 INFO   | jvm 1    | main    | 2015/04/15 10:45:27.683 | org.zkoss.zk.ui.UiException: Unable to load org.zkoss.spring.init.CoreWebAppInit, at [SYS jar:file:/C:/hy/hybris/bin/custom/RESTaddon/lib/zkspring-core-3.0.jar!/metainfo/zk/config.xml line 23 col 12]
 
 Caused by: java.lang.NoSuchFieldError: RESOLVER_CLASS
 
 INFO   | jvm 1    | main    | 2015/04/15 10:45:27.683 | GRAVE: Unable to load jar:file:/C:/hy/hybris/bin/custom/RESTaddon/lib/cockpitframework-2.0.5.1.jar!/metainfo/zk/zk.xml
 INFO   | jvm 1    | main    | 2015/04/15 10:45:27.683 | org.zkoss.zk.ui.UiException: Unable to load com.hybris.cockpitng.testing.CockpitTestIdUIListener, at [SYS jar:file:/C:/hy/hybris/bin/custom/RESTaddon/lib/cockpitframework-2.0.5.1.jar!/metainfo/zk/zk.xml line 54 col 12]
 
 Caused by: org.zkoss.zk.ui.UiException: Unknown listener: class com.hybris.cockpitng.testing.CockpitTestIdUIListener

and others...

Help is really appreciated, thanks in advance.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

I had a similar error and I solved it adding the view in definition.xml:

<view src="view.zul" />

In your case, it would be

 <view src="mysearch.zul" />

Answers (0)