Skip to main content

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

Ugh, I don't have an AIX machine to even begin to look at this. I can take a look at the code to see if I can figure out what is going on, but I suspect this may be an AIX/Motif thing. Particularly if it doesn't happen on Linux. If you can get a handle on what is going wrong, let me know. I'll try and give you a call in the next couple of days if you like.

Greg

On Aug 6, 2007, at 4:14 PM, Dave Wootton wrote:

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
_______________________________________________
ptp-dev mailing list
ptp-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/ptp-dev




Back to the top