MongoDB Realm Studio 10.0.0 how to decrypt encrypted database? - java

How do I decrypt my db.realm with the new MongoDB Realm Studio? Typically when i click on the db.realm file, realm studio opens up and it prompts me for the key. The new studio doesn't I get:
Unable to open a realm at path '/Users/user/Desktop/tdrdb.realm': Realm file initial open failed Path:Exception backtrace:
0 .com.mongodb.realm-studio.ga3lPv 0x000000010ef779d1 ZN5realm15InvalidDatabaseC2ERKNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEES9 + 49
1 .com.mongodb.realm-studio.ga3lPv 0x000000010ef3a4cd _ZN5realm9SlabAlloc11attach_fileERKNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEERNS0_6ConfigE + 3453
2 .com.mongodb.realm-studio.ga3lPv 0x000000010ef79caa _ZN5realm2DB7do_openERKNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEbbNS_9DBOptionsE + 3482
3 .com.mongodb.realm-studio.ga3lPv 0x000000010ef7cd73 _ZN5realm2DB4openERNS_11ReplicationENS_9DBOptionsE + 243
4 .com.mongodb.realm-studio.ga3lPv 0x000000010ef81986 _ZN5realm2DB6createERNS_11ReplicationENS_9DBOptionsE + 342
5 .com.mongodb.realm-studio.ga3lPv 0x000000010ea27db5 _ZN5realm5_impl16RealmCoordinator7open_dbEv + 1277
6 .com.mongodb.realm-studio.ga3lPv 0x000000010ea26d42 _ZN5realm5_impl16RealmCoordinator12do_get_realmENS_5Realm6ConfigERNSt3__110shared_ptrIS2_EENS_4util8OptionalINS_9VersionIDEEERNS8_17CheckedUniqueLockE + 62
7 .com.mongodb.realm-studio.ga3lPv 0x000000010ea26ba8 _ZN5realm5_impl16RealmCoordinator9get_realmENS_5Realm6ConfigENS_4util8OptionalINS_9VersionIDEEE + 530
8 .com.mongodb.realm-studio.ga3lPv 0x000000010ea10f8e _ZN5realm5Realm16get_shared_realmENS0_6ConfigE + 128
9 .com.mongodb.realm-studio.ga3lPv 0x000000010e8fb1ca _ZN5realm2js10RealmClassINS_4node5TypesEE19create_shared_realmEN4Napi3EnvENS_5Realm6ConfigEbONSt3__13mapINS9_12basic_stringIcNS9_11char_traitsIcEENS9_9allocatorIcEEEENSA_ISG_NS0_9ProtectedINS5_5ValueEEENS9_4lessISG_EENSE_INS9_4pairIKSG_SJ_EEEEEESL_NSE_INSM_ISN_SQ_EEEEEEONSA_ISG_NSH_INS5_8FunctionEEESL_NSE_INSM_ISN_SW_EEEEEE + 234
10 .com.mongodb.realm-studio.ga3lPv 0x000000010e8f990e _ZN5realm2js10RealmClassINS_4node5TypesEE11constructorEN4Napi3EnvENS5_6ObjectERNS0_9ArgumentsIS3_EE + 334
11 .com.mongodb.realm-studio.ga3lPv 0x000000010e8f6289 _ZN5realm4node10ObjectWrapINS_2js10RealmClassINS0_5TypesEEEE20constructor_callbackERKN4Napi12CallbackInfoE + 135
12 .com.mongodb.realm-studio.ga3lPv 0x000000010e8f88da _ZN5realm4node13WrappedObjectINS_2js10RealmClassINS0_5TypesEEEEC2ERKN4Napi12CallbackInfoE + 128
13 .com.mongodb.realm-studio.ga3lPv 0x000000010e8f87af ZZN4Napi10ObjectWrapIN5realm4node13WrappedObjectINS1_2js10RealmClassINS2_5TypesEEEEEE26ConstructorCallbackWrapperEP10napi_env__P20napi_callback_info__ENKUlvE_clEv + 67
14 .com.mongodb.realm-studio.ga3lPv 0x000000010e8f8525 ZN4Napi10ObjectWrapIN5realm4node13WrappedObjectINS1_2js10RealmClassINS2_5TypesEEEEEE26ConstructorCallbackWrapperEP10napi_env__P20napi_callback_info + 71
15 Electron Framework 0x00000001083097ca napi_create_function + 858
16 Electron Framework 0x00000001037b62ec _ZN2v88internal9Accessors12MakeAccessorEPNS0_7IsolateENS0_6HandleINS0_4NameEEEPFvNS_5LocalINS_4NameEEERKNS_20PropertyCallbackInfoINS_5ValueEEEEPFvS9_NS7_ISB_EERKNSA_INS_7BooleanEEEE + 16844
17 Electron Framework 0x00000001037b54b8 _ZN2v88internal9Accessors12MakeAccessorEPNS0_7IsolateENS0_6HandleINS0_4NameEEEPFvNS_5LocalINS_4NameEEERKNS_20PropertyCallbackInfoINS_5ValueEEEEPFvS9_NS7_ISB_EERKNSA_INS_7BooleanEEEE + 13208
18 Electron Framework 0x00000001037b4d9f _ZN2v88internal9Accessors12MakeAccessorEPNS0_7IsolateENS0_6HandleINS0_4NameEEEPFvNS_5LocalINS_4NameEEERKNS_20PropertyCallbackInfoINS_5ValueEEEEPFvS9_NS7_ISB_EERKNSA_INS_7BooleanEEEE + 11391
19 Electron Framework 0x00000001041b8999 _ZN2v88internal20SetupIsolateDelegate9SetupHeapEPNS0_4HeapE + 501289.

Please upgrade to MongoDB Realm Studio 10.0.1, which fixes an error when opening an encrypted Realm file https://github.com/realm/realm-studio/releases

Related

What does this funky output mean in Java?

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 5 hours ago.
Improve this question
I was testing out demo code for a university project where I use their physics engine. When I run the code, the application works fine but I am met with this in the terminal. What does it mean and is there any way to resolve it?
1 HIToolbox 0x00000001a09545c8 _ZN15MenuBarInstance22EnsureAutoShowObserverEv + 120
2 HIToolbox 0x00000001a0954188 _ZN15MenuBarInstance14EnableAutoShowEv + 60
3 HIToolbox 0x00000001a08f7310 SetMenuBarObscured + 372
4 HIToolbox 0x00000001a08f6ee8 _ZN13HIApplication15HandleActivatedEP14OpaqueEventRefhP15OpaqueWindowPtrh + 172
5 HIToolbox 0x00000001a08f0fcc _ZN13HIApplication13EventObserverEjP14OpaqueEventRefPv + 296
6 HIToolbox 0x00000001a08b7cd0 _NotifyEventLoopObservers + 176
7 HIToolbox 0x00000001a08f096c AcquireEventFromQueue + 432
8 HIToolbox 0x00000001a08dfc84 ReceiveNextEventCommon + 320
9 HIToolbox 0x00000001a08dfb2c _BlockUntilNextEventMatchingListInModeWithFilter + 72
10 AppKit 0x000000019a48584c _DPSNextEvent + 632
11 AppKit 0x000000019a4849dc -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 728
12 libosxapp.dylib 0x00000001015f4260 -[NSApplicationAWT nextEventMatchingMask:untilDate:inMode:dequeue:] + 144
13 AppKit 0x000000019a478e0c -[NSApplication run] + 464
14 libosxapp.dylib 0x00000001015f4018 +[NSApplicationAWT runAWTLoopWithApp:] + 208
15 libawt_lwawt.dylib 0x000000010f53ca80 +[AWTStarter starter:headless:] + 488
16 libosxapp.dylib 0x00000001015f5c90 +[ThreadUtilities invokeBlockCopy:] + 28
17 Foundation 0x0000000198127900 __NSThreadPerformPerform + 264
18 CoreFoundation 0x0000000197201a08 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 28
19 CoreFoundation 0x000000019720199c __CFRunLoopDoSource0 + 176
20 CoreFoundation 0x000000019720170c __CFRunLoopDoSources0 + 244
21 CoreFoundation 0x0000000197200310 __CFRunLoopRun + 836
22 CoreFoundation 0x00000001971ff878 CFRunLoopRunSpecific + 612
23 libjli.dylib 0x00000001006075c4 CreateExecutionEnvironment + 400
24 libjli.dylib 0x00000001006039c0 JLI_Launch + 1212
25 java 0x0000000100543bbc main + 396
26 dyld 0x0000000196df7e50 start + 2544
I tried using different JDKs and redownloading the physics engine library my Univeristy but no luck

is there a workaround for installing Eclipse in MacbookPro running macOS 10.16 (Big Sur)

I'm studying Spring and Hibernate and the IDE I'm using is Eclipse (after years of using IntelliJ) but the thing is, every time I attempt to install Eclipse ether by using the installer or just downloading Eclipse JEE I come a across an installation error and can't move forward.
Here is the stacktrace of the error.
PS: I've been investigating and can't find anything related.
/* -------------------------------------------------------------------------- */
Process: eclipse-inst [4686]
Path: /Volumes/VOLUME/Eclipse Installer.app/Contents/MacOS/eclipse-inst
Identifier: org.eclipse.oomph.setup.installer.product
Version: 1.17.0 (1.17.0.v20200610-0514)
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: eclipse-inst [4686]
User ID: 501
Date/Time: 2020-08-14 08:06:40.452 -0400
OS Version: Mac OS X 10.16 (20A5343j)
Report Version: 12
Bridge OS Version: 5.0 (18P50347c)
Anonymous UUID: 4148D75A-3E08-F11D-ECE7-4B3A70E9672E
Sleep/Wake UUID: 912A59C5-0BFE-4085-94F6-2AB8CB24A2AF
Time Awake Since Boot: 14000 seconds
Time Since Wake: 1000 seconds
System Integrity Protection: enabled
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_BAD_INSTRUCTION (SIGILL)
Exception Codes: 0x0000000000000001, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Termination Signal: Illegal instruction: 4
Termination Reason: Namespace SIGNAL, Code 0x4
Terminating Process: exc handler [4686]
Application Specific Information:
*** CFRelease() called with NULL ***
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 com.apple.CoreFoundation 0x00007fff297f593e CFRelease.cold.1 + 14
1 com.apple.CoreFoundation 0x00007fff2965110f CFRelease + 108
2 com.apple.JavaVM 0x00007fff2e436c61 MakeMatcher + 406
3 com.apple.JavaVM 0x00007fff2e435804 CreateJVMDetector + 38
4 com.apple.JavaVM 0x00007fff2e4375eb CheckForInstalledJavaRuntimes + 43
5 dyld 0x0000000015bcbebd ImageLoaderMachO::doModInitFunctions(ImageLoader::LinkContext const&) + 559
6 dyld 0x0000000015bcc2b8 ImageLoaderMachO::doInitialization(ImageLoader::LinkContext const&) + 40
7 dyld 0x0000000015bc6e78 ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, char const*, ImageLoader::InitializerTimingList&, ImageLoader::UninitedUpwards&) + 492
8 dyld 0x0000000015bc4d90 ImageLoader::processInitializers(ImageLoader::LinkContext const&, unsigned int, ImageLoader::InitializerTimingList&, ImageLoader::UninitedUpwards&) + 188
9 dyld 0x0000000015bc4e30 ImageLoader::runInitializers(ImageLoader::LinkContext const&, ImageLoader::InitializerTimingList&) + 82
10 dyld 0x0000000015bb6261 dyld::runInitializers(ImageLoader*) + 82
11 dyld 0x0000000015bc0769 dlopen_internal + 609
12 libdyld.dylib 0x00007fff6aa3826f dlopen_internal(char const*, int, void*) + 177
13 libdyld.dylib 0x00007fff6aa2690e dlopen + 28
14 com.apple.CoreFoundation 0x00007fff296ed352 _CFBundleDlfcnLoadBundle + 147
15 com.apple.CoreFoundation 0x00007fff29765ada _CFBundleLoadExecutableAndReturnError + 503
16 com.apple.CoreFoundation 0x00007fff2972db6e CFBundleGetFunctionPointerForName + 39
17 eclipse_1902.so 0x000000000df7a62e findSymbol + 62
18 eclipse_1902.so 0x000000000df78679 startJavaJNI + 89
19 eclipse_1902.so 0x000000000df74f44 _run + 5732
20 eclipse_1902.so 0x000000000df734c0 run + 432
21 org.eclipse.oomph.setup.installer.product 0x000000000de689f7 original_main + 1319
22 org.eclipse.oomph.setup.installer.product 0x000000000de693a7 main + 1655
23 libdyld.dylib 0x00007fff6aa36851 start + 1
Thread 1:
0 libsystem_pthread.dylib 0x00007fff6ac6e4b4 start_wqthread + 0
Thread 2:
0 libsystem_pthread.dylib 0x00007fff6ac6e4b4 start_wqthread + 0
Thread 3:
0 libsystem_pthread.dylib 0x00007fff6ac6e4b4 start_wqthread + 0
Thread 4:
0 libsystem_pthread.dylib 0x00007fff6ac6e4b4 start_wqthread + 0
Thread 0 crashed with X86 Thread State (64-bit):
rax: 0x00007fff29a06bc2 rbx: 0x0000000000000000 rcx: 0x0000000000000055 rdx: 0x0000000000000000
rdi: 0x0000000000000000 rsi: 0x00007ffee1d957f8 rbp: 0x00007ffee1d957d0 rsp: 0x00007ffee1d957c8
r8: 0x00000000000000a9 r9: 0x00000000000007fb r10: 0x0000000000002520 r11: 0x0000000000000060
r12: 0x0000000000000000 r13: 0x00006000026c8410 r14: 0x00006000039c8000 r15: 0x00006000008e9b40
rip: 0x00007fff297f593e rfl: 0x0000000000010246 cr2: 0x00006000013fa008
Logical CPU: 0
Error Code: 0x00000000
Trap Number: 6
External Modification Summary:
Calls made by other processes targeting this process:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
Calls made by this process:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
Calls made by all processes on this machine:
task_for_pid: 18440
thread_create: 0
thread_set_state: 0
VM Region Summary:
ReadOnly portion of Libraries: Total=657.9M resident=0K(0%) swapped_out_or_unallocated=657.9M(100%)
Writable regions: Total=620.9M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=620.9M(100%)
VIRTUAL REGION
REGION TYPE SIZE COUNT (non-coalesced)
=========== ======= =======
Activity Tracing 256K 1
CoreServices 172K 1
Foundation 16K 1
Kernel Alloc Once 8K 1
MALLOC 226.2M 31
MALLOC guard page 16K 4
MALLOC_NANO (reserved) 384.0M 1 reserved VM address space (unallocated)
STACK GUARD 56.0M 5
Stack 10.0M 5
VM_ALLOCATE 732K 12
__DATA 23.2M 280
__DATA_CONST 32K 1
__FONT_DATA 4K 1
__LINKEDIT 471.7M 7
__OBJC_RO 36.5M 1
__OBJC_RW 2483K 2
__TEXT 186.3M 279
__UNICODE 588K 1
mapped file 49.5M 8
shared memory 40K 4
=========== ======= =======
TOTAL 1.4G 646
TOTAL, minus reserved VM space 1.0G 646
Environment: Running macOS BigSur (10.16) and java version "14.0.1" 2020-04-14.
Steps: Go to Applications folder -> Right click on Eclipse/STS4 -> Click on Show Package Content -> Click on Contents -> open info.plist -> Paste this code replacing the tags in the file.
<array>
<!-- to use a specific Java version (instead of the platform's default) uncomment one of the following options, or add a VM found via $/usr/libexec/java_home -V -->
<string>-vm</string><string>/Library/Java/JavaVirtualMachines/jdk-14.0.1.jdk/Contents/Home/bin/java</string>
<string>-keyring</string>
<string>~/.eclipse_keyring</string>
</array>
STS4 from OS Catalina version don`t work on OX BIGSUR.
Try spring-tool-suite-4-4.9.0.CI-B173-e4.18.0-macosx.cocoa.x86_64.dmg, can you downloading from http://dist.springsource.com/snapshot/STS4/nightly-distributions.html
My solution
Step 1: Use o updated Java SDK version "1.8.0_271"
Step 2: Dowloading an install STS from spring-tool-suite-4-4.9.0.CI-B173-e4.18.0-macosx.cocoa.x86_64.dmg **
Step 3: verify you Shell (STS4 don`t work whit zsh version) may be /bin/bash/, follow steps https://support.apple.com/es-us/HT208050
Step 4: Thanks for follow https://www.facebook.com/gestiondigitaladministrativa
** link http://dist.springsource.com/snapshot/STS4/nightly-distributions.html

All Java Programs Crashing At Seemingly Random Points (Internal Error: Uncaught Exception)

I just updated to the latest version of Java today (Java 8 Update 101)
Ever since, every time I try to run any Java program, it crashes with the following error:
Error Message
Here's the content of the error:
Exception Name: JavaNativeException
Description: java.lang.NullPointerException
User Info: (null)
0 CoreFoundation 0x00007fffb962952b __exceptionPreprocess + 171
1 libobjc.A.dylib 0x00007fffcdd01cad objc_exception_throw + 48
2 CoreFoundation 0x00007fffb9629479 -[NSException raise] + 9
3 JavaNativeFoundation 0x000000010e7266d8 JNFCallObjectMethod + 230
4 liblwawt.dylib 0x00000001101fa09e -[AWTView attributedSubstringForProposedRange:actualRange:] + 78
5 AppKit 0x00007fffb7b70604 -[NSTextInputContext(NSInputContext_WithCompletion) attributedSubstringForProposedRange:completionHandler:] + 105
6 AppKit 0x00007fffb7b6c6ec __55-[NSTextInputContext handleTSMEvent:completionHandler:]_block_invoke.625 + 91
7 AppKit 0x00007fffb7b66e9a -[NSTextInputContext tryHandleTSMEvent_attributedSubstringForProposedRange_withContext:dispatchCondition:dispatchWork:continuation:] + 92
8 AppKit 0x00007fffb7b6c616 __55-[NSTextInputContext handleTSMEvent:completionHandler:]_block_invoke.620 + 450
9 AppKit 0x00007fffb73cd760 -[NSTextInputContext handleTSMEvent:completionHandler:] + 2549
10 AppKit 0x00007fffb73cccfd _NSTSMEventHandler + 319
11 HIToolbox 0x00007fffb8b190d5 _ZL23DispatchEventToHandlersP14EventTargetRecP14OpaqueEventRefP14HandlerCallRec + 1708
12 HIToolbox 0x00007fffb8b18346 _ZL30SendEventToEventTargetInternalP14OpaqueEventRefP20OpaqueEventTargetRefP14HandlerCallRec + 428
13 HIToolbox 0x00007fffb8b1818f SendEventToEventTargetWithOptions + 43
14 HIToolbox 0x00007fffb8b6ef86 SendTSMEvent_WithCompletionHandler + 408
15 HIToolbox 0x00007fffb8d22378 __SendTextInputEvent_WithCompletionHandler_block_invoke + 584
16 HIToolbox 0x00007fffb8d20689 SendTextInputEvent_WithCompletionHandler + 1154
17 HIToolbox 0x00007fffb8d91829 -[IMKInputSession _postEvent:completionHandler:] + 176
18 HIToolbox 0x00007fffb8da1485 -[IMKInputSession _copyUniCharsForRange:intoBuffer:ofLength:completionHandler:] + 530
19 HIToolbox 0x00007fffb8da1c0e -[IMKInputSession _coreAttributesFromRange:whichAttributes:completionHandler:] + 281
20 HIToolbox 0x00007fffb8da3bb0 -[IMKInputSession attributedSubstringFromRange:completionHandler:] + 186
21 HIToolbox 0x00007fffb8d943ab __61-[IMKInputSession imkxpc_attributedSubstringFromRange:reply:]_block_invoke + 530
22 CoreFoundation 0x00007fffb95bf3ac __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 12
23 CoreFoundation 0x00007fffb95a0424 __CFRunLoopDoBlocks + 356
24 CoreFoundation 0x00007fffb959ff66 __CFRunLoopRun + 1878
25 CoreFoundation 0x00007fffb959f5b4 CFRunLoopRunSpecific + 420
26 HIToolbox 0x00007fffb8b40f6c RunCurrentEventLoopInMode + 240
27 HIToolbox 0x00007fffb8b40da1 ReceiveNextEventCommon + 432
28 HIToolbox 0x00007fffb8b40bd6 _BlockUntilNextEventMatchingListInModeWithFilter + 71
29 AppKit 0x00007fffb72375f5 _DPSNextEvent + 1093
30 AppKit 0x00007fffb79478eb -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1637
31 libosxapp.dylib 0x00000001102974e3 -[NSApplicationAWT nextEventMatchingMask:untilDate:inMode:dequeue:] + 124
32 AppKit 0x00007fffb722bfbd -[NSApplication run] + 926
33 libosxapp.dylib 0x0000000110297346 +[NSApplicationAWT runAWTLoopWithApp:] + 156
34 liblwawt.dylib 0x00000001101ed17d -[AWTStarter starter:] + 873
35 Foundation 0x00007fffbafebf2a __NSThreadPerformPerform + 326
36 CoreFoundation 0x00007fffb95bf551 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
37 CoreFoundation 0x00007fffb95a06bd __CFRunLoopDoSources0 + 557
38 CoreFoundation 0x00007fffb959fbb6 __CFRunLoopRun + 934
39 CoreFoundation 0x00007fffb959f5b4 CFRunLoopRunSpecific + 420
40 java 0x000000010426e3b0 CreateExecutionEnvironment + 871
41 java 0x0000000104268b5c JLI_Launch + 1952
42 java 0x000000010426e70d main + 101
43 java 0x00000001042683b4 start + 52
I have heard of other users having a similar problem, some recently and some in 2014, 2010, 2006, etc.
I have tried uninstalling Java using cmd, as well as editing the environmental variable, though I just copied and pasted what I found on the internet and didn't really understand what I was doing:
Uninstall attempt/Environmental variable deletion attempt
I found instructions for a solution involving deleting the environmental variable that seemed promising, but I don't know how to do them for mac (all I could find was what I pasted in terminal, as seen in the picture above)
Seemingly promising instructions:
youtube.com/watch?v=JF_o8WNt3hs&feature=youtu.be
I can't use any of my java based programs now, including netbeans, without them crashing within a few clicks. They all seem to crash at random points, but it's possible that the points at which they crash all have to do with writing data to the drive.

Crash on native packaged Mac JavaFX application

I've got a JavaFX application I'm working on, it runs on Windows and Mac, I'm only seeing the issue on the Mac. I'm using JRE version 1.8.0_51.
Basically, when I'm not doing anything, and my application is in the background, sometimes it'll crash with the following stack trace:
0 libsystem_kernel.dylib 0x00007fff8e26d286 __pthread_kill + 10
1 libsystem_c.dylib 0x00007fff90d4d9b3 abort + 129
2 libjvm.dylib 0x00000001098d714f os::abort(bool) + 25
3 libjvm.dylib 0x00000001099f7c2c VMError::report_and_die() + 2250
4 libjvm.dylib 0x00000001098d8d7a JVM_handle_bsd_signal + 1131
5 libjvm.dylib 0x00000001098d5057 signalHandler(int, __siginfo*, void*) + 47
6 libsystem_platform.dylib 0x00007fff9889df1a _sigtramp + 26
7 libglass.dylib 0x00000001e30295dd GlassScreenDidChangeScreenParameters + 157
8 com.apple.CoreFoundation 0x00007fff8fe5f45c __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 12
9 com.apple.CoreFoundation 0x00007fff8fd4f634 _CFXNotificationPost + 3140
10 com.apple.Foundation 0x00007fff9089aaa1 -[NSNotificationCenter postNotificationName:object:userInfo:] + 66
11 com.apple.AppKit 0x00007fff91472e7e -[NSApplication _reactToScreenInvalidationImmediately:] + 379
12 com.apple.AppKit 0x00007fff91472cc7 __44-[NSApplication _reactToScreenInvalidation:]_block_invoke + 75
13 com.apple.CoreFoundation 0x00007fff8fdbf8ec __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 12
14 com.apple.CoreFoundation 0x00007fff8fdb19f5 __CFRunLoopDoBlocks + 341
15 com.apple.CoreFoundation 0x00007fff8fdb1536 __CFRunLoopRun + 1814
16 com.apple.CoreFoundation 0x00007fff8fdb0bd8 CFRunLoopRunSpecific + 296
17 libjli.dylib 0x00000001093c48fb CreateExecutionEnvironment + 871
18 libjli.dylib 0x00000001093c0644 JLI_Launch + 1952
19 libpackager.dylib 0x000000010938ef28 JavaVirtualMachine::StartJVM() + 3224
20 libpackager.dylib 0x00000001093952b3 start_launcher + 115
21 aer 0x000000010930fcc8 main + 248
22 aer 0x000000010930fbc4 start + 52
So, kind of hard to see what's going on here. It would appear that maybe my app is getting a notification that the screen has changed, but as far as I know, it hasn't. It's happened on two completely different Macs, one from 2011 and one from 2015, of completely different specs.
I don't think I've ever seen the issue running directly from NetBeans, it seems to only be when it's been packaged up as a Mac .app package and run from there.
Any thoughts/ideas most welcome.
Cheers
Garry

Copy/Paste fails on MacOsX in JMeter

I am having no luck using the clipboard to copy/paste text between other applications and JMeter or vice-versa. I am able to copy-paste text and test elements within JMeter.
I'm running JMeter 2.11 via the binary distribution by running 'bin/jmeter.sh' on OS X 10.9.1 running Java 1.7.0_45. I have attempted to use the clipboard with System and Mac OS X look-and-feels, per this previous question: Strangely copying and pasting a text in Jmeter is not working for in Mac
I have also attempted, with no luck, this procedure to grant system clipboard permission to AWT:
http://www.shodor.org/interactivate/resources/InstructionsCopyPaste/
Any advice on what I can do to get JMeter to share a clipboard with the rest of the system?
Copy-paste behavior on Mac is much improved in JMeter 2.12.
Could you try this example from swing :
http://docs.oracle.com/javase/tutorial/uiswing/examples/dnd/index.html#ListCutPaste
This is to see if it's a JDK issue on Mavericks or JMeter one.
UPDATE on 8 september 2014:
- Issue has been fixed, could you test Nightly Build
Installing JMeter runtime
Download the _bin and _lib files
Unpack the archives into the same directory structure
The other archives are not needed to run JMeter.
I was facing same issue with JMeter 2.11.
I saw the error below when I attempt to copy paste.
2014-02-01 10:28:08.166 java[80082:2517] * CPerformer: ignoring exception '* -[__NSArrayM insertObject:atIndex:]: object cannot be nil' raised during perform of selector '_nativeGetTypes:' on target '' with args '(
)'
I stopped X11 (XQuartz) server in order to resolve the issue.
Any time I try and paste copied text into JMeter from the OS I get the same issue. The same issue occurs when trying to paste into another application based on text copied in JMeter.
Copy + Paste is fine within JMeter itself (i.e. copy + paste within the Java application itself works fine).
My environment is OSX 10.9.2, JMeter 2.11 r1554548, java version "1.7.0_55".
This is the error you get every time you try and paste into the app from the system clipboard:
2014-05-06 08:32:52.363 java[22814:d07] *** -[__NSArrayM insertObject:atIndex:]: object cannot be nil
2014-05-06 08:32:52.364 java[22814:d07] (
0 CoreFoundation 0x00007fff8e63f25c __exceptionPreprocess + 172
1 libobjc.A.dylib 0x00007fff8b0b7e75 objc_exception_throw + 43
2 CoreFoundation 0x00007fff8e5006c7 -[__NSArrayM insertObject:atIndex:] + 951
3 Foundation 0x00007fff8eeb913e __NSThreadPerformPerform + 229
4 CoreFoundation 0x00007fff8e570731 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
5 CoreFoundation 0x00007fff8e561ea2 __CFRunLoopDoSources0 + 242
6 CoreFoundation 0x00007fff8e56162f __CFRunLoopRun + 831
7 CoreFoundation 0x00007fff8e5610b5 CFRunLoopRunSpecific + 309
8 HIToolbox 0x00007fff84fe3a0d RunCurrentEventLoopInMode + 226
9 HIToolbox 0x00007fff84fe37b7 ReceiveNextEventCommon + 479
10 HIToolbox 0x00007fff84fe35bc _BlockUntilNextEventMatchingListInModeWithFilter + 65
11 AppKit 0x00007fff8856d3de _DPSNextEvent + 1434
12 AppKit 0x00007fff8856ca2b -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 122
13 libosxapp.dylib 0x000000011533c4e3 -[NSApplicationAWT nextEventMatchingMask:untilDate:inMode:dequeue:] + 124
14 AppKit 0x00007fff88560b2c -[NSApplication run] + 553
15 libosxapp.dylib 0x000000011533c346 +[NSApplicationAWT runAWTLoopWithApp:] + 156
16 liblwawt.dylib 0x0000000115bb7999 -[AWTStarter starter:] + 873
17 Foundation 0x00007fff8eeb913e __NSThreadPerformPerform + 229
18 CoreFoundation 0x00007fff8e570731 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
19 CoreFoundation 0x00007fff8e561ea2 __CFRunLoopDoSources0 + 242
20 CoreFoundation 0x00007fff8e56162f __CFRunLoopRun + 831
21 CoreFoundation 0x00007fff8e5610b5 CFRunLoopRunSpecific + 309
22 java 0x000000010a5183b0 CreateExecutionEnvironment + 871
23 java 0x000000010a512b5c JLI_Launch + 1952
24 java 0x000000010a51870d main + 101
25 java 0x000000010a5123b4 start + 52
26 ??? 0x0000000000000007 0x0 + 7
)
What worked for me on JDK 14 and JMeter 5.4.3 is changing the Look and Feel settings to System.
Options -> Look and Feel -> System

Categories

Resources