Erro de Compilação num fluxo



  • Oi gente.
    Tou com um erro ao executar um fluxo.
    A excepção gerada é a seguinte:

    Exceção Gerada:
    wfr.exceptions.WFRCompileException: java.lang.Exception: C:\Program Files (x86)\Softwell Solutions\Maker 2.6\Webrun 2\tomcat\webapps\webrun/src/wfr/com/systems/system_mmk/rules/IssuF10Novo.java:68: code too large public Variant run(Variant... INPUT) throws Exception { ^ 1 error at wfr.util.Functions.compileFile(Functions.java:3475) at wfr.util.Functions.compileFile(Functions.java:3431) at wfr.util.Functions.compileFile(Functions.java:3408) at wfr.rules.RulesClassLoader.compile(RulesClassLoader.java:140) at wfr.rules.WFRRuleManager.create(WFRRuleManager.java:377) at wfr.rules.WFRRuleManager.getRuleClass(WFRRuleManager.java:110) at wfr.web.actions.ExecuteRuleAction.execute(ExecuteRuleAction.java:160) at wfr.web.Action.doAction(Action.java:126) at wfr.web.Controller.process(Controller.java:100) at wfr.web.Controller.doPost(Controller.java:67) at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at wfr.web.ContextFilter.doFilter(ContextFilter.java:78) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) at java.lang.Thread.run(Thread.java:595) Caused by: java.lang.Exception: C:\Program Files (x86)\Softwell Solutions\Maker 2.6\Webrun 2\tomcat\webapps\webrun/src/wfr/com/systems/system_mmk/rules/IssuF10Novo.java:68: code too large public Variant run(Variant... INPUT) throws Exception { ^ 1 error at wfr.util.Functions.compileFile(Functions.java:3467) ... 27 more

    Causa:
    java.lang.Exception: C:\Program Files (x86)\Softwell Solutions\Maker 2.6\Webrun 2\tomcat\webapps\webrun/src/wfr/com/systems/system_mmk/rules/IssuF10Novo.java:68: code too large public Variant run(Variant... INPUT) throws Exception { ^ 1 error at wfr.util.Functions.compileFile(Functions.java:3467) at wfr.util.Functions.compileFile(Functions.java:3431) at wfr.util.Functions.compileFile(Functions.java:3408) at wfr.rules.RulesClassLoader.compile(RulesClassLoader.java:140) at wfr.rules.WFRRuleManager.create(WFRRuleManager.java:377) at wfr.rules.WFRRuleManager.getRuleClass(WFRRuleManager.java:110) at wfr.web.actions.ExecuteRuleAction.execute(ExecuteRuleAction.java:160) at wfr.web.Action.doAction(Action.java:126) at wfr.web.Controller.process(Controller.java:100) at wfr.web.Controller.doPost(Controller.java:67) at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at wfr.web.ContextFilter.doFilter(ContextFilter.java:78) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) at java.lang.Thread.run(Thread.java:595) Exceção Gerada

    Alguém me consegue dar uma ajuda?


  • Este erro é quando o código fica muito grande.

    Quebre-o em subfluxo:

    http://suporte.softwell.com.br/maker/manual2_7/pt/maker_2/fluxos_e_acoes/boas_praticas_para_criacao_de_fluxo/organizacao_de_fluxos_atraves_de_subfluxos.htm


  • Valeu Alex!

    ;)

Log in to reply