What does this funky output mean in Java? - 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

Related

MongoDB Realm Studio 10.0.0 how to decrypt encrypted database?

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

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

Too many method references - using AppEngine SDK in Android Studio

I'm using App Engine Endpoints for my Android application. The problem is that I get the following error after using Endpoints and adding another SDK:
trouble writing output: Too many method references: 116924; max is 65536.
You may try using --multi-dex option.
References by package:
23 com.google.appengine.api
1540 com.google.appengine.api.appidentity
22 com.google.appengine.api.backends
1421 com.google.appengine.api.blobstore
4 com.google.appengine.api.blobstore.proto2api
795 com.google.appengine.api.capabilities
352 com.google.appengine.api.channel
2374 com.google.appengine.api.datastore
5231 com.google.appengine.api.files
2950 com.google.appengine.api.images
174 com.google.appengine.api.log
722 com.google.appengine.api.mail
4 com.google.appengine.api.mail.proto2api
10 com.google.appengine.api.mail.stdimpl
3711 com.google.appengine.api.memcache
48 com.google.appengine.api.memcache.stdimpl
2178 com.google.appengine.api.modules
38 com.google.appengine.api.oauth
1497 com.google.appengine.api.prospectivesearch
8 com.google.appengine.api.prospectivesearch.proto2api
27 com.google.appengine.api.quota
14 com.google.appengine.api.rdbms
606 com.google.appengine.api.search
79 com.google.appengine.api.search.checkers
381 com.google.appengine.api.search.query
3724 com.google.appengine.api.socket
4 com.google.appengine.api.socket.proto2api
5443 com.google.appengine.api.taskqueue
4 com.google.appengine.api.taskqueue.proto2api
966 com.google.appengine.api.urlfetch
43 com.google.appengine.api.users
44 com.google.appengine.api.utils
1463 com.google.appengine.api.xmpp
4 com.google.appengine.api.xmpp.proto2api
5480 com.google.appengine.repackaged.com.google.appengine.api.search
1243 com.google.appengine.repackaged.com.google.common.base
7 com.google.appengine.repackaged.com.google.common.base.internal
8524 com.google.appengine.repackaged.com.google.common.collect
103 com.google.appengine.repackaged.com.google.common.escape
379 com.google.appengine.repackaged.com.google.common.flags
642 com.google.appengine.repackaged.com.google.common.hash
1 com.google.appengine.repackaged.com.google.common.html
578 com.google.appengine.repackaged.com.google.common.io
103 com.google.appengine.repackaged.com.google.common.math
39 com.google.appengine.repackaged.com.google.common.net
2 com.google.appengine.repackaged.com.google.common.parameterset
556 com.google.appengine.repackaged.com.google.common.primitives
36 com.google.appengine.repackaged.com.google.common.util
753 com.google.appengine.repackaged.com.google.common.util.concurrent
5 com.google.appengine.repackaged.com.google.common.xml
290 com.google.appengine.repackaged.com.google.io.base
177 com.google.appengine.repackaged.com.google.io.base.shell
1348 com.google.appengine.repackaged.com.google.io.protocol
1752 com.google.appengine.repackaged.com.google.io.protocol.proto
8 com.google.appengine.repackaged.com.google.io.protocol.proto.proto2api
4 com.google.appengine.repackaged.com.google.io.protocol.proto2
24 com.google.appengine.repackaged.com.google.net.base
25 com.google.appengine.repackaged.com.google.net.util.error
10402 com.google.appengine.repackaged.com.google.protobuf
191 com.google.appengine.repackaged.com.google.protobuf.bridge
12 com.google.appengine.repackaged.com.google.protobuf.contrib.descriptor_pool
51 com.google.appengine.repackaged.com.google.protobuf.contrib.htmlform
384 com.google.appengine.repackaged.com.google.protobuf.downgraded
1540 com.google.appengine.repackaged.com.google.protos.gdata.proto2api
8 com.google.appengine.repackaged.com.google.protos.proto2.bridge
3173 com.google.appengine.repackaged.com.google.storage.onestore.v3.proto2api
407 com.google.appengine.repackaged.org.antlr.runtime
368 com.google.appengine.repackaged.org.antlr.runtime.debug
43 com.google.appengine.repackaged.org.antlr.runtime.misc
422 com.google.appengine.repackaged.org.antlr.runtime.tree
2015 com.google.appengine.repackaged.org.joda.time
268 com.google.appengine.repackaged.org.joda.time.base
858 com.google.appengine.repackaged.org.joda.time.chrono
120 com.google.appengine.repackaged.org.joda.time.convert
533 com.google.appengine.repackaged.org.joda.time.field
540 com.google.appengine.repackaged.org.joda.time.format
178 com.google.appengine.repackaged.org.joda.time.tz
26 com.google.appengine.spi
1521 com.google.appengine.tools.appstats
39 com.google.appengine.tools.compilation
6283 com.google.apphosting.api
1971 com.google.apphosting.api.logservice
4 com.google.apphosting.api.logservice.proto2api
739 com.google.apphosting.api.proto2api
1688 com.google.apphosting.api.search
8 com.google.apphosting.base
207 com.google.apphosting.client.datastoreservice.app
102 com.google.apphosting.client.datastoreservice.app.mobile
1782 com.google.apphosting.client.datastoreservice.mobile
2343 com.google.apphosting.client.datastoreservice.proto
51 com.google.apphosting.client.serviceapp
6714 com.google.apphosting.datastore
705 com.google.apphosting.utils.remoteapi
59 com.google.apphosting.utils.servlet
785 com.google.cloud.sql.jdbc
532 com.google.cloud.sql.jdbc.internal
5 com.google.httputil
1 com.google.inject
1 com.google.inject.util
1 com.google.net.base
39 com.google.net.rpc
6 com.google.net.rpc.impl
6 com.google.net.rpc3.client
1 com.google.net.rpc3.impl
3 com.google.net.rpc3.impl.compatibility
1 com.google.net.rpc3.impl.server
5 com.google.net.rpc3.server
1 com.google.net.ssl
6099 com.google.protos.cloud.sql
10 com.google.storage.onestore
2287 com.google.storage.onestore.v3
3 default
5 it.unimi.dsi.fastutil.ints
6 java.awt.datatransfer
10 java.beans
226 java.io
438 java.lang
13 java.lang.ref
36 java.lang.reflect
28 java.math
73 java.net
68 java.nio
7 java.nio.channels
16 java.nio.charset
16 java.security
40 java.sql
34 java.text
520 java.util
129 java.util.concurrent
26 java.util.concurrent.atomic
37 java.util.concurrent.locks
14 java.util.logging
18 java.util.regex
5 java.util.zip
163 javax.activation
13 javax.annotation.processing
49 javax.cache
1 javax.lang.model
19 javax.lang.model.element
4 javax.lang.model.type
4 javax.lang.model.util
405 javax.mail
59 javax.mail.event
502 javax.mail.internet
108 javax.mail.search
45 javax.mail.util
1 javax.net.ssl
6 javax.servlet
26 javax.servlet.http
2 javax.tools
3 org.antlr.stringtemplate
23 org.apache.geronimo.mail.handlers
190 org.apache.geronimo.mail.util
4 org.xml.sax
2 org.xml.sax.helpers
6 sun.misc
As you can see, com.google.appengine is taking most of the method references. How can I limit it?
you hit the 65k method limit, there are a few options you can do.
in your gradle file you can specify minifyEnabled = true and it will cut down unused resources and code.
you can also use the SDK build tools 21.1.X that supports multi dex file creation using the dependency
compile 'com.android.support:multidex:1.0.0'
along with adding in multiDexEnabled true to your gradle. more information can be found here

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