RE: [sdljava-users] SDLVideoTest fails on FC4
Status: Beta
Brought to you by:
ivan_ganza
|
From: Shane M. W. <swa...@co...> - 2006-03-03 13:24:33
|
The current binary download for Linux i386 doesn't give me the
NullPointerException, but it doesn't show the test_bmp.bmp aka power plant.
My ultimate goal is to create a Java video application that can render video
using the YUV Overlay. Maybe it would just work, but I don't feel all warm
and fuzzy if the test application doesn't. Has anybody else had this issue?
Shane
_____
From: sdl...@li...
[mailto:sdl...@li...] On Behalf Of Shane M.
Walton
Sent: Friday, March 03, 2006 7:35 AM
To: sdl...@li...
Subject: [sdljava-users] SDLVideoTest fails on FC4
OS: Fedora Core 4 (i686)
SDL: 1.2.8-3.2
JDK: Sun 1.5.0_06
SWIG: 1.3.24-2
The following happens with both stable release and cvs trunk checkout:
java -Djava.library.path=./lib -cp ./classes/ sdljava.video.SDLVideoTest
Video subsystem initialized
java.lang.NullPointerException
at sdljava.video.SDLPixelFormat.getPalette(SDLPixelFormat.java:61)
at sdljava.video.SDLPixelFormat.toString(SDLPixelFormat.java:375)
at sdljava.video.SDLSurface.toString(SDLSurface.java:1122)
at java.lang.String.valueOf(String.java:2577)
at java.lang.StringBuffer.append(StringBuffer.java:220)
at sdljava.video.SDLVideoTest.init(SDLVideoTest.java:21)
at sdljava.video.SDLVideoTest.main(SDLVideoTest.java:70)
Seems like all accessors in SDLPixelFormat throw a NullPointerException.
Thanks.
Shane
|