ui-label
ui-label copied to clipboard
Crashed with UICollectionView
"@nativescript-community/ui-label": "^1.0.57", "@nativescript-community/ui-collectionview": "^4.0.9", "@nativescript/ios": "7.0.6"
====== Assertion failed ======
Native stack trace:
1 0x10558a12c tns::Assert(bool, v8::Isolate*) + 128
2 0x1054eee20 tns::ArgConverter::CreateJsWrapper(v8::Local<v8::Context>, tns::BaseDataWrapper*, v8::Local<v8::Object>, bool, std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&) + 1500
3 0x1055b23ec tns::Interop::GetResult(v8::Local<v8::Context>, tns::TypeEncoding const*, tns::BaseCall*, bool, std::__1::shared_ptr<v8::Persistent<v8::Value, v8::NonCopyablePersistentTraits<v8::Value> > >, bool, bool, bool, bool) + 3708
4 0x1054ef37c tns::ArgConverter::MethodCallback(ffi_cif*, void*, void**, void*) + 348
5 0x10563ac94 ffi_closure_SYSV_inner + 800
6 0x10563c1b4 .Ldo_closure + 20
7 0x18d0379a0 <redacted> + 2564
8 0x18d038ee8 <redacted> + 252
9 0x18d032ec0 <redacted> + 220
10 0x18d02cbcc <redacted> + 284
11 0x18d02f540 <redacted> + 52
12 0x18cfffaa4 <redacted> + 112
13 0x18d000500 <redacted> + 184
14 0x10563c044 ffi_call_SYSV + 68
15 0x10563a4f8 ffi_call_int + 968
16 0x1055ae5dc tns::Interop::CallFunctionInternal(tns::MethodCall&) + 428
17 0x1054ee224 tns::ArgConverter::Invoke(v8::Local<v8::Context>, objc_class*, v8::Local<v8::Object>, tns::V8Args&, tns::MethodMeta const*, bool) + 780
18 0x10554c100 tns::MetadataBuilder::InvokeMethod(v8::Local<v8::Context>, tns::MethodMeta const*, v8::Local<v8::Object>, tns::V8Args&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, bool) + 88
19 0x10554b98c tns::MetadataBuilder::MethodCallback(v8::FunctionCallbackInfo<v8::Value> const&) + 220
20 0x1056c7e10 v8::internal::FunctionCallbackArguments::Call(v8::internal::CallHandlerInfo) + 536
21 0x1056c73dc v8::internal::MaybeHandle<v8::internal::Object> v8::internal::(anonymous namespace)::HandleApiCallHelper<false>(v8::internal::Isolate*, v8::internal::Handle<v8::internal::HeapObject>, v8::internal::Handle<v8::internal::HeapObject>, v8::internal::Handle<v8::internal::FunctionTemplateInfo>, v8::internal::Handle<v8::internal::Object>, v8::internal::BuiltinArguments) + 516
22 0x1056c6b7c v8::internal::Builtin_Impl_HandleApiCall(v8::internal::BuiltinArguments, v8::internal::Isolate*) + 224
23 0x105e58d8c Builtins_CEntry_Return1_DontSaveFPRegs_ArgvOnStack_BuiltinExit + 108
24 0x105df16b4 Builtins_InterpreterEntryTrampoline + 244
25 0x105deef64 Builtins_JSEntryTrampoline + 164
26 0x105deec08 Builtins_JSEntry + 168
27 0x13ff80000 27 ??? 0x000000013ff80000 0x0 + 5368184832
JavaScript stack trace:
at <anonymous> (file: src/src/collectionview.ios.ts:174:32)
<HTMLLabel :html="props.item.text" borderWidth="0" margin="0" padding="0" :marginTop="$options.getTopMargins( props.item, props.displayAuthor, props.chat )" marginLeft="8" marginRight="8" :fontSize="$options.ui().theme.chat.fontSize" :color="$options.ui().theme.chat.recived.color" textWrap="true" lineHeight="1.5" />
@georgemark0v can you try with the old runtime? I feel like it might related to the v8 runtime. By the way i think it is an issue with the collectionview and not the label ;) Can you replace it with a label just to test too?
@georgemark0v can you try with the old runtime? I feel like it might related to the v8 runtime. By the way i think it is an issue with the collectionview and not the label ;) Can you replace it with a label just to test too?
With ListView HTMLLabel works fine. Will try old runtime.
@georgemark0v thanks i was not expecting it to work with basic Label ....