NullPointer in BaseGraphics.drawTextureVO
    Kevin Rushforth 
    kevin.rushforth at oracle.com
       
    Tue Jun 11 06:18:21 PDT 2013
    
    
  
I missed the fact that this is using the non-public 
impl_fromExternalImage() method. This was replaced in FX 2.2 by 
SwingFXUtils.toFXImage as Werner mentions and has been removed from FX 8 
entirely.
One more thing to check is that jfxImage is non-null, although it is 
still more likely than not that you are running out of resources.
-- Kevin
Werner Lehmann wrote:
> Is this the same as SwingFXUtils.toFXImage?
>
> On 11.06.2013 14:27, Daniel Zwolenski wrote:
>>      BufferedImage buffImage = AWTImageConverter.toBufferedImage(image);
>>      jfxImage = 
>> javafx.scene.image.Image.impl_fromExternalImage(buffImage);
>>      previewView.setImage(jfxImage);
    
    
More information about the openjfx-dev
mailing list