I'm trying to write a data extension to be used by both an Authorization
policy and an Identity injection policy. The extension is reading
values from another data source to be used in the policies. The values
I'm retrieving are multi-valued.
The issue I have run into is that my extension works great in the
Authorization policy but fails in the identity injection policy. I get
a java error for then identity injection.

Any help is appreciated.
Thanks
Mike

Relevant code :
ArrayList values = new ArrayList();
while (neValues.hasMore())
{
String attr = (String) neValues.next();
values.add(attr);
}
String[] strValues = new String[values.size()];
values.toArray(strValues);
if (debug) {
System.out.println(Arrays.toString(strValues));
}
return strValues;

Catalina.out
[asdf, MIKE]
java.lang.NullPointerException
at com.novell.nxpe.engine.N.A(Unknown Source)
at com.novell.nxpe.engine.V.D(Unknown Source)
at com.novell.nxpe.engine.RuleList.evaluate(Unknown Source)
at com.novell.nxpe.engine.EvaluationContext.D(Unknown Source)
at com.novell.nxpe.engine.EvaluationContext.execute(U nknown
Source)
at com.novell.nxpe.NxpePolicy.evaluate(Unknown Source)
at
com.novell.nidp.policy.soap.injection.IdentityInje ctionPep.evaluate(y:972)
at com.novell.nidp.policy.soap.PolicySoapHandler.A(y: 1916)
at
com.novell.nidp.policy.soap.PolicySoapHandler.proc essSoapRequest(y:3570)
at com.novell.nidp.common.profile.SOAPProfile.I(y:272 8)
at
com.novell.nidp.common.profile.SOAPProfile.process SOAPRequest(y:2782)
at
com.novell.nidp.servlets.handler.CommonHandler.han dleSOAPCommand(y:1201)
at
com.novell.nidp.servlets.handler.BaseHandler.handl eSOAPMessage(y:479)
at
com.novell.nidp.servlets.handler.CommonHandler.han dleRequest(y:3014)
at com.novell.nidp.servlets.NIDPServlet.myDoGet(y:136 4)
at com.novell.nidp.servlets.NIDPBaseServlet.doGet(y:2 81)
at com.novell.nidp.servlets.NIDPBaseServlet.doPost(y: 1301)
at javax.servlet.http.HttpServlet.service(HttpServlet .java:641)
at javax.servlet.http.HttpServlet.service(HttpServlet .java:722)
at
org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:305)
at
org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:210)
at
org.apache.catalina.core.StandardWrapperValve.invo ke(StandardWrapperValve.java:224)
at
org.apache.catalina.core.StandardContextValve.invo ke(StandardContextValve.java:169)
at
org.apache.catalina.authenticator.AuthenticatorBas e.invoke(AuthenticatorBase.java:472)
at
org.apache.catalina.core.StandardHostValve.invoke( StandardHostValve.java:168)
at
org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:98)
at
org.apache.catalina.core.StandardEngineValve.invok e(StandardEngineValve.java:118)
at
org.apache.catalina.connector.CoyoteAdapter.servic e(CoyoteAdapter.java:407)
at
org.apache.coyote.ajp.AjpProcessor.process(AjpProc essor.java:200)
at
org.apache.coyote.AbstractProtocol$AbstractConnect ionHandler.process(AbstractProtocol.java:539)
at
org.apache.tomcat.util.net.JIoEndpoint$SocketProce ssor.run(JIoEndpoint.java:298)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run Task(ThreadPoolExecutor.java:886)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)


--
MMeyer4018
------------------------------------------------------------------------
MMeyer4018's Profile: https://forums.netiq.com/member.php?userid=1650
View this thread: https://forums.netiq.com/showthread.php?t=47646