Android Question Why does IncludeTitle make app act differently?

doogal

Member
Licensed User
Longtime User
Why does an app act differently when IncludeTitle is turned off. When this is true the app runs perfectly. I am getting the following error: An error has occured in sub: java.lang.NullPointerException. I now want to turn the application title off and its giving me a fit. The EditText looks different and when I type in the EditText(search box) it says object not initialized when it is.
 

eps

Expert
Licensed User
Longtime User
Check the logs, if you can't find anything meaningful in there generate the code with trace and see if it gives you a meaningful one that you can track down.

ETA : Is this on a device or AVD?

Is it generated the same way? i.e. Debug Rapid, Debug Legacy, etc..?
 
Upvote 0

doogal

Member
Licensed User
Longtime User
I found the line that is throwing the error: bar.Initialize("bar") (Debug Legacy) it stops here every time. I tried on both device and AVD. Device gives the An error has occured in sub: java.lang.NullPointerException and AVD gives Sorry! The application has stopped unexpectedly. Please try again. This is with release mode.
This works when application title is true, but now that I want to turn it off its broken.
 
Upvote 0
Top