Fragmenttransaction In Portrait Mode Throws Nullpointerexception
First things first, I'm using the compatibility library and here's the error I'm getting: 11-22 19:57:09.111: ERROR/AndroidRuntime(28867): FATAL EXCEPTION: main java.lang.
Solution 1:
Figured out what it was. I'm using Roboguice to inject some components and due to some logic not shown above, the fragments were null. If any fragment is null the transaction.hide(fragment)
then the above exception will occur.
After I fixed the logic error, the fragments were no longer null. At that point the app worked as expected.
Post a Comment for "Fragmenttransaction In Portrait Mode Throws Nullpointerexception"