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

Bug 356513

Summary: Stack overflow in crosstab
Product: z_Archived Reporter: Steve Schafer <sschafer>
Component: BIRTAssignee: Birt-Report-inbox <Birt-Report-inbox>
Status: NEW --- QA Contact: Sissi Zhu <szhu>
Severity: normal    
Priority: P3 CC: bluesoldier
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Steve Schafer CLA 2011-09-01 15:10:32 EDT
Build Identifier: M20110210-1200

I was changing the top-level property from fixed layout to auto layout and back and got a stack overflow and eclipse crashed.  After that I could not open eclipse until I renamed that report.  Subsequently I could not reopen that report after renaming it back without the same error.   Here's the stack trace.  I cannot give definite steps to reproduce but the stack trace should be enough for you to identify the infinite loop.


!ENTRY org.eclipse.osgi 4 0 2011-09-01 12:56:17.903
!MESSAGE Application error
!STACK 1
java.lang.StackOverflowError
	at org.eclipse.birt.report.model.elements.ExtendedItem.getLocalProperty(ExtendedItem.java:217)
	at org.eclipse.birt.report.model.core.PropertySearchStrategy.getPropertyFromSelf(PropertySearchStrategy.java:254)
	at org.eclipse.birt.report.model.elements.strategy.ReportItemPropSearchStrategy.getPropertyFromSelf(ReportItemPropSearchStrategy.java:185)
	at org.eclipse.birt.report.model.elements.strategy.ExtendedItemPropSearchStrategy.getPropertyFromSelf(ExtendedItemPropSearchStrategy.java:315)
	at org.eclipse.birt.report.model.core.PropertySearchStrategy.getNonIntrinsicPropertyFromElement(PropertySearchStrategy.java:191)
	at org.eclipse.birt.report.model.elements.strategy.ExtendedItemPropSearchStrategy.getNonIntrinsicPropertyFromElement(ExtendedItemPropSearchStrategy.java:396)
	at org.eclipse.birt.report.model.core.PropertySearchStrategy.getPropertyExceptRomDefault(PropertySearchStrategy.java:97)
	at org.eclipse.birt.report.model.elements.strategy.ReportItemPropSearchStrategy.getPropertyExceptRomDefault(ReportItemPropSearchStrategy.java:314)
	at org.eclipse.birt.report.model.core.DesignElement.getProperty(DesignElement.java:991)
	at org.eclipse.birt.report.model.elements.ReportItem.getProperty(ReportItem.java:159)
	at org.eclipse.birt.report.model.api.ComplexValueHandle.getRawValue(ComplexValueHandle.java:166)
	at org.eclipse.birt.report.model.api.ComplexValueHandle.getValue(ComplexValueHandle.java:147)
	at org.eclipse.birt.report.model.api.DimensionHandle.getUnits(DimensionHandle.java:189)
	at org.eclipse.birt.report.designer.core.model.ReportItemtHandleAdapter.getLocation(ReportItemtHandleAdapter.java:55)
	at org.eclipse.birt.report.designer.core.model.ReportItemtHandleAdapter.getbounds(ReportItemtHandleAdapter.java:158)
	at org.eclipse.birt.report.designer.internal.ui.editors.schematic.editparts.ReportElementEditPart.getBounds(ReportElementEditPart.java:502)
	at org.eclipse.birt.report.item.crosstab.internal.ui.editors.editparts.CrosstabTableEditPart.getPreferredSize(CrosstabTableEditPart.java:593)
	at org.eclipse.birt.report.item.crosstab.internal.ui.editors.editparts.CrosstabTableEditPart.getDefaultWidth(CrosstabTableEditPart.java:615)
	at org.eclipse.birt.report.item.crosstab.internal.ui.editors.editparts.CrosstabTableEditPart.getColumnWidthValue(CrosstabTableEditPart.java:576)
	at org.eclipse.birt.report.item.crosstab.internal.ui.editors.editparts.CrosstabTableEditPart.getDefaultWidth(CrosstabTableEditPart.java:643)
	at org.eclipse.birt.report.item.crosstab.internal.ui.editors.editparts.CrosstabTableEditPart.getColumnWidthValue(CrosstabTableEditPart.java:576)
	at org.eclipse.birt.report.item.crosstab.internal.ui.editors.editparts.CrosstabTableEditPart.getDefaultWidth(CrosstabTableEditPart.java:643)
	at org.eclipse.birt.report.item.crosstab.internal.ui.editors.editparts.CrosstabTableEditPart.getColumnWidthValue(CrosstabTableEditPart.java:576)
	at org.eclipse.birt.report.item.crosstab.internal.ui.editors.editparts.CrosstabTableEditPart.getDefaultWidth(CrosstabTableEditPart.java:643)
	at org.eclipse.birt.report.item.crosstab.internal.ui.editors.editparts.CrosstabTableEditPart.getColumnWidthValue(CrosstabTableEditPart.java:576)
	at org.eclipse.birt.report.item.crosstab.internal.ui.editors.editparts.CrosstabTableEditPart.getDefaultWidth(CrosstabTableEditPart.java:643)
	at org.eclipse.birt.report.item.crosstab.internal.ui.editors.editparts.CrosstabTableEditPart.getColumnWidthValue(CrosstabTableEditPart.java:576)
	at org.eclipse.birt.report.item.crosstab.internal.ui.editors.editparts.CrosstabTableEditPart.getDefaultWidth(CrosstabTableEditPart.java:643)
	at org.eclipse.birt.report.item.crosstab.internal.ui.editors.editparts.CrosstabTableEditPart.getColumnWidthValue(CrosstabTableEditPart.java:576)
	at org.eclipse.birt.report.item.crosstab.internal.ui.editors.editparts.CrosstabTableEditPart.getDefaultWidth(CrosstabTableEditPart.java:643)
	at org.eclipse.birt.report.item.crosstab.internal.ui.editors.editparts.CrosstabTableEditPart.getColumnWidthValue(CrosstabTableEditPart.java:576)
	at org.eclipse.birt.report.item.crosstab.internal.ui.editors.editparts.CrosstabTableEditPart.getDefaultWidth(CrosstabTableEditPart.java:643)
	at org.eclipse.birt.report.item.crosstab.internal.ui.editors.editparts.CrosstabTableEditPart.getColumnWidthValue(CrosstabTableEditPart.java:576)
	at org.eclipse.birt.report.item.crosstab.internal.ui.editors.editparts.CrosstabTableEditPart.getDefaultWidth(CrosstabTableEditPart.java:643)

... and so on until it crashes

Reproducible: Didn't try
Comment 1 Maggie Shen CLA 2011-10-26 04:05:11 EDT
Hi there,

could you please at least attached the report design? Thanks.
Comment 2 Steve Schafer CLA 2011-10-26 07:57:01 EDT
Sorry, this is way too old. I no longer know which report I got the error in.  If you can't tell anything from the stack trace then I guess you can't do anything about it.