Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.
We are tryinmg to link Tamino to XMLBeans. XMLBeans can parse an InputStream. Is this the correct way to get it done ? TXMLObject tempXML = myIterator.next(); java.io.OutputStream os = null ; tempXML.writeTo(os); () InputStream is = MiscTools.convertOutpurStreamToInputStream(os); PICKLISTDocumentXmlBean anotherPickListDocument = PICKLISTDocumentXmlBean. Factory.parse(is);it fails at () with null pointer exception.
Hi VictorIt is giving null pointer exception because os=null.Replace - java.io.OutputStream os = null ;with - java.io.OutputStream os = new java.io.ByteArrayOutputStream();Regards,Vikram Shinde