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

NPE in MasterTimer.timePulse in com.sun.scenario.effect.impl.j2d.rsl.RSLOneSamplerPeer.filterImpl(RSLOneSamplerPeer.java:64)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • fx2.0
    • fx1.2
    • javafx
    • WinXP

      In my code I redefine PerspectiveTransform effect of a Group using Timeline and I get the following NPE:
      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.CoreEffect.filterImageDatas(CoreEffect.java:101)
              at com.sun.scenario.effect.PerspectiveTransform.filterImageDatas(PerspectiveTransform.java:36)
              at com.sun.scenario.effect.PerspectiveTransform.filter(PerspectiveTransform.java:202)
              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.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)

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

              Created:
              Updated:
              Resolved:
              Imported: