Hi,
  I want to display a line-chart for my application. I tested chenille-kit 
chart component it worked quite good, but it does not support Dates on the 
x-axis. I want to to draw time-series on the chart. So I decided to use 
JFreeChart. The link 
http://wiki.apache.org/tapestry/Tapestry5HowToCreateGenericGraphComponent 
describes the usage of JFreeChart with Tapestry. I used to code as it is, I put 
the Chart.java under components package, Prepared the LineChartPage.java and 
LineChartPage.tml. The page rendered, displayed but the chart is not displayed. 
When I look at the Jboss console I saw the "neither a stream response nor a 
redirect response was generated for this action request." exception;

[org.apache.tapestry5.services.TapestryModule.RequestExceptionHandler] 
Processing of request failed with uncaught exception: Sanity check - neither a 
stream response nor a redirect response was generated for this action request.
java.lang.IllegalStateException: Sanity check - neither a stream response nor a 
redirect response was generated for this action request.
        at 
org.apache.tapestry5.internal.services.ImmediateActionRenderResponseFilter.handle(ImmediateActionRenderResponseFilter.java:63)
        at 
$ComponentEventRequestHandler_12a5b36106e.handle($ComponentEventRequestHandler_12a5b36106e.java)
        at 
org.apache.tapestry5.internal.services.AjaxFilter.handle(AjaxFilter.java:42)
        at 
$ComponentEventRequestHandler_12a5b36106e.handle($ComponentEventRequestHandler_12a5b36106e.java)
        at 
org.apache.tapestry5.upload.internal.services.UploadExceptionFilter.handle(UploadExceptionFilter.java:75)
        at 
$ComponentEventRequestHandler_12a5b36106e.handle($ComponentEventRequestHandler_12a5b36106e.java)
        at 
org.apache.tapestry5.services.TapestryModule$36.handle(TapestryModule.java:2164)
        at 
$ComponentEventRequestHandler_12a5b36106e.handle($ComponentEventRequestHandler_12a5b36106e.java)
        at 
$ComponentEventRequestHandler_12a5b361006.handle($ComponentEventRequestHandler_12a5b361006.java)
        at 
org.apache.tapestry5.internal.services.ComponentRequestHandlerTerminator.handleComponentEvent(ComponentRequestHandlerTerminator.java:43)
        at 
$ComponentRequestHandler_12a5b360ff8.handleComponentEvent($ComponentRequestHandler_12a5b360ff8.java)
        at 
org.apache.tapestry5.internal.services.ComponentEventDispatcher.dispatch(ComponentEventDispatcher.java:46)

Did anyone encountered this exception? Or do you have any idea of the cause? Or 
a better solution to display time-series charts, which contain time information 
on x-axis.

Regars,
Ruksen
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to