Null pointer exception during onCrimeUpdated call


#1

in CrimeListActivity.java code I’m getting a null pointer exception. Some reason listFragment is null during the onCrimeUpdated method.
Any ideas why that would occur? The resource R.id.fragmentContainer is there so I’m not sure why it wouldn’t find it.

Thanks,

Pat


#2

Never mind I found the problem. The two pane layout had the resource spelled wrong so it only failed on the tablet. It still found the resource for the smart phone so it looked like it worked.