[
https://issues.jboss.org/browse/JBSEAM-4945?page=com.atlassian.jira.plugi...
]
Karthikeyan MANIAN commented on JBSEAM-4945:
--------------------------------------------
I am using guvernor war 3.2.0 but same issue happens as i have exported repository from
older version and imported in 3.20
Seam Drools fails on Java 7 with: value '1.7' is not a valid
language level
---------------------------------------------------------------------------
Key: JBSEAM-4945
URL:
https://issues.jboss.org/browse/JBSEAM-4945
Project: Seam 2
Issue Type: Bug
Components: Drools
Affects Versions: 2.3.0.BETA1
Environment: Seam 2.3.0.Beta2-SNAPSHOT, AS7.1.2-SNAPSHOT, JDK 1.7.0
Reporter: Marek Schmidt
Assignee: Marek Novotny
Fix For: 2.3.0.CR1
{noformat}
09:33:52,619 ERROR
[org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/seam-drools].[Faces
Servlet]] (http--127.0.0.1-8080-1) Servlet.service() for servlet Faces Servlet threw
exception: org.drools.RuntimeDroolsException: value '1.7' is not a valid language
level
at
org.drools.rule.builder.dialect.java.JavaDialectConfiguration.getDefaultLanguageLevel(JavaDialectConfiguration.java:162)
[drools-compiler-5.1.1.jar:5.1.1]
at
org.drools.rule.builder.dialect.java.JavaDialectConfiguration.init(JavaDialectConfiguration.java:57)
[drools-compiler-5.1.1.jar:5.1.1]
at
org.drools.compiler.PackageBuilderConfiguration.addDialect(PackageBuilderConfiguration.java:279)
[drools-compiler-5.1.1.jar:5.1.1]
at
org.drools.compiler.PackageBuilderConfiguration.buildDialectConfigurationMap(PackageBuilderConfiguration.java:268)
[drools-compiler-5.1.1.jar:5.1.1]
at
org.drools.compiler.PackageBuilderConfiguration.init(PackageBuilderConfiguration.java:181)
[drools-compiler-5.1.1.jar:5.1.1]
at
org.drools.compiler.PackageBuilderConfiguration.<init>(PackageBuilderConfiguration.java:159)
[drools-compiler-5.1.1.jar:5.1.1]
at org.jboss.seam.drools.RuleBase.compileRuleBase(RuleBase.java:45)
[jboss-seam.jar:2.3.0.Beta2-SNAPSHOT]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.7.0]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
[rt.jar:1.7.0]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[rt.jar:1.7.0]
at java.lang.reflect.Method.invoke(Method.java:601) [rt.jar:1.7.0]
at org.jboss.seam.util.Reflections.invoke(Reflections.java:22)
[jboss-seam.jar:2.3.0.Beta2-SNAPSHOT]
at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:144)
[jboss-seam.jar:2.3.0.Beta2-SNAPSHOT]
at org.jboss.seam.Component.callComponentMethod(Component.java:2275)
[jboss-seam.jar:2.3.0.Beta2-SNAPSHOT]
at org.jboss.seam.Component.callCreateMethod(Component.java:2198)
[jboss-seam.jar:2.3.0.Beta2-SNAPSHOT]
at org.jboss.seam.Component.newInstance(Component.java:2158)
[jboss-seam.jar:2.3.0.Beta2-SNAPSHOT]
at org.jboss.seam.Component.getInstance(Component.java:2024)
[jboss-seam.jar:2.3.0.Beta2-SNAPSHOT]
at org.jboss.seam.Component.getInstance(Component.java:1986)
[jboss-seam.jar:2.3.0.Beta2-SNAPSHOT]
at org.jboss.seam.Component.getInstance(Component.java:1980)
[jboss-seam.jar:2.3.0.Beta2-SNAPSHOT]
at org.jboss.seam.Namespace.getComponentInstance(Namespace.java:55)
[jboss-seam.jar:2.3.0.Beta2-SNAPSHOT]
at org.jboss.seam.Namespace.getComponentInstance(Namespace.java:50)
[jboss-seam.jar:2.3.0.Beta2-SNAPSHOT]
at org.jboss.seam.el.SeamELResolver.resolveBase(SeamELResolver.java:148)
[jboss-seam.jar:2.3.0.Beta2-SNAPSHOT]
at org.jboss.seam.el.SeamELResolver.getValue(SeamELResolver.java:51)
[jboss-seam.jar:2.3.0.Beta2-SNAPSHOT]
at
com.sun.faces.el.DemuxCompositeELResolver._getValue(DemuxCompositeELResolver.java:176)
[jsf-impl-2.1.7-redhat-1.jar:2.1.7-redhat-1]
at com.sun.faces.el.DemuxCompositeELResolver.getValue(DemuxCompositeELResolver.java:203)
[jsf-impl-2.1.7-redhat-1.jar:2.1.7-redhat-1]
at org.jboss.el.parser.AstIdentifier.getValue(AstIdentifier.java:44)
[jboss-el-1.0_02.CR6.jar:1.0_02.CR6]
at org.jboss.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:186)
[jboss-el-1.0_02.CR6.jar:1.0_02.CR6]
at org.jboss.seam.core.Expressions$1.getValue(Expressions.java:157)
[jboss-seam.jar:2.3.0.Beta2-SNAPSHOT]
at
org.jboss.seam.drools.ManagedWorkingMemory.getRuleBaseFromValueBinding(ManagedWorkingMemory.java:125)
[jboss-seam.jar:2.3.0.Beta2-SNAPSHOT]
at
org.jboss.seam.drools.ManagedWorkingMemory.getStatefulSession(ManagedWorkingMemory.java:76)
[jboss-seam.jar:2.3.0.Beta2-SNAPSHOT]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.7.0]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
[rt.jar:1.7.0]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[rt.jar:1.7.0]
at java.lang.reflect.Method.invoke(Method.java:601) [rt.jar:1.7.0]
at org.jboss.seam.util.Reflections.invoke(Reflections.java:22)
[jboss-seam.jar:2.3.0.Beta2-SNAPSHOT]
at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:144)
[jboss-seam.jar:2.3.0.Beta2-SNAPSHOT]
at org.jboss.seam.Component.callComponentMethod(Component.java:2275)
[jboss-seam.jar:2.3.0.Beta2-SNAPSHOT]
at org.jboss.seam.Component.unwrap(Component.java:2301)
[jboss-seam.jar:2.3.0.Beta2-SNAPSHOT]
at org.jboss.seam.Component.getInstance(Component.java:2044)
[jboss-seam.jar:2.3.0.Beta2-SNAPSHOT]
at org.jboss.seam.Component.getInstance(Component.java:1986)
[jboss-seam.jar:2.3.0.Beta2-SNAPSHOT]
at org.jboss.seam.Component.getInstance(Component.java:1980)
[jboss-seam.jar:2.3.0.Beta2-SNAPSHOT]
at org.jboss.seam.drools.DroolsHandler.getWorkingMemory(DroolsHandler.java:25)
[jboss-seam.jar:2.3.0.Beta2-SNAPSHOT]
at org.jboss.seam.drools.DroolsDecisionHandler.decide(DroolsDecisionHandler.java:28)
[jboss-seam.jar:2.3.0.Beta2-SNAPSHOT]
at org.jbpm.graph.node.Decision.handleDecision(Decision.java:165)
[jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]
at org.jbpm.graph.node.Decision.execute(Decision.java:95)
[jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]
at org.jbpm.graph.def.Node.enter(Node.java:381)
[jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]
at org.jbpm.graph.def.Transition.take(Transition.java:162)
[jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]
at org.jbpm.graph.def.Node.leave(Node.java:450)
[jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]
at org.jbpm.graph.exe.Token.signal(Token.java:210)
[jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]
at org.jbpm.graph.exe.Token.signal(Token.java:171)
[jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]
at org.jbpm.graph.exe.ProcessInstance.signal(ProcessInstance.java:291)
[jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]
at org.jboss.seam.pageflow.Pageflow.signal(Pageflow.java:485)
[jboss-seam.jar:2.3.0.Beta2-SNAPSHOT]
at org.jboss.seam.pageflow.Pageflow.navigate(Pageflow.java:341)
[jboss-seam.jar:2.3.0.Beta2-SNAPSHOT]
at
org.jboss.seam.jsf.SeamNavigationHandler.handleNavigation(SeamNavigationHandler.java:40)
[jboss-seam.jar:2.3.0.Beta2-SNAPSHOT]
at
com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:130)
[jsf-impl-2.1.7-redhat-1.jar:2.1.7-redhat-1]
at javax.faces.component.UICommand.broadcast(UICommand.java:315)
[jboss-jsf-api_2.1_spec-2.0.2.Final-redhat-0-todo.jar:2.0.2.Final]
at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:794)
[jboss-jsf-api_2.1_spec-2.0.2.Final-redhat-0-todo.jar:2.0.2.Final]
at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1259)
[jboss-jsf-api_2.1_spec-2.0.2.Final-redhat-0-todo.jar:2.0.2.Final]
at
com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:81)
[jsf-impl-2.1.7-redhat-1.jar:2.1.7-redhat-1]
at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
[jsf-impl-2.1.7-redhat-1.jar:2.1.7-redhat-1]
at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
[jsf-impl-2.1.7-redhat-1.jar:2.1.7-redhat-1]
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:593)
[jboss-jsf-api_2.1_spec-2.0.2.Final-redhat-0-todo.jar:2.0.2.Final]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329)
[jbossweb-7.0.15.Final-redhat-0-todo.jar:]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
[jbossweb-7.0.15.Final-redhat-0-todo.jar:]
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
[jboss-seam.jar:2.3.0.Beta2-SNAPSHOT]
at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:60)
[jboss-seam.jar:2.3.0.Beta2-SNAPSHOT]
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
[jboss-seam.jar:2.3.0.Beta2-SNAPSHOT]
at org.jboss.seam.web.IdentityFilter.doFilter(IdentityFilter.java:40)
[jboss-seam.jar:2.3.0.Beta2-SNAPSHOT]
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
[jboss-seam.jar:2.3.0.Beta2-SNAPSHOT]
at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:90)
[jboss-seam.jar:2.3.0.Beta2-SNAPSHOT]
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
[jboss-seam.jar:2.3.0.Beta2-SNAPSHOT]
at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
[jboss-seam.jar:2.3.0.Beta2-SNAPSHOT]
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
[jboss-seam.jar:2.3.0.Beta2-SNAPSHOT]
at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
[jboss-seam.jar:2.3.0.Beta2-SNAPSHOT]
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
[jboss-seam.jar:2.3.0.Beta2-SNAPSHOT]
at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)
[jboss-seam.jar:2.3.0.Beta2-SNAPSHOT]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
[jbossweb-7.0.15.Final-redhat-0-todo.jar:]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
[jbossweb-7.0.15.Final-redhat-0-todo.jar:]
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
[jbossweb-7.0.15.Final-redhat-0-todo.jar:]
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)
[jbossweb-7.0.15.Final-redhat-0-todo.jar:]
at
org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153)
[jboss-as-web-7.1.1.Final-redhat-1.jar:7.1.1.Final-redhat-1]
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155)
[jbossweb-7.0.15.Final-redhat-0-todo.jar:]
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
[jbossweb-7.0.15.Final-redhat-0-todo.jar:]
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
[jbossweb-7.0.15.Final-redhat-0-todo.jar:]
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368)
[jbossweb-7.0.15.Final-redhat-0-todo.jar:]
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)
[jbossweb-7.0.15.Final-redhat-0-todo.jar:]
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671)
[jbossweb-7.0.15.Final-redhat-0-todo.jar:]
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:931)
[jbossweb-7.0.15.Final-redhat-0-todo.jar:]
at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0]
{noformat}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)