ARKaGarlapati / flying-saucer

Automatically exported from code.google.com/p/flying-saucer
0 stars 0 forks source link

NPE in GeneralUtil #177

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Tried rendering kildemoes.dk.

Resulted in the following:

 java.lang.NullPointerException
     at org.xhtmlrenderer.util.GeneralUtil.escapeHTML(GeneralUtil.java:328)
     at org.xhtmlrenderer.demo.browser.PanelManager.getNotFoundDocument(PanelManager.java:137)
     at org.xhtmlrenderer.demo.browser.PanelManager.getXMLResource(PanelManager.java:121)
     at org.xhtmlrenderer.swing.BasicPanel.loadDocument(BasicPanel.java:468)
     at org.xhtmlrenderer.simple.XHTMLPanel.setDocument(XHTMLPanel.java:159)
     at org.xhtmlrenderer.demo.browser.BrowserPanel.loadPage(BrowserPanel.java:342)
     at org.xhtmlrenderer.demo.browser.BrowserActions$10.actionPerformed(BrowserActions.java:217)
     at javax.swing.JTextField.fireActionPerformed(JTextField.java:492)
     at javax.swing.JTextField.postActionEvent(JTextField.java:705)
     at javax.swing.JTextField$NotifyAction.actionPerformed(JTextField.java:820)
     at javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1633)
     at javax.swing.JComponent.processKeyBinding(JComponent.java:2851)
     at javax.swing.JComponent.processKeyBindings(JComponent.java:2886)
     at javax.swing.JComponent.processKeyEvent(JComponent.java:2814)
     at java.awt.Component.processEvent(Component.java:6040)
     at java.awt.Container.processEvent(Container.java:2041)
     at java.awt.Component.dispatchEventImpl(Component.java:4630)
     at java.awt.Container.dispatchEventImpl(Container.java:2099)
     at java.awt.Component.dispatchEvent(Component.java:4460)
     at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1850)
     at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:712)
     at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:990)
     at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:855)
     at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:676)
     at java.awt.Component.dispatchEventImpl(Component.java:4502)
     at java.awt.Container.dispatchEventImpl(Container.java:2099)
     at java.awt.Window.dispatchEventImpl(Window.java:2478)
     at java.awt.Component.dispatchEvent(Component.java:4460)
     at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
     at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
     at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
     at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
     at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
     at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
     at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

Original issue reported on code.google.com by Michael.Krog on 5 Oct 2011 at 11:11