Should I enter this as a bug? (Groovy Console startup on b223)

Martijn Verburg martijnverburg at gmail.com
Mon Jan 16 06:18:13 PST 2012


Hi Anthony,

Thanks for raising the bug for me.

Steps to reproduce are:

1.)  Install Java 7 developer preview b223 on Mac OS X 10.7.2
2.)  Download Groovy 1.8.5 from http://groovy.codehaus.org/Download
3.)  Unzip contents to folder of your choice (e.g.  /Applications/groovy-1.8.5)
4.)  Open up Terminal
5.)  cd /Applications/groovy-1.8.5/bin
6.)  export JAVA_HOME=<path to your b223 installation>  (e.g.
/Library/Java/JavaVirtualMachines/JDK 1.7.0 Developer
Preview.jdk/Contents/Home)
7.)  java -version (i.e. To make sure you're using b223)
8.)  ./groovyConsole

The groovy console does come up but you'll see the stacktrace in the
background.  This does not occur with the latest jdk 1.6.0_29 bundled
with Mac OS X

Is there anything further I can send you guys?  Let me know!

Cheers,
Martijn


On 16 January 2012 14:06, Anthony Petrov <anthony.petrov at oracle.com> wrote:
> Hi Martijn,
>
> I've just filed the issue at:
> http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7130377 (may take some
> time to become visible)
>
> Could you please provide some more detailed instruction on how to reproduce
> the issue? What software should be installed and what exactly needs to be
> launched?
>
> Would it be possible for you to provide a simple test case that reproduces
> the issue and post it here to the mailing list?
>
> Thanks in advance!
>
> --
> best regards,
> Anthony
>
>
> On 01/16/12 16:21, Martijn Verburg wrote:
>>
>> 2012-01-16 12:18:54.086 java[39364:c07] *** -[__NSArrayM
>> insertObject:atIndex:]: object cannot be nil
>> 2012-01-16 12:18:54.095 java[39364:c07] (
>>        0   CoreFoundation                      0x00007fff889a2286
>> __exceptionPreprocess + 198
>>        1   libobjc.A.dylib                     0x00007fff90583d5e
>> objc_exception_throw + 43
>>        2   CoreFoundation                      0x00007fff88949108
>> -[__NSArrayM insertObject:atIndex:] + 296
>>        3   AppKit                              0x00007fff8ad1a109 -[NSMenu
>> insertItem:atIndex:] + 478
>>        4   liblwawt.dylib                      0x00000001110bac14
>> addMenuItem + 185
>>        5   liblwawt.dylib                      0x00000001110ba905
>> -[ApplicationDelegate _updatePreferencesMenu:enabled:] + 211
>>        6   liblwawt.dylib                      0x00000001110baee1
>>
>> __Java_com_apple_eawt__1AppMenuBarHandler_nativeSetMenuState_block_invoke_1
>> + 227
>>        7   JavaNativeFoundation                0x00000001100855fd
>> +[JNFRunLoop _performCopiedBlock:] + 20
>>        8   CoreFoundation                      0x00007fff889cc0cd
>> +[NSObject
>> performSelector:withObject:] + 61
>>        9   Foundation                          0x00007fff8e225e44
>> __NSThreadPerformPerform + 214
>>        10  CoreFoundation                      0x00007fff88910b51
>> __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
>>        11  CoreFoundation                      0x00007fff889103bd
>> __CFRunLoopDoSources0 + 253
>>        12  CoreFoundation                      0x00007fff889371a9
>> __CFRunLoopRun + 905
>>        13  CoreFoundation                      0x00007fff88936ae6
>> CFRunLoopRunSpecific + 230
>>        14  HIToolbox                           0x00007fff89e493d3
>> RunCurrentEventLoopInMode + 277
>>        15  HIToolbox                           0x00007fff89e5063d
>> ReceiveNextEventCommon + 355
>>        16  HIToolbox                           0x00007fff89e504ca
>> BlockUntilNextEventMatchingListInMode + 62
>>        17  AppKit                              0x00007fff8ad033f1
>> _DPSNextEvent + 659
>>        18  AppKit                              0x00007fff8ad02cf5
>> -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 135
>>        19  libosxapp.dylib                     0x0000000110e1b82c
>> -[NSApplicationAWT nextEventMatchingMask:untilDate:inMode:dequeue:] +
>> 124
>>        20  AppKit                              0x00007fff8acff62d
>> -[NSApplication run] + 470
>>        21  libosxapp.dylib                     0x0000000110e1b74b
>> +[NSApplicationAWT runAWTLoopWithApp:] + 156
>>        22  liblwawt.dylib                      0x00000001110b8dad
>> -[AWTStarter starter:] + 1616
>>        23  CoreFoundation                      0x00007fff88991a1d
>> -[NSObject
>> performSelector:withObject:] + 61
>>        24  Foundation                          0x00007fff8e225e44
>> __NSThreadPerformPerform + 214
>>        25  CoreFoundation                      0x00007fff88910b51
>> __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
>>        26  CoreFoundation                      0x00007fff889103bd
>> __CFRunLoopDoSources0 + 253
>>        27  CoreFoundation                      0x00007fff889371a9
>> __CFRunLoopRun + 905
>>        28  CoreFoundation                      0x00007fff88936ae6
>> CFRunLoopRunSpecific + 230
>>        29  java                                0x000000010aee7cb4
>> CreateExecutionEnvironment + 841
>>        30  java                                0x000000010aee57b8
>> JLI_Launch + 1933
>>        31  java                                0x000000010aee9a30 main +
>> 108
>>        32  java                                0x000000010aee33f4 start +
>> 52
>>        33  ???                                 0x0000000000000011 0x0 + 17
>> )
>> 2012-01-16 12:18:54.096 java[39364:c07] *** -[__NSArrayM
>> insertObject:atIndex:]: object cannot be nil
>> 2012-01-16 12:18:54.097 java[39364:c07] (
>>        0   CoreFoundation                      0x00007fff889a2286
>> __exceptionPreprocess + 198
>>        1   libobjc.A.dylib                     0x00007fff90583d5e
>> objc_exception_throw + 43
>>        2   CoreFoundation                      0x00007fff88949108
>> -[__NSArrayM insertObject:atIndex:] + 296
>>        3   AppKit                              0x00007fff8ad1a109 -[NSMenu
>> insertItem:atIndex:] + 478
>>        4   liblwawt.dylib                      0x00000001110bac14
>> addMenuItem + 185
>>        5   liblwawt.dylib                      0x00000001110ba905
>> -[ApplicationDelegate _updatePreferencesMenu:enabled:] + 211
>>        6   liblwawt.dylib                      0x00000001110baee1
>>
>> __Java_com_apple_eawt__1AppMenuBarHandler_nativeSetMenuState_block_invoke_1
>> + 227
>>        7   JavaNativeFoundation                0x00000001100855fd
>> +[JNFRunLoop _performCopiedBlock:] + 20
>>        8   CoreFoundation                      0x00007fff889cc0cd
>> +[NSObject
>> performSelector:withObject:] + 61
>>        9   Foundation                          0x00007fff8e225e44
>> __NSThreadPerformPerform + 214
>>        10  CoreFoundation                      0x00007fff88910b51
>> __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
>>        11  CoreFoundation                      0x00007fff889103bd
>> __CFRunLoopDoSources0 + 253
>>        12  CoreFoundation                      0x00007fff889371a9
>> __CFRunLoopRun + 905
>>        13  CoreFoundation                      0x00007fff88936ae6
>> CFRunLoopRunSpecific + 230
>>        14  HIToolbox                           0x00007fff89e493d3
>> RunCurrentEventLoopInMode + 277
>>        15  HIToolbox                           0x00007fff89e5058f
>> ReceiveNextEventCommon + 181
>>        16  HIToolbox                           0x00007fff89e504ca
>> BlockUntilNextEventMatchingListInMode + 62
>>        17  AppKit                              0x00007fff8ad033f1
>> _DPSNextEvent + 659
>>        18  AppKit                              0x00007fff8ad02cf5
>> -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 135
>>        19  libosxapp.dylib                     0x0000000110e1b82c
>> -[NSApplicationAWT nextEventMatchingMask:untilDate:inMode:dequeue:] +
>> 124
>>        20  AppKit                              0x00007fff8acff62d
>> -[NSApplication run] + 470
>>        21  libosxapp.dylib                     0x0000000110e1b74b
>> +[NSApplicationAWT runAWTLoopWithApp:] + 156
>>        22  liblwawt.dylib                      0x00000001110b8dad
>> -[AWTStarter starter:] + 1616
>>        23  CoreFoundation                      0x00007fff88991a1d
>> -[NSObject
>> performSelector:withObject:] + 61
>>        24  Foundation                          0x00007fff8e225e44
>> __NSThreadPerformPerform + 214
>>        25  CoreFoundation                      0x00007fff88910b51
>> __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
>>        26  CoreFoundation                      0x00007fff889103bd
>> __CFRunLoopDoSources0 + 253
>>        27  CoreFoundation                      0x00007fff889371a9
>> __CFRunLoopRun + 905
>>        28  CoreFoundation                      0x00007fff88936ae6
>> CFRunLoopRunSpecific + 230
>>        29  java                                0x000000010aee7cb4
>> CreateExecutionEnvironment + 841
>>        30  java                                0x000000010aee57b8
>> JLI_Launch + 1933
>>        31  java                                0x000000010aee9a30 main +
>> 108
>>        32  java                                0x000000010aee33f4 start +
>> 52
>>        33  ???                                 0x0000000000000011 0x0 + 17
>> )


More information about the macosx-port-dev mailing list