Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check the render method of PTRViewAndroid #13

Open
jonathanroze opened this issue May 5, 2017 · 7 comments
Open

Check the render method of PTRViewAndroid #13

jonathanroze opened this issue May 5, 2017 · 7 comments

Comments

@jonathanroze
Copy link

Hi, thanks for this module but i've an issue when i run my app on Android, on IOS It's good

Error :

Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: undefined. Check the render method of `PTRViewAndroid`.
instantiateReactComponent
    instantiateReactComponent.js:76
performInitialMount
    ReactCompositeComponent.js:489
mountComponent
    ReactCompositeComponent.js:346
mountComponent
    ReactReconciler.js:61
mountChildren
    ReactMultiChild.js:263
initializeChildren
    ReactNativeBaseComponent.js:74
mountComponent
    ReactNativeBaseComponent.js:211
mountComponent
    ReactReconciler.js:61
performInitialMount
    ReactCompositeComponent.js:495
mountComponent
    ReactCompositeComponent.js:346
mountComponent
    ReactReconciler.js:61
performInitialMount
    ReactCompositeComponent.js:495
mountComponent
    ReactCompositeComponent.js:346
mountComponent
    ReactReconciler.js:61
performInitialMount
    ReactCompositeComponent.js:495
mountComponent
    ReactCompositeComponent.js:346
mountComponent
    ReactReconciler.js:61
performInitialMount
    ReactCompositeComponent.js:495
mountComponent
    ReactCompositeComponent.js:346
mountComponent
    ReactReconciler.js:61
mountChildren
    ReactMultiChild.js:263
initializeChildren
    ReactNativeBaseComponent.js:74
mountComponent
    ReactNativeBaseComponent.js:211
mountComponent
    ReactReconciler.js:61
performInitialMount
    ReactCompositeComponent.js:495
mountComponent
    ReactCompositeComponent.js:346
mountComponent
    ReactReconciler.js:61
performInitialMount
    ReactCompositeComponent.js:495
mountComponent
    ReactCompositeComponent.js:346
mountComponent
    ReactReconciler.js:61
mountChildren
    ReactMultiChild.js:263
initializeChildren
    ReactNativeBaseComponent.js:74
mountComponent
    ReactNativeBaseComponent.js:211
mountComponent
    ReactReconciler.js:61
performInitialMount
    ReactCompositeComponent.js:495
mountComponent
    ReactCompositeComponent.js:346
mountComponent
    ReactReconciler.js:61
mountChildren
    ReactMultiChild.js:263
initializeChildren
    ReactNativeBaseComponent.js:74
mountComponent
    ReactNativeBaseComponent.js:211
mountComponent
    ReactReconciler.js:61
performInitialMount
    ReactCompositeComponent.js:495
mountComponent
    ReactCompositeComponent.js:346
mountComponent
    ReactReconciler.js:61
mountChildren
    ReactMultiChild.js:263
initializeChildren
    ReactNativeBaseComponent.js:74
mountComponent
    ReactNativeBaseComponent.js:211
mountComponent
    ReactReconciler.js:61
performInitialMount
    ReactCompositeComponent.js:495
mountComponent
    ReactCompositeComponent.js:346
mountComponent
    ReactReconciler.js:61
performInitialMount
    ReactCompositeComponent.js:495
mountComponent
    ReactCompositeComponent.js:346
mountComponent
    ReactReconciler.js:61
mountChildren
    ReactMultiChild.js:263
initializeChildren
    ReactNativeBaseComponent.js:74
mountComponent
    ReactNativeBaseComponent.js:211
mountComponent
    ReactReconciler.js:61
performInitialMount
    ReactCompositeComponent.js:495
mountComponent
    ReactCompositeComponent.js:346
mountComponent
    ReactReconciler.js:61
performInitialMount
    ReactCompositeComponent.js:495
mountComponent
    ReactCompositeComponent.js:346
mountComponent
    ReactReconciler.js:61
mountChildren
    ReactMultiChild.js:263
initializeChildren
    ReactNativeBaseComponent.js:74
mountComponent
    ReactNativeBaseComponent.js:211
mountComponent
    ReactReconciler.js:61
performInitialMount
    ReactCompositeComponent.js:495
mountComponent
    ReactCompositeComponent.js:346
mountComponent
    ReactReconciler.js:61
performInitialMount
    ReactCompositeComponent.js:495
mountComponent
    ReactCompositeComponent.js:346
mountComponent
    ReactReconciler.js:61
performInitialMount
    ReactCompositeComponent.js:495
mountComponent
    ReactCompositeComponent.js:346
mountComponent
    ReactReconciler.js:61
mountChildren
    ReactMultiChild.js:263
initializeChildren
    ReactNativeBaseComponent.js:74
mountComponent
    ReactNativeBaseComponent.js:211
mountComponent
    ReactReconciler.js:61
performInitialMount
    ReactCompositeComponent.js:495
mountComponent
    ReactCompositeComponent.js:346
mountComponent
    ReactReconciler.js:61
performInitialMount
    ReactCompositeComponent.js:495
mountComponent
    ReactCompositeComponent.js:346
mountComponent
    ReactReconciler.js:61
performInitialMount
    ReactCompositeComponent.js:495
mountComponent
    ReactCompositeComponent.js:346
mountComponent
    ReactReconciler.js:61
performInitialMount
    ReactCompositeComponent.js:495
mountComponent
    ReactCompositeComponent.js:346
mountComponent
    ReactReconciler.js:61
performInitialMount
    ReactCompositeComponent.js:495
mountComponent
    ReactCompositeComponent.js:346
mountComponent
    ReactReconciler.js:61
mountChildren
    ReactMultiChild.js:263
initializeChildren
    ReactNativeBaseComponent.js:74
mountComponent
    ReactNativeBaseComponent.js:211
mountComponent
    ReactReconciler.js:61
performInitialMount
    ReactCompositeComponent.js:495
mountComponent
    ReactCompositeComponent.js:346
mountComponent
    ReactReconciler.js:61
mountChildren
    ReactMultiChild.js:263
initializeChildren
    ReactNativeBaseComponent.js:74
mountComponent
    ReactNativeBaseComponent.js:211
mountComponent
    ReactReconciler.js:61
performInitialMount
    ReactCompositeComponent.js:495
mountComponent
    ReactCompositeComponent.js:346
mountComponent
    ReactReconciler.js:61
performInitialMount
    ReactCompositeComponent.js:495
mountComponent
    ReactCompositeComponent.js:346
mountComponent
    ReactReconciler.js:61
performInitialMount
    ReactCompositeComponent.js:495
mountComponent
    ReactCompositeComponent.js:346
mountComponent
    ReactReconciler.js:61
performInitialMount
    ReactCompositeComponent.js:495
mountComponent
    ReactCompositeComponent.js:346
mountComponent
    ReactReconciler.js:61
performInitialMount
    ReactCompositeComponent.js:495
mountComponent
    ReactCompositeComponent.js:346
mountComponent
    ReactReconciler.js:61
mountChildren
    ReactMultiChild.js:263
initializeChildren
    ReactNativeBaseComponent.js:74
mountComponent
    ReactNativeBaseComponent.js:211
mountComponent
    ReactReconciler.js:61
performInitialMount
    ReactCompositeComponent.js:495
mountComponent
    ReactCompositeComponent.js:346
mountComponent
    ReactReconciler.js:61
mountChildren
    ReactMultiChild.js:263
initializeChildren
    ReactNativeBaseComponent.js:74
mountComponent
    ReactNativeBaseComponent.js:211
mountComponent
    ReactReconciler.js:61
performInitialMount
    ReactCompositeComponent.js:495
mountComponent
    ReactCompositeComponent.js:346
mountComponent
    ReactReconciler.js:61
performInitialMount
    ReactCompositeComponent.js:495
mountComponent
    ReactCompositeComponent.js:346
mountComponent
    ReactReconciler.js:61
mountChildren
    ReactMultiChild.js:263
initializeChildren
    ReactNativeBaseComponent.js:74
mountComponent
    ReactNativeBaseComponent.js:211
mountComponent
    ReactReconciler.js:61
performInitialMount
    ReactCompositeComponent.js:495
mountComponent
    ReactCompositeComponent.js:346
mountComponent
    ReactReconciler.js:61
performInitialMount
    ReactCompositeComponent.js:495
mountComponent
    ReactCompositeComponent.js:346
mountComponent
    ReactReconciler.js:61
mountChildren
    ReactMultiChild.js:263
initializeChildren
    ReactNativeBaseComponent.js:74
mountComponent
    ReactNativeBaseComponent.js:211
mountComponent
    ReactReconciler.js:61
performInitialMount
    ReactCompositeComponent.js:495
mountComponent
    ReactCompositeComponent.js:346
mountComponent
    ReactReconciler.js:61
performInitialMount
    ReactCompositeComponent.js:495
mountComponent
    ReactCompositeComponent.js:346
mountComponent
    ReactReconciler.js:61
performInitialMount
    ReactCompositeComponent.js:495
mountComponent
    ReactCompositeComponent.js:346
mountComponent
    ReactReconciler.js:61
mountChildren
    ReactMultiChild.js:263
initializeChildren
    ReactNativeBaseComponent.js:74
mountComponent
    ReactNativeBaseComponent.js:211
mountComponent
    ReactReconciler.js:61
performInitialMount
    ReactCompositeComponent.js:495
mountComponent
    ReactCompositeComponent.js:346
mountComponent
    ReactReconciler.js:61
performInitialMount
    ReactCompositeComponent.js:495
mountComponent
    ReactCompositeComponent.js:346
mountComponent
    ReactReconciler.js:61
performInitialMount
    ReactCompositeComponent.js:495
mountComponent
    ReactCompositeComponent.js:346
mountComponent
    ReactReconciler.js:61
performInitialMount
    ReactCompositeComponent.js:495
mountComponent
    ReactCompositeComponent.js:346
mountComponent
    ReactReconciler.js:61
performInitialMount
    ReactCompositeComponent.js:495
mountComponent
    ReactCompositeComponent.js:346
mountComponent
    ReactReconciler.js:61
updateChildren
    ReactChildReconciler.js:156
_reconcilerUpdateChildren
    ReactMultiChild.js:211
_updateChildren
    ReactMultiChild.js:344
updateChildren
    ReactMultiChild.js:331
receiveComponent
    ReactNativeBaseComponent.js:130
receiveComponent
    ReactReconciler.js:163
_updateRenderedComponent
    ReactCompositeComponent.js:981
_performComponentUpdate
    ReactCompositeComponent.js:944
updateComponent
    ReactCompositeComponent.js:846
receiveComponent
    ReactCompositeComponent.js:709
receiveComponent
    ReactReconciler.js:163
updateChildren
    ReactChildReconciler.js:142
_reconcilerUpdateChildren
    ReactMultiChild.js:211
_updateChildren
    ReactMultiChild.js:344
updateChildren
    ReactMultiChild.js:331
receiveComponent
    ReactNativeBaseComponent.js:130
receiveComponent
    ReactReconciler.js:163
_updateRenderedComponent
    ReactCompositeComponent.js:981
_performComponentUpdate
    ReactCompositeComponent.js:944
updateComponent
    ReactCompositeComponent.js:846
receiveComponent
    ReactCompositeComponent.js:709
receiveComponent
    ReactReconciler.js:163
_updateRenderedComponent
    ReactCompositeComponent.js:981
_performComponentUpdate
    ReactCompositeComponent.js:944
updateComponent
    ReactCompositeComponent.js:846
receiveComponent
    ReactCompositeComponent.js:709
receiveComponent
    ReactReconciler.js:163
_updateRenderedComponent
    ReactCompositeComponent.js:981
_performComponentUpdate
    ReactCompositeComponent.js:944
updateComponent
    ReactCompositeComponent.js:846
receiveComponent
    ReactCompositeComponent.js:709
receiveComponent
    ReactReconciler.js:163
_updateRenderedComponent
    ReactCompositeComponent.js:981
_performComponentUpdate
    ReactCompositeComponent.js:944
updateComponent
    ReactCompositeComponent.js:846
receiveComponent
    ReactCompositeComponent.js:709
receiveComponent
    ReactReconciler.js:163
_updateRenderedComponent
    ReactCompositeComponent.js:981
_performComponentUpdate
    ReactCompositeComponent.js:944
updateComponent
    ReactCompositeComponent.js:846
performUpdateIfNecessary
    ReactCompositeComponent.js:734
performUpdateIfNecessary
    ReactReconciler.js:213
runBatchedUpdates
    ReactUpdates.js:170
perform
    Transaction.js:149
perform
    Transaction.js:149
perform
    ReactUpdates.js:95
flushBatchedUpdates
    ReactUpdates.js:199
closeAll
    Transaction.js:222
perform
    Transaction.js:163
batchedUpdates
    ReactDefaultBatchingStrategy.js:65
batchedUpdates
    ReactUpdates.js:111
_receiveRootNodeIDEvent
    ReactNativeEventEmitter.js:126
receiveTouches
    ReactNativeEventEmitter.js:212
__callFunction
    MessageQueue.js:236
<unknown>
    MessageQueue.js:108
guard
    MessageQueue.js:46
callFunctionReturnFlushedQueue
    MessageQueue.js:107

@sudo-tee
Copy link

Same error here.

@bintoll
Copy link

bintoll commented Jun 9, 2017

+1

@output4
Copy link

output4 commented Jun 21, 2017

+2

@Louis-P
Copy link

Louis-P commented Jun 21, 2017

+3

@1fabiopereira
Copy link

+1

1 similar comment
@lizhiren2016
Copy link

+1

@moschan
Copy link
Owner

moschan commented Jul 16, 2017

Hi all, I've fixed this issue. Use my latest version v2.1.0.
If you got any error on your project, please try to run the example. Our example also has been updated.

Cheers!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants