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
{
			ATreeNode node = new ATreeNode( );
			XSElementDecl element = (XSElementDecl) map.item( i );
			node.setValue( element.getName( ) );
			node.setType( ATreeNode.ELEMENT_TYPE );
			node.setDataType( element.getName( ) );
			if ( element.getTypeDefinition( ) instanceof XSComplexTypeDecl )
			{
				XSComplexTypeDecl complexType = (XSComplexTypeDecl) element.getTypeDefinition( );
				
				if ( complexType.getName( ) != null )
				{
					node.setDataType( complexType.getName( ) );
					ATreeNode n = findComplexElement( complexTypesRoot,	complexType.getName( ) );
					if( n!= null)
						node.addChild( n.getChildren( ) );
				}
				
				else
				{
					
					addParticleAndAttributeInfo( node, complexType, complexTypesRoot );
				}
			}
			root.addChild( node );
		}
		populateRoot( root );
		return root;
	}
	/**