This question is locked. New answers and comments are not allowed.
Hi,
when clicking on a button, i am adding a component in the page :
var greeter = builder.load({
path: 'views/file',
name: 'pieChart'
});
container.addChild(greeter);
on the component page i am adding "<StackLayout
xmlns:chart="nativescript-telerik-ui-pro/chart"
xmlns:Slides="nativescript-slides"
loaded="onLoad">"
<StackLayout>
the logic is written in onLoad.The code is working fine in android but is having showing error when deploying to ios.
2016-07-11 20:09:19.384 BossAppDemo[6727:2111331] -[NSNull x]: unrecognized selector sent to instance 0x3b527310
2016-07-11 20:09:19.431 BossAppDemo[6727:2111331] *** JavaScript call stack:
(
0 UIApplicationMain@[native code]
1 start@file:///app/tns_modules/application/application.js:233:26
2 @file:///app/app.js:18:30
3 promiseReactionJob@:1:11
)
2016-07-11 20:09:19.432 BossAppDemo[6727:2111331] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[NSNull x]: unrecognized selector sent to instance 0x3b527310'
*** First throw call stack:
(0x24cef91b 0x2448ae17 0x24cf52b5 0x24cf2ee1 0x24c1e238 0xb62077 0xbcae47 0xb8aed7 0xb6116f 0xbc8ba1 0xb625c3 0xbc8e29 0x27316101 0x27409771 0x273154d1 0x272f9561 0x272f9221 0x272f86e1 0x272f83b5 0x29267851 0x24cb1dff 0x24cb19ed 0x24cafd5b 0x24bff229 0x24bff015 0x261efac9 0x292d1189 0x91702c 0x913959 0x5034b7 0x7510ab 0x74ee61 0x756c7d 0x756c89 0x756c89 0x751ab1 0x7112d5 0x6fa241 0x7f4143 0x844ab9 0x508f0b 0x53b15b 0x710a1 0x248a7873)
libc++abi.dylib: terminating with uncaught exception of type NSException
when clicking on a button, i am adding a component in the page :
var greeter = builder.load({
path: 'views/file',
name: 'pieChart'
});
container.addChild(greeter);
on the component page i am adding "<StackLayout
xmlns:chart="nativescript-telerik-ui-pro/chart"
xmlns:Slides="nativescript-slides"
loaded="onLoad">"
<StackLayout>
the logic is written in onLoad.The code is working fine in android but is having showing error when deploying to ios.
2016-07-11 20:09:19.384 BossAppDemo[6727:2111331] -[NSNull x]: unrecognized selector sent to instance 0x3b527310
2016-07-11 20:09:19.431 BossAppDemo[6727:2111331] *** JavaScript call stack:
(
0 UIApplicationMain@[native code]
1 start@file:///app/tns_modules/application/application.js:233:26
2 @file:///app/app.js:18:30
3 promiseReactionJob@:1:11
)
2016-07-11 20:09:19.432 BossAppDemo[6727:2111331] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[NSNull x]: unrecognized selector sent to instance 0x3b527310'
*** First throw call stack:
(0x24cef91b 0x2448ae17 0x24cf52b5 0x24cf2ee1 0x24c1e238 0xb62077 0xbcae47 0xb8aed7 0xb6116f 0xbc8ba1 0xb625c3 0xbc8e29 0x27316101 0x27409771 0x273154d1 0x272f9561 0x272f9221 0x272f86e1 0x272f83b5 0x29267851 0x24cb1dff 0x24cb19ed 0x24cafd5b 0x24bff229 0x24bff015 0x261efac9 0x292d1189 0x91702c 0x913959 0x5034b7 0x7510ab 0x74ee61 0x756c7d 0x756c89 0x756c89 0x751ab1 0x7112d5 0x6fa241 0x7f4143 0x844ab9 0x508f0b 0x53b15b 0x710a1 0x248a7873)
libc++abi.dylib: terminating with uncaught exception of type NSException