Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8106861

NPE or graphics rendering problem when the application is dragged from one screen to another

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • fx2.0
    • fx1.2
    • javafx
    • WinXP, nVidia, 2 monitors each 1600x1200

      Run the attached application and drag it from one screen to another. Rectangles disappear and the following NPE is thrown sometimes.

      Unexpected exception caught in MasterTimer.timePulse():
      java.lang.NullPointerException
              at com.sun.scenario.effect.impl.j2d.rsl.RSLOneSamplerPeer.filterImpl(RSLOneSamplerPeer.java:64)
              at com.sun.scenario.effect.impl.j2d.rsl.RSLEffectPeer$1.run(RSLEffectPeer.java:65)
              at com.sun.scenario.effect.impl.j2d.rsl.RSLEffectPeer$1.run(RSLEffectPeer.java:63)
              at java.security.AccessController.doPrivileged(Native Method)
              at com.sun.scenario.effect.impl.j2d.rsl.RSLEffectPeer.filter(RSLEffectPeer.java:63)
              at com.sun.scenario.effect.impl.state.LinearConvolveKernel.filterImageDatas(LinearConvolveKernel.java:340)
              at com.sun.scenario.effect.BoxShadow.filterImageDatas(BoxShadow.java:393)
              at com.sun.scenario.effect.FilterEffect.filter(FilterEffect.java:94)
              at com.sun.scenario.effect.Offset.filter(Offset.java:158)
              at com.sun.scenario.effect.FilterEffect.filter(FilterEffect.java:86)
              at com.sun.scenario.effect.DelegateEffect.filter(DelegateEffect.java:65)
              at com.sun.scenario.effect.FilterEffect.filter(FilterEffect.java:86)
              at com.sun.scenario.effect.impl.j2d.J2DEffectHelper.render(J2DEffectHelper.java:79)
              at com.sun.scenario.scenegraph.SGEffect.render(SGEffect.java:173)
              at com.sun.scenario.scenegraph.SGFilter.render(SGFilter.java:299)
              at com.sun.scenario.scenegraph.SGFilter.render(SGFilter.java:233)
              at com.sun.scenario.scenegraph.SGTransform.render(SGTransform.java:280)
              at com.sun.scenario.scenegraph.SGWrapper.render(SGWrapper.java:123)
              at com.sun.scenario.scenegraph.SGGroup.render(SGGroup.java:225)
              at com.sun.scenario.scenegraph.SGTransform.render(SGTransform.java:280)
              at com.sun.scenario.scenegraph.SGWrapper.render(SGWrapper.java:123)
              at com.sun.scenario.scenegraph.SGGroup.render(SGGroup.java:225)
              at com.sun.scenario.scenegraph.SGFilter.render(SGFilter.java:233)
              at com.sun.scenario.scenegraph.SGWrapper.render(SGWrapper.java:123)
              at com.sun.scenario.scenegraph.SGGroup.render(SGGroup.java:225)
              at com.sun.scenario.scenegraph.SGWrapper.render(SGWrapper.java:123)
              at com.sun.scenario.scenegraph.SGGroup.render(SGGroup.java:225)
              at com.sun.scenario.scenegraph.SGWrapper.render(SGWrapper.java:123)
              at com.sun.scenario.scenegraph.SGGroup.render(SGGroup.java:225)
              at com.sun.scenario.scenegraph.JSGPanel.paintComponent(JSGPanel.java:233)
              at javax.swing.JComponent.paint(JComponent.java:1027)
              at javax.swing.JComponent.paintChildren(JComponent.java:864)
              at javax.swing.JComponent.paint(JComponent.java:1036)
              at javax.swing.JLayeredPane.paint(JLayeredPane.java:564)
              at javax.swing.JComponent.paintChildren(JComponent.java:864)
              at javax.swing.JComponent.paint(JComponent.java:1036)
              at javax.swing.JComponent.paintToOffscreen(JComponent.java:5122)
              at javax.swing.BufferStrategyPaintManager.paint(BufferStrategyPaintManager.java:277)
              at javax.swing.RepaintManager.paint(RepaintManager.java:1217)
              at javax.swing.JComponent._paintImmediately(JComponent.java:5070)
              at javax.swing.JComponent.paintImmediately(JComponent.java:4880)
              at javax.swing.JComponent.paintImmediately(JComponent.java:4892)
              at com.sun.scenario.scenegraph.JSGPanel.repaintDirtyRegions(JSGPanel.java:323)
              at com.sun.scenario.scenegraph.JSGPanelRepainter.repaintAll(JSGPanelRepainter.java:122)
              at com.sun.scenario.scenegraph.JSGPanelRepainter$FrameDisplay.run(JSGPanelRepainter.java:134)
              at com.sun.scenario.animation.AbstractMasterTimer.timePulseImpl(AbstractMasterTimer.java:397)
              at com.sun.scenario.animation.AbstractMasterTimer$MainLoop.run(AbstractMasterTimer.java:274)
              at com.sun.embeddedswing.EmbeddedEventQueue.doPulse(EmbeddedEventQueue.java:562)
              at com.sun.embeddedswing.EmbeddedEventQueue.access$000(EmbeddedEventQueue.java:74)
              at com.sun.embeddedswing.EmbeddedEventQueue$2.run(EmbeddedEventQueue.java:465)
              at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
              at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
              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)
      Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
              at com.sun.scenario.effect.impl.sw.sse.SSEBoxShadowPeer.filter(SSEBoxShadowPeer.java:94)
              at com.sun.scenario.effect.impl.state.LinearConvolveKernel.filterImageDatas(LinearConvolveKernel.java:351)
              at com.sun.scenario.effect.BoxShadow.filterImageDatas(BoxShadow.java:393)
              at com.sun.scenario.effect.FilterEffect.filter(FilterEffect.java:94)
              at com.sun.scenario.effect.Offset.filter(Offset.java:158)
              at com.sun.scenario.effect.FilterEffect.filter(FilterEffect.java:86)
              at com.sun.scenario.effect.DelegateEffect.filter(DelegateEffect.java:65)
              at com.sun.scenario.effect.FilterEffect.filter(FilterEffect.java:86)
              at com.sun.scenario.effect.impl.j2d.J2DEffectHelper.render(J2DEffectHelper.java:79)
              at com.sun.scenario.scenegraph.SGEffect.render(SGEffect.java:173)
              at com.sun.scenario.scenegraph.SGFilter.render(SGFilter.java:299)
              at com.sun.scenario.scenegraph.SGFilter.render(SGFilter.java:233)
              at com.sun.scenario.scenegraph.SGTransform.render(SGTransform.java:280)
              at com.sun.scenario.scenegraph.SGWrapper.render(SGWrapper.java:123)
              at com.sun.scenario.scenegraph.SGGroup.render(SGGroup.java:225)
              at com.sun.scenario.scenegraph.SGTransform.render(SGTransform.java:280)
              at com.sun.scenario.scenegraph.SGWrapper.render(SGWrapper.java:123)
              at com.sun.scenario.scenegraph.SGGroup.render(SGGroup.java:225)
              at com.sun.scenario.scenegraph.SGFilter.render(SGFilter.java:233)
              at com.sun.scenario.scenegraph.SGWrapper.render(SGWrapper.java:123)
              at com.sun.scenario.scenegraph.SGGroup.render(SGGroup.java:225)
              at com.sun.scenario.scenegraph.SGWrapper.render(SGWrapper.java:123)
              at com.sun.scenario.scenegraph.SGGroup.render(SGGroup.java:225)
              at com.sun.scenario.scenegraph.SGWrapper.render(SGWrapper.java:123)
              at com.sun.scenario.scenegraph.SGGroup.render(SGGroup.java:225)
              at com.sun.scenario.scenegraph.JSGPanel.paintComponent(JSGPanel.java:233)
              at javax.swing.JComponent.paint(JComponent.java:1027)
              at javax.swing.JComponent.paintChildren(JComponent.java:864)
              at javax.swing.JComponent.paint(JComponent.java:1036)
              at javax.swing.JLayeredPane.paint(JLayeredPane.java:564)
              at javax.swing.JComponent.paintChildren(JComponent.java:864)
              at javax.swing.JComponent.paintToOffscreen(JComponent.java:5129)
              at javax.swing.BufferStrategyPaintManager.paint(BufferStrategyPaintManager.java:277)
              at javax.swing.RepaintManager.paint(RepaintManager.java:1217)
              at javax.swing.JComponent.paint(JComponent.java:1013)
              at java.awt.GraphicsCallback$PaintCallback.run(GraphicsCallback.java:21)
              at sun.awt.SunGraphicsCallback.runOneComponent(SunGraphicsCallback.java:60)
              at sun.awt.SunGraphicsCallback.runComponents(SunGraphicsCallback.java:97)
              at java.awt.Container.paint(Container.java:1762)
              at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:814)
              at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:714)
              at javax.swing.RepaintManager.seqPaintDirtyRegions(RepaintManager.java:694)
              at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:128)
              at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
              at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
              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)

            flar Jim Graham
            mrkam Alexander Kuznetcov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: