@hieupham007 . I am having the same issue with a complex view structure inside a TableViewRow. 
I have <View> objects inside <TableViewRow>, which are again nested in each other.
But strangely enough, it works first time but when I try to load the view again(read: refresh), it crashes with the specified NPE i.e :
java.lang.NullPointerException
	at org.appcelerator.titanium.view.TiCompositeLayout.onLayout(TiCompositeLayout.java:513)
	at android.view.View.layout(View.java:14072)
	at android.view.ViewGroup.layout(ViewGroup.java:4607)
	at android.widget.FrameLayout.onLayout(FrameLayout.java:448)
	at android.view.View.layout(View.java:14072)
	at android.view.ViewGroup.layout(ViewGroup.java:4607)
	at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1655)
	at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1513)
	at android.widget.LinearLayout.onLayout(LinearLayout.java:1426)
	at android.view.View.layout(View.java:14072)
	at android.view.ViewGroup.layout(ViewGroup.java:4607)
	at android.widget.FrameLayout.onLayout(FrameLayout.java:448)
	at android.view.View.layout(View.java:14072)
	at android.view.ViewGroup.layout(ViewGroup.java:4607)
	at android.view.ViewRootImpl.performLayout(ViewRootImpl.java:1997)
	at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1818)
	at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1115)
	at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:4526)
	at android.view.Choreographer$CallbackRecord.run(Choreographer.java:725)
	at android.view.Choreographer.doCallbacks(Choreographer.java:555)
	at android.view.Choreographer.doFrame(Choreographer.java:525)
	at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:711)
	at android.os.Handler.handleCallback(Handler.java:615)
	at android.os.Handler.dispatchMessage(Handler.java:92)
	at android.os.Looper.loop(Looper.java:137)
	at android.app.ActivityThread.main(ActivityThread.java:4921)
	at java.lang.reflect.Method.invokeNative(Native Method)
	at java.lang.reflect.Method.invoke(Method.java:511)
	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1027)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:794)
	at dalvik.system.NativeStart.main(Native Method)

I am still digging in code to check if there's any problem w.r.t traversing all the nested views inside a TableViewRow, but then why did it worked the first time I load the view :-/ strange