Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Google Groups by Carlos Verdier, 1 year ago
Attempt to invoke interface method 'void com.codename1.media.Media.play()' on a null object reference
java.lang.NullPointerException: Attempt to invoke interface method 'void com.codename1.media.Media.play()' 
on a null object reference	at userclasses.StateMachine$40.pointerReleased(StateMachine.java:5058)	at com.codename1.ui.Form.pointerReleased(Form.java:2651)	at com.codename1.ui.Component.pointerReleased(Component.java:3239)	at com.codename1.ui.Display.handleEvent(Display.java:2025)	at com.codename1.ui.Display.edtLoopImpl(Display.java:1070)	at com.codename1.ui.Display.mainEDTLoop(Display.java:999)	at com.codename1.ui.RunnableWrapper.run(RunnableWrapper.java:120)	at com.codename1.impl.CodenameOneThread$1.run(CodenameOneThread.java:60)	at java.lang.Thread.run(Thread.java:761)