2 Replies Latest reply on Aug 20, 2007 6:32 AM by Claus Andersen

    Unknown Method Exception

    Claus Andersen Newbie

      Hello,

      I wrote a process definition which includes some JBoss Rules integrated via an ActionHandler. Running it locally works fine. But if I deploy it to a server (using the JBoss AS that was bundled with jBPM 3.2 GA) and try to run it from there, I get an exception. This is part of the stack trace:

      javax.servlet.ServletException: Servlet execution threw an exception
      org.jbpm.webapp.filter.LogFilter.doFilter(LogFilter.java:59)
      org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
      
      root cause
      
      java.lang.NoSuchMethodError: org.eclipse.jdt.internal.compiler.CompilationResult.getProblems()[Lorg/eclipse/jdt/core/compiler/CategorizedProblem;
      org.apache.commons.jci.compilers.EclipseJavaCompiler$2.acceptResult(EclipseJavaCompiler.java:237)
      org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:335)
      org.apache.commons.jci.compilers.EclipseJavaCompiler.compile(EclipseJavaCompiler.java:268)
      org.drools.compiler.PackageBuilder.compileAll(Unknown Source)
      org.drools.compiler.PackageBuilder.addPackage(Unknown Source)
      org.drools.compiler.PackageBuilder.addPackageFromDrl(Unknown Source)
      com.action.RuleActionHandler.readRule(RuleActionHandler.java:48)
      com.action.RuleActionHandler.execute(RuleActionHandler.java:26)
      org.jbpm.graph.def.Action.execute(Action.java:122)
      org.jbpm.graph.def.Action$$FastClassByCGLIB$$7876e90e.invoke(<generated>)
      net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
      org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.intercept(CGLIBLazyInitializer.java:163)
      org.jbpm.graph.def.Action$$EnhancerByCGLIB$$aad3aea9.execute(<generated>)
      org.jbpm.graph.def.Node.execute(Node.java:338)
      org.jbpm.graph.def.Node.enter(Node.java:318)
      org.jbpm.graph.def.Node$$FastClassByCGLIB$$d187eeda.invoke(<generated>)
      net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
      org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.intercept(CGLIBLazyInitializer.java:163)
      org.jbpm.graph.def.Node$$EnhancerByCGLIB$$b169b54d.enter(<generated>)
      org.jbpm.graph.def.Transition.take(Transition.java:151)
      org.jbpm.graph.def.Node.leave(Node.java:393)
      org.jbpm.graph.node.StartState.leave(StartState.java:70)
      org.jbpm.graph.def.Node$$FastClassByCGLIB$$d187eeda.invoke(<generated>)
      net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
      org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.intercept(CGLIBLazyInitializer.java:163)
      org.jbpm.graph.def.Node$$EnhancerByCGLIB$$b169b54d.leave(<generated>)
      org.jbpm.graph.exe.Token.signal(Token.java:194)
      org.jbpm.graph.exe.Token.signal(Token.java:165)
      org.jbpm.webapp.bean.ProcessBean.startInstance(ProcessBean.java:162)
      org.jbpm.webapp.bean.ProcessBean$StartInstanceListener.processAction(ProcessBean.java:123)
      javax.faces.event.ActionEvent.processListener(ActionEvent.java:77)
      javax.faces.component.UIComponentBase.broadcast(UIComponentBase.java:758)
      javax.faces.component.UICommand.broadcast(UICommand.java:368)
      javax.faces.component.UIData.broadcast(UIData.java:854)
      javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:448)
      javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:752)
      com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:97)
      com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:248)
      com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117)
      javax.faces.webapp.FacesServlet.service(FacesServlet.java:244)
      org.jbpm.webapp.filter.LogFilter.doFilter(LogFilter.java:59)
      org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
      


      What am I doing wrong?

      Thanks in advance

      Claus Andersen