Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: EAP_EWP 5.3.0.ER3
    • Fix Version/s: EAP_EWP 5.3.0.GA
    • Component/s: Seam2
    • Labels:
      None
    • Environment:

      EAP 6.3.0.ER2 (target)
      EAP 5.3.0.ER3 (Seam)

    • Steps to Reproduce:
      Hide

      1. Deploy the EAP6-migrated Seam 2.2 Drools example to EAP 6.3 running on JDK8.
      2. Open http://localhost:8080/seam-drools
      3. Submit any valid number
      4. HTTP 500 Error appears, with the below mentioned exception.

      Show
      1. Deploy the EAP6-migrated Seam 2.2 Drools example to EAP 6.3 running on JDK8. 2. Open http://localhost:8080/seam-drools 3. Submit any valid number 4. HTTP 500 Error appears, with the below mentioned exception.
    • Docs QE Status:
      NEW

      Description

      The Seam 2.2 Drools module fails on JDK8 with the following exception:

      ...
      15:51:07,200 WARNING [javax.enterprise.resource.webcontainer.jsf.renderkit] (http-/127.0.0.1:8080-58) Unable to find component with ID guess in view.
      15:51:11,958 WARNING [javax.enterprise.resource.webcontainer.jsf.lifecycle] (http-/127.0.0.1:8080-63) no applicable exception handler found: org.jbpm.graph.def.DelegationException: no applicable exception handler found
         at org.jbpm.graph.def.GraphElement.raiseException(GraphElement.java:368) [jbpm-jpdl.jar:3.2.13]
         at org.jbpm.graph.def.GraphElement.raiseException(GraphElement.java:362) [jbpm-jpdl.jar:3.2.13]
         at org.jbpm.graph.node.Decision.handleDecision(Decision.java:195) [jbpm-jpdl.jar:3.2.13]
         at org.jbpm.graph.node.Decision.execute(Decision.java:95) [jbpm-jpdl.jar:3.2.13]
         at org.jbpm.graph.def.Node.enter(Node.java:381) [jbpm-jpdl.jar:3.2.13]
         at org.jbpm.graph.def.Transition.take(Transition.java:162) [jbpm-jpdl.jar:3.2.13]
         at org.jbpm.graph.def.Node.leave(Node.java:450) [jbpm-jpdl.jar:3.2.13]
         at org.jbpm.graph.exe.Token.signal(Token.java:210) [jbpm-jpdl.jar:3.2.13]
         at org.jbpm.graph.exe.Token.signal(Token.java:171) [jbpm-jpdl.jar:3.2.13]
         at org.jbpm.graph.exe.ProcessInstance.signal(ProcessInstance.java:291) [jbpm-jpdl.jar:3.2.13]
         at org.jboss.seam.pageflow.Pageflow.signal(Pageflow.java:485) [jboss-seam.jar:2.2.7.EAP5]
         at org.jboss.seam.pageflow.Pageflow.navigate(Pageflow.java:341) [jboss-seam.jar:2.2.7.EAP5]
         at org.jboss.seam.jsf.SeamNavigationHandler.handleNavigation(SeamNavigationHandler.java:40) [jboss-seam.jar:2.2.7.EAP5]
         at com.sun.faces.application.ActionListenerImpl.processAction(Unknown Source) [jsf-impl-1.2_15-b01-redhat-8.jar:1.2_15-b01-redhat-8]
         at javax.faces.component.UICommand.broadcast(Unknown Source) [jsf-api-1.2_15-b01-redhat-8.jar:1.2_15-b01-redhat-8]
         at javax.faces.component.UIViewRoot.broadcastEvents(Unknown Source) [jsf-api-1.2_15-b01-redhat-8.jar:1.2_15-b01-redhat-8]
         at javax.faces.component.UIViewRoot.processApplication(Unknown Source) [jsf-api-1.2_15-b01-redhat-8.jar:1.2_15-b01-redhat-8]
         at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(Unknown Source) [jsf-impl-1.2_15-b01-redhat-8.jar:1.2_15-b01-redhat-8]
         at com.sun.faces.lifecycle.Phase.doPhase(Unknown Source) [jsf-impl-1.2_15-b01-redhat-8.jar:1.2_15-b01-redhat-8]
         at com.sun.faces.lifecycle.LifecycleImpl.execute(Unknown Source) [jsf-impl-1.2_15-b01-redhat-8.jar:1.2_15-b01-redhat-8]
         at javax.faces.webapp.FacesServlet.service(Unknown Source) [jsf-api-1.2_15-b01-redhat-8.jar:1.2_15-b01-redhat-8]
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:295) [jbossweb-7.4.1.Final-redhat-1.jar:7.4.1.Final-redhat-1]
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.4.1.Final-redhat-1.jar:7.4.1.Final-redhat-1]
         at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83) [jboss-seam.jar:2.2.7.EAP5]
         at org.jboss.seam.web.IdentityFilter.doFilter(IdentityFilter.java:40) [jboss-seam.jar:2.2.7.EAP5]
         at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) [jboss-seam.jar:2.2.7.EAP5]
         at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:60) [jboss-seam.jar:2.2.7.EAP5]
         at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) [jboss-seam.jar:2.2.7.EAP5]
         at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:90) [jboss-seam.jar:2.2.7.EAP5]
         at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) [jboss-seam.jar:2.2.7.EAP5]
         at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64) [jboss-seam.jar:2.2.7.EAP5]
         at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) [jboss-seam.jar:2.2.7.EAP5]
         at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45) [jboss-seam.jar:2.2.7.EAP5]
         at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) [jboss-seam.jar:2.2.7.EAP5]
         at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158) [jboss-seam.jar:2.2.7.EAP5]
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246) [jbossweb-7.4.1.Final-redhat-1.jar:7.4.1.Final-redhat-1]
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.4.1.Final-redhat-1.jar:7.4.1.Final-redhat-1]
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:231) [jbossweb-7.4.1.Final-redhat-1.jar:7.4.1.Final-redhat-1]
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:149) [jbossweb-7.4.1.Final-redhat-1.jar:7.4.1.Final-redhat-1]
         at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:169) [jboss-as-web-7.4.0.Final-redhat-10.jar:7.4.0.Final-redhat-10]
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:145) [jbossweb-7.4.1.Final-redhat-1.jar:7.4.1.Final-redhat-1]
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:97) [jbossweb-7.4.1.Final-redhat-1.jar:7.4.1.Final-redhat-1]
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:102) [jbossweb-7.4.1.Final-redhat-1.jar:7.4.1.Final-redhat-1]
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:340) [jbossweb-7.4.1.Final-redhat-1.jar:7.4.1.Final-redhat-1]
         at org.apache.coyote.http11.Http11NioProcessor.process(Http11NioProcessor.java:353) [jbossweb-7.4.1.Final-redhat-1.jar:7.4.1.Final-redhat-1]
         at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:911) [jbossweb-7.4.1.Final-redhat-1.jar:7.4.1.Final-redhat-1]
         at org.apache.tomcat.util.net.NioEndpoint$ChannelProcessor.run(NioEndpoint.java:930) [jbossweb-7.4.1.Final-redhat-1.jar:7.4.1.Final-redhat-1]
         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [rt.jar:1.8.0]
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [rt.jar:1.8.0]
         at java.lang.Thread.run(Thread.java:744) [rt.jar:1.8.0]
      Caused by: org.jboss.seam.InstantiationException: Could not instantiate Seam component: ruleBase
         at org.jboss.seam.Component.newInstance(Component.java:2197) [jboss-seam.jar:2.2.7.EAP5]
         at org.jboss.seam.Component.getInstance(Component.java:2021) [jboss-seam.jar:2.2.7.EAP5]
         at org.jboss.seam.Component.getInstance(Component.java:1983) [jboss-seam.jar:2.2.7.EAP5]
         at org.jboss.seam.Component.getInstance(Component.java:1977) [jboss-seam.jar:2.2.7.EAP5]
         at org.jboss.seam.Namespace.getComponentInstance(Namespace.java:55) [jboss-seam.jar:2.2.7.EAP5]
         at org.jboss.seam.Namespace.getComponentInstance(Namespace.java:50) [jboss-seam.jar:2.2.7.EAP5]
         at org.jboss.seam.el.SeamELResolver.resolveBase(SeamELResolver.java:148) [jboss-seam.jar:2.2.7.EAP5]
         at org.jboss.seam.el.SeamELResolver.getValue(SeamELResolver.java:51) [jboss-seam.jar:2.2.7.EAP5]
         at com.sun.faces.el.DemuxCompositeELResolver._getValue(Unknown Source) [jsf-impl-1.2_15-b01-redhat-8.jar:1.2_15-b01-redhat-8]
         at com.sun.faces.el.DemuxCompositeELResolver.getValue(Unknown Source) [jsf-impl-1.2_15-b01-redhat-8.jar:1.2_15-b01-redhat-8]
         at org.jboss.el.parser.AstIdentifier.getValue(AstIdentifier.java:44) [jboss-el.jar:1.0_02.CR6]
         at org.jboss.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:186) [jboss-el.jar:1.0_02.CR6]
         at org.jboss.seam.core.Expressions$1.getValue(Expressions.java:157) [jboss-seam.jar:2.2.7.EAP5]
         at org.jboss.seam.drools.ManagedWorkingMemory.getRuleBaseFromValueBinding(ManagedWorkingMemory.java:125) [jboss-seam.jar:2.2.7.EAP5]
         at org.jboss.seam.drools.ManagedWorkingMemory.getStatefulSession(ManagedWorkingMemory.java:76) [jboss-seam.jar:2.2.7.EAP5]
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.8.0]
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [rt.jar:1.8.0]
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0]
         at java.lang.reflect.Method.invoke(Method.java:483) [rt.jar:1.8.0]
         at org.jboss.seam.util.Reflections.invoke(Reflections.java:22) [jboss-seam.jar:2.2.7.EAP5]
         at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:144) [jboss-seam.jar:2.2.7.EAP5]
         at org.jboss.seam.Component.callComponentMethod(Component.java:2302) [jboss-seam.jar:2.2.7.EAP5]
         at org.jboss.seam.Component.unwrap(Component.java:2328) [jboss-seam.jar:2.2.7.EAP5]
         at org.jboss.seam.Component.getInstance(Component.java:2041) [jboss-seam.jar:2.2.7.EAP5]
         at org.jboss.seam.Component.getInstance(Component.java:1983) [jboss-seam.jar:2.2.7.EAP5]
         at org.jboss.seam.Component.getInstance(Component.java:1977) [jboss-seam.jar:2.2.7.EAP5]
         at org.jboss.seam.drools.DroolsHandler.getWorkingMemory(DroolsHandler.java:25) [jboss-seam.jar:2.2.7.EAP5]
         at org.jboss.seam.drools.DroolsDecisionHandler.decide(DroolsDecisionHandler.java:26) [jboss-seam.jar:2.2.7.EAP5]
         at org.jbpm.graph.node.Decision.handleDecision(Decision.java:192) [jbpm-jpdl.jar:3.2.13]
         ... 47 more
      Caused by: java.lang.RuntimeException: wrong class format
         at org.drools.commons.jci.compilers.EclipseJavaCompiler$2.findType(EclipseJavaCompiler.java:260) [drools-compiler.jar:5.1.0.BRMS-jdk7]
         at org.drools.commons.jci.compilers.EclipseJavaCompiler$2.findType(EclipseJavaCompiler.java:204) [drools-compiler.jar:5.1.0.BRMS-jdk7]
         at org.eclipse.jdt.internal.compiler.lookup.LookupEnvironment.askForType(LookupEnvironment.java:102) [ecj-4.3.1.redhat-1.jar:4.3.1.redhat-1]
         at org.eclipse.jdt.internal.compiler.lookup.UnresolvedReferenceBinding.resolve(UnresolvedReferenceBinding.java:49) [ecj-4.3.1.redhat-1.jar:4.3.1.redhat-1]
         at org.eclipse.jdt.internal.compiler.lookup.BinaryTypeBinding.resolveType(BinaryTypeBinding.java:122) [ecj-4.3.1.redhat-1.jar:4.3.1.redhat-1]
         at org.eclipse.jdt.internal.compiler.lookup.LookupEnvironment.getTypeFromTypeSignature(LookupEnvironment.java:1188) [ecj-4.3.1.redhat-1.jar:4.3.1.redhat-1]
         at org.eclipse.jdt.internal.compiler.lookup.LookupEnvironment.getTypeFromVariantTypeSignature(LookupEnvironment.java:1244) [ecj-4.3.1.redhat-1.jar:4.3.1.redhat-1]
         at org.eclipse.jdt.internal.compiler.lookup.LookupEnvironment.getTypeArgumentsFromSignature(LookupEnvironment.java:1031) [ecj-4.3.1.redhat-1.jar:4.3.1.redhat-1]
         at org.eclipse.jdt.internal.compiler.lookup.LookupEnvironment.getTypeFromTypeSignature(LookupEnvironment.java:1193) [ecj-4.3.1.redhat-1.jar:4.3.1.redhat-1]
         at org.eclipse.jdt.internal.compiler.lookup.BinaryTypeBinding.createFields(BinaryTypeBinding.java:355) [ecj-4.3.1.redhat-1.jar:4.3.1.redhat-1]
         at org.eclipse.jdt.internal.compiler.lookup.BinaryTypeBinding.cachePartsFrom(BinaryTypeBinding.java:326) [ecj-4.3.1.redhat-1.jar:4.3.1.redhat-1]
         at org.eclipse.jdt.internal.compiler.lookup.LookupEnvironment.createBinaryTypeFrom(LookupEnvironment.java:640) [ecj-4.3.1.redhat-1.jar:4.3.1.redhat-1]
         at org.eclipse.jdt.internal.compiler.lookup.LookupEnvironment.createBinaryTypeFrom(LookupEnvironment.java:619) [ecj-4.3.1.redhat-1.jar:4.3.1.redhat-1]
         at org.eclipse.jdt.internal.compiler.Compiler.accept(Compiler.java:295) [ecj-4.3.1.redhat-1.jar:4.3.1.redhat-1]
         at org.eclipse.jdt.internal.compiler.lookup.LookupEnvironment.askForType(LookupEnvironment.java:107) [ecj-4.3.1.redhat-1.jar:4.3.1.redhat-1]
         at org.eclipse.jdt.internal.compiler.lookup.UnresolvedReferenceBinding.resolve(UnresolvedReferenceBinding.java:49) [ecj-4.3.1.redhat-1.jar:4.3.1.redhat-1]
         at org.eclipse.jdt.internal.compiler.lookup.BinaryTypeBinding.resolveType(BinaryTypeBinding.java:122) [ecj-4.3.1.redhat-1.jar:4.3.1.redhat-1]
         at org.eclipse.jdt.internal.compiler.lookup.ParameterizedTypeBinding.resolve(ParameterizedTypeBinding.java:851) [ecj-4.3.1.redhat-1.jar:4.3.1.redhat-1]
         at org.eclipse.jdt.internal.compiler.lookup.BinaryTypeBinding.resolveType(BinaryTypeBinding.java:100) [ecj-4.3.1.redhat-1.jar:4.3.1.redhat-1]
         at org.eclipse.jdt.internal.compiler.lookup.BinaryTypeBinding.resolveTypesFor(BinaryTypeBinding.java:1016) [ecj-4.3.1.redhat-1.jar:4.3.1.redhat-1]
         at org.eclipse.jdt.internal.compiler.lookup.BinaryTypeBinding.getExactMethod(BinaryTypeBinding.java:771) [ecj-4.3.1.redhat-1.jar:4.3.1.redhat-1]
         at org.eclipse.jdt.internal.compiler.lookup.Scope.findExactMethod(Scope.java:893) [ecj-4.3.1.redhat-1.jar:4.3.1.redhat-1]
         at org.eclipse.jdt.internal.compiler.lookup.Scope.getMethod(Scope.java:2234) [ecj-4.3.1.redhat-1.jar:4.3.1.redhat-1]
         at org.eclipse.jdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:401) [ecj-4.3.1.redhat-1.jar:4.3.1.redhat-1]
         at org.eclipse.jdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:314) [ecj-4.3.1.redhat-1.jar:4.3.1.redhat-1]
         at org.eclipse.jdt.internal.compiler.ast.Expression.resolve(Expression.java:913) [ecj-4.3.1.redhat-1.jar:4.3.1.redhat-1]
         at org.eclipse.jdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:447) [ecj-4.3.1.redhat-1.jar:4.3.1.redhat-1]
         at org.eclipse.jdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:189) [ecj-4.3.1.redhat-1.jar:4.3.1.redhat-1]
         at org.eclipse.jdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:406) [ecj-4.3.1.redhat-1.jar:4.3.1.redhat-1]
         at org.eclipse.jdt.internal.compiler.ast.TypeDeclaration.resolve(TypeDeclaration.java:1131) [ecj-4.3.1.redhat-1.jar:4.3.1.redhat-1]
         at org.eclipse.jdt.internal.compiler.ast.TypeDeclaration.resolve(TypeDeclaration.java:1219) [ecj-4.3.1.redhat-1.jar:4.3.1.redhat-1]
         at org.eclipse.jdt.internal.compiler.ast.CompilationUnitDeclaration.resolve(CompilationUnitDeclaration.java:528) [ecj-4.3.1.redhat-1.jar:4.3.1.redhat-1]
         at org.eclipse.jdt.internal.compiler.Compiler.process(Compiler.java:759) [ecj-4.3.1.redhat-1.jar:4.3.1.redhat-1]
         at org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:464) [ecj-4.3.1.redhat-1.jar:4.3.1.redhat-1]
         at org.drools.commons.jci.compilers.EclipseJavaCompiler.compile(EclipseJavaCompiler.java:351) [drools-compiler.jar:5.1.0.BRMS-jdk7]
         at org.drools.commons.jci.compilers.AbstractJavaCompiler.compile(AbstractJavaCompiler.java:51) [drools-compiler.jar:5.1.0.BRMS-jdk7]
         at org.drools.rule.builder.dialect.java.JavaDialect.compileAll(JavaDialect.java:389) [drools-compiler.jar:5.1.0.BRMS-jdk7]
         at org.drools.compiler.DialectCompiletimeRegistry.compileAll(DialectCompiletimeRegistry.java:56) [drools-compiler.jar:5.1.0.BRMS-jdk7]
         at org.drools.compiler.PackageRegistry.compileAll(PackageRegistry.java:74) [drools-compiler.jar:5.1.0.BRMS-jdk7]
         at org.drools.compiler.PackageBuilder.compileAll(PackageBuilder.java:677) [drools-compiler.jar:5.1.0.BRMS-jdk7]
         at org.drools.compiler.PackageBuilder.addPackage(PackageBuilder.java:640) [drools-compiler.jar:5.1.0.BRMS-jdk7]
         at org.drools.compiler.PackageBuilder.addPackageFromDrl(PackageBuilder.java:254) [drools-compiler.jar:5.1.0.BRMS-jdk7]
         at org.jboss.seam.drools.RuleBase.compileRuleBase(RuleBase.java:75) [jboss-seam.jar:2.2.7.EAP5]
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.8.0]
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [rt.jar:1.8.0]
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0]
         at java.lang.reflect.Method.invoke(Method.java:483) [rt.jar:1.8.0]
         at org.jboss.seam.util.Reflections.invoke(Reflections.java:22) [jboss-seam.jar:2.2.7.EAP5]
         at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:144) [jboss-seam.jar:2.2.7.EAP5]
         at org.jboss.seam.Component.callComponentMethod(Component.java:2302) [jboss-seam.jar:2.2.7.EAP5]
         at org.jboss.seam.Component.callCreateMethod(Component.java:2225) [jboss-seam.jar:2.2.7.EAP5]
         at org.jboss.seam.Component.newInstance(Component.java:2185) [jboss-seam.jar:2.2.7.EAP5]
         ... 75 more
      Caused by: org.eclipse.jdt.internal.compiler.classfmt.ClassFormatException
         at org.eclipse.jdt.internal.compiler.classfmt.ClassFileReader.<init>(ClassFileReader.java:372) [ecj-4.3.1.redhat-1.jar:4.3.1.redhat-1]
         at org.drools.commons.jci.compilers.EclipseJavaCompiler$2.findType(EclipseJavaCompiler.java:254) [drools-compiler.jar:5.1.0.BRMS-jdk7]
         ... 126 more
      

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  manaRH Marek Novotny
                  Reporter:
                  rsmeral Ron Šmeral
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: