This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
After double clicking a css file, the following exception was thrown. Looks like it's in FlyingSaucer, but probably it should be handled somehow. java.lang.NullPointerException at org.xhtmlrenderer.layout.VerticalMarginCollapser.collapseVerticalMargins(VerticalMarginCollapser.java:115) at org.xhtmlrenderer.table.TableBoxing.layout(TableBoxing.java:127) at org.xhtmlrenderer.layout.Boxing.layout(Boxing.java:83) at org.xhtmlrenderer.layout.BlockBoxing.layoutBlockChild(BlockBoxing.java:329) at org.xhtmlrenderer.layout.BlockBoxing.layoutContent(BlockBoxing.java:123) at org.xhtmlrenderer.layout.Boxing.layoutChildren(Boxing.java:261) at org.xhtmlrenderer.layout.Boxing.layoutBlock(Boxing.java:201) at org.xhtmlrenderer.layout.Boxing.layout(Boxing.java:85) at org.xhtmlrenderer.layout.BlockBoxing.layoutBlockChild(BlockBoxing.java:329) at org.xhtmlrenderer.layout.BlockBoxing.layoutContent(BlockBoxing.java:123) at org.xhtmlrenderer.layout.Boxing.layoutChildren(Boxing.java:261) at org.xhtmlrenderer.layout.Boxing.layoutBlock(Boxing.java:201) at org.xhtmlrenderer.layout.Boxing.layout(Boxing.java:85) at org.xhtmlrenderer.layout.BlockBoxing.layoutBlockChild(BlockBoxing.java:329) at org.xhtmlrenderer.layout.BlockBoxing.layoutContent(BlockBoxing.java:123) at org.xhtmlrenderer.layout.Boxing.layoutChildren(Boxing.java:261) at org.xhtmlrenderer.layout.Boxing.layoutBlock(Boxing.java:201) at org.xhtmlrenderer.layout.Boxing.layout(Boxing.java:85) at org.xhtmlrenderer.layout.Boxing.layout(Boxing.java:75) at org.xhtmlrenderer.swing.RootPanel.doActualLayout(RootPanel.java:300) at org.xhtmlrenderer.swing.BasicPanel.paintComponent(BasicPanel.java:163) at javax.swing.JComponent.paint(JComponent.java:1005) at javax.swing.JComponent.paintChildren(JComponent.java:842) at javax.swing.JComponent.paint(JComponent.java:1014) at javax.swing.JViewport.paint(JViewport.java:726) at javax.swing.JComponent.paintChildren(JComponent.java:842) at javax.swing.JComponent.paint(JComponent.java:1014) at javax.swing.JComponent.paintChildren(JComponent.java:842) at javax.swing.JComponent.paint(JComponent.java:1014) at javax.swing.JComponent.paintChildren(JComponent.java:842) at javax.swing.JComponent.paint(JComponent.java:1014) at javax.swing.JComponent.paintChildren(JComponent.java:842) at javax.swing.JComponent.paint(JComponent.java:1014) at javax.swing.JComponent.paintChildren(JComponent.java:842) at javax.swing.JComponent.paint(JComponent.java:1014) at javax.swing.JComponent.paintChildren(JComponent.java:842) at javax.swing.JComponent.paint(JComponent.java:1014) at javax.swing.JComponent.paintChildren(JComponent.java:842) at javax.swing.JComponent.paint(JComponent.java:1014) at org.netbeans.core.windows.view.ui.MultiSplitPane.paint(MultiSplitPane.java:294) at javax.swing.JComponent.paintChildren(JComponent.java:842) at javax.swing.JComponent.paint(JComponent.java:1014) at org.netbeans.core.windows.view.ui.MultiSplitPane.paint(MultiSplitPane.java:294) at javax.swing.JComponent.paintChildren(JComponent.java:842) at javax.swing.JComponent.paint(JComponent.java:1014) at org.netbeans.core.windows.view.ui.MultiSplitPane.paint(MultiSplitPane.java:294) at javax.swing.JComponent.paintChildren(JComponent.java:842) at javax.swing.JComponent.paint(JComponent.java:1014) at javax.swing.JComponent.paintChildren(JComponent.java:842) at javax.swing.JComponent.paint(JComponent.java:1014) at javax.swing.JLayeredPane.paint(JLayeredPane.java:559) at javax.swing.JComponent.paintChildren(JComponent.java:842) at javax.swing.JComponent.paint(JComponent.java:1014) at javax.swing.JComponent.paintChildren(JComponent.java:842) at javax.swing.JComponent.paint(JComponent.java:1014) at javax.swing.JComponent.paintChildren(JComponent.java:842) at javax.swing.JComponent.paint(JComponent.java:1014) at javax.swing.JLayeredPane.paint(JLayeredPane.java:559) at javax.swing.JComponent.paintChildren(JComponent.java:842) at javax.swing.JComponent.paint(JComponent.java:1014) at javax.swing.JComponent._paintImmediately(JComponent.java:4881) at javax.swing.JComponent.paintImmediately(JComponent.java:4667) at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:477) [catch] at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:114) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209) at java.awt.EventQueue.dispatchEvent(EventQueue.java:461) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:269) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:184) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:176) at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
Note this exception recurred several times, including causing the main window not to paint after I gave window focus back to NetBeans - so when it happens it's pretty bad.
-->web/css
*** Issue 114244 has been marked as a duplicate of this issue. ***
fixed by upgrade to FlyingSaucer v.7