-
Bug
-
Resolution: Duplicate
-
P3
-
None
-
2.0
-
sparc
-
solaris_8
The "javax.swing.text.StateInvariantError: LabelView may not span paragraphs" and "java.lang.NullPointerException" exceptions are seen with the Alpha11 version of Metro.
1. Invoke Task Pad
2. choose the View help
3. selected the topic SANPoint Contro GUI Reference
4. select any subtopic under that, throws the following exceptions:
/dev/pts/1:edi104>Exception occurred during event dispatching:
java.lang.NullPointerException
at sun.awt.font.StandardGlyphVector.getGlyphTX(Compiled Code)
at sun.awt.font.StandardGlyphVector.<init>(Compiled Code)
at javax.swing.text.StandardExtendedTextLabel.create(Compiled Code)
at javax.swing.text.LabelView.syncFragments(Compiled Code)
at javax.swing.text.LabelView.getPreferredSpan(Compiled Code)
at javax.swing.text.View.getMinimumSpan(Compiled Code)
at javax.swing.text.BoxView.calculateMajorAxisRequirements(Compiled Code)
at javax.swing.text.BoxView.checkRequests(Compiled Code)
at javax.swing.text.BoxView.getPreferredSpan(Compiled Code)
at javax.swing.text.ParagraphView.getAlignment(Compiled Code)
at javax.swing.text.BoxView.getChildRequests(Compiled Code)
at javax.swing.text.BoxView.layoutMajorAxis(Compiled Code)
at javax.swing.text.BoxView.layout(Compiled Code)
at javax.swing.text.BoxView.setSize(Compiled Code)
at javax.swing.text.BoxView.layout(Compiled Code)
at javax.swing.text.BoxView.setSize(Compiled Code)
at javax.swing.plaf.basic.BasicTextUI$RootView.paint(Compiled Code)
at javax.swing.plaf.basic.BasicTextUI.paintSafely(Compiled Code)
at javax.swing.plaf.basic.BasicTextUI.paint(Compiled Code)
at javax.swing.plaf.basic.BasicTextUI.update(Compiled Code)
at javax.swing.JComponent.paintComponent(Compiled Code)
at javax.swing.JComponent.paint(Compiled Code)
at javax.swing.JComponent.paintChildren(Compiled Code)
at javax.swing.JComponent.paint(Compiled Code)
at javax.swing.JViewport.paintViaBackingStore(Compiled Code)
at javax.swing.JViewport.paint(Compiled Code)
at javax.swing.JComponent.paintWithBuffer(Compiled Code)
at javax.swing.JComponent._paintImmediately(Compiled Code)
at javax.swing.JComponent.paintImmediately(Compiled Code)
at javax.swing.RepaintManager.paintDirtyRegions(Compiled Code)
at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Compiled Code)
at javax.swing.SystemEventQueueUtilities.processRunnableEvent(Compiled Code)
at javax.swing.SystemEventQueueUtilities.access$0(Compiled Code)
at javax.swing.SystemEventQueueUtilities$RunnableTarget.processEvent(Compiled Code)
at java.awt.Component.dispatchEventImpl(Compiled Code)
at java.awt.Component.dispatchEvent(Compiled Code)
at java.awt.EventQueue.dispatchEvent(Compiled Code)
at java.awt.EventDispatchThread.pumpOneEvent(Compiled Code)
at java.awt.EventDispatchThread.pumpEvents(Compiled Code)
at java.awt.Dialog.show(Compiled Code)
at java.awt.Component.show(Compiled Code)
at java.awt.Component.setVisible(Compiled Code)
at vrts.sanconsole.SANTaskpad.setVisible(SANTaskpad.java:264)
at vrts.sanconsole.SANDetailsPane.mainMenuActionPerformed(SANDetailsPane.java:525)
at vrts.sansrm.apptools.AppComponentFactory.actionPerformed(AppComponentFactory.java:639)
at vrts.sanconsole.SANComponentFactory.actionPerformed(SANComponentFactory.java:341)
at javax.swing.AbstractButton.fireActionPerformed(Compiled Code)
at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Compiled Code)
at javax.swing.DefaultButtonModel.fireActionPerformed(Compiled Code)
at javax.swing.DefaultButtonModel.setPressed(Compiled Code)
at javax.swing.AbstractButton.doClick(AbstractButton.java:226)
at javax.swing.plaf.basic.BasicMenuItemUI$MenuDragMouseHandler.menuDragMouseReleased(BasicMenuItemUI.java:815)
at javax.swing.JMenuItem.fireMenuDragMouseReleased(Compiled Code)
at javax.swing.JMenuItem.processMenuDragMouseEvent(Compiled Code)
at javax.swing.JMenuItem.processMouseEvent(Compiled Code)
at javax.swing.MenuSelectionManager.processMouseEvent(Compiled Code)
at javax.swing.plaf.basic.BasicMenuUI$MouseInputHandler.mouseReleased(BasicMenuUI.java:251)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:230)
at java.awt.Component.processMouseEvent(Compiled Code)
at java.awt.Component.processEvent(Compiled Code)
at java.awt.Container.processEvent(Compiled Code)
at java.awt.Component.dispatchEventImpl(Compiled Code)
at java.awt.Container.dispatchEventImpl(Compiled Code)
at java.awt.Component.dispatchEvent(Compiled Code)
at java.awt.LightweightDispatcher.retargetMouseEvent(Compiled Code)
at java.awt.LightweightDispatcher.processMouseEvent(Compiled Code)
at java.awt.LightweightDispatcher.dispatchEvent(Compiled Code)
at java.awt.Container.dispatchEventImpl(Compiled Code)
at java.awt.Window.dispatchEventImpl(Compiled Code)
at java.awt.Component.dispatchEvent(Compiled Code)
at java.awt.EventQueue.dispatchEvent(Compiled Code)
at java.awt.EventDispatchThread.pumpOneEvent(Compiled Code)
at java.awt.EventDispatchThread.pumpEvents(Compiled Code)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:83)
Exception occurred during event dispatching:
javax.swing.text.StateInvariantError: LabelView may not span paragraphs
at java.lang.Throwable.fillInStackTrace(Native Method)
at java.lang.Throwable.fillInStackTrace(Compiled Code)
at java.lang.Throwable.<init>(Compiled Code)
at java.lang.Error.<init>(Compiled Code)
at javax.swing.text.StateInvariantError.<init>(Compiled Code)
at javax.swing.text.LabelView.syncFragments(Compiled Code)
at javax.swing.text.LabelView.getPreferredSpan(Compiled Code)
at javax.swing.text.View.getMinimumSpan(Compiled Code)
at javax.swing.text.BoxView.calculateMajorAxisRequirements(Compiled Code)
at javax.swing.text.BoxView.checkRequests(Compiled Code)
at javax.swing.text.BoxView.getPreferredSpan(Compiled Code)
at javax.swing.text.ParagraphView.getAlignment(Compiled Code)
at javax.swing.text.BoxView.getChildRequests(Compiled Code)
at javax.swing.text.BoxView.layoutMajorAxis(Compiled Code)
at javax.swing.text.BoxView.layout(Compiled Code)
at javax.swing.text.BoxView.setSize(Compiled Code)
at javax.swing.text.BoxView.layout(Compiled Code)
at javax.swing.text.BoxView.setSize(Compiled Code)
at javax.swing.plaf.basic.BasicTextUI$RootView.setSize(Compiled Code)
at javax.swing.plaf.basic.BasicTextUI.getPreferredSize(Compiled Code)
at javax.swing.JComponent.getPreferredSize(Compiled Code)
at javax.swing.JEditorPane.getPreferredSize(Compiled Code)
at javax.swing.ScrollPaneLayout.layoutContainer(Compiled Code)
at java.awt.Container.layout(Compiled Code)
at java.awt.Container.doLayout(Compiled Code)
at java.awt.Container.validateTree(Compiled Code)
at java.awt.Container.validate(Compiled Code)
at javax.swing.RepaintManager.validateInvalidComponents(Compiled Code)
at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Compiled Code)
at javax.swing.SystemEventQueueUtilities.processRunnableEvent(Compiled Code)
at javax.swing.SystemEventQueueUtilities.access$0(Compiled Code)
at javax.swing.SystemEventQueueUtilities$RunnableTarget.processEvent(Compiled Code)
at java.awt.Component.dispatchEventImpl(Compiled Code)
at java.awt.Component.dispatchEvent(Compiled Code)
at java.awt.EventQueue.dispatchEvent(Compiled Code)
at java.awt.EventDispatchThread.pumpOneEvent(Compiled Code)
at java.awt.EventDispatchThread.pumpEvents(Compiled Code)
at java.awt.Dialog.show(Compiled Code)
at java.awt.Component.show(Compiled Code)
at java.awt.Component.setVisible(Compiled Code)
at vrts.sanconsole.SANTaskpad.setVisible(SANTaskpad.java:264)
at vrts.sanconsole.SANDetailsPane.mainMenuActionPerformed(SANDetailsPane.java:525)
at vrts.sansrm.apptools.AppComponentFactory.actionPerformed(AppComponentFactory.java:639)
at vrts.sanconsole.SANComponentFactory.actionPerformed(SANComponentFactory.java:341)
at javax.swing.AbstractButton.fireActionPerformed(Compiled Code)
at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Compiled Code)
at javax.swing.DefaultButtonModel.fireActionPerformed(Compiled Code)
at javax.swing.DefaultButtonModel.setPressed(Compiled Code)
at javax.swing.AbstractButton.doClick(AbstractButton.java:226)
at javax.swing.plaf.basic.BasicMenuItemUI$MenuDragMouseHandler.menuDragMouseReleased(BasicMenuItemUI.java:815)
at javax.swing.JMenuItem.fireMenuDragMouseReleased(Compiled Code)
at javax.swing.JMenuItem.processMenuDragMouseEvent(Compiled Code)
at javax.swing.JMenuItem.processMouseEvent(Compiled Code)
at javax.swing.MenuSelectionManager.processMouseEvent(Compiled Code)
at javax.swing.plaf.basic.BasicMenuUI$MouseInputHandler.mouseReleased(BasicMenuUI.java:251)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:230)
at java.awt.Component.processMouseEvent(Compiled Code)
at java.awt.Component.processEvent(Compiled Code)
at java.awt.Container.processEvent(Compiled Code)
at java.awt.Component.dispatchEventImpl(Compiled Code)
at java.awt.Container.dispatchEventImpl(Compiled Code)
at java.awt.Component.dispatchEvent(Compiled Code)
at java.awt.LightweightDispatcher.retargetMouseEvent(Compiled Code)
at java.awt.LightweightDispatcher.processMouseEvent(Compiled Code)
at java.awt.LightweightDispatcher.dispatchEvent(Compiled Code)
at java.awt.Container.dispatchEventImpl(Compiled Code)
at java.awt.Window.dispatchEventImpl(Compiled Code)
at java.awt.Component.dispatchEvent(Compiled Code)
at java.awt.EventQueue.dispatchEvent(Compiled Code)
at java.awt.EventDispatchThread.pumpOneEvent(Compiled Code)
at java.awt.EventDispatchThread.pumpEvents(Compiled Code)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:83)
1. Invoke Task Pad
2. choose the View help
3. selected the topic SANPoint Contro GUI Reference
4. select any subtopic under that, throws the following exceptions:
/dev/pts/1:edi104>Exception occurred during event dispatching:
java.lang.NullPointerException
at sun.awt.font.StandardGlyphVector.getGlyphTX(Compiled Code)
at sun.awt.font.StandardGlyphVector.<init>(Compiled Code)
at javax.swing.text.StandardExtendedTextLabel.create(Compiled Code)
at javax.swing.text.LabelView.syncFragments(Compiled Code)
at javax.swing.text.LabelView.getPreferredSpan(Compiled Code)
at javax.swing.text.View.getMinimumSpan(Compiled Code)
at javax.swing.text.BoxView.calculateMajorAxisRequirements(Compiled Code)
at javax.swing.text.BoxView.checkRequests(Compiled Code)
at javax.swing.text.BoxView.getPreferredSpan(Compiled Code)
at javax.swing.text.ParagraphView.getAlignment(Compiled Code)
at javax.swing.text.BoxView.getChildRequests(Compiled Code)
at javax.swing.text.BoxView.layoutMajorAxis(Compiled Code)
at javax.swing.text.BoxView.layout(Compiled Code)
at javax.swing.text.BoxView.setSize(Compiled Code)
at javax.swing.text.BoxView.layout(Compiled Code)
at javax.swing.text.BoxView.setSize(Compiled Code)
at javax.swing.plaf.basic.BasicTextUI$RootView.paint(Compiled Code)
at javax.swing.plaf.basic.BasicTextUI.paintSafely(Compiled Code)
at javax.swing.plaf.basic.BasicTextUI.paint(Compiled Code)
at javax.swing.plaf.basic.BasicTextUI.update(Compiled Code)
at javax.swing.JComponent.paintComponent(Compiled Code)
at javax.swing.JComponent.paint(Compiled Code)
at javax.swing.JComponent.paintChildren(Compiled Code)
at javax.swing.JComponent.paint(Compiled Code)
at javax.swing.JViewport.paintViaBackingStore(Compiled Code)
at javax.swing.JViewport.paint(Compiled Code)
at javax.swing.JComponent.paintWithBuffer(Compiled Code)
at javax.swing.JComponent._paintImmediately(Compiled Code)
at javax.swing.JComponent.paintImmediately(Compiled Code)
at javax.swing.RepaintManager.paintDirtyRegions(Compiled Code)
at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Compiled Code)
at javax.swing.SystemEventQueueUtilities.processRunnableEvent(Compiled Code)
at javax.swing.SystemEventQueueUtilities.access$0(Compiled Code)
at javax.swing.SystemEventQueueUtilities$RunnableTarget.processEvent(Compiled Code)
at java.awt.Component.dispatchEventImpl(Compiled Code)
at java.awt.Component.dispatchEvent(Compiled Code)
at java.awt.EventQueue.dispatchEvent(Compiled Code)
at java.awt.EventDispatchThread.pumpOneEvent(Compiled Code)
at java.awt.EventDispatchThread.pumpEvents(Compiled Code)
at java.awt.Dialog.show(Compiled Code)
at java.awt.Component.show(Compiled Code)
at java.awt.Component.setVisible(Compiled Code)
at vrts.sanconsole.SANTaskpad.setVisible(SANTaskpad.java:264)
at vrts.sanconsole.SANDetailsPane.mainMenuActionPerformed(SANDetailsPane.java:525)
at vrts.sansrm.apptools.AppComponentFactory.actionPerformed(AppComponentFactory.java:639)
at vrts.sanconsole.SANComponentFactory.actionPerformed(SANComponentFactory.java:341)
at javax.swing.AbstractButton.fireActionPerformed(Compiled Code)
at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Compiled Code)
at javax.swing.DefaultButtonModel.fireActionPerformed(Compiled Code)
at javax.swing.DefaultButtonModel.setPressed(Compiled Code)
at javax.swing.AbstractButton.doClick(AbstractButton.java:226)
at javax.swing.plaf.basic.BasicMenuItemUI$MenuDragMouseHandler.menuDragMouseReleased(BasicMenuItemUI.java:815)
at javax.swing.JMenuItem.fireMenuDragMouseReleased(Compiled Code)
at javax.swing.JMenuItem.processMenuDragMouseEvent(Compiled Code)
at javax.swing.JMenuItem.processMouseEvent(Compiled Code)
at javax.swing.MenuSelectionManager.processMouseEvent(Compiled Code)
at javax.swing.plaf.basic.BasicMenuUI$MouseInputHandler.mouseReleased(BasicMenuUI.java:251)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:230)
at java.awt.Component.processMouseEvent(Compiled Code)
at java.awt.Component.processEvent(Compiled Code)
at java.awt.Container.processEvent(Compiled Code)
at java.awt.Component.dispatchEventImpl(Compiled Code)
at java.awt.Container.dispatchEventImpl(Compiled Code)
at java.awt.Component.dispatchEvent(Compiled Code)
at java.awt.LightweightDispatcher.retargetMouseEvent(Compiled Code)
at java.awt.LightweightDispatcher.processMouseEvent(Compiled Code)
at java.awt.LightweightDispatcher.dispatchEvent(Compiled Code)
at java.awt.Container.dispatchEventImpl(Compiled Code)
at java.awt.Window.dispatchEventImpl(Compiled Code)
at java.awt.Component.dispatchEvent(Compiled Code)
at java.awt.EventQueue.dispatchEvent(Compiled Code)
at java.awt.EventDispatchThread.pumpOneEvent(Compiled Code)
at java.awt.EventDispatchThread.pumpEvents(Compiled Code)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:83)
Exception occurred during event dispatching:
javax.swing.text.StateInvariantError: LabelView may not span paragraphs
at java.lang.Throwable.fillInStackTrace(Native Method)
at java.lang.Throwable.fillInStackTrace(Compiled Code)
at java.lang.Throwable.<init>(Compiled Code)
at java.lang.Error.<init>(Compiled Code)
at javax.swing.text.StateInvariantError.<init>(Compiled Code)
at javax.swing.text.LabelView.syncFragments(Compiled Code)
at javax.swing.text.LabelView.getPreferredSpan(Compiled Code)
at javax.swing.text.View.getMinimumSpan(Compiled Code)
at javax.swing.text.BoxView.calculateMajorAxisRequirements(Compiled Code)
at javax.swing.text.BoxView.checkRequests(Compiled Code)
at javax.swing.text.BoxView.getPreferredSpan(Compiled Code)
at javax.swing.text.ParagraphView.getAlignment(Compiled Code)
at javax.swing.text.BoxView.getChildRequests(Compiled Code)
at javax.swing.text.BoxView.layoutMajorAxis(Compiled Code)
at javax.swing.text.BoxView.layout(Compiled Code)
at javax.swing.text.BoxView.setSize(Compiled Code)
at javax.swing.text.BoxView.layout(Compiled Code)
at javax.swing.text.BoxView.setSize(Compiled Code)
at javax.swing.plaf.basic.BasicTextUI$RootView.setSize(Compiled Code)
at javax.swing.plaf.basic.BasicTextUI.getPreferredSize(Compiled Code)
at javax.swing.JComponent.getPreferredSize(Compiled Code)
at javax.swing.JEditorPane.getPreferredSize(Compiled Code)
at javax.swing.ScrollPaneLayout.layoutContainer(Compiled Code)
at java.awt.Container.layout(Compiled Code)
at java.awt.Container.doLayout(Compiled Code)
at java.awt.Container.validateTree(Compiled Code)
at java.awt.Container.validate(Compiled Code)
at javax.swing.RepaintManager.validateInvalidComponents(Compiled Code)
at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Compiled Code)
at javax.swing.SystemEventQueueUtilities.processRunnableEvent(Compiled Code)
at javax.swing.SystemEventQueueUtilities.access$0(Compiled Code)
at javax.swing.SystemEventQueueUtilities$RunnableTarget.processEvent(Compiled Code)
at java.awt.Component.dispatchEventImpl(Compiled Code)
at java.awt.Component.dispatchEvent(Compiled Code)
at java.awt.EventQueue.dispatchEvent(Compiled Code)
at java.awt.EventDispatchThread.pumpOneEvent(Compiled Code)
at java.awt.EventDispatchThread.pumpEvents(Compiled Code)
at java.awt.Dialog.show(Compiled Code)
at java.awt.Component.show(Compiled Code)
at java.awt.Component.setVisible(Compiled Code)
at vrts.sanconsole.SANTaskpad.setVisible(SANTaskpad.java:264)
at vrts.sanconsole.SANDetailsPane.mainMenuActionPerformed(SANDetailsPane.java:525)
at vrts.sansrm.apptools.AppComponentFactory.actionPerformed(AppComponentFactory.java:639)
at vrts.sanconsole.SANComponentFactory.actionPerformed(SANComponentFactory.java:341)
at javax.swing.AbstractButton.fireActionPerformed(Compiled Code)
at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Compiled Code)
at javax.swing.DefaultButtonModel.fireActionPerformed(Compiled Code)
at javax.swing.DefaultButtonModel.setPressed(Compiled Code)
at javax.swing.AbstractButton.doClick(AbstractButton.java:226)
at javax.swing.plaf.basic.BasicMenuItemUI$MenuDragMouseHandler.menuDragMouseReleased(BasicMenuItemUI.java:815)
at javax.swing.JMenuItem.fireMenuDragMouseReleased(Compiled Code)
at javax.swing.JMenuItem.processMenuDragMouseEvent(Compiled Code)
at javax.swing.JMenuItem.processMouseEvent(Compiled Code)
at javax.swing.MenuSelectionManager.processMouseEvent(Compiled Code)
at javax.swing.plaf.basic.BasicMenuUI$MouseInputHandler.mouseReleased(BasicMenuUI.java:251)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:230)
at java.awt.Component.processMouseEvent(Compiled Code)
at java.awt.Component.processEvent(Compiled Code)
at java.awt.Container.processEvent(Compiled Code)
at java.awt.Component.dispatchEventImpl(Compiled Code)
at java.awt.Container.dispatchEventImpl(Compiled Code)
at java.awt.Component.dispatchEvent(Compiled Code)
at java.awt.LightweightDispatcher.retargetMouseEvent(Compiled Code)
at java.awt.LightweightDispatcher.processMouseEvent(Compiled Code)
at java.awt.LightweightDispatcher.dispatchEvent(Compiled Code)
at java.awt.Container.dispatchEventImpl(Compiled Code)
at java.awt.Window.dispatchEventImpl(Compiled Code)
at java.awt.Component.dispatchEvent(Compiled Code)
at java.awt.EventQueue.dispatchEvent(Compiled Code)
at java.awt.EventDispatchThread.pumpOneEvent(Compiled Code)
at java.awt.EventDispatchThread.pumpEvents(Compiled Code)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:83)
- duplicates
-
JDK-4229149 NullPointer exception seen across apps.; inconsistent maybe text widget related
-
- Resolved
-