Getting NULL pointer exception net.sf.saxon.event.ReceivingContentHandler.startElement in DaisyDiff
问题 I'm using DaizyDIff library to compare two html files. I wrote a java code to implement the DaizyDiff. but while running I'm getting NULL pointer exception on net.sf.saxon.event.ReceivingContentHandler.startElement I have tries multiple approach on SAXTransformerFactory , but I couldn't figure out public static void daisyDiffTest() throws Exception { String html1 = "<html><body>var v2</body></html>"; String html2 = "<html> \n <body> \n Hello world \n </body> \n </html>"; try { StringWriter