It looks like this is something to do with Prism. We are using Xamarin 4.8 and Prism and in IOS and all I have done is dropped a
<webview></webview>
'
and I get this exception.
I thought make I needed to set the source but
that didn't change matters. I got to be missing something simple.
Objective-C exception thrown. Name: NSInvalidArgumentException Reason: *** -[NSCoder decodeObjectOfClasses:forKey:]: This method is only implemented for coders which allowKeyedCoding.
Native stack trace:
0 CoreFoundation 0x000000011ea2aaf6 __exceptionPreprocess + 242
1 libobjc.A.dylib 0x000000011f2b8e78 objc_exception_throw + 48
2 Foundation 0x0000000118c74b8a -[NSCoder decodeObjectOfClasses:forKey:error:] + 0
3 WebKit 0x0000000117ca3bcb -[WKWebViewConfiguration initWithCoder:] + 87
4 S3.Core.Mobile.iOS 0x000000010cb32359 xamarin_dyn_objc_msgSend + 217
5 ??? 0x000000015c0b2a00 0x0 + 5839202816
We are using Xamarin 4.8 and Prism
I found that you are using the old version of Xamarin Forms, then you could upadte the version of Xamarin Forms to the latest version (5.0.0.1931) to check whether it works.
Related
I'm getting following error after even with node-sass, sass or without both of them. But i remove node modules and node cache clean, I'm still getting this error. I tried adding node-sass and sass versions also. but still this error keep coming. this was happened after I upgrade my ag-grid version to 27.3 from 23.4.
ERROR in ./src/styles.scss (./node_modules/css-loader/dist/cjs.js??ref--13-1!./node_modules/postcss-loader/src??embedded!./node_modules/sass-loader/dist/cjs.js??ref--13-3!./src/styles.scss)
Module build failed (from ./node_modules/sass-loader/dist/cjs.js):
SassError: Invalid CSS after " #return math": expected expression (e.g. 1px, bold), was ".div($lhs, $rhs);"
on line 315 of node_modules/ag-grid-community/src/styles/mixins/_ag-theme-params.scss
from line 1 of node_modules/ag-grid-community/src/styles/ag-theme-base/sass/_ag-theme-base-default-params.scss
from line 1 of node_modules/ag-grid-community/src/styles/ag-theme-base/sass/_ag-theme-base-mixin.scss
from line 1 of node_modules/ag-grid-community/src/styles/ag-theme-base/sass/_ag-theme-base.scss
from line 1 of node_modules/ag-grid-community/src/styles/ag-theme-alpine/sass/_ag-theme-alpine-mixin.scss
from line 2 of D:\Projects\Operative\Repo\ag-grid-update\finance\finance-frontend\src\styles.scss
>> #return math.div($lhs, $rhs);
----------------^
need a help because I tried so many posted answers in SO.
As of Version 26 of AG Grid, Node-Sass will no longer work with AG Grid.
This is due to Node-Sass being deprecated in favor of Dart-Sass, you can find out more about this here.
For users upgrading from versions of AG Grid before 26 or new users, we would highly recommend using Sass.
For more information regarding AG Grid and Sass and how themes and styles work, please visit our documentation.
Unable to reproduce but getting lots of crashes reported via crashlytics.
See crash log below. If more info is needed please let me know...
Crashing only on devices running iOS 12.0/12.1
Using GoogleAnalytics 3.17.0 (latest)
Crash occurs at:
8 ----- 0x10148534c -[GAIAnalyticsPropertiesStore upsertPropertyRecord:] + 4383150924
Help and suggestions are greatly appreciated. Thanks!
Crashed: GAIThread
0 libsystem_platform.dylib 0x1bf912f3c
_os_unfair_lock_unowned_abort + 36
1 libsystem_platform.dylib 0x1bf914524
_os_unfair_lock_unlock_slow + 144
2 libsqlite3.dylib 0x1c017e18c sqlite3_randomness +
4368
3 libsqlite3.dylib 0x1c015d878 sqlite3_value_text +
26356
4 libsqlite3.dylib 0x1c015d250 sqlite3_value_text +
24780
5 libsqlite3.dylib 0x1c0128434 sqlite3_finalize + 3732
6 libsqlite3.dylib 0x1c01557d0 sqlite3_step + 66844
7 libsqlite3.dylib 0x1c0145464 sqlite3_step + 432
8 ----- 0x10148534c
-[GAIAnalyticsPropertiesStore upsertPropertyRecord:] + 4383150924
9 ----- 0x101484ddc
-[GAIAnalyticsPropertiesStore nextHitNumberForTrackingId:clientId:] + 4383149532
10 ----- 0x10147eb00 -[GAIBatchingDispatcher
queueDispatch:] + 4383124224
11 ----- 0x10147e91c -[GAIBatchingDispatcher
queueModel:] + 4383123740
12 Foundation 0x1c07bb5a0 __NSThreadPerformPerform
+ 336
13 CoreFoundation 0x1bfc9a5b8
CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION + 24
14 CoreFoundation 0x1bfc9a538 __CFRunLoopDoSource0 +
88
15 CoreFoundation 0x1bfc99e1c __CFRunLoopDoSources0 +
176
16 CoreFoundation 0x1bfc94ce8 __CFRunLoopRun + 1040
17 CoreFoundation 0x1bfc945b8 CFRunLoopRunSpecific +
436
18 Foundation 0x1c06886a4 -[NSRunLoop(NSRunLoop)
runMode:beforeDate:] + 300
19 Foundation 0x1c06c4094 -[NSRunLoop(NSRunLoop)
run] + 88
20 ----- 0x10146bf14 +[GAI threadMain:] +
4383047444
21 Foundation 0x1c07bb3b0 NSThread__start +
1040
22 libsystem_pthread.dylib 0x1bf9252fc _pthread_body + 128
23 libsystem_pthread.dylib 0x1bf92525c _pthread_start + 48
24 libsystem_pthread.dylib 0x1bf928d08 thread_start + 4
--
Update:
I made a couple of changes that seemed to have helped. The app is still crashing but less frequently. Also I added log statements to help pinpoint where and when it is crashing.
The change I made that seemed to help was increasing the value for dispatchInterval (previous set to 20)...
[GAI sharedInstance].dispatchInterval = 60;
Also, the crash only seems to occur when the app is launched and/or becomes active while trying to track an event in the app delegate method...
- (void)applicationDidBecomeActive:(UIApplication *)application {
...
GA_EVENT(#"App Launch", #"", #"App Launched", 0);
// NOTE: GA_EVENT defines a custom method that creates the event (GAIDictionaryBuilder)
// and invokes the GAITracker's send method with the event per usual.
// This approach is used throughout the app and was working fine prior
// to iOS 12, but is now causing a crash here for some reason
...
}
Lastly, in the event that this is a bug with GA SDK, I created an issue in their bug tracker. From my research, the last time this crash was reported it seemed to have required an update to their SDK. So, perhaps that's the case here as well. We'll see if I hear anything back from the Google gods...
https://issuetracker.google.com/issues/117476933
We have found the solution to this problem after spending sleepless days and nights. The issue was occurring because of the Apsalar SDK in our case. If you are using Apsalar SDK in your project, I highly recommend you to move from Apsalar to Singular SDK. Singular SDK covers all the functionality provided by Apsalar. So you need not worry about missing any functionality or changing a hell lot of code.
You can download the Singular SDK from the following link: https://support.singular.net/hc/en-us/articles/115000497903-Integrating-the-Singular-SDK
I'm trying get ionic up and running using my mac by following the simple instructions on the website (http://ionicframework.com/getting-started/)
Everything is working until i need to emulate
$ ionic emulate ios
I did a little deeper and I realized the same error lies in when I tried to run ios-sim
Here is what I see
$ ios-sim start
2015-02-27 14:01:57.361 ios-sim[1810:208272] [MT] DVTAssertions: ASSERTION FAILURE in /SourceCache/DVTiOSFrameworks/DVTiOSFrameworks-6274/DVTiPhoneSimulatorRemoteClient/DTiPhoneSimulatorSessionConfig.m:143
Details: (runtime) should not be nil.
Object: <DTiPhoneSimulatorSystemRoot>
Method: +rootWithSimRuntime:
Thread: <NSThread: 0x7ff44a5105f0>{number = 1, name = main}
Hints: None
Backtrace:
0 0x0000000110abe24a -[DVTAssertionHandler handleFailureInMethod:object:fileName:lineNumber:assertionSignature:messageFormat:arguments:] (in DVTFoundation)
1 0x0000000110abdc9f _DVTAssertionHandler (in DVTFoundation)
2 0x0000000110abdf8e _DVTAssertionFailureHandler (in DVTFoundation)
3 0x0000000111062614 +[DTiPhoneSimulatorSystemRoot rootWithSimRuntime:] (in DVTiPhoneSimulatorRemoteClient)
4 0x0000000111061897 -[DTiPhoneSimulatorSessionConfig simulatedSystemRoot] (in DVTiPhoneSimulatorRemoteClient)
5 0x000000010ebadab0 -[iPhoneSimulator launchApp:withFamily:uuid:environment:stdoutPath:stderrPath:timeout:args:] (in ios-sim)
6 0x000000010ebaecfd -[iPhoneSimulator runWithArgc:argv:] (in ios-sim)
7 0x000000010ebaefbb main (in ios-sim)
8 0x000000010ebac37c start (in ios-sim)
9 0x0000000000000002
Abort trap: 6
Please advice
In several of my projects I am using the following code:
NSOpenPanel * ProfilOpenPanel = [NSOpenPanel openPanel];
[ProfilOpenPanel setCanChooseFiles:YES];
[ProfilOpenPanel setCanChooseDirectories:NO];
[ProfilOpenPanel setAllowsMultipleSelection:YES];
[ProfilOpenPanel setAllowedFileTypes:[NSArray arrayWithObject:#"txt"]];
int antwort=[ProfilOpenPanel runModal];
Since upgrading to 10.8 and Xcode4.5, this code doesn’t work any more.
The panel opens, but then the app crashes with a message in the Debug Navigator as:
quicklook.pluginload(serial)
1 Thread
Thread 5
14 _pthread_wqthread
In the console, a couple of warnings appear:
WindowServer: CGXDeferSurfaces: Invalid source window 19938
and another warning:
28.September.12 12:10:40.001 Xcode[78227]: [MT] DVTAssertions: Warning in /SourceCache/IDEKit/IDEKit-1854/Framework/Classes/Editor/IDEEditorContext.m:617
Details: Lost history for x-xcode-disassembly://stack_frame? processID=31774&threadID=12&frameID=0
Object:
Method: -_greatestDocumentAncestorWasForgotten
Thread: {name = (null), num = 1}
Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide.
Disabling my exception breakpoint in xcode worked for me. Or try just disabling all breakpoints.
Source: answer to the same poster on a blog at http://cyborgdino.com/2012/02/nsopenpanel-displaying-a-file-open-dialog-in-os-x-10-7/#comment-702
in Qt Creator (qt 4.8, winxp) I wrote
QuaZip* zipfile = new QuaZip;
zipfile->setZipName("myzipfile.zip");
zipfile->open(QuaZip::mdUnzip);
if(zipfile->isOpen()){
QStringList files = zipfile->getFileNameList();
} // here the error occurs
when files is destroyed, a messagebox says
Debug Assertion Failed!
Expression: _CrtIsValidHeapPointer(pUserData)
In the debugger I have the following function stack:
0 DbgBreakPoint ntdll 0x7c90120e
1 RtlpBreakPointHeap ntdll 0x7c96c201
2 RtlpValidateHeapEntry ntdll 0x7c96c63e
3 RtlValidateHeap ntdll 0x7c9603b0
4 HeapValidate kernel32 0x7c85f8d7
5 _CrtIsValidHeapPointer dbgheap.c 2103 0x102d1ac9
6 _free_dbg_nolock dbgheap.c 1317 0x102d0b3a
7 _free_dbg dbgheap.c 1258 0x102d09e0
8 free dbgfree.c 49 0x102d8990
9 qFree qmalloc.cpp 60 0x5e2f1d
10 QString::free qstring.cpp 1235 0x65dd22
11 QString::~QString qstring.h 880 0x5ac0d3
12 QString::`scalar deleting destructor' QuizSet 0x4120e0
13 QList<QString>::node_destruct qlist.h 433 0x412180
14 QList<QString>::free qlist.h 759 0x4115fb
15 QList<QString>::~QList<QString> qlist.h 733 0x410967
16 QStringList::~QStringList MyApp 0x414d9f
17 MyApp::myFunction myapp.cpp 561 0x420e1c
...
line 433 in qlist.h is where the debugger stops:
while (from != to) --to, reinterpret_cast<T*>(to)->~T();
the error occurs only if I call ::getFileNameList(), if I fill the list manual it works fine.
Other operations with quazip work, I can unzip and zip data, only the getFileNameList makes trouble.
EDIT: I found the cause: the quazip1.dll I used was the release version of it, only in debug-running this problem arised. So if I use the debug quazip.dll, it works fine. Annoying they're called the same, so I have to rename everytime I switch from debug to release. Anybody knows a workaround to this?
This means that you are mixing release mode Qt DLLs with Debug ones. You have to create 2 sets of Quazip DLLs one for Release mode and one for Debug mode. You cannot mix Qt Debug DLLs with Release DLLs.