I tried my app with the current build and found some issues

Joern Huxhorn jhuxhorn at googlemail.com
Sat Jan 7 06:08:27 PST 2012


I don't know if those are new to you but when I start Lilith ( http://lilith.huxhorn.de ) I get the following error during startup:

2012-01-07 14:28:36.380 java[17379:407] *** -[__NSArrayM insertObject:atIndex:]: object cannot be nil
2012-01-07 14:28:36.390 java[17379:407] (
	0   CoreFoundation                      0x00007fff91e44286 __exceptionPreprocess + 198
	1   libobjc.A.dylib                     0x00007fff9527cd5e objc_exception_throw + 43
	2   CoreFoundation                      0x00007fff91deb108 -[__NSArrayM insertObject:atIndex:] + 296
	3   AppKit                              0x00007fff895a4109 -[NSMenu insertItem:atIndex:] + 478
	4   liblwawt.dylib                      0x0000000113517c14 addMenuItem + 185
	5   liblwawt.dylib                      0x0000000113517905 -[ApplicationDelegate _updatePreferencesMenu:enabled:] + 211
	6   liblwawt.dylib                      0x0000000113517ee1 __Java_com_apple_eawt__1AppMenuBarHandler_nativeSetMenuState_block_invoke_1 + 227
	7   JavaNativeFoundation                0x00000001127595fd +[JNFRunLoop _performCopiedBlock:] + 20
	8   CoreFoundation                      0x00007fff91e6e0cd +[NSObject performSelector:withObject:] + 61
	9   Foundation                          0x00007fff93b3de44 __NSThreadPerformPerform + 214
	10  CoreFoundation                      0x00007fff91db2b51 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
	11  CoreFoundation                      0x00007fff91db23bd __CFRunLoopDoSources0 + 253
	12  CoreFoundation                      0x00007fff91dd91a9 __CFRunLoopRun + 905
	13  CoreFoundation                      0x00007fff91dd8ae6 CFRunLoopRunSpecific + 230
	14  HIToolbox                           0x00007fff8dd6d3d3 RunCurrentEventLoopInMode + 277
	15  HIToolbox                           0x00007fff8dd7463d ReceiveNextEventCommon + 355
	16  HIToolbox                           0x00007fff8dd744ca BlockUntilNextEventMatchingListInMode + 62
	17  AppKit                              0x00007fff8958d3f1 _DPSNextEvent + 659
	18  AppKit                              0x00007fff8958ccf5 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 135
	19  libosxapp.dylib                     0x000000011327882c -[NSApplicationAWT nextEventMatchingMask:untilDate:inMode:dequeue:] + 124
	20  AppKit                              0x00007fff8958962d -[NSApplication run] + 470
	21  libosxapp.dylib                     0x000000011327874b +[NSApplicationAWT runAWTLoopWithApp:] + 156
	22  liblwawt.dylib                      0x0000000113515dad -[AWTStarter starter:] + 1616
	23  CoreFoundation                      0x00007fff91e33a1d -[NSObject performSelector:withObject:] + 61
	24  Foundation                          0x00007fff93b3de44 __NSThreadPerformPerform + 214
	25  CoreFoundation                      0x00007fff91db2b51 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
	26  CoreFoundation                      0x00007fff91db23bd __CFRunLoopDoSources0 + 253
	27  CoreFoundation                      0x00007fff91dd91a9 __CFRunLoopRun + 905
	28  CoreFoundation                      0x00007fff91dd8ae6 CFRunLoopRunSpecific + 230
	29  java                                0x000000010d93dcb4 CreateExecutionEnvironment + 841
	30  java                                0x000000010d93b7b8 JLI_Launch + 1933
	31  java                                0x000000010d93fa30 main + 108
	32  java                                0x000000010d9393f4 start + 52
	33  ???                                 0x0000000000000008 0x0 + 8
)
2012-01-07 14:28:36.391 java[17379:407] *** -[__NSArrayM insertObject:atIndex:]: object cannot be nil
2012-01-07 14:28:36.397 java[17379:407] (
	0   CoreFoundation                      0x00007fff91e44286 __exceptionPreprocess + 198
	1   libobjc.A.dylib                     0x00007fff9527cd5e objc_exception_throw + 43
	2   CoreFoundation                      0x00007fff91deb108 -[__NSArrayM insertObject:atIndex:] + 296
	3   AppKit                              0x00007fff895a4109 -[NSMenu insertItem:atIndex:] + 478
	4   liblwawt.dylib                      0x0000000113517c14 addMenuItem + 185
	5   liblwawt.dylib                      0x0000000113517905 -[ApplicationDelegate _updatePreferencesMenu:enabled:] + 211
	6   liblwawt.dylib                      0x0000000113517ee1 __Java_com_apple_eawt__1AppMenuBarHandler_nativeSetMenuState_block_invoke_1 + 227
	7   JavaNativeFoundation                0x00000001127595fd +[JNFRunLoop _performCopiedBlock:] + 20
	8   CoreFoundation                      0x00007fff91e6e0cd +[NSObject performSelector:withObject:] + 61
	9   Foundation                          0x00007fff93b3de44 __NSThreadPerformPerform + 214
	10  CoreFoundation                      0x00007fff91db2b51 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
	11  CoreFoundation                      0x00007fff91db23bd __CFRunLoopDoSources0 + 253
	12  CoreFoundation                      0x00007fff91dd91a9 __CFRunLoopRun + 905
	13  CoreFoundation                      0x00007fff91dd8ae6 CFRunLoopRunSpecific + 230
	14  HIToolbox                           0x00007fff8dd6d3d3 RunCurrentEventLoopInMode + 277
	15  HIToolbox                           0x00007fff8dd7458f ReceiveNextEventCommon + 181
	16  HIToolbox                           0x00007fff8dd744ca BlockUntilNextEventMatchingListInMode + 62
	17  AppKit                              0x00007fff8958d3f1 _DPSNextEvent + 659
	18  AppKit                              0x00007fff8958ccf5 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 135
	19  libosxapp.dylib                     0x000000011327882c -[NSApplicationAWT nextEventMatchingMask:untilDate:inMode:dequeue:] + 124
	20  AppKit                              0x00007fff8958962d -[NSApplication run] + 470
	21  libosxapp.dylib                     0x000000011327874b +[NSApplicationAWT runAWTLoopWithApp:] + 156
	22  liblwawt.dylib                      0x0000000113515dad -[AWTStarter starter:] + 1616
	23  CoreFoundation                      0x00007fff91e33a1d -[NSObject performSelector:withObject:] + 61
	24  Foundation                          0x00007fff93b3de44 __NSThreadPerformPerform + 214
	25  CoreFoundation                      0x00007fff91db2b51 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
	26  CoreFoundation                      0x00007fff91db23bd __CFRunLoopDoSources0 + 253
	27  CoreFoundation                      0x00007fff91dd91a9 __CFRunLoopRun + 905
	28  CoreFoundation                      0x00007fff91dd8ae6 CFRunLoopRunSpecific + 230
	29  java                                0x000000010d93dcb4 CreateExecutionEnvironment + 841
	30  java                                0x000000010d93b7b8 JLI_Launch + 1933
	31  java                                0x000000010d93fa30 main + 108
	32  java                                0x000000010d9393f4 start + 52
	33  ???                                 0x0000000000000008 0x0 + 8
)

Additionally, I saw that the accelerators are displayed as Meta instead of the Command symbol ( ⌘ ).
It also appears like something is wrong with java.util.preferences, i.e. it just doesn't work/save preferences.

Hope this helps,
Joern.


More information about the macosx-port-dev mailing list