I am getting the following error while running a react native project in xcode:
2018-07-12 14:19:13.336 [info][tid:main][RCTCxxBridge.mm:210]
Initializing <RCTCxxBridge: 0x6000001d4be0> (parent: <RCTBridge: 0x6080002c1260>, executor: (null))
2018-07-12 14:19:13.338799+0200 pleasefix[16614:4513384] Initializing
<RCTCxxBridge: 0x6000001d4be0> (parent: <RCTBridge: 0x6080002c1260>,
executor: (null))
2018-07-12 14:19:13.444 [warn][tid:main][RCTBridge.m:119] Class
RCTCxxModule was not exported. Did you forget to use
RCT_EXPORT_MODULE()?
2018-07-12 14:19:13.444411+0200 pleasefix[16614:4513384] Class
RCTCxxModule was not exported. Did you forget to use
RCT_EXPORT_MODULE()?
2018-07-12 14:19:13.471746+0200 pleasefix[16614:4513384] -[RCTCxxBridge
devSettings]: unrecognized selector sent to instance 0x6000001d4be0
2018-07-12 14:19:13.487811+0200 pleasefix[16614:4513384] *** Terminating
app due to uncaught exception 'NSInvalidArgumentException', reason: '-
[RCTCxxBridge devSettings]: unrecognized selector sent to instance
0x6000001d4be0'
Has anyone experienced this issue? Any ideas how to fix?
Related
I updated nativeScript, #angular/cli and #nativescript/schematics to their latest stable version. Generated a new project as:
ng new port --collection=#nativescript/schematics --shared --style=scss --prefix=port
followed by
tns run ios --bundle
Error:
***** Fatal JavaScript exception - application has been terminated. *****
Native stack trace:
1 0x10da0702e NativeScript::reportFatalErrorBeforeShutdown(JSC::ExecState*, JSC::Exception*, bool)
2 0x10da58f94 -[TNSRuntime executeModule:referredBy:]
3 0x10d2f50b3 main
4 0x7fff51a231fd start
5 0x1
JavaScript stack trace:
file: node_modules/#nativescript/angular/__ivy_ngcc__/zone-js/dist/zone-nativescript.js:32:0
at file: node_modules/#nativescript/angular/__ivy_ngcc__/zone-js/dist/zone-nativescript.js:645:1
at file: node_modules/#nativescript/angular/__ivy_ngcc__/zone-js/dist/zone-nativescript.js:9:61
at file: node_modules/#nativescript/angular/__ivy_ngcc__/zone-js/dist/zone-nativescript.js:12:1
at ../node_modules/#nativescript/angular/__ivy_ngcc__/zone-js/dist/zone-nativescript.js(file:///app/vendor.js:103073:34)
at __webpack_require__(file: src/webpack/bootstrap:752:0)
at fn(file: src/webpack/bootstrap:120:0)
at file: node_modules/#nativescript/angular/__ivy_ngcc__/platform-common.js:6:8
at ../node_modules/#nativescript/angular/__ivy_ngcc__/platform-common.js(file:///app/vendor.js:97913:34)
at __webpack_require__(file: src/webpack/bootstrap:752:0)
at fn(file: src/webpack/bootstrap:120:0)
at ../node_modules/#nativescript/angular/__ivy_ngcc__/index.js(file: node_modules/#nativescript/angular/__ivy_ngcc__/index.js:6:17)
at __webpack_require__(file: src/webpack/bootstrap:752:0)
at fn(file: src/webpack/bootstrap:120:0)
at ./app/app.module.tns.ts(file: src/app/app.module.tns.ts:1:0)
at __webpack_require__(file: src/webpack/bootstrap:752:0)
at fn(file: src/webpack/bootstrap:120:0)
at file:///app/bundle.js:240:96
at ./main.tns.ts(file:///app/bundle.js:298:34)
at __webpack_require__(fi<…>
JavaScript error:
file: node_modules/#nativescript/angular/__ivy_ngcc__/zone-js/dist/zone-nativescript.js:32:0: JS ERROR Error: Zone already loaded.
(CoreFoundation) *** Terminating app due to uncaught exception 'NativeScript encountered a fatal error: Error: Zone already loaded
the many issue with nativescript angular9 and ivy.
but to fix this error just use zone.js 0.9.1
I am getting below error while starting the dse:
ERROR [main] 2020-02-26 13:08:33,269 DseModule.java:97 - {}. Exiting...
com.google.inject.CreationException: Unable to create injector, see the following errors:
1) An exception was caught and reported. Message: Unable to check disk space available to /u01/dse_ops/logs. Perhaps the Cassandra user does not have the necessary permissions
at com.datastax.bdp.DseModule.configure(Unknown Source)
Module AppRegistry is not a registered callable module (calling
runApplication)
when running in release mode a react-native app
xcode: 10.1
react-native: 0.57
When running a react-native app in release mode, it crashes and shows warning message as follows
It is working fine while running as debug mode.
2019-02-11 15:33:04.330531+0800 EASE[1709:691989] [DYMTLInitPlatform] platform initialization successful
2019-02-11 15:33:04.639426+0800 EASE[1709:691855] =======>>>>-[ViewController initWithNibName:bundle:]
2019-02-11 15:33:04.639721+0800 EASE[1709:691855] ================ViewController :going initWithNibName, storyBoard goto ===========
2019-02-11 15:33:04.639739+0800 EASE[1709:691855] ================ViewController :start sync===========
2019-02-11 15:33:04.641529+0800 EASE[1709:691855] ===========Here is the synchronization when the program starts============
2019-02-11 15:33:05.069459+0800 EASE[1709:691855] The application is in the foreground and is active
2019-02-11 15:33:05.468 [error][tid:com.facebook.react.JavaScript] Can't find variable: n
2019-02-11 15:33:05.467943+0800 EASE[1709:692012] Can't find variable: n
2019-02-11 15:33:05.470 [fatal][tid:com.facebook.react.ExceptionsManagerQueue] Unhandled JS Exception: Can't find variable: n
2019-02-11 15:33:05.469853+0800 EASE[1709:692009] Unhandled JS Exception: Can't find variable: n
2019-02-11 15:33:05.471 [error][tid:com.facebook.react.JavaScript] Module AppRegistry is not a registered callable module (calling runApplication)
2019-02-11 15:33:05.471115+0800 EASE[1709:692012] Module AppRegistry is not a registered callable module (calling runApplication)
2019-02-11 15:33:05.476228+0800 EASE[1709:692009] *** Terminating app due to uncaught exception 'RCTFatalException: Unhandled JS Exception: Can't find variable: n', reason: 'Unhandled JS Exception: Can't find variable: n, stack:
<unknown>#1163:26828t#1163:474
<unknown>#1163:788t#1163:474
<unknown>#1163:703t#1163:474
<unknown>#1163:588t#1163:474
<unknown>#1163:418355v#2:1483
<unknown>#1162:69v#2:1483
<unknown>#1161:376v#2:1483
<unknown>#1160:592v#2:1483
<unknown>#1159:572v#2:1483
<unknown>#1158:661v#2:1483
<unknown>#998:5169v#2:1483
<unknown>#948:263v#2:1483
<unknown>#946:98v#2:1483
<unknown>#945:49v#2:1483
<unknown>#944:78v#2:1483
<unknown>#943:79v#2:1483
<unknown>#942:49v#2:1483
<unknown>#718:79v#2:1483
<unknown>#717:66v#2:1483
<unknown>#716:51v#2:1483
<unknown>#715:116v#2:1483
<unknown>#714:148v#2:1483
<unknown>#713:176v#2:1483
<unknown>#705:180v#2:1483
<unknown>#704:183v#2:1483
<unknown>#668:223v#2:1483
<unknown>#659:271v#2:1483
<unknown>#658:28v#2:1483
<unknown>#657:138v#2:1483
<unknown>#528:128v#2:1483
<unknown>#343:418v#2:1483
<unknown>#11:58v#2:1483d#2:866global code#2177:4'
*** First throw call stack:
(0x23b373ea0 0x23a545a40 0x105030e30 0x10502d238 0x23b37b600
0x23b259530 0x23b25a114 0x105045030 0x10508be7c 0x10508bbd8
0x10817f824 0x108180dc8 0x108188e6c 0x108189b60 0x108193bfc
0x23af900dc 0x23af92cec)
libc++abi.dylib: terminating with uncaught exception of type
NSException
(lldb)
App doesn't crash when running in both release mode and debug mode
I've installed NiFi 1.0 and imported a template.
I'm processing some files and after awhile NiFi crashes.
This is the error that I'm getting:
2018-10-09 18:10:07,416 ERROR [NiFi logging handler] org.apache.nifi.StdErr [Error] :10768:38: cvc-complex-type.2.4.a: Invalid content was found starting with element 'template'. One of '{processGroup, remoteProcessGroup, connection, controllerService}' is expected.
I had started tomcat in debug mode by setting the java_opts. It worked I was able to debug using IntelliJ.
However, when I try to stop tomcat using
./catalina stop
I am getting the following error:
ERROR: transport error 202: bind failed: Address already in use ERROR:
JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510)
JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports
initialized [debugInit.c:750] FATAL ERROR in native method: JDWP No
transports initialized, jvmtiError=AGENT_ERROR_TRANSPORT_INIT(197)
any idea ?
I found the answear when I searched further.
Basically, instead of JAVA_OPTS, using CATALINA_OPTS, solved this issue.
I found this answear in the following here:
https://stackoverflow.com/a/8216921/1720969