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.

Bug 110831 - NPE on opening a css file
Summary: NPE on opening a css file
Status: RESOLVED FIXED
Alias: None
Product: web
Classification: Unclassified
Component: CSS Visual Tools (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Marek Fukala
URL:
Keywords:
: 114244 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-07-24 20:26 UTC by _ tboudreau
Modified: 2008-04-28 13:37 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description _ tboudreau 2007-07-24 20:26:16 UTC
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)
Comment 1 _ tboudreau 2007-07-24 20:33:06 UTC
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.
Comment 2 Samaresh Panda 2007-07-24 21:39:04 UTC
-->web/css
Comment 3 Marek Fukala 2007-09-03 14:14:08 UTC
*** Issue 114244 has been marked as a duplicate of this issue. ***
Comment 4 Marek Fukala 2007-10-12 19:40:38 UTC
fixed by upgrade to FlyingSaucer v.7