By alexGo
on Fri, 03/21/2014 - 20:15
Hello,
I just finished an AR app that uses two Image Targets, two Videos (one per target), and two Images that I have configured as buttons. I tested and ensured everything worked perfectly, but then I made the mistake of Refactoring my package name before backing up my project. After refactoring the package name, I am receiving this error:
03-19 08:38:20.054: E/AndroidRuntime(8352): FATAL EXCEPTION: GLThread 81103-19 08:38:20.054: E/AndroidRuntime(8352): java.lang.NullPointerException03-19 08:38:20.054: E/AndroidRuntime(8352): at com.SmartGoLogo.SmartGoLogoDemo.app.VideoPlayback.VideoPlaybackRenderer.initRendering(VideoPlaybackRenderer.java:427)03-19 08:38:20.054: E/AndroidRuntime(8352): at com.SmartGoLogo.SmartGoLogoDemo.app.VideoPlayback.VideoPlaybackRenderer.onSurfaceCreated(VideoPlaybackRenderer.java:228)03-19 08:38:20.054: E/AndroidRuntime(8352): at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1502)03-19 08:38:20.054: E/AndroidRuntime(8352): at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1248) I have no idea where to start searching for the origin of this error. Mods, anyone, do you have any suggestions for where I should look? I tried refactoring the project back to its original name and still no dice. This project is extremely time sensative, so any help at all will be GREATLY appreciated! - Alex
Error After Refactoring Project
Hi, I wish i could help, but the stack trace does not tell so much on the possible cause;
Error After Refactoring Project
Thanks for your response. Fortunately, I figured out the issue. It was a simple error in my Video Filename string!
Error After Refactoring Project
Glad that you solved it :-)