Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[ptp-dev] Subscript out of range on AIX in AbstractRemoteResourceManagerConfigurationWizardPage

I've sorted out my problems with configure scripts and have my proxy 
successfully built for AIX. I've installed RSE runtime and RSE SDK into my 
AIX installation and started my PTP session in a new workspace. I created 
a Local connection from within the RSE perspective even though I'm not 
sure I needed one. Then I switched to the PTP perspective and tried to add 
a new PE proxy. I get the first page of the proxy wizard and select PE (my 
proxy type) from the list and click next. Nothing happens, except for an 
ArrayIndexOutOfBoundsException with index -1 reported at line 381 of 
AbstractRemoteResourceManagerConfigurationWizardPage 
(updateConnectionPulldown()) is posted to the error log.

I traced thru code for the call to remoteCombo.getSelectionIndex() and in 
getSelection() I see a line 'if (OS.XmListPosSelected(argList[1], index)) 
return index - 1;
This is returning -1. This is before my proxy wizard page is even 
displayed.

If I modify the code in updateConnectionPulldown() to call 
remoteCombo.getSelectionIndex, and use the max of the returned value or 
zero, then I do get the second wizard page and can create an entry for my 
proxy.

This all works correctly on x86 Linux, so I'm wondering if I missed 
something in my setup or if there is something odd going on with the 
AIX/Motif Eclipse.

Dave


Back to the top