jsf - Could not restore StateHolder of type org.primefaces.component.resetinput.ResetInputActionListener -


i've got strange error on primefaces application, have not seen before.

could not restore stateholder of type org.primefaces.component.resetinput.resetinputactionlistener (missing no-args constructor?)

the class org.primefaces.component.resetinput.resetinputactionlistener has no no-arg constructor, wasn't problem before... otherwise no primefaces app function...

what actual cause of error , how fix it?

i'm using primefaces 3.5 myfaces 2.0.7 on websphere 7.

                                 javax.faces.facesexception: java.lang.runtimeexception: not restore stateholder of type org.primefaces.component.resetinput.resetinputactionlistener (missing no-args constructor?)     @ org.apache.myfaces.shared_impl.context.exceptionhandlerimpl.wrap(exceptionhandlerimpl.java:241)     @ org.apache.myfaces.shared_impl.context.exceptionhandlerimpl.handle(exceptionhandlerimpl.java:156)     @ org.apache.myfaces.lifecycle.lifecycleimpl.executephase(lifecycleimpl.java:191)     @ org.apache.myfaces.lifecycle.lifecycleimpl.execute(lifecycleimpl.java:118)     @ javax.faces.webapp.facesservlet.service(facesservlet.java:189)     @ com.ibm.ws.webcontainer.servlet.servletwrapper.service(servletwrapper.java:1663)     @ com.ibm.ws.webcontainer.servlet.servletwrapper.service(servletwrapper.java:1597)     @ com.ibm.ws.webcontainer.filter.webappfilterchain.dofilter(webappfilterchain.java:131)     @ org.primefaces.webapp.filter.fileuploadfilter.dofilter(fileuploadfilter.java:79)     @ com.ibm.ws.webcontainer.filter.filterinstancewrapper.dofilter(filterinstancewrapper.java:188)     @ com.ibm.ws.webcontainer.filter.webappfilterchain.dofilter(webappfilterchain.java:116)     @ de.datev.commons.web.filter.charsetencodingfilter.dofilter(charsetencodingfilter.java:54)     @ com.ibm.ws.webcontainer.filter.filterinstancewrapper.dofilter(filterinstancewrapper.java:188)     @ com.ibm.ws.webcontainer.filter.webappfilterchain.dofilter(webappfilterchain.java:116)     @ com.ibm.ws.webcontainer.filter.webappfilterchain._dofilter(webappfilterchain.java:77)     @ com.ibm.ws.webcontainer.filter.webappfiltermanager.dofilter(webappfiltermanager.java:908)     @ com.ibm.ws.webcontainer.servlet.servletwrapper.handlerequest(servletwrapper.java:934)     @ com.ibm.ws.webcontainer.servlet.servletwrapper.handlerequest(servletwrapper.java:502)     @ com.ibm.ws.webcontainer.servlet.servletwrapperimpl.handlerequest(servletwrapperimpl.java:179)     @ com.ibm.ws.webcontainer.servlet.cacheservletwrapper.handlerequest(cacheservletwrapper.java:91)     @ com.ibm.ws.webcontainer.webcontainer.handlerequest(webcontainer.java:864)     @ com.ibm.ws.webcontainer.wswebcontainer.handlerequest(wswebcontainer.java:1592)     @ com.ibm.ws.webcontainer.channel.wcchannellink.ready(wcchannellink.java:186)     @ com.ibm.ws.http.channel.inbound.impl.httpinboundlink.handlediscrimination(httpinboundlink.java:452)     @ com.ibm.ws.http.channel.inbound.impl.httpinboundlink.handlenewrequest(httpinboundlink.java:511)     @ com.ibm.ws.http.channel.inbound.impl.httpinboundlink.processrequest(httpinboundlink.java:305)     @ com.ibm.ws.http.channel.inbound.impl.httpiclreadcallback.complete(httpiclreadcallback.java:83)     @ com.ibm.ws.tcp.channel.impl.aioreadcompletionlistener.futurecompleted(aioreadcompletionlistener.java:165)     @ com.ibm.io.async.abstractasyncfuture.invokecallback(abstractasyncfuture.java:217)     @ com.ibm.io.async.asyncchannelfuture.firecompletionactions(asyncchannelfuture.java:161)     @ com.ibm.io.async.asyncfuture.completed(asyncfuture.java:138)     @ com.ibm.io.async.resulthandler.complete(resulthandler.java:204)     @ com.ibm.io.async.resulthandler.runeventprocessingloop(resulthandler.java:775)     @ com.ibm.io.async.resulthandler$2.run(resulthandler.java:905)     @ com.ibm.ws.util.threadpool$worker.run(threadpool.java:1604) caused by: java.lang.runtimeexception: not restore stateholder of type org.primefaces.component.resetinput.resetinputactionlistener (missing no-args constructor?)     @ javax.faces.component.uicomponentbase.restoreattachedstate(uicomponentbase.java:1603)     @ javax.faces.component._deltalist.restorestate(_deltalist.java:251)     @ javax.faces.component.uicomponentbase.restoreattachedstate(uicomponentbase.java:1616)     @ javax.faces.component.uicomponentbase.restorestate(uicomponentbase.java:1730)     @ javax.faces.component.uicomponentbase.processrestorestate(uicomponentbase.java:1386)     @ javax.faces.component.uicomponentbase.processrestorestate(uicomponentbase.java:1429)     @ javax.faces.component.uicomponentbase.processrestorestate(uicomponentbase.java:1429)     @ javax.faces.component.uicomponentbase.processrestorestate(uicomponentbase.java:1429)     @ javax.faces.component.uicomponentbase.processrestorestate(uicomponentbase.java:1429)     @ javax.faces.component.uicomponentbase.processrestorestate(uicomponentbase.java:1429)     @ javax.faces.component.uiviewroot.processrestorestate(uiviewroot.java:736)     @ org.apache.myfaces.application.statemanagerimpl.restoreview(statemanagerimpl.java:129)     @ org.apache.myfaces.shared_impl.view.viewdeclarationlanguagebase.restoreview(viewdeclarationlanguagebase.java:106)     @ org.apache.myfaces.view.facelets.faceletviewdeclarationlanguage.restoreview(faceletviewdeclarationlanguage.java:1464)     @ org.apache.myfaces.application.viewhandlerimpl.restoreview(viewhandlerimpl.java:279)     @ org.apache.myfaces.lifecycle.restoreviewexecutor.execute(restoreviewexecutor.java:123)     @ org.apache.myfaces.lifecycle.lifecycleimpl.executephase(lifecycleimpl.java:171)     ... 32 more caused by: java.lang.instantiationexception: org.primefaces.component.resetinput.resetinputactionlistener     @ java.lang.j9vminternals.newinstanceimpl(native method)     @ java.lang.class.newinstance(class.java:1345)     @ javax.faces.component.uicomponentbase.restoreattachedstate(uicomponentbase.java:1599)     ... 48 more 

i don´t have enough reputation comment wanna share found.

i solved similar problem of following link .

http://forum.primefaces.org/viewtopic.php?f=3&t=29338

as suggested on link above, used 'pe:resetinput' instead of 'p:resetinput'

hope helps.


Comments

Popular posts from this blog

php - Why I am getting the Error "Commands out of sync; you can't run this command now" -

linux - Does gcc have any options to add version info in ELF binary file? -

java - Are there any classes that implement javax.persistence.Parameter<T>? -