PF7 TexteEditor throws IllegalArgumentException on submit

UI Components for JSF
Post Reply
joshd
Posts: 6
Joined: 25 May 2013, 14:24

16 May 2019, 10:17

Hi,

just upgraded from PF 6.2 to 7.0 Also upgraded all optional dependencies listed in the documentation. Wen t through the code for migration purposes (like RequestContext to PrimeFaces etc).
But one thing occurs now: Ajax-submitting a p:textEditor now leads to:

Code: Select all

Caused by: java.lang.IllegalAccessException: Class javax.faces.component.UIComponentBase$AttributesMap can not access a member of class org.primefaces.component.texteditor.TextEditorBase with modifiers "public"

Code: Select all

<p:textEditor
    value="#{announementAdminAction.announcement.content}" 
    required="true" 	                	
    height="300"
    style="width:100%"		
    label="#{messages['announcement.content']}"	                	
    >	                		                
 </p:textEditor>
It is working with PF 6.2. It happens before reaching the action-method in the bean.
Can anyone give a hint or advise what needs to be done here? Thanks in advance.

cheers,
josh

tandraschko
PrimeFaces Core Developer
Posts: 3979
Joined: 03 Dec 2010, 14:11
Location: Bavaria, DE
Contact:

16 May 2019, 10:30

Search in the forum, already discussed.
7.0.2 or Java8 fixes the issue.
Thomas Andraschko

PrimeFaces | PrimeFaces Extensions

Apache Member | OpenWebBeans, DeltaSpike, MyFaces, BVal, TomEE

Sponsor me: https://github.com/sponsors/tandraschko
Blog: http://tandraschko.blogspot.de/
Twitter: https://twitter.com/TAndraschko

joshd
Posts: 6
Joined: 25 May 2013, 14:24

16 May 2019, 10:44

Ok. Thanks, and sorry for not searching precisely enough.
7.0.2 or Java8 fixes the issue.
And bad luck for me - both of them I cannot use.

cheers,
josh

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 51 guests