com.sun.jsftemplating.layout.SyntaxException

Handler 'gf.convertListToOptionArray' in event 'beforeCreate' is not declared! Ensure the '@Handler' annotation has been defined on the handler Java method, that it has been compiled with the annotation processing tool, and that the resulting 'META-INF/jsftemplating/Handler.map' is located in your classpath (you may need to do a clean build).

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web18

  • via Oracle Community by ljnelson, 11 months ago
    Handler 'gf.convertListToOptionArray' in event 'beforeCreate' is not declared! Ensure the '@Handler' annotation has been defined on the handler Java method, that it has been compiled with the annotation processing tool, and that the resulting 'META-INF/jsftemplating/Handler.map' is located in your classpath (you may need to do a clean build).
  • via Oracle Community by cameronr, 11 months ago
    Handler 'setResourceBundle' in event 'beforeCreate' is not declared! Ensure the '@Handler' annotation has been defined on the handler Java method, that it has been compiled with the annotation processing tool, and that the resulting 'META-INF/jsftemplating/Handler.map' is located in your classpath (you may need to do a clean build).
  • via Oracle Community by suttridge_farm, 11 months ago
    Handler 'setResourceBundle' in event 'beforeCreate' is not declared! Ensure the '@Handler' annotation has been defined on the handler Java method, that it has been compiled with the annotation processing tool, and that the resulting 'META-INF/jsftemplating/Handler.map' is located in your classpath (you may need to do a clean build).
  • Stack trace

    • com.sun.jsftemplating.layout.SyntaxException: Handler 'gf.convertListToOptionArray' in event 'beforeCreate' is not declared! Ensure the '@Handler' annotation has been defined on the handler Java method, that it has been compiled with the annotation processing tool, and that the resulting 'META-INF/jsftemplating/Handler.map' is located in your classpath (you may need to do a clean build). at com.sun.jsftemplating.layout.template.EventParserCommand.readHandler(EventParserCommand.java:225) at com.sun.jsftemplating.layout.template.EventParserCommand.process(EventParserCommand.java:158) at com.sun.jsftemplating.layout.template.BaseProcessingContext.beginSpecial(BaseProcessingContext.java:104) at com.sun.jsftemplating.layout.template.TemplateReader$LayoutComponentContext.beginSpecial(TemplateReader.java:839) at com.sun.jsftemplating.layout.template.TemplateReader.process(TemplateReader.java:292) at com.sun.jsftemplating.layout.template.BaseProcessingContext.beginComponent(BaseProcessingContext.java:79) at com.sun.jsftemplating.layout.template.TemplateReader.process(TemplateReader.java:312) at com.sun.jsftemplating.layout.template.BaseProcessingContext.beginComponent(BaseProcessingContext.java:79) at com.sun.jsftemplating.layout.template.TemplateReader.process(TemplateReader.java:312) at com.sun.jsftemplating.layout.template.DefineParserCommand.process(DefineParserCommand.java:76) at com.sun.jsftemplating.layout.template.CompositionParserCommand$LayoutCompositionContext.beginSpecial(CompositionParserCommand.java:142) at com.sun.jsftemplating.layout.template.TemplateReader.process(TemplateReader.java:292) at com.sun.jsftemplating.layout.template.CompositionParserCommand.process(CompositionParserCommand.java:117) at com.sun.jsftemplating.layout.template.BaseProcessingContext.beginSpecial(BaseProcessingContext.java:104) at com.sun.jsftemplating.layout.template.TemplateReader.process(TemplateReader.java:292) at com.sun.jsftemplating.layout.template.TemplateReader.readLayoutDefinition(TemplateReader.java:178) at com.sun.jsftemplating.layout.template.TemplateReader.read(TemplateReader.java:135) at com.sun.jsftemplating.layout.template.TemplateLayoutDefinitionManager.getLayoutDefinition(TemplateLayoutDefinitionManager.java:194) at com.sun.jsftemplating.layout.LayoutDefinitionManager.getLayoutDefinition(LayoutDefinitionManager.java:152) at com.sun.jsftemplating.layout.ViewRootUtil.getLayoutDefinition(ViewRootUtil.java:257) at com.sun.jsftemplating.layout.ViewRootUtil.getLayoutDefinition(ViewRootUtil.java:228) at com.sun.jsftemplating.layout.LayoutViewHandler.createView(LayoutViewHandler.java:201) at com.sun.faces.lifecycle.RestoreViewPhase.execute(RestoreViewPhase.java:253) at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101) at com.sun.faces.lifecycle.RestoreViewPhase.doPhase(RestoreViewPhase.java:110) at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:312) at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1518) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:339) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:211) at com.sun.webui.jsf.util.UploadFilter.doFilter(UploadFilter.java:240) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:211) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:171) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:651) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:591) at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94) at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:87) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:158) at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:327) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:228) at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:240) at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:803) at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:706) at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:987) at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:217) at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:135) at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:102) at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:88) at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76) at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:53) at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:57) at com.sun.grizzly.ContextTask.run(ContextTask.java:69) at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:526) at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:507) at java.lang.Thread.run(Thread.java:619)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.