Dr. Taylor's Support Forums

You are not logged in.

#1 2008-02-07 12:22:58

taylor
Professor
From: Milwaukee, WI
Registered: 2004-08-30
Posts: 266
PM  Website

Why am I getting a NullPointerException in MP3Player or MediaCodec?

If this exception is being thrown, it is likely that the MediaEventListener reference that you passed to playTrack is null.  Make sure you are passing a reference to an existing MediaPlayerPlaybackEventHandler object.

Offline

 

Board footer

This website is not owned or managed by the Milwaukee School of Engineering.

© 2001-2007 Dr. Christopher C. Taylor, et. al., • Office: L-343 • Phone: 277-7339 • npǝ˙ǝosɯ@ɹolʎɐʇ