Start a Conversation

Unsolved

This post is more than 5 years old

856

July 22nd, 2011 02:00

The method setAccountCredentials(Collection) in the type AutoDiscoveryInfo is not applicable for the arguments (ResourceIdentityInfo[])

HI I was hopeing someong with Voyence API knowledge would know why this is happening


I writing my code in Ecliplse.

and For some reason when I use a statement like


autoDiscInfo.setAccountCredentials(new ResourceIdentityInfo[] {acctCredentialRII});


I get this error before even compiling

The method setAccountCredentials(Collection) in the type AutoDiscoveryInfo is not applicable for the arguments
(ResourceIdentityInfo[])


The java doc says

setAccountCredentials

public void setAccountCredentials(java.util.Collection accountCredentials)

Set the accountCredentials field to the specified Collection of ResourceIdentityInfo objects that refer to the account credentials that will be used during auto-discovery.

Parameters:
accountCredentials - the accountCredentials Collection.


So I would think the statement should really work...

Thanks everyone, been up coding for 24 hours now and that seems to be my last error.

Thanks

Jason.

No Responses!
No Events found!

Top