click-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a_adrian <a.adrian.t...@googlemail.com>
Subject Some examples from SVN seem broken...
Date Tue, 31 Mar 2009 15:53:24 GMT

Some of the examples in SVN seems to be broken.
1. if you build click-examples from svn, and go to e.g. Table/Table Decorator
2. Click one item to edit it
3. Edit e.g. the name to something else
4. Click OK to save.
5. an error page will be displayed as follows
--------------------------------------------------------
java.lang.StringIndexOutOfBoundsException: String index out of range: 0
	at java.lang.String.charAt(String.java:687)
	at org.apache.click.Page.setRedirect(Page.java:1102)
	at org.apache.click.examples.page.EditCustomer.onOkClick(EditCustomer.java:118)
	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:597)
	at org.apache.click.util.ClickUtils.invokeListener(ClickUtils.java:1743)
	at org.apache.click.util.ActionListenerAdaptor.onAction(ActionListenerAdaptor.java:61)
	at org.apache.click.ControlRegistry.fireActionEvents(ControlRegistry.java:150)
	at org.apache.click.ClickServlet.performOnProcess(ClickServlet.java:1485)
	at org.apache.click.ClickServlet.processPage(ClickServlet.java:505)
	at org.apache.click.ClickServlet.handleRequest(ClickServlet.java:335)
	at org.apache.click.ClickServlet.doPost(ClickServlet.java:271)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.apache.click.extras.filter.PerformanceFilter.doFilter(PerformanceFilter.java:395)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.apache.click.extras.cayenne.DataContextFilter.doFilter(DataContextFilter.java:241)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.apache.click.examples.util.DatabaseInitFilter.doFilter(DatabaseInitFilter.java:106)
	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:233)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
	at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
	at java.lang.Thread.run(Thread.java:619)
-- 
View this message in context: http://n2.nabble.com/Some-examples-from-SVN-seem-broken...-tp2563798p2563798.html
Sent from the click-development mailing list archive at Nabble.com.


Mime
View raw message