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 Stack Overflow by shriyans kapoor
, 1 year ago
This exception has no message.
java.lang.NullPointerException: 	at com.example.nick.cfdo.CameraPreview.surfaceCreated(CameraPreview.java:32)	at android.view.SurfaceView.updateWindow(SurfaceView.java:572)	at android.view.SurfaceView.access$000(SurfaceView.java:86)	at android.view.SurfaceView$3.onPreDraw(SurfaceView.java:175)	at android.view.ViewTreeObserver.dispatchOnPreDraw(ViewTreeObserver.java:847)	at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1871)	at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1000)	at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:5670)	at android.view.Choreographer$CallbackRecord.run(Choreographer.java:761)	at android.view.Choreographer.doCallbacks(Choreographer.java:574)	at android.view.Choreographer.doFrame(Choreographer.java:544)	at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:747)	at android.os.Handler.handleCallback(Handler.java:733)	at android.os.Handler.dispatchMessage(Handler.java:95)	at android.os.Looper.loop(Looper.java:136)	at android.app.ActivityThread.main(ActivityThread.java:5017)	at java.lang.reflect.Method.invokeNative(Native Method)	at java.lang.reflect.Method.invoke(Method.java:515)	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:779)	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:595)	at dalvik.system.NativeStart.main(Native Method)