aspose file tools*
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes EmptyStackException Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "EmptyStackException" Watch "EmptyStackException" New topic
Author

EmptyStackException

Eric H.Y. Chen
Greenhorn

Joined: Dec 12, 2001
Posts: 20
when i try to display a html page using JEditorPane,
the following exception occurs.
Would anyone help please?

----------------------------------
java.util.EmptyStackException
at java.util.Stack.peek(Stack.java:82)
at javax.swing.text.DefaultStyledDocument$ElementBuffer.insertElement(DefaultStyledDocument.java:1623)
at javax.swing.text.DefaultStyledDocument$ElementBuffer.insertUpdate(DefaultStyledDocument.java:1361)
at javax.swing.text.DefaultStyledDocument$ElementBuffer.insert(DefaultStyledDocument.java:1231)
at javax.swing.text.DefaultStyledDocument.insert(DefaultStyledDocument.java:194)
at javax.swing.text.html.HTMLDocument.insert(HTMLDocument.java:212)
at javax.swing.text.html.HTMLDocument$HTMLReader.flushBuffer(HTMLDocument.java:3014)
at javax.swing.text.html.HTMLDocument$HTMLReader.flush(HTMLDocument.java:1921)
at javax.swing.text.html.HTMLEditorKit.read(HTMLEditorKit.java:240)
at javax.swing.JEditorPane.read(JEditorPane.java:421)
at javax.swing.JEditorPane.read(JEditorPane.java:439)
at javax.swing.JEditorPane$PageLoader.run(JEditorPane.java:468)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: EmptyStackException