NPE Regression in TextGridNode
Regression included in 1.47.0 release.
This happened in Apros when turning on profile monitors (module name, module label, ...)
Thread [AWT-EventQueue-0] (Suspended (breakpoint at line 277 in TextGridNode$FontSizeSum))
TextGridNode$FontSizeSum.execute(TextGridNode$Cell) line: 277
TextGridNode$FontSizeSum.execute(Object) line: 1
THashMap<K,V>(TObjectHash<T>).forEach(TObjectProcedure<? super T>) line: 135
THashMap<K,V>.forEachKey(TObjectProcedure<? super K>) line: 281
TextGridNode.refresh() line: 295
SingleElementNode(G2DParentNode).refresh() line: 129
RTreeNode(G2DParentNode).refresh() line: 129
UnboundedNode(G2DParentNode).refresh() line: 129
NavigationNode(G2DParentNode).refresh() line: 129
G2DSceneGraph(G2DParentNode).refresh() line: 129
G2DSceneGraph.refresh() line: 123
G2DSceneGraph.render(Graphics2D) line: 111
AWTChassis.paintScenegraph(Graphics2D, Rectangle) line: 308
AWTChassis.paintToVolatileImage(Graphics2D, Rectangle) line: 352
AWTChassis.paintComponent(Graphics) line: 378
AWTChassis(JComponent).paint(Graphics) line: 1074
AWTChassis(JComponent).paintToOffscreen(Graphics, int, int, int, int, int, int) line: 5255
RepaintManager$PaintManager.paintDoubleBufferedImpl(JComponent, Image, Graphics, int, int, int, int) line: 1643
RepaintManager$PaintManager.paintDoubleBuffered(JComponent, Image, Graphics, int, int, int, int) line: 1618
RepaintManager$PaintManager.paint(JComponent, JComponent, Graphics, int, int, int, int) line: 1556
G2DRepaintManager(RepaintManager).paint(JComponent, JComponent, Graphics, int, int, int, int) line: 1323
AWTChassis(JComponent)._paintImmediately(int, int, int, int) line: 5203
AWTChassis(JComponent).paintImmediately(int, int, int, int) line: 5013
RepaintManager$4.run() line: 865
RepaintManager$4.run() line: 848
AccessController.doPrivileged(PrivilegedAction<T>, AccessControlContext) line: not available [native method]
ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(PrivilegedAction<T>, AccessControlContext, AccessControlContext) line: 85
RepaintManager.paintDirtyRegions(Map<Component,Rectangle>) line: 848
RepaintManager.paintDirtyRegions() line: 823
RepaintManager.prePaintDirtyRegions() line: 772
RepaintManager$ProcessingRunnable.run() line: 1890
InvocationEvent.dispatch() line: 313
EventQueue.dispatchEventImpl(AWTEvent, Object) line: 770
EventQueue$4.run() line: 721
EventQueue$4.run() line: 715
AccessController.doPrivileged(PrivilegedAction<T>, AccessControlContext) line: not available [native method]
ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(PrivilegedAction<T>, AccessControlContext, AccessControlContext) line: 85
EventQueue.dispatchEvent(AWTEvent) line: 740
EventDispatchThread.pumpOneEventForFilters(int) line: 203
EventDispatchThread.pumpEventsForFilter(int, Conditional, EventFilter) line: 124
EventDispatchThread.pumpEventsForHierarchy(int, Conditional, Component) line: 113
EventDispatchThread.pumpEvents(int, Conditional) line: 109
EventDispatchThread.pumpEvents(Conditional) line: 101
EventDispatchThread.run() line: 90
Change 4b19c757 introduced this bug. a.getFont()
on line 277 returns null at least in Apros.