I tried my app with the current build and found some issues (original) (raw)
Artem Ananiev artem.ananiev at oracle.com
Wed Jan 11 09:09:16 PST 2012
- Previous message: I tried my app with the current build and found some issues
- Next message: I tried my app with the current build and found some issues
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I'll take care of filing these two bugs.
Thanks,
Artem
On 1/9/2012 9:33 PM, Mike Swingler wrote:
On Jan 7, 2012, at 6:08 AM, Joern Huxhorn wrote:
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 objcexceptionthrow + 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 Javacomappleeawt_1AppMenuBarHandlernativeSetMenuStateblockinvoke1 + 227 7 JavaNativeFoundation 0x00000001127595fd +[JNFRunLoop performCopiedBlock:] + 20 8 CoreFoundation 0x00007fff91e6e0cd +[NSObject performSelector:withObject:] + 61 _9 Foundation 0x00007fff93b3de44 NSThreadPerformPerform + 214 10 CoreFoundation 0x00007fff91db2b51 CFRUNLOOPISCALLINGOUTTOASOURCE0PERFORMFUNCTION + 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 CFRUNLOOPISCALLINGOUTTOASOURCE0PERFORMFUNCTION + 17 _26 CoreFoundation 0x00007fff91db23bd CFRunLoopDoSources0 + 253 _27 CoreFoundation 0x00007fff91dd91a9 CFRunLoopRun + 905 28 CoreFoundation 0x00007fff91dd8ae6 CFRunLoopRunSpecific + 230 29 java 0x000000010d93dcb4 CreateExecutionEnvironment + 841 30 java 0x000000010d93b7b8 JLILaunch + 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 objcexceptionthrow + 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 Javacomappleeawt_1AppMenuBarHandlernativeSetMenuStateblockinvoke1 + 227 7 JavaNativeFoundation 0x00000001127595fd +[JNFRunLoop performCopiedBlock:] + 20 8 CoreFoundation 0x00007fff91e6e0cd +[NSObject performSelector:withObject:] + 61 _9 Foundation 0x00007fff93b3de44 NSThreadPerformPerform + 214 10 CoreFoundation 0x00007fff91db2b51 CFRUNLOOPISCALLINGOUTTOASOURCE0PERFORMFUNCTION + 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 CFRUNLOOPISCALLINGOUTTOASOURCE0PERFORMFUNCTION + 17 _26 CoreFoundation 0x00007fff91db23bd CFRunLoopDoSources0 + 253 _27 CoreFoundation 0x00007fff91dd91a9 CFRunLoopRun + 905 28 CoreFoundation 0x00007fff91dd8ae6 CFRunLoopRunSpecific + 230 29 java 0x000000010d93dcb4 CreateExecutionEnvironment + 841 30 java 0x000000010d93b7b8 JLILaunch + 1933 31 java 0x000000010d93fa30 main + 108 32 java 0x000000010d9393f4 start + 52 33 ??? 0x0000000000000008 0x0 + 8 ) This seems like a straightforward bug in the AWT/Cocoa menu handling code that could be solved with a nil check. Have you filed a bug at<http://bugs.sun.com/bugdatabase/>? 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. This should be another bug filed at<http://bugs.sun.com/bugdatabase/>. Apple's Java SE 6 has slightly different awt.properties files that have the unicode values instead of the full textual names of the key shortcuts.
Cheers, ~Mike
- Previous message: I tried my app with the current build and found some issues
- Next message: I tried my app with the current build and found some issues
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]