java.lang.NoSuchMethodError with PF 7 and Harmony 1.0.6

Post Reply
User avatar
undermensch
Posts: 111
Joined: 08 Jul 2010, 14:37
Location: Florida, United States

18 Apr 2019, 16:52

I just upgraded to Harmony 1.0.6 and I receive a NoSuchMethodError:

Code: Select all

Caused by: java.lang.NoSuchMethodError: org.primefaces.harmony.component.HarmonyMenuRenderer.buildAjaxRequest(Ljavax/faces/context/FacesContext;Lorg/primefaces/component/api/AjaxSource;Ljavax/faces/component/UIComponent;)Ljava/lang/String;
	at org.primefaces.harmony.component.HarmonyMenuRenderer.encodeMenuItem(HarmonyMenuRenderer.java:246)
	at org.primefaces.harmony.component.HarmonyMenuRenderer.encodeElement(HarmonyMenuRenderer.java:77)
	at org.primefaces.harmony.component.HarmonyMenuRenderer.encodeElements(HarmonyMenuRenderer.java:56)
	at org.primefaces.harmony.component.HarmonyMenuRenderer.encodeSubmenu(HarmonyMenuRenderer.java:137)
	at org.primefaces.harmony.component.HarmonyMenuRenderer.encodeElement(HarmonyMenuRenderer.java:94)
	at org.primefaces.harmony.component.HarmonyMenuRenderer.encodeElements(HarmonyMenuRenderer.java:56)
	at org.primefaces.harmony.component.HarmonyMenuRenderer.encodeSubmenu(HarmonyMenuRenderer.java:137)
	at org.primefaces.harmony.component.HarmonyMenuRenderer.encodeElement(HarmonyMenuRenderer.java:94)
	at org.primefaces.harmony.component.HarmonyMenuRenderer.encodeElements(HarmonyMenuRenderer.java:56)
	at org.primefaces.harmony.component.HarmonyMenuRenderer.encodeMarkup(HarmonyMenuRenderer.java:46)
	at org.primefaces.component.menu.BaseMenuRenderer.encodeEnd(BaseMenuRenderer.java:109)
	at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:920)
	at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1863)
	at javax.faces.render.Renderer.encodeChildren(Renderer.java:176)
	at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:890)
	at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(HtmlBasicRenderer.java:304)
	at com.sun.faces.renderkit.html_basic.GroupRenderer.encodeChildren(GroupRenderer.java:114)
	at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:890)
	at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1856)
	at com.sun.faces.renderkit.html_basic.CompositeRenderer.encodeChildren(CompositeRenderer.java:78)
	at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:890)
I followed the migration guide. It mentions updating the HarmonyMenu*.java files, but those are compiled classes in the theme's jar which I assume has been updated. My menu has a few menu items that use ajax, if I remove them it works.
PrimeFaces-7.0.1 / Wildfly 13

aragorn
Posts: 3762
Joined: 29 Jun 2013, 12:38

14 May 2019, 09:27

Please try new version.

Best Regards,

Post Reply

Return to “Harmony - PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 3 guests