myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jürg Brandenberger (JIRA) <...@myfaces.apache.org>
Subject [jira] [Created] (MYFACES-3535) javax.faces.el.MethodNotFoundException: javax.el.MethodNotFoundException:
Date Wed, 02 May 2012 07:01:00 GMT
Jürg Brandenberger created MYFACES-3535:
-------------------------------------------

             Summary: javax.faces.el.MethodNotFoundException: javax.el.MethodNotFoundException:
                 Key: MYFACES-3535
                 URL: https://issues.apache.org/jira/browse/MYFACES-3535
             Project: MyFaces Core
          Issue Type: Bug
          Components: JSR-314
         Environment: WebSphere 8.002
            Reporter: Jürg Brandenberger
            Priority: Critical


Application port from from Mojarra / Glassfish 3.1 and JBoss 7.1 to WebSphere 8 using MyFaces.
With the Mojarra implementation no problems arise, while with MyFaces almost nothing is running!
Class not found exceptions, Method not found exceptions, see log trace, while every thing
exist and the difference consist of the jsf implementation used by the AS!

The method ProjectHandler#generateDocumentContent() exist, and is declared public!
action="#{cc.attrs.handler.generateDocumentContent(cc.attrs.handler.documentId[0])}"
"cc.attrs.handler" is correctly replaced by "ProjectHandler" so the syntax is correct and
Myfaces should also be able to find the method:
public final String generateDocumentContent(final String contentType) { ... }

[02.05.12 08:22:12:382 MESZ] 0000003a FfdcProvider  W com.ibm.ws.ffdc.impl.FfdcProvider logIncident
FFDC1003I: FFDC Inci
dent emitted on D:\programs\IBM\WebSphere\AppServer\profiles\AppSrv01\logs\ffdc\server1_3a1fffb_12.05.02_08.22.12.272254
170309146331495.txt com.ibm.ws.webcontainer.webapp.WebApp.getResourceAsStream 602
[02.05.12 08:22:12:428 MESZ] 0000003a ErrorPageWrit E   An exception occurred
                                 javax.faces.el.MethodNotFoundException: javax.el.MethodNotFoundException:
/resources/ut
ils/listMenu.xhtml at line 98 and column 72 action="#{cc.attrs.handler.generateDocumentContent(cc.attrs.handler.document
Id[0])}": Method not found: ch.commcity.monterosa.web.ProjectHandler@39c7d55.generateDocumentContent()
	at javax.faces.component._MethodExpressionToMethodBinding.invoke(_MethodExpressionToMethodBinding.java:92)
	at org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:100)
	at javax.faces.component.UICommand.broadcast(UICommand.java:120)
	at javax.faces.component.UIViewRoot._broadcastAll(UIViewRoot.java:973)
	at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:275)
	at javax.faces.component.UIViewRoot._process(UIViewRoot.java:1285)
	at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:711)
	at org.apache.myfaces.lifecycle.InvokeApplicationExecutor.execute(InvokeApplicationExecutor.java:34)
	at org.apache.myfaces.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:171)
	at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:189)
	at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1188)
	at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:763)
	at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:454)
	at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:178)
	at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1020)
	at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:87)
	at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:895)
	at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1662)
	at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:195)
	at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:452)
	at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:511)
	at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:305)
	at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:276)
	at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.j
ava:214)
	at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:113)
	at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
	at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
	at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
	at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
	at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)
	at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)
	at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)
	at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1659)
Caused by: javax.el.MethodNotFoundException: /resources/utils/listMenu.xhtml at line 98 and
column 72 action="#{cc.attrs
.handler.generateDocumentContent(cc.attrs.handler.documentId[0])}": Method not found: ch.commcity.monterosa.web.ProjectH
andler@39c7d55.generateDocumentContent()
	at org.apache.myfaces.view.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:91)
	at javax.faces.component._MethodExpressionToMethodBinding.invoke(_MethodExpressionToMethodBinding.java:88)
	... 33 more

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

Mime
View raw message