Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 227283

Summary: java.lang.IllegalArgumentException encountered when trying to render attached report
Product: z_Archived Reporter: Wu Yu <ywu>
Component: BIRTAssignee: Yi Wang <yi.wang>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: Lionel.wyl
Version: 2.3.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows Server 2003   
Whiteboard:
Attachments:
Description Flags
Report Design
none
another report design none

Description Wu Yu CLA 2008-04-16 05:06:05 EDT
Please refer to following exception detail:

Apr 16, 2008 1:45:11 AM org.eclipse.birt.chart.exception.ChartException logThis
WARNING: Exception
org.eclipse.birt.chart.exception.ChartException
	at org.eclipse.birt.chart.factory.Generator.render(Generator.java:1332)
	at org.eclipse.birt.chart.reportitem.ChartReportItemPresentationBase.renderToImageFile(ChartReportItemPresentationBase.java:817)
	at org.eclipse.birt.chart.reportitem.ChartReportItemPresentationBase.onRowSets(ChartReportItemPresentationBase.java:645)
	at org.eclipse.birt.chart.reportitem.ChartReportItemPresentationProxy.onRowSets(ChartReportItemPresentationProxy.java:105)
	at org.eclipse.birt.report.engine.presentation.LocalizedContentVisitor.processExtendedContent(LocalizedContentVisitor.java:842)
	at org.eclipse.birt.report.engine.presentation.LocalizedContentVisitor.visitForeign(LocalizedContentVisitor.java:476)
	at org.eclipse.birt.report.engine.content.impl.ForeignContent.accept(ForeignContent.java:69)
	at org.eclipse.birt.report.engine.presentation.LocalizedContentVisitor.localize(LocalizedContentVisitor.java:149)
	at org.eclipse.birt.report.engine.internal.executor.l18n.LocalizedReportItemExecutor.execute(LocalizedReportItemExecutor.java:36)
	at org.eclipse.birt.report.engine.layout.html.HTMLBlockStackingLM.layoutNodes(HTMLBlockStackingLM.java:63)
	at org.eclipse.birt.report.engine.layout.html.HTMLPageLM.layout(HTMLPageLM.java:89)
	at org.eclipse.birt.report.engine.layout.html.HTMLReportLayoutEngine.layout(HTMLReportLayoutEngine.java:101)
	at org.eclipse.birt.report.engine.api.impl.RenderTask$PageRangeRender.render(RenderTask.java:534)
	at org.eclipse.birt.report.engine.api.impl.RenderTask.render(RenderTask.java:221)
	at org.eclipse.birt.test.performance.RenderThread.execute(RenderThread.java:168)
	at org.eclipse.birt.test.performance.BaseTaskThread.run(BaseTaskThread.java:84)
Caused by: java.lang.IllegalArgumentException
	at org.eclipse.birt.chart.render.Bar.computeOvalPoints(Bar.java:3445)
	at org.eclipse.birt.chart.render.Bar.computeOvalPoints(Bar.java:3437)
	at org.eclipse.birt.chart.render.Bar.renderRiserTube3D(Bar.java:3212)
	at org.eclipse.birt.chart.render.Bar.renderSeries(Bar.java:1070)
	at org.eclipse.birt.chart.render.AxesRenderer.renderPlot(AxesRenderer.java:2221)
	at org.eclipse.birt.chart.render.AxesRenderer.render(AxesRenderer.java:294)
	at org.eclipse.birt.chart.factory.Generator.render(Generator.java:1327)
	... 15 more
Comment 1 Wu Yu CLA 2008-04-16 05:10:20 EDT
Created attachment 96215 [details]
Report Design

This report contains a 3D tube chart.
Comment 2 Wu Yu CLA 2008-04-16 05:16:49 EDT
Created attachment 96216 [details]
another report design

This report contains a 3D cone chart.
Comment 3 Yulin Wang CLA 2008-04-16 05:24:30 EDT
I can't reproduce the exception with both of them.
Comment 4 Yi Wang CLA 2008-04-17 22:34:43 EDT
It can't be reproduced.
Comment 5 Yi Wang CLA 2008-05-14 21:54:36 EDT
The org.eclipse.birt.chart.exception.ChartException bug is definitely fixed.  
It caused by an artificial limit to tick count of 10000 in autoscale.  But 
there are still out of memory exceptions, which have nothing to do with this 
bug.