Bug 137165 Stream closed exception
My report generates one simple chart. The data to this chart are generated by my servlet as XML. When I launch this report in web-based viewer (/birt/frameset?__report=) report is working, but when I launch it as standalone HTML (/birt/run?__report=) the viewer return exception: java.lang.RuntimeException: Stream closed at org.eclipse.birt.report.data.oda.xml.util.SaxParser.run(SaxParser.java:108) at java.lang.Thread.run(Thread.java:534)
data/org.eclipse.birt.report.data.oda.xml/src/org/eclipse/birt/report/data/oda/xml/util/ui/SchemaPopulationUtil.java
childNode.addChild(n.getChildren());
					}
				}
				node.addChild(childNode);
			}
		}
		if(!includeAttribute)
			return;
		XSAttributeGroupDecl group = complexType.getAttrGrp( );
		if ( group != null )
		{
			XSObjectList list = group.getAttributeUses( );
			for ( int j = 0; j < list.getLength( ); j++ )
			{
				ATreeNode childNode = new ATreeNode( );
				childNode.setValue( ( (XSAttributeUseImpl) list.item( j ) ).getAttrDeclaration( )
						.getName( ) );
				childNode.setType( ATreeNode.ATTRIBUTE_TYPE );
				node.addChild( childNode );
			}
		}
	}
	/**
	 * Return the tree node instance that represents to the ComplexElement that featured by the given value.
	 * 
	 * @param root the tree node from which the search begin
	 * @param value the name of the ComplexElement
	 * @return
	 */
	private static ATreeNode findComplexElement( ATreeNode root, String value )