java.lang.NullPointerException
at java.util.Hashtable.put(Hashtable.java:330)
at sunw.hotjava.doc.Document.clear(Document.java:1589)
at sunw.hotjava.doc.DocParser.run(DocParser.java:500)
at java.lang.Thread.run(Thread.java:474)
java.lang.NullPointerException
at sunw.hotjava.tags.TagAppletPanel.<init>(TagAppletPanel.java:175)
at sunw.hotjava.tags.APPLET.createView(APPLET.java:468)
at sunw.hotjava.doc.Formatter.performActivation(Formatter.java:452)
at sunw.hotjava.doc.Formatter.activateItem(Formatter.java:434)
at sunw.hotjava.doc.DocumentFormatter.notify(DocumentFormatter.java:887)
at sunw.hotjava.doc.Document.notifyViews(Document.java:615)
at sunw.hotjava.doc.Document.insertTagPair(Document.java:969)
at sunw.hotjava.doc.DocParser.handleStartTag(DocParser.java:921)
at sunw.html.Parser.startTag(Parser.java:360)
at sunw.html.Parser.parseTag(Parser.java:1776)
at sunw.html.Parser.parseContent(Parser.java:1807)
at sunw.html.Parser.parse(Parser.java:1922)
at sunw.hotjava.doc.DocParser.parseTemplate(DocParser.java:225)
at sunw.hotjava.doc.DocParser.run(DocParser.java:581)
at java.lang.Thread.run(Thread.java:474)
Is there any way to change the resource at runtime ?
I try the following :
m_reportBrowser.setDocumentSource( new StringReader("<html>Test1</html>") );
Then in the actionPerform method on some button event I'm trying to change
it to
m_reportBrowser.setDocumentSource( new StringReader("<html>Test2</html>") );
And I receive the same error .
Any idea ?
Thanks
Ezra.