[jboss-user] [JBoss jBPM] - Bad version number in .class file.

Toriton do-not-reply at jboss.com
Tue Mar 3 07:04:08 EST 2009


Hi i'm facing the error named in the title.

Here is the stack trace.

  | 2009-03-03 12:42:30,750 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/jbpm-console].[Faces Servlet]] Servlet.service() for servlet Faces Servlet threw exception
  | java.lang.UnsupportedClassVersionError: Bad version number in .class file
  | 	at java.lang.ClassLoader.defineClass1(Native Method)
  | 	at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
  | 	at java.lang.ClassLoader.defineClass(ClassLoader.java:465)
  | 	at org.jbpm.instantiation.ProcessClassLoader.findClass(ProcessClassLoader.java:111)
  | 	at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
  | 	at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
  | 	at org.jbpm.instantiation.Delegation.instantiate(Delegation.java:145)
  | 	at org.jbpm.instantiation.Delegation.getInstance(Delegation.java:126)
  | 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | 	at java.lang.reflect.Method.invoke(Method.java:585)
  | 	at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:173)
  | 	at org.jbpm.instantiation.Delegation_$$_javassist_4.getInstance(Delegation_$$_javassist_4.java)
  | 	at org.jbpm.graph.def.Action.execute(Action.java:128)
  | 	at org.jbpm.graph.def.GraphElement.executeAction(GraphElement.java:284)
  | 	at org.jbpm.graph.def.GraphElement.executeActions(GraphElement.java:241)
  | 	at org.jbpm.graph.def.GraphElement.fireAndPropagateEvent(GraphElement.java:213)
  | 	at org.jbpm.graph.def.GraphElement.fireEvent(GraphElement.java:196)
  | 	at org.jbpm.graph.def.Node.enter(Node.java:371)
  | 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | 	at java.lang.reflect.Method.invoke(Method.java:585)
  | 	at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:173)
  | 	at org.jbpm.graph.def.Node_$$_javassist_49.enter(Node_$$_javassist_49.java)
  | 	at org.jbpm.graph.def.Transition.take(Transition.java:167)
  | 	at org.jbpm.graph.def.Node.leave(Node.java:479)
  | 	at org.jbpm.graph.node.StartState.leave(StartState.java:82)
  | 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | 	at java.lang.reflect.Method.invoke(Method.java:585)
  | 	at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:173)
  | 	at org.jbpm.graph.def.Node_$$_javassist_49.leave(Node_$$_javassist_49.java)
  | 	at org.jbpm.graph.exe.Token.signal(Token.java:223)
  | 	at org.jbpm.graph.exe.Token.signal(Token.java:150)
  | 	at org.jbpm.jsf.core.action.SignalActionListener.handleAction(SignalActionListener.java:52)
  | 	at org.jbpm.jsf.core.impl.JbpmActionListenerWrapper.processAction(JbpmActionListenerWrapper.java:82)
  | 	at javax.faces.event.ActionEvent.processListener(ActionEvent.java:77)
  | 	at javax.faces.component.UIComponentBase.broadcast(UIComponentBase.java:746)
  | 	at javax.faces.component.UICommand.broadcast(UICommand.java:368)
  | 	at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:447)
  | 	at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:752)
  | 	at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:97)
  | 	at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
  | 	at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117)
  | 	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:244)
  | 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
  | 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  | 	at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
  | 	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:230)
  | 	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
  | 	at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
  | 	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:524)
  | 	at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
  | 	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
  | 	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
  | 	at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
  | 	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
  | 	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
  | 	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
  | 	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
  | 	at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
  | 	at java.lang.Thread.run(Thread.java:595)
  | 
I'm using JBPM 3.3.1 GA and Jboss 4.2.2 GA

This Exception is thrown when my ActionHandler is called( i tried with enter, leave, transition events), and on any process token. 

I have a simple process with start state, middle state, end state.
And i have an Handler when the middle state is reached.


Anyone can suggest me which class have a bad version id or how i can have more details?
Becasue the primary problem is that i don't understand which class have a bad version, the exception don't advise me on which class has this problem.

Thanks in advance







View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4214482#4214482

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4214482



More information about the jboss-user mailing list