The following comment has been added to this issue: Author: Nick Lothian Created: Tue, 26 Aug 2003 2:08 AM Body: Some more investigation has found that many of these stacktraces seem to be caused by problems similar to:
java.lang.NoClassDefFoundError: com/cortexeb/tools/clover/S at com.opensymphony.webwork.example.ui.SimpleAction.<clinit>(SimpleAction.java:19) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:274) Is Clover a requirement in the webapp? Why? --------------------------------------------------------------------- View the issue: http://jira.opensymphony.com/secure/ViewIssue.jspa?key=WW-267 Here is an overview of the issue: --------------------------------------------------------------------- Key: WW-267 Summary: Problems running examples in WW2 Beta1 Type: Bug Status: Assigned Priority: Major Project: WebWork Components: Examples Versions: 2.0-beta1 Assignee: Patrick Lightbody Reporter: Nick Lothian Created: Tue, 26 Aug 2003 2:06 AM Updated: Tue, 26 Aug 2003 2:06 AM Environment: Tomcat 4.1.24, WW-2.0-beat1 Description: Issue 1: Drop webwork-example.war into Tomcat. Go to /webwork-example/. Stack Trace displayed: java.lang.RuntimeException: Fallback must be an instance of DefaultConfigurationManager at com.opensymphony.xwork.interceptor.component.DefaultComponentManager.setFallback(DefaultComponentManager.java:50) at com.opensymphony.webwork.lifecycle.RequestLifecycleFilter.doFilter(RequestLifecycleFilter.java:54) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256) .... Checking the log shows: Session event listener threw exception java.lang.NoClassDefFoundError at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:140) at com.opensymphony.xwork.interceptor.component.ComponentConfiguration.loadClass(ComponentConfiguration.java:133) at com.opensymphony.xwork.interceptor.component.ComponentConfiguration.configure(ComponentConfiguration.java:64) at com.opensymphony.webwork.lifecycle.SessionLifecycleListener.sessionCreated(SessionLifecycleListener.java:50) at org.apache.catalina.session.StandardSession.tellNew(StandardSession.java:402) ... Commenting everthing out of components.xml fixes that issue. In that configuration, the following links on the example page throw execptions. All threw ServletException (with non-useful stacktraces) unless noted: /webwork-example/SimpleCounter.action /webwork-example/VelocityCounter.action /webwork-example/action.jsp /webwork-example/bean.jsp /webwork-example/TagTest.action /webwork-example/VelocityTagTest.action /webwork-example/tags.vm (this was an IOException: java.io.IOException: unable to render tag! -- org.apache.velocity.exception.MethodInvocationException: Invocation of method 'findValue' in class com.opensymphony.xwork.util.OgnlValueStack threw exception class java.lang.NullPointerException : null) /webwork-example/CountryTest.action /webwork-example/IteratorTest.action /webwork-example/showForm.action /webwork-example/exception.action The link /webwork-example/form2.jsp worked, but pressing the button created another stacktrace. --------------------------------------------------------------------- JIRA INFORMATION: This message is automatically generated by JIRA. If you think it was sent incorrectly contact one of the administrators: http://jira.opensymphony.com/secure/Administrators.jspa If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0 _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork