Hi Aishwarya,

Do you take into account single- vs. multivalued results?
Userapp has the nasty habit of presenting different result objects in
these cases.

I usually do this to check:

function isMultiValue( val )
{
try
{
if ( undefined != val.size() )
{
return true;
}
} catch (exc) {}
return false;
};

if ( isMultiValue( myvalue ) )
{
for ( var i=0; i<myvalue.size() ; i++ )
{
// Do whatever for each value using myvalue(i)
}
} else {
// Just use the single returned myvalue
}

Regards,

Mark



On 2012-05-03 14:36:02 +0000, novellpatch said:

> Hi Mark
>
> The request form had dnquery for dn lookup.It searches for all the
> users of a particular cost centre and presents it to the dnlookup
> field.
>
> In the dnquery we are running a code to collect all the cost centres
> that a manager governs and present these cost centres as multiple values
> to the query key.
>
> This error however is sporadic.It doesnt happen every time the form is
> run..thats why its confusing regarding the exception.
>
> Thanks
>
> Aishwarya
>
>
> Mark van Reijn;2193346 Wrote:
>> I think you are all looking at the wrong part of the log snippet.
>>
>> The real error is a failure to resolve a particular DN:
>> --
>> [com.novell.ajax.juice.AjaxServiceHandlerMgr:handle Request] An error
>> occurred processing the request.
>> java.lang.NullPointerException at
>> com.novell.srvprv.impl.servlet.service.DNLookup.de legatedExecute(DNLookup.java:168)
>>
>>
>> --
>>
>> What is your request form trying to accomplish?
>>
>> Mark
>>
>>
>>
>> On 2012-04-27 13:56:02 +0000, novellpatch said:
>>
>>> exteNdSupport;2191753 Wrote:
>>>> On 04/26/2012 06:56 AM, novellpatch wrote:
>>>>>
>>>>> Hi Wolfgang,,
>>>>>
>>>>> This is not an RBPM setup.
>>>>> It is just a userapp 3.6.1
>>>>> There is a roles and services driver installed but we are not

>> using
>>>>> it.
>>>>> Why is the userapp communicating with the roles driver at all?Can

>> we
>>>>> stop that?
>>>>>
>>>>>
>>>> Greetings,
>>>> No. the Roles Driver is required to be running and communicating
>>>> with the User Application, just like the the User Application

>> Driver.
>>>>
>>>> --
>>>> Sincerely,
>>>> Steven Williams
>>>> Lead Software Engineer
>>>> NetIQ
>>>
>>> Hi
>>>
>>> The roles driver is running currently but we are getting this

>> error.How
>>> do we get this user to be assigened to this role Role
>>> administrators.There is a managers group which has access to this

>> form
>>> and this user belongs to that group.Is it possible to ensure that

>> all
>>> users who are a part of group are made role administrators..or

>> better
>>> still would it help to discount this check for role administrator

>> when
>>> accessing the form.
>>>
>>> Can the user access the form without being a role administrator?
>>>
>>> Thanks
>>>
>>> Aishwarya

>>
>>
>> --
>> i d f o c u s
>> Identity | Access | Security
>> 'idfocus' (http://www.idfocus.nl)



--
i d f o c u s
Identity | Access | Security
http://www.idfocus.nl