Custom Schedule Task ( Null Pointer Exception)

Hi All,
I had written Custom Schedule task: Below is the code
When i run the Schedule task it is failing throwing Null Pointer Exception. the code is not able to fetch userId ,passwordex and passwordwar values in execute method. please help me
package oracle.iam.sample.notification;
import java.sql.Date;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
import oracle.iam.identity.exception.NoSuchUserException;
import oracle.iam.identity.exception.UserLookupException;
import oracle.iam.identity.usermgmt.api.UserManager;
import oracle.iam.identity.usermgmt.vo.User;
import oracle.iam.notification.api.NotificationService;
import oracle.iam.notification.exception.EventException;
import oracle.iam.notification.exception.MultipleTemplateException;
import oracle.iam.notification.exception.NotificationException;
import oracle.iam.notification.exception.NotificationResolverNotFoundException;
import oracle.iam.notification.exception.TemplateNotFoundException;
import oracle.iam.notification.exception.UnresolvedNotificationDataException;
import oracle.iam.notification.exception.UserDetailsNotFoundException;
import oracle.iam.notification.vo.NotificationEvent;
import oracle.iam.platform.Platform;
import oracle.iam.platform.authz.exception.AccessDeniedException;
import oracle.iam.scheduler.vo.TaskSupport;
import static oracle.iam.identity.usermgmt.api.UserManagerConstants.AttributeName.MANAGER_KEY;
import static oracle.iam.identity.usermgmt.api.UserManagerConstants.AttributeName.USER_LOGIN;
import oracle.iam.platform.kernel.vo.Orchestration;
public class PasswordExpiry extends TaskSupport {
public PasswordExpiry() {
super();
public void execute(HashMap taskParameters) {
System.out.println("inside the Execute methode");
System.out.println("Schedule task Arguments "+taskParameters);
String userId = (String)taskParameters.get("User Login");
System.out.println("===========input=============== "+userId);
String passwordex=taskParameters.get("usr_pwd_expire_date").toString();
System.out.println("===========input=============== "+passwordex);
String passwordwar=taskParameters.get("usr_pwd_warn_date").toString();
System.out.println("===========input=============== "+passwordwar);
try {
System.out.println("inside the Try block");
NotificationService notService = Platform.getService(NotificationService.class);
NotificationEvent eventToSend = this.createNotificationEvent(userId, passwordex,passwordwar);
notService.notify(eventToSend);
} catch (Exception e) {
e.printStackTrace();
private NotificationEvent createNotificationEvent(String userKey, String passwordex,
String passwordwar) throws NoSuchUserException, UserLookupException,
AccessDeniedException {
NotificationEvent event = new NotificationEvent();
//get user IDs to whom notification is to be sent and set it in the
//event object being created
String[] receiverUserIds= getRecipientUserIds(userKey);
event.setUserIds(receiverUserIds);
//Set template name to be used to send notification for this event
event.setTemplateName("PasswordWarningNotificationTemplate");
//Setting senderId as null here and hence default sender ID would
//get picked up
event.setSender(null);
//Create a map with key value pair for the parameters declared at time
//of configuring notification event
HashMap<String, Object> map = new HashMap<String, Object>();
map.put("usr_key", userKey);
map.put("usr_pwd_warn_date", passwordex);
map.put("usr_pwd_expire_date",passwordwar);
event.setParams(map);
return event;
private String[] getRecipientUserIds(String userKey) throws NoSuchUserException,
UserLookupException, AccessDeniedException {
UserManager usrMgr = Platform.getService(UserManager.class);
User user = null;
String userId = null;
Set<String> userRetAttrs = new HashSet<String>();
//Sending notification to both the user and his/her manager
userRetAttrs.add(MANAGER_KEY.getId());
userRetAttrs.add(USER_LOGIN.getId());
User manager = null;
String managerId = null;
String managerKey = null;
Set<String> managerRetAttrs = new HashSet<String>();
managerRetAttrs.add(USER_LOGIN.getId());
//Retrieving User ID
user = usrMgr.getDetails(userKey, userRetAttrs, false);
userId = user.getAttribute(USER_LOGIN.getId()).toString();
List<String> userIds = new ArrayList<String>();
userIds.add(userId);
if (user.getAttribute(MANAGER_KEY.getId()) != null) {
managerKey = user.getAttribute(MANAGER_KEY.getId()).toString();
manager = usrMgr.getDetails(managerKey, managerRetAttrs, false);
//Retrieving User's Manager ID
managerId = manager.getAttribute(USER_LOGIN.getId()).toString();
userIds.add(managerId);
//To return String[] than an Object array
String[] recipientIDs = userIds.toArray(new String[0]);
return recipientIDs;
* Call notification Engine passing an event object to it
* @param event
* @throws NotificationException
private void sendNotification(NotificationEvent event) throws NotificationException {
try {
//Call notify method of NotificationService to pass on the event
//to notification engine
NotificationService notificationService = Platform.getService(
NotificationService.class);
notificationService.notify(event);
} catch (EventException e) {
throw new NotificationException(e.getMessage(), e.getCause());
} catch (UnresolvedNotificationDataException e) {
throw new NotificationException(e.getMessage(), e.getCause());
} catch (TemplateNotFoundException e) {
throw new NotificationException(e.getMessage(), e.getCause());
} catch (MultipleTemplateException e) {
throw new NotificationException(e.getMessage(), e.getCause());
} catch (NotificationResolverNotFoundException e) {
throw new NotificationException(e.getMessage(), e.getCause());
} catch (UserDetailsNotFoundException e) {
throw new NotificationException(e.getMessage(), e.getCause());
} catch (NotificationException e){
throw e;
public HashMap getAttributes() {
return null;
public void setAttributes() {}
Thank you

The task parameters passed into a scheduled job are the parameters defined for the scheduled task definition in the metadata xml and configured in the scheduled job. They are not the data of an individual user as you seem to be trying to get. In a scheduled task I would expect some sort of search for users to operate on.

Similar Messages

  • Use of Separated Variable in Optional Tasks- Null Pointer Exception

    Hi,
    I'm facing a strange issue with Object Category as 'Separated'. In our Process the main object(objLaunch) is big in size so we have decided to make object category to be separated. Process flow's each and every interactive activity has an optional task which is a Screen Flow. When we have changed the object(objLaunch) category to be 'Separated' we are getting below error when we had accessed the optional task. Please note that we are facing this issue in
    PROD environment where as in studio we are not facing this issue. The same object is present in the main process flow as well as in the screenflow(optional task). This object is passed as an input argument to the screenflow from the main process. In the screenflow as well as the main process, we have made the object as separated, though in the screenflow, upon saving and reopening the category still displays as Normal.
    Task failed. Caused by: Task '1' in activity '/SNIAuthorization#Default-1.0/Interactive[ConfirmLAZApproval]' for instance '/SNIAuthorization#Default-1.0/33774/0' could not be successfully executed. The task failed while executing method 'confirmLAZApprovalViewPEDIN'. Caused by: The task could not be successfully executed. Reason: 'java.lang.NullPointerException'. Caused by: java.lang.NullPointerException fuego.web.exception.WapiTaskFailedException: Task failed. at fuego.web.exception.WapiExceptionFactory.create(WapiExceptionFactory.java:209) at fuego.web.papi.DefaultErrorHandler.handleException(DefaultErrorHandler.java:49) at fuego.web.papi.TaskExecutor.execute(TaskExecutor.java:127) at fuego.workspace.servlet.ExecutorServlet.doAction(ExecutorServlet.java:117) at fuego.workspace.servlet.BaseServlet.doPost(BaseServlet.java:228) at fuego.workspace.servlet.BaseServlet.doGet(BaseServlet.java:219) at javax.servlet.http.HttpServlet.service(HttpServlet.java:743) at fuego.workspace.servlet.AuthenticatedServlet.service(AuthenticatedServlet.java:61) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227) at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283) at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42) at fuego.web.filter.SingleThreadPerSessionFilter.doFilter(SingleThreadPerSessionFilter.java:64) at fuego.web.filter.BaseFilter.doFilter(BaseFilter.java:63) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42) at fuego.web.filter.CharsetFilter.doFilter(CharsetFilter.java:48) at fuego.web.filter.BaseFilter.doFilter(BaseFilter.java:63) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3242) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121) at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2010) at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1916) at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1366) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209) at weblogic.work.ExecuteThread.run(ExecuteThread.java:181) Caused by: fuego.papi.exception.TaskFailedException: Task '1' in activity '/SNIAuthorization#Default-1.0/Interactive[ConfirmLAZApproval]' for instance '/SNIAuthorization#Default-1.0/33774/0' could not be successfully executed. The task failed while executing method 'confirmLAZApprovalViewPEDIN'. at weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:205) at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:335) at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:252) at fuego.ejbengine.EJBProcessControl_1zamnl_EOImpl_923_WLStub.runTask(Unknown Source) at fuego.papi.impl.j2ee.EJBProcessControlInterfaceWrapper.runTask(EJBProcessControlInterfaceWrapper.java:2169) at sun.reflect.GeneratedMethodAccessor776.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at fuego.papi.impl.AbstractProcessControlHandler.invokeInternal(AbstractProcessControlHandler.java:72) at fuego.papi.impl.j2ee.EJBProcessControlHandler.doInvoke(EJBProcessControlHandler.java:116) at fuego.papi.impl.j2ee.EJBProcessControlHandler.invoke(EJBProcessControlHandler.java:70) at $Proxy145.runTask(Unknown Source) at sun.reflect.GeneratedMethodAccessor775.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at fuego.lang.JavaClass.invokeMethod(JavaClass.java:1410) at fuego.lang.JavaObject.invoke(JavaObject.java:227) at fuego.papi.impl.j2ee.EJBExecution.next(EJBExecution.java:189) at fuego.web.execution.InteractiveExecution.process(InteractiveExecution.java:177) at fuego.web.execution.impl.WebInteractiveExecution.process(WebInteractiveExecution.java:54) at fuego.web.execution.InteractiveExecution.process(InteractiveExecution.java:223) at fuego.web.papi.TaskExecutor.runInstanceTask(TaskExecutor.java:490) at fuego.web.papi.TaskExecutor.execute(TaskExecutor.java:98) ... 25 more Caused by: fuego.lang.ComponentExecutionException: The task could not be successfully executed. Reason: 'java.lang.NullPointerException'. at fuego.server.execution.EngineExecutionContext.invokeMethodAsCil(EngineExecutionContext.java:1000) at fuego.server.execution.EngineExecutionContext.runCil(EngineExecutionContext.java:1175) at fuego.server.execution.TaskExecution.invoke(TaskExecution.java:428) at fuego.server.execution.InteractiveNormalCilExecution.invoke(InteractiveNormalCilExecution.java:430) at fuego.server.execution.TaskExecution.executeCIL(TaskExecution.java:554) at fuego.server.execution.TaskExecution.executeTask(TaskExecution.java:738) at fuego.server.execution.TaskExecution.executeTask(TaskExecution.java:698) at fuego.server.execution.TaskExecution.executeTask(TaskExecution.java:178) at fuego.server.execution.microactivity.InteractiveMicroActivity.executeNormalCil(InteractiveMicroActivity.java:489) at fuego.server.execution.microactivity.InteractiveMicroActivity.executeItem(InteractiveMicroActivity.java:442) at fuego.server.execution.microactivity.InteractiveMicroActivity.execute(InteractiveMicroActivity.java:100) at fuego.server.AbstractProcessBean$45.execute(AbstractProcessBean.java:2961) at fuego.server.execution.DefaultEngineExecution$AtomicExecutionTA.runTransaction(DefaultEngineExecution.java:304) at fuego.transaction.TransactionAction.startBaseTransaction(TransactionAction.java:470) at fuego.transaction.TransactionAction.startTransaction(TransactionAction.java:551) at fuego.transaction.TransactionAction.start(TransactionAction.java:212) at fuego.server.execution.DefaultEngineExecution.executeImmediate(DefaultEngineExecution.java:123) at fuego.server.execution.EngineExecution.executeImmediate(EngineExecution.java:66) at fuego.server.AbstractProcessBean.runTask(AbstractProcessBean.java:2965) at fuego.ejbengine.EJBProcessControlAdapter.runTask(EJBProcessControlAdapter.java:1144) at fuego.ejbengine.EJBProcessControl_1zamnl_EOImpl.runTask(EJBProcessControl_1zamnl_EOImpl.java:3019) at fuego.ejbengine.EJBProcessControl_1zamnl_EOImpl_WLSkel.invoke(Unknown Source) at weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:174) ... 47 more Caused by: java.lang.NullPointerException at xobject.Fuego__AutoGen__Screenflows__.__ViewPED.automatic(__ViewPED.xcdl:9) at xobject.Fuego__AutoGen__Screenflows__.__ViewPED.Automatic_Invocator(__ViewPED.xcdl:7) at xobject.Fuego__AutoGen__Screenflows__.__ViewPED.Begin_Router(__ViewPED.xcdl:6) at xobject.Fuego__AutoGen__Screenflows__.__ViewPED.Begin_Invocator(__ViewPED.xcdl:10) at PG.SNIAuthorization.Default_1_0.Instance.CIL_confirmLAZApprovalViewPEDIN(Instance.xcdl:3) at PG.SNIAuthorization.Default_1_0.Instance.CIL_confirmLAZApprovalViewPEDIN(Instance.xcdl) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at fuego.server.execution.EngineExecutionContext.invokeMethodAsCil(EngineExecutionContext.java:991) at fuego.server.execution.EngineExecutionContext.runCil(EngineExecutionContext.java:1175) at fuego.server.execution.TaskExecution.invoke(TaskExecution.java:428) at fuego.server.execution.InteractiveNormalCilExecution.invoke(InteractiveNormalCilExecution.java:430) at fuego.server.execution.TaskExecution.executeCIL(TaskExecution.java:554) at fuego.server.execution.TaskExecution.executeTask(TaskExecution.java:738) at fuego.server.execution.TaskExecution.executeTask(TaskExecution.java:698) at fuego.server.execution.TaskExecution.executeTask(TaskExecution.java:178) at fuego.server.execution.microactivity.InteractiveMicroActivity.executeNormalCil(InteractiveMicroActivity.java:489) at fuego.server.execution.microactivity.InteractiveMicroActivity.executeItem(InteractiveMicroActivity.java:442) at fuego.server.execution.microactivity.InteractiveMicroActivity.execute(InteractiveMicroActivity.java:100) at fuego.server.AbstractProcessBean$45.execute(AbstractProcessBean.java:2961) at fuego.server.execution.DefaultEngineExecution$AtomicExecutionTA.runTransaction(DefaultEngineExecution.java:304) at fuego.transaction.TransactionAction.startBaseTransaction(TransactionAction.java:470) at fuego.transaction.TransactionAction.startTransaction(TransactionAction.java:551) at fuego.transaction.TransactionAction.start(TransactionAction.java:212) at fuego.server.execution.DefaultEngineExecution.executeImmediate(DefaultEngineExecution.java:123) at fuego.server.execution.EngineExecution.executeImmediate(EngineExecution.java:66) at fuego.server.AbstractProcessBean.runTask(AbstractProcessBean.java:2965) at fuego.ejbengine.EJBProcessControlAdapter.runTask(EJBProcessControlAdapter.java:1144)
    Is it not possible to use separated variables in screenflows which will be accessed as optional tasks? The same screenflow forms part of the main process as well. This activity works fine even after the object was made separated. The error is encountered only in the optional task.
    Please could you analyze the mentioned issue and let us know the reason for the error.
    Anticipating for your response.
    Thanks in advance
    ~Kavitha A

    Please could you respond.
    Regards
    ~Kavitha A
    Edited by: user10230886 on Dec 1, 2009 10:29 PM

  • Null pointer Exception with Custom EventQueue

    I created a simple class customEventQueue which is extended from EventQueue class and pushed it using
    Toolkit.getDefaultToolkit().getSystemEventQueue().push(customEventQueue);
    Now, whenever there are three modal dialogs on top of a frame and if I click on top dialog that closes all three dialog boxes, I get nullpointer exception in console. The custom event class does not have any method in it. It just extends from EventQueue.
    I checked it in different JRE and it happens only in JRE1.3.1.
    Has anybody tried the same thing with custom event queue? Any help is most welcome. Thanks...
    java.lang.NullPointerException
    at sun.awt.windows.WInputMethod.dispatchEvent(Unknown Source)
    at sun.awt.im.InputContext.dispatchEvent(Unknown Source)
    at sun.awt.im.InputMethodContext.dispatchEvent(Unknown Source)

    Hi Chandel me having the same problem
    java.lang.NullPointerException
    at sun.awt.windows.WInputMethod.dispatchEvent(Unknown Source)
    at sun.awt.im.InputContext.dispatchEvent(Unknown Source)
    at sun.awt.im.InputMethodContext.dispatchEvent(Unknown Source)
    at java.awt.Component.dispatchEventImpl(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Window.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.KeyboardFocusManager.redispatchEvent(Unknown Source)
    at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(Unknown
    Source)
    at
    java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(Unknown Sour
    ce)
    at
    java.awt.DefaultKeyboardFocusManager.pumpApprovedKeyEvents(Unknown So
    urce)
    at
    java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(Unknown Sour
    ce)
    at java.awt.DefaultKeyboardFocusManager.dispatchEvent(Unknown
    Source)
    at java.awt.Component.dispatchEventImpl(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Window.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.SequencedEvent.dispatch(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown
    Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown
    Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)
    Th bigger problem is that i don't know what is causing this exception, cause the stack trace doesn't mention the line of code where the exception occurred.
    In earlier version of java we had pData null pointer exception. This bug manifests when the pull down menu doesn't fit completely into the frame's bounds and swing has to create a seaprate window for the pull-down.
    The problem is that WInputMethod caches a reference to peer and that that reference becomes stale when peer is destroyed and recreated.
    In this bug cached peer reference becomes stale as the Window for the menu is hidden (and its peer is destroyed) and shown again (with new peer this time).
    WInputMethod have a cached reference to the old peer but that old peer is not connected to the underlying native window used to display the menu.
    But it's been fixed. I want to know if our problem is in some way related to this pData bug.
    Thanx.

  • Xi 3.1 SP3 giving java null pointer exception error on scheduling webi

    after we have the system uptime running for a few days and have schedule webi jobs successfully for a few days, we constant get the message java null pointer exception error on scheduling webi.
    This only have days after restarting the environment.
    Seems to be coming up after scheduling a certain amount of webi reports.
    Only doing a stop all services and restart resolves the issue.
    XI 3.1 SP3
    SAP IK Sp3
    Tomcat55
    HPUX-IA64 (Hpunix) platform.

    Hello, I have the same issue.  If someone gives you an answer please let me know how to fix it.

  • Compleated guided procedure task throws Java.lang.null pointer exception.

    Hello,
    Compleated guided procedure task throws Java.lang.null pointer exception in UWL.
    From UWL  tracking of finished task of guided procedures throws null pointer exception .
    Guided procedure is created in local J2EE Engine not in Back end SAP System.
    Any ideas.
    Regards
    Mark

    Hi
    If u solved the problem mentioned above please tell me g\how u managed to do it.We are facing the same issue.Completed gp shows the same exception while opening from tracking tab

  • Null Pointer Exception when working with Custom Sql

    I viewed the video on adding Custom Sql and everything seemed to work fine with regards to adding it to my report. However, I get a null pointer exception when I add a field from the Custom Sql table to the report and try to run the report including if I try to View Sql. There doesn't seem to be a stacktrace that I can show.
    BTW... this was a work around for not being able to use Stored Procedures... I have killed 2 days now working on different ways to work around the Stored Procedure thing
    Thanks,
    Steve

    Hi,
    I'm trying to use a custom sql in my report. I could successfully create a custom SQL and add it to my report in the designer. But I'm getting NullPointer exception when I try to see the results in Preview. Can someone please help me resolve this issue.
    Thanks!

  • Error while registering plugin for custom schedule task

    Hello,
    I am trying to register a plugin for creating a custom scheduled task. I have referred to the document
    http://docs.oracle.com/cd/E23943_01/doc.1111/e14309/refsched.htm
    Followed the below steps-
    1. Updated the task.xml as below taken from MDS database
    <task>
    <name>AC Target Source Reconciliation</name>
    <class>com.cgc.iam.customconnector.ac.ReconACTarget</class>
    <description>This schedule task reconciles the active users from AC to OIM. This is a one time initial recon</description>
    <retry>0</retry>
    <parameters>
    <string-param required="true" helpText="IT Resource">IT Resource</string-param>
    <string-param required="true" encrypted="false" helpText="FileName">FileName</string-param>
    <string-param required="true" helpText="Admin">Admin</string-param>
                   <string-param required="true" helpText="AdminPassword">AdminPassword</string-param>
    <string-param required="true" helpText="ConfigurationLookup">ConfigurationLookup</string-param>
                   <string-param required="true" helpText="FilePath">FilePath</string-param>
                   <string-param required="true" helpText="ResourceObject">ResourceObject</string-param>
    </parameters>
    </task>
         <task>
    <name>ACRoleReconTask</name>
    <class>com.cgc.iam.customconnector.ac.ReconACRoles</class>
    <description>This scheduled task will reconcile the ACGroups and AC Roles from a csv file that is stored at a shared location</description>
    <retry>0</retry>
    <parameters>
    <string-param required="true" helpText="Admin">Admin</string-param>
                   <string-param required="true" helpText="AdminPassword">AdminPassword</string-param>
                   <string-param required="true" helpText="FilePath">FilePath</string-param>
    <string-param required="true" helpText="GroupLookup">GroupLookup</string-param>               
    <string-param required="true" helpText="RoleLookup">RoleLookup</string-param>               
                   <string-param required="true" helpText="GroupTableName">GroupTableName</string-param>
                   <string-param required="true" helpText="RoleTableName">RoleTableName</string-param>
    </parameters>
    </task>
    2. Imported the task.xml into MDS.
    3. created the plugin.xml as below-
    <?xml version="1.0" encoding="UTF-8"?>
    <oimplugins xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <plugins pluginpoint="oracle.iam.scheduler.vo.TaskSupport">
    <plugin pluginclass= "com.cgc.iam.customconnector.ac.ReconACTarget" version="1.0.1" name="scheduler element"></plugin>
    <plugin pluginclass= "com.cgc.iam.customconnector.ac.ReconACRoles" version="1.0.1" name="scheduler element">
    </plugin>
    </plugins>
    </oimplugins>
    3. created the plugin.zip with the folder structure as-
    plugin.zip
    plugin.xml
    lib
    jar files
    4. set ant properties
    5. run the command
    java -jar ../../../modules/com.bea.core.jarbuilder_1.7.0.0.jar
    4. registered plugin using ant utility.
    Now, I am getting the below exception-
    oracle.iam.platform.utils.NoSuchServiceException: java.lang.reflect.InvocationTargetException
    Please help.
    Thanks
    sjit

    [echo] at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)
    [echo] at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
    [echo] at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
    [echo] Caused by: java.sql.SQLIntegrityConstraintViolationException: ORA-00001: unique constraint (DEV1_OIM.PLUGINS_UNIQUE_NAME) violated
    [echo]
    [echo] at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:462)
    [echo] at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:405)
    [echo] at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:931)
    [echo] at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:481)
    [echo] at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:205)
    [echo] at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:548)
    [echo] at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:217)
    [echo] at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:1115)
    [echo] at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1488)
    [echo] at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3769)
    [echo] at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:3904)
    [echo] at oracle.jdbc.driver.UpdatableResultSet.executeInsertRow(UpdatableResultSet.java:8630)
    [echo] at oracle.jdbc.driver.UpdatableResultSet.insertRow(UpdatableResultSet.java:6428)
    [echo] at weblogic.jdbc.wrapper.ResultSet_oracle_jdbc_driver_UpdatableResultSet.insertRow(Unknown Source)
    [echo] at oracle.iam.platform.pluginframework.DBStore.updatePluginTable(DBStore.java:395)
    [echo] at oracle.iam.platform.pluginframework.DBStore.storePlugins(DBStore.java:193)
    [echo] at oracle.iam.platform.pluginframework.PluginManagerImpl.registerPluginAndReturnStatus(PluginManagerImpl.java:90)
    [echo] at oracle.iam.platformservice.impl.PlatformServiceImpl.registerPluginAndReturnStatus(PlatformServiceImpl.java:106)
    [echo] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [echo] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    [echo] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [echo] at java.lang.reflect.Method.invoke(Method.java:597)
    [echo] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
    [echo] at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
    [echo] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
    [echo] at oracle.iam.platform.utils.DMSMethodInterceptor.invoke(DMSMethodInterceptor.java:25)
    [echo] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    [echo] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
    [echo] at $Proxy735.registerPluginAndReturnStatus(Unknown Source)
    [echo] at oracle.iam.platformservice.api.PlatformServiceEJB.registerPluginAndReturnStatusx(Unknown Source)
    [echo] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [echo] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    [echo] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [echo] at java.lang.reflect.Method.invoke(Method.java:597)
    [echo] at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
    [echo] at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
    [echo] at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
    [echo] at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
    [echo] at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
    [echo] at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    [echo] at com.oracle.pitchfork.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:34)
    [echo] at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:54)
    [echo] at com.oracle.pitchfork.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:42)
    [echo] at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    [echo] at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
    [echo] at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    [echo] at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
    [echo] at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
    [echo] at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    [echo] at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
    [echo] at $Proxy734.registerPluginAndReturnStatusx(Unknown Source)
    [echo] at oracle.iam.platformservice.api.PlatformService_ott20t_PlatformServiceRemoteImpl.__WL_invoke(Unknown Source)
    [echo] at weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(SessionRemoteMethodInvoker.java:40)
    [echo] at oracle.iam.platformservice.api.PlatformService_ott20t_PlatformServiceRemoteImpl.registerPluginAndReturnStatusx(Unknown Source)
    [echo] at oracle.iam.platformservice.api.PlatformService_ott20t_PlatformServiceRemoteImpl_WLSkel.invoke(Unknown Source)
    [echo] at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:667)
    [echo] at weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef.java:230)
    [echo] at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:522)
    [echo] at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
    [echo] at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
    [echo] at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:518)
    [echo] ... 3 more
    [echo] Exception in thread "Main Thread" oracle.iam.platform.pluginframework.PluginStoreException: An error occurred while storing the plugin in store ORA-00001: unique constraint (DEV1_OIM.PLUGINS_UNIQUE_NAME) violated
    [echo]
    [echo] at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:237)
    [echo] at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:348)
    [echo] at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:259)
    [echo] at oracle.iam.platformservice.api.PlatformService_ott20t_PlatformServiceRemoteImpl_1036_WLStub.registerPluginAndReturnStatusx(Unknown Source)
    [echo] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [echo] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    [echo] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [echo] at java.lang.reflect.Method.invoke(Method.java:597)
    [echo] at weblogic.ejb.container.internal.RemoteBusinessIntfProxy.invoke(RemoteBusinessIntfProxy.java:85)
    [echo] at $Proxy2.registerPluginAndReturnStatusx(Unknown Source)
    [echo] at oracle.iam.platformservice.api.PlatformServiceDelegate.registerPluginAndReturnStatus(Unknown Source)
    [echo] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [echo] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    [echo] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [echo] at java.lang.reflect.Method.invoke(Method.java:597)
    [echo] at Thor.API.Base.SecurityInvocationHandler$1.run(SecurityInvocationHandler.java:68)
    [echo] at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    [echo] at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
    [echo] at weblogic.security.Security.runAs(Security.java:41)
    [echo] at Thor.API.Security.LoginHandler.weblogicLoginSession.runAs(weblogicLoginSession.java:52)
    [echo] at Thor.API.Base.SecurityInvocationHandler.invoke(SecurityInvocationHandler.java:79)
    [echo] at $Proxy3.registerPluginAndReturnStatus(Unknown Source)
    [echo] at oracle.iam.platformservice.utils.PluginUtility.registerPluginAndReturnStatus(PluginUtility.java:279)
    [echo] at oracle.iam.platformservice.utils.PluginUtility.main(PluginUtility.java:219)
    [echo] Caused by: oracle.iam.platform.pluginframework.PluginStoreException: An error occurred while storing the plugin in store ORA-00001: unique constraint (DEV1_OIM.PLUGINS_UNIQUE_NAME) violated
    [echo]
    [echo] at oracle.iam.platform.pluginframework.DBStore.storePlugins(DBStore.java:222)
    [echo] at oracle.iam.platform.pluginframework.PluginManagerImpl.registerPluginAndReturnStatus(PluginManagerImpl.java:90)
    [echo] at oracle.iam.platformservice.impl.PlatformServiceImpl.registerPluginAndReturnStatus(PlatformServiceImpl.java:106)
    [echo] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [echo] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    [echo] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [echo] at java.lang.reflect.Method.invoke(Method.java:597)
    [echo] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
    [echo] at oracle.iam.platform.utils.DMSMethodInterceptor.invoke(DMSMethodInterceptor.java:25)
    [echo] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    [echo] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
    [echo] at $Proxy735.registerPluginAndReturnStatus(Unknown Source)
    [echo] at oracle.iam.platformservice.api.PlatformServiceEJB.registerPluginAndReturnStatusx(Unknown Source)
    [echo] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [echo] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    [echo] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [echo] at java.lang.reflect.Method.invoke(Method.java:597)
    [echo] at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
    [echo] at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
    [echo] at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    [echo] at com.oracle.pitchfork.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:34)
    [echo] at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:54)
    [echo] at com.oracle.pitchfork.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:42)
    [echo] at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    [echo] at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
    [echo] at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    [echo] at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
    [echo] at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    [echo] at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
    [echo] at $Proxy734.registerPluginAndReturnStatusx(Unknown Source)
    [echo] at oracle.iam.platformservice.api.PlatformService_ott20t_PlatformServiceRemoteImpl.__WL_invoke(Unknown Source)
    [echo] at weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(SessionRemoteMethodInvoker.java:40)
    [echo] at oracle.iam.platformservice.api.PlatformService_ott20t_PlatformServiceRemoteImpl.registerPluginAndReturnStatusx(Unknown Source)
    [echo] at oracle.iam.platformservice.api.PlatformService_ott20t_PlatformServiceRemoteImpl_WLSkel.invoke(Unknown Source)
    [echo] at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:668)
    [echo] at weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef.java:230)
    [echo] at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)
    [echo] at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
    [echo] at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
    [echo] Caused by: java.sql.SQLIntegrityConstraintViolationException: ORA-00001: unique constraint (DEV1_OIM.PLUGINS_UNIQUE_NAME) violated
    [echo]
    [echo] at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:462)
    [echo] at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:405)
    [echo] at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:931)
    [echo] at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:481)
    [echo] at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:205)
    [echo] at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:548)
    [echo] at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:217)
    [echo] at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:1115)
    [echo] at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1488)
    [echo] at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3769)
    [echo] at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:3904)
    [echo] at oracle.jdbc.driver.UpdatableResultSet.executeInsertRow(UpdatableResultSet.java:8630)
    [echo] at oracle.jdbc.driver.UpdatableResultSet.insertRow(UpdatableResultSet.java:6428)
    [echo] at weblogic.jdbc.wrapper.ResultSet_oracle_jdbc_driver_UpdatableResultSet.insertRow(Unknown Source)
    [echo] at oracle.iam.platform.pluginframework.DBStore.updatePluginTable(DBStore.java:395)
    [echo] at oracle.iam.platform.pluginframework.DBStore.storePlugins(DBStore.java:193)
    [echo] at oracle.iam.platform.pluginframework.PluginManagerImpl.registerPluginAndReturnStatus(PluginManagerImpl.java:90)
    [echo] at oracle.iam.platformservice.impl.PlatformServiceImpl.registerPluginAndReturnStatus(PlatformServiceImpl.java:106)
    [echo] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [echo] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    [echo] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [echo] at java.lang.reflect.Method.invoke(Method.java:597)
    [echo] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
    [echo] at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
    [echo] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
    [echo] at oracle.iam.platform.utils.DMSMethodInterceptor.invoke(DMSMethodInterceptor.java:25)
    [echo] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    [echo] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
    [echo] at $Proxy735.registerPluginAndReturnStatus(Unknown Source)
    [echo] at oracle.iam.platformservice.api.PlatformServiceEJB.registerPluginAndReturnStatusx(Unknown Source)
    [echo] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [echo] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    [echo] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [echo] at java.lang.reflect.Method.invoke(Method.java:597)
    [echo] at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
    [echo] at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
    [echo] at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
    [echo] at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
    [echo] at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
    [echo] at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    [echo] at com.oracle.pitchfork.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:34)
    [echo] at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:54)
    [echo] at com.oracle.pitchfork.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:42)
    [echo] at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    [echo] at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
    [echo] at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    [echo] at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
    [echo] at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
    [echo] at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    [echo] at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
    [echo] at $Proxy734.registerPluginAndReturnStatusx(Unknown Source)
    [echo] at oracle.iam.platformservice.api.PlatformService_ott20t_PlatformServiceRemoteImpl.__WL_invoke(Unknown Source)
    [echo] at weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(SessionRemoteMethodInvoker.java:40)
    [echo] at oracle.iam.platformservice.api.PlatformService_ott20t_PlatformServiceRemoteImpl.registerPluginAndReturnStatusx(Unknown Source)
    [echo] at oracle.iam.platformservice.api.PlatformService_ott20t_PlatformServiceRemoteImpl_WLSkel.invoke(Unknown Source)
    [echo] at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:667)
    [echo] at weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef.java:230)
    [echo] at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:522)
    [echo] at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
    [echo] at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
    [echo] at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:518)
    [echo] ... 3 more
    [echo] classpath=/users/oim/Oracle/Middleware/Oracle_IDM1/server/ext/spring.jar:/users/oim/Oracle/Middleware/Oracle_IDM1/server/ext/jakarta-commons/commons-logging.jar:/users/oim/Oracle/Middleware/Oracle_IDM1/server/platform/iam-platform-context.jar:/users/oim/Oracle/Middleware/Oracle_IDM1/server/platform/iam-platform-utils.jar:/users/oim/Oracle/Middleware/Oracle_IDM1/server/platform/iam-platform-auth-client.jar:/users/oim/Oracle/Middleware/Oracle_IDM1/server/platform/iam-platform-pluginframework.jar:/users/oim/Oracle/Middleware/Oracle_IDM1/server/client/oimclient.jar:/users/oim/Oracle/Middleware/wlserver_10.3/server/lib/wlfullclient.jar:/users/oim/Oracle/Middleware/oracle_common/modules/oracle.jrf_11.1.1/jrf-api.jar
    [echo]
    [echo]
    [echo] was_home=null
    [echo]
    [echo]
    [echo] client_home=null
    [echo]
    [echo]
    [echo] xl_home=null
    [echo]
    [echo]
    [echo] mw_home=null
    [echo]
    [echo]
    [echo] newClasspath=/users/oim/Oracle/Middleware/Oracle_IDM1/server/ext/spring.jar:/users/oim/Oracle/Middleware/Oracle_IDM1/server/ext/jakarta-commons/commons-logging.jar:/users/oim/Oracle/Middleware/Oracle_IDM1/server/platform/iam-platform-context.jar:/users/oim/Oracle/Middleware/Oracle_IDM1/server/platform/iam-platform-utils.jar:/users/oim/Oracle/Middleware/Oracle_IDM1/server/platform/iam-platform-auth-client.jar:/users/oim/Oracle/Middleware/Oracle_IDM1/server/platform/iam-platform-pluginframework.jar:/users/oim/Oracle/Middleware/Oracle_IDM1/server/client/oimclient.jar:/users/oim/Oracle/Middleware/wlserver_10.3/server/lib/wlfullclient.jar:/users/oim/Oracle/Middleware/oracle_common/modules/oracle.jrf_11.1.1/jrf-api.jar.:/sample:null/ext/ojdbc14.jar:null/ext/ucp.jar:null/oracle_common/modules/oracle.jmx_11.1.1/jmxspi.jar:null/lib/oimclient.jar:null/server/lib/wlfullclient.jar:null/ext/jakarta-commons/commons-logging.jar:null/ext/commons-logging.jar:null/ext/spring.jar:null/ext/spring.jar:null/server/lib/webserviceclient+ssl.jar:null/platform/iam-platform-utils.jar:null/server/lib/wlclient.jar:null/server/lib/weblogic.jar:null/platform/iam-platform-auth-client.jar:null/features/iam-features-system-configuration.zip:null/features/iam-features-identity.zip:null/features/iam-features-platformservice.zip:null/ext/log4j-1.2.8.jar:null/lib/XellerateClient.jar:null/lib/xlAPI.jar:null/lib/xlLogger.jar:null/lib/xlVO.jar:null/lib/xlUtils.jar:null/lib/xlCrypto.jar:null/lib/xlAuthentication.jar:null/lib/xlDataObjectBeans.jar:null/ext/oscache.jar:null/ext/javagroups-all.jar:null/lib/xlFvcUtil.jar:../../../iam/iam-lib/internal/jrf-api.jar:null/oracle_common/modules/oracle.jrf_11.1.1/jrf-api.jar:null/ext/jrf-api.jar:null/oracle_common/webservices/wsclient_extended.jar:null/oracle_common/modules/oracle.xdk_11.1.0/xmlparserv2.jar:null/oracle_common/modules/oracle.jmx_11.1.1/jmxspi.jar:null/oracle_common/modules/oracle.jmx_11.1.1/jmxframework.jar
    [echo] Error in registering the plugin. An error occurred while storing the plugin in store ORA-00001: unique constraint (DEV1_OIM.PLUGINS_UNIQUE_NAME) violated
    [echo]
    [echo] Error occured during the use of plugin registering utility. An error occurred while storing the plugin in store ORA-00001: unique constraint (DEV1_OIM.PLUGINS_UNIQUE_NAME) violated
    BUILD SUCCESSFUL
    Edited by: sjit on Nov 23, 2012 5:20 AM

  • Null pointer Exception in findusersfiltered method

    Hi,
    I am using Findusersfiltered method to fetch the userkey . But it is throwing a null pointer exception, Findusersfiltered(Unknown source). Please let me know the workaround to solve this issue. Will changing the method to findallusers or any other method to fetch the user key will solve this?
    Thanks.

    Still getting this error after using findallusers method... Any possible solution?
    java.lang.NullPointerException
         at Thor.API.Operations.tcUserOperationsClient.findAllUsers(Unknown Source)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at Thor.API.Base.SecurityInvocationHandler$1.run(Unknown Source)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(Unknown Source)
         at weblogic.security.Security.runAs(Security.java:41)
         at Thor.API.Security.LoginHandler.weblogicLoginSession.runAs(Unknown Source)
         at Thor.API.Base.SecurityInvocationHandler.invoke(Unknown Source)
         at $Proxy59.findAllUsers(Unknown Source)
         at com.bofa.email.RequestKeyGenerator.getRequestKey(RequestKeyGenerator.java:201)
         at com.bofa.email.ExcelReader.printDatabase(ExcelReader.java:303)
         at com.bofa.email.ExcelReader.showExelData(ExcelReader.java:279)
         at com.bofa.email.ExcelReader.Parser(ExcelReader.java:137)
         at com.bofa.email.FilenameReader.getPath(FilenameReader.java:53)
         at com.bofa.email.InboxReader.retrieveUnreadMails(InboxReader.java:183)
         at com.bofa.email.AutoRequestGenerator.executed(AutoRequestGenerator.java:77)
         at com.bofa.email.AutoRequestGenerator.setup(AutoRequestGenerator.java:56)
         at com.bofa.email.AutoRequestGenerator.execute(AutoRequestGenerator.java:29)
         at com.thortech.xl.scheduler.tasks.SchedulerBaseTask.run(Unknown Source)
         at com.thortech.xl.scheduler.core.quartz.QuartzWrapper$TaskExecutionAction.run(Unknown Source)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(Unknown Source)
         at weblogic.security.Security.runAs(Security.java:41)
         at Thor.API.Security.LoginHandler.weblogicLoginSession.runAs(Unknown Source)
         at com.thortech.xl.scheduler.core.quartz.QuartzWrapper.execute(Unknown Source)
         at org.quartz.core.JobRunShell.run(JobRunShell.java:178)
         at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:477)

  • Number parameter in custom schedule task in R2

    Gurus,
    I have a developed a custom schedule task in OIM 11gR2 which has a number parameter as one of the input. I have defined this parm like below in my eventhandler.xml
    <number-param required="true" helpText="Number of Records to Be retrieved">Number of Records</number-param>
    While reading this value in the schedule task code, I am using this.
    try
    String records= String.valueOf(attributes.get("Number of Records"));
    System.out.println("Records"+records);
    catch (Exception e) {
    e.printStackTrace();
    I even tried with the below but same issue.
    try
    int records= Integer.parseInt((String)attributes.get("Number of Records"));
    System.out.println("Records"+records);
    catch (Exception e) {
    e.printStackTrace();
    But my job is failing is saying number format exception.
    Can you please let me know some code snippet to read a number-param in a schedule task.

    Here is a tested code for you.
    import java.util.HashMap;
    import oracle.iam.scheduler.vo.TaskSupport;
    public class Test extends TaskSupport {
    public void execute(HashMap attributes) {
    try {
    long recs=((Long)attributes.get("Number of Records")).longValue();
    print((int) recs);
    catch(Exception e) {
    System.out.println("Exception 1:"+e.getMessage());
    private void print(int a) {
    System.out.println(" a="+a);
    public HashMap getAttributes() {
    return null;
    public void setAttributes() {
    }

  • Custom scheduled task link

    can i get a thread for sample custom scheduled tasks.... the class files which needs to be exported as jars to .../schedulde tasks folder

    Here it is. Copy and paste in your eclipse. Compile into a jar file and place it in the Schedule Task folder:
    - Create a task scheduler with class name default.SampleScheduler
    - Create RO Attributes
    - Create Process Definition Mappings
    Should be fine.
    package default;
    import java.util.HashMap;
    import Thor.API.Exceptions.tcAPIException;
    import Thor.API.Exceptions.tcObjectNotFoundException;
    import Thor.API.Operations.tcLookupOperationsIntf;
    import Thor.API.Operations.tcPropertyOperationsIntf;
    import Thor.API.Operations.tcReconciliationOperationsIntf;
    import com.thortech.xl.scheduler.tasks.SchedulerBaseTask;
    public class SampleScheduler extends SchedulerBaseTask {
              private tcLookupOperationsIntf tclookupoperationsintf = null;
              private tcPropertyOperationsIntf tcpropertyoperationsIntf = null;          
              private tcReconciliationOperationsIntf reconUtil = null;
              private String ROName = null;
              public SampleScheduler() {
                   public void init() {
                        getAPIClass();
                        ROName = getAttribute("Resource Object");
                   private void getAPIClass() {
                        try {
                   tclookupoperationsintf = (tcLookupOperationsIntf)getUtility("Thor.API.Operations.tcLookupOperationsIntf");               
                   reconUtil = (tcReconciliationOperationsIntf)getUtility("Thor.API.Operations.tcReconciliationOperationsIntf");
                   } catch (tcAPIException e) {
                   throw new RuntimeException("Unable to create API instance " +
                             "instance", e);
                   public void execute() {
                        processReconciliation();
              public void processReconciliation(){
                             try {
                                  HashMap recData = new HashMap();
                                  recData.put("Users.UserID", "Test01");
                                  recData.put("Users.First Name", "TestFN");
                                  recData.put("Users.Last Name", "TestLN");
                                  recData.put("Users.OrganizationName","Xellerate Users");
                                  recData.put("Users.EmployeeType", "Full-Time Employee");
                                  recData.put("Users.UserType", "End-User");
                                  try {
                                       long msRceKey =0;
                                       msRceKey = reconUtil.createReconciliationEvent(ROName, recData,
                                                 true);
                                  } catch (tcAPIException tce) {
                                       // throw new RuntimeException(tce);
                                  } catch (tcObjectNotFoundException ex) {
                                       // throw new RuntimeException(ex);
                             } catch (Exception e) {
                                  throw new RuntimeException(e);
    Thanks
    Sunny

  • Null Pointer Exception in Bursting Engine

    Hi, I am trying the example given in XDO 5.6.2. but i am getting null pointer exception. Any help appreciated.
    1. burstCtrl.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <DATA>
    <DEPTS>
    <DEPT>
    <DEPTNO>20</DEPTNO>
    <NAME>Accounting</NAME>
    <MANAGER_EMAIL>[email protected]</MANAGER_EMAIL>
    <EMPLOYEES>
    <EMPLOYEE>
    <EMPNO>7369</EMPNO>
    <ENAME>SMITH</ENAME>
    <JOB>CLERK</JOB>
    <MGR>7902</MGR>
    <HIREDATE>1980-12-17T00:00:00.000-08:00</HIREDATE>
    <SAL>800</SAL>
    <DEPTNO>20</DEPTNO>
    <EMAIL>[email protected]</EMAIL>
    </EMPLOYEE>
    <EMPLOYEE>
    <EMPNO>7566</EMPNO>
    <ENAME>JONES</ENAME>
    <JOB>MANAGER</JOB>
    <MGR>7839</MGR>
    <HIREDATE>1981-04-02T00:00:00.000-08:00</HIREDATE>
    <SAL>2975</SAL>
    <DEPTNO>20</DEPTNO>
    <EMAIL>[email protected]</EMAIL>
    </EMPLOYEE>
    </EMPLOYEES>
    </DEPT>
    <DEPT>
    <DEPTNO>30</DEPTNO>
    <NAME>Sales</NAME>
    <MANAGER_EMAIL>[email protected]</MANAGER_EMAIL>
    <EMPLOYEES>
    <EMPLOYEE>
    <EMPNO>7788</EMPNO>
    <ENAME>SCOTT</ENAME>
    <JOB>ANALYST</JOB>
    <MGR>7566</MGR>
    <HIREDATE>1982-12-09T00:00:00.000-08:00</HIREDATE>
    <SAL>3000</SAL>
    <DEPTNO>20</DEPTNO>
    <EMAIL>[email protected]</EMAIL>
    </EMPLOYEE>
    <EMPLOYEE>
    <EMPNO>7876</EMPNO>
    <ENAME>ADAMS</ENAME>
    <JOB>CLERK</JOB>
    <MGR>7788</MGR>
    <HIREDATE>1983-01-12T00:00:00.000-08:00</HIREDATE>
    <SAL>1100</SAL>
    <EMAIL>[email protected]</EMAIL>
    </EMPLOYEE>
    </EMPLOYEES>
    </DEPT>
    </DEPTS>
    </DATA>
    2. empData.xml
    <?xml version="1.0" encoding="UTF-8" ?>
    <xapi:requestset xmlns:xapi="http://xmlns.oracle.com/oxp/xapi" type="bursting">
    <xapi:request
    select="/DATA/DEPTS/DEPT/EMPLOYEES/EMPLOYEE">
    <! - Burst on Customer element - >
    <xapi:delivery>
    <xapi:email server="xxx.server.com" port="25" from="[email protected]" reply-to=
    "">
    <xapi:message id="123" to="${EMAIL}"
    cc="[email protected]" attachment="true"
    subject="CustomerDetails">Please find the customer invoice as a attachment
    (Through Application).
    <! - Set the id for the delivery method - >
    <! - Use the Customer EMAIL element to email the document to the Customer - >
    </xapi:message>
    </xapi:email>
    </xapi:delivery>
    <xapi:document output-type="pdf" delivery="123">
    <!Specify the delivery method id to be used - >
    <xapi:template type="rtf"
    location="/home/lkkumar/Dept.rtf" />
    </xapi:document>
    </xapi:request>
    </xapi:requestset>
    3. BurstingTest.java
    import oracle.apps.xdo.batch.DocumentProcessor;
    import oracle.apps.xdo.batch.*;
    import oracle.apps.xdo.batch.object.*;
    import oracle.apps.xdo.delivery.*;
    import oracle.apps.xdo.delivery.smtp.*;
    import oracle.apps.xdo.*;
    import oracle.apps.xdo.oa.util.*;
    import java.util.*;
    import java.io.*;
    import java.io.InputStream;
    import oracle.apps.fnd.cp.request.*;
    public class BurstingTest
    public BurstingTest()
    try {
    DocumentProcessor dp = new DocumentProcessor
    ("/home/lkkumar/burstCtrl.xml","/home/lkkumar/empData.xml","/home/lkkumar");
    dp.process();
    } catch (Exception ex) {
              System.out.println(ex);
    ex.printStackTrace();
    } finally {
    public static void main(String[] args)
    BurstingTest burst1 = new BurstingTest();
    The program compiles fine. but when i execute it gives null pointer exception.
    (lkkumar) lkkumar- java BurstingTest
    java.lang.NullPointerException
    java.lang.NullPointerException
    at oracle.apps.xdo.batch.BurstingProcessorEngine.process(BurstingProcessorEngine.java:1313)
    at oracle.apps.xdo.batch.DocumentProcessor.process(DocumentProcessor.java:213)
    at BurstingTest.<init>(BurstingTest.java:19)
    at BurstingTest.main(BurstingTest.java:30)
    Message was edited by:
    user609950

    Any idea , why it failed ?
    were you able to resolve ??
    where did you deploy this java file ?
    how did you run this file ?

  • Null pointer exception in embedded component

    Hi all,
    I am trying to build a custom component that serves as a container. Unfortunately I consistently hit a null pointer exception in javax.swing.BufferStrategyPaintManager.flushAccumulatedRegion when my custom component contains a JPanel.
    You'll find below the smallest code that reproduces the problem and the exception that comes with it.
    In my testing I noticed few things:
    - If the contained object is simple (a JButton for example), there is no problem.
    - When I turn off double buffering, there is no problem.
    - I figured out that I need to set the contained component size and its internal components to have it display properly.
    I can't figure out what would make this work.
    I'm using JDK 6.
    package test;
    import java.awt.*;
    import javax.swing.*;
    public class Test {
         public static void main(String[] args) {
            javax.swing.SwingUtilities.invokeLater(new Runnable() {
                public void run() {
                    createAndShowGUI();
         private static void createAndShowGUI() {
              // internal panel
              JPanel lPanel = new JPanel();
              JButton lButton = new JButton("Button 1");
              lButton.setSize(lButton.getPreferredSize());
              lPanel.add(lButton);
              IntComponent b = new IntComponent(lPanel);
              JFrame lFrame = new JFrame("internal panel test");
              //RepaintManager.currentManager(null).setDoubleBufferingEnabled(false);
              lFrame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              lFrame.getContentPane().add(b);
              lFrame.pack();
              lFrame.setVisible(true);
    class IntComponent extends JComponent {
         private JComponent mInternalComponent;
         public IntComponent(JComponent iComponent) {
              mInternalComponent=iComponent;
              mInternalComponent.setSize(mInternalComponent.getPreferredSize());
         public Dimension getMaximumSize() {
              return getPreferredSize();
         public Dimension getMinimumSize() {
              return getPreferredSize();
         public Dimension getPreferredSize() {
              return mInternalComponent.getPreferredSize();
         protected void paintComponent(Graphics g) {
              mInternalComponent.paint(g);
    }Exception:
    Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
         at javax.swing.BufferStrategyPaintManager.flushAccumulatedRegion(BufferStrategyPaintManager.java:406)
         at javax.swing.BufferStrategyPaintManager.endPaint(BufferStrategyPaintManager.java:370)
         at javax.swing.RepaintManager.endPaint(RepaintManager.java:1192)
         at javax.swing.JComponent.paint(JComponent.java:1016)
         at java.awt.GraphicsCallback$PaintCallback.run(GraphicsCallback.java:21)
         at sun.awt.SunGraphicsCallback.runOneComponent(SunGraphicsCallback.java:60)
         at sun.awt.SunGraphicsCallback.runComponents(SunGraphicsCallback.java:97)
         at java.awt.Container.paint(Container.java:1797)
         at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:734)
         at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:679)
         at javax.swing.RepaintManager.seqPaintDirtyRegions(RepaintManager.java:659)
         at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:128)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
         at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)

    import java.awt.*;
    import javax.swing.*;
    class Test {
      public static void main(String[] args) {
            javax.swing.SwingUtilities.invokeLater(new Runnable() {
                public void run() {
                    createAndShowGUI();
      private static void createAndShowGUI() {
        JPanel lPanel = new JPanel();
        JButton lButton = new JButton("Button 1");
        lPanel.add(lButton);
        IntComponent b = new IntComponent(lPanel);
        JFrame lFrame = new JFrame("internal panel test");
        lFrame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        lFrame.getContentPane().add(b);
        lFrame.pack();
        lFrame.setVisible(true);
    class IntComponent extends JComponent {
      private JComponent mInternalComponent;
      public IntComponent(JComponent iComponent) {
        mInternalComponent=iComponent;
        setLayout(new FlowLayout());//<--added
        add(mInternalComponent);//<--added
      public Dimension getMaximumSize() {
        return getPreferredSize();
      public Dimension getMinimumSize() {
        return getPreferredSize();
      public Dimension getPreferredSize() {
        return mInternalComponent.getPreferredSize();
      protected void paintComponent(Graphics g) {
        //mInternalComponent.paint(g);//<--error from this
        super.paintComponent(g);//<---added
    }

  • Null pointer exception in the morning

    Hi all,
    I have built a custom JSP DYN page application that for the most part works ok. However, I've found on occassion that when I arrive in the morning, the application errors out in our dev and qa portal environments with a null pointer exception type error. The error info in the trace log file is below. I've found that if I redeploy a fresh copy of the application to the dev portal server, it makes the problem go away. In our QA environment, if I restart the portal the problem goes away. In other words, I'm not making any changes to the code to make the problem go away. It's like something has gone awry in the portal.
    The trace log file isn't really telling me anything significant. Maybe someone out there has heard of this problem and knows what I'm doing wrong.
    Here's the error info:
    #00505696599B0094000000AD00005D340004B89E1EAEF68E#1328889165892#com.sap.portal.prt.request#sap.com/irj#com.sap.portal.prt.request#SpaldST#25597##n/a##71ec264b53fe11e1b83900505696599b#Thread[PRT-Async 3,5,PRT-Async]##0#0#Error#1#/System/Server#Java###Exception in PortalRequestManager.dispatchRequest without timeout
    [EXCEPTION]
    #1#com.sapportals.portal.prt.component.PortalComponentException: Error occurs during the compilation of java generated from the jsp
         at com.sapportals.portal.prt.core.broker.JSPComponentItem.getComponentInstance(JSPComponentItem.java:116)
         at com.sapportals.portal.prt.core.broker.PortalComponentItemFacade.service(PortalComponentItemFacade.java:355)
         at com.sapportals.portal.prt.core.broker.PortalComponentItem.service(PortalComponentItem.java:934)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:435)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:527)
         at com.sapportals.portal.prt.core.async.AsyncPortalComponentResponse.include(AsyncPortalComponentResponse.java:680)
         at com.sapportals.portal.htmlb.page.JSPDynPage.doOutput(JSPDynPage.java:76)
         at com.sapportals.htmlb.page.PageProcessor.handleRequest(PageProcessor.java:133)
         at com.sapportals.portal.htmlb.page.PageProcessorComponent.doContent(PageProcessorComponent.java:134)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
         at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
         at com.sapportals.portal.prt.core.async.AsyncPortalComponentResponse.include(AsyncPortalComponentResponse.java:355)
         at com.sapportals.portal.prt.core.async.AsyncPortalComponentResponse.include(AsyncPortalComponentResponse.java:310)
         at com.sapportals.portal.navigation.workAreaiView.doContent(workAreaiView.java:285)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
         at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
         at com.sapportals.portal.prt.core.async.AsyncIncludeRunnable$1$DoDispatchRequest.run(AsyncIncludeRunnable.java:375)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sapportals.portal.prt.core.async.AsyncIncludeRunnable.run(AsyncIncludeRunnable.java:388)
         at com.sapportals.portal.prt.core.async.ThreadContextRunnable.run(ThreadContextRunnable.java:164)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:729)
         at java.lang.Thread.run(Thread.java:534)
    Caused by: com.sapportals.portal.prt.servlets_jsp.server.compiler.CompilingException: Error occurs during the rendering of jsp component
         at com.sapportals.portal.prt.servlets_jsp.server.jsp.JSPParser.parse(JSPParser.java:2215)
         at com.sapportals.portal.prt.servlets_jsp.server.jsp.JSPCompiler.compile(JSPCompiler.java:81)
         at com.sapportals.portal.prt.servlets_jsp.server.jsp.JSPCompiler.run(JSPCompiler.java:140)
         at com.sapportals.portal.prt.core.broker.JSPComponentItem.compileJSP(JSPComponentItem.java:291)
         at com.sapportals.portal.prt.core.broker.JSPComponentItem.getComponentInstance(JSPComponentItem.java:141)
         ... 26 more
    #1.5 #00505696599B0094000000AE00005D340004B89E1EAEF9AF#1328889165892#com.sap.portal.portal#sap.com/irj#com.sap.portal.portal#SpaldST#25597##n/a##71ec264b53fe11e1b83900505696599b#Thread[PRT-Async 3,5,PRT-Async]##0#0#Error#1#/System/Server#Java###Exception ID:10:52_10/02/12_0002_38939350
    [EXCEPTION]
    #1#com.sapportals.portal.prt.component.PortalComponentException: Error in service call of Resource
    Component : pcd:portal_content/com.gbe.mobile_device_request/com.gbe.roles/com.gbe.mobile_device_request.roles.mobility_request/com.gbe.mobile_device_request.worksets.mobility_request/com.gbe.mobile_device_request.iviews.mobile_device_request
    Component class : com.graybar.portal.mdr.requester.MobileDeviceRequest
    User : SpaldST
         at com.sapportals.portal.prt.core.PortalRequestManager.handlePortalComponentException(PortalRequestManager.java:973)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:444)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:527)
         at com.sapportals.portal.prt.core.async.AsyncPortalComponentResponse.include(AsyncPortalComponentResponse.java:680)
         at com.sapportals.portal.htmlb.page.JSPDynPage.doOutput(JSPDynPage.java:76)
         at com.sapportals.htmlb.page.PageProcessor.handleRequest(PageProcessor.java:133)
         at com.sapportals.portal.htmlb.page.PageProcessorComponent.doContent(PageProcessorComponent.java:134)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
         at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
         at com.sapportals.portal.prt.core.async.AsyncPortalComponentResponse.include(AsyncPortalComponentResponse.java:355)
         at com.sapportals.portal.prt.core.async.AsyncPortalComponentResponse.include(AsyncPortalComponentResponse.java:310)
         at com.sapportals.portal.navigation.workAreaiView.doContent(workAreaiView.java:285)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
         at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
         at com.sapportals.portal.prt.core.async.AsyncIncludeRunnable$1$DoDispatchRequest.run(AsyncIncludeRunnable.java:375)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sapportals.portal.prt.core.async.AsyncIncludeRunnable.run(AsyncIncludeRunnable.java:388)
         at com.sapportals.portal.prt.core.async.ThreadContextRunnable.run(ThreadContextRunnable.java:164)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:729)
         at java.lang.Thread.run(Thread.java:534)
    Caused by: com.sapportals.portal.prt.component.PortalComponentException: Error occurs during the compilation of java generated from the jsp
         at com.sapportals.portal.prt.core.broker.JSPComponentItem.getComponentInstance(JSPComponentItem.java:116)
         at com.sapportals.portal.prt.core.broker.PortalComponentItemFacade.service(PortalComponentItemFacade.java:355)
         at com.sapportals.portal.prt.core.broker.PortalComponentItem.service(PortalComponentItem.java:934)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:435)
         ... 23 more
    Caused by: com.sapportals.portal.prt.servlets_jsp.server.compiler.CompilingException: Error occurs during the rendering of jsp component
         at com.sapportals.portal.prt.servlets_jsp.server.jsp.JSPParser.parse(JSPParser.java:2215)
         at com.sapportals.portal.prt.servlets_jsp.server.jsp.JSPCompiler.compile(JSPCompiler.java:81)
         at com.sapportals.portal.prt.servlets_jsp.server.jsp.JSPCompiler.run(JSPCompiler.java:140)
         at com.sapportals.portal.prt.core.broker.JSPComponentItem.compileJSP(JSPComponentItem.java:291)
         at com.sapportals.portal.prt.core.broker.JSPComponentItem.getComponentInstance(JSPComponentItem.java:141)
         ... 26 more

    Here's the rest:
    #1.5 #00505696599B0094000000B200005D340004B89E1EAF0555#1328889165892#com.sap.portal.prt.runtime#sap.com/irj#com.sap.portal.prt.runtime#SpaldST#25597##n/a##71ec264b53fe11e1b83900505696599b#Thread[PRT-Async 3,5,PRT-Async]##0#0#Error##Java###10:52_10/02/12_0002_38939350
    [EXCEPTION]
    #1#com.sapportals.portal.prt.servlets_jsp.server.compiler.CompilingException: Error occurs during the rendering of jsp component
         at com.sapportals.portal.prt.servlets_jsp.server.jsp.JSPParser.parse(JSPParser.java:2215)
         at com.sapportals.portal.prt.servlets_jsp.server.jsp.JSPCompiler.compile(JSPCompiler.java:81)
         at com.sapportals.portal.prt.servlets_jsp.server.jsp.JSPCompiler.run(JSPCompiler.java:140)
         at com.sapportals.portal.prt.core.broker.JSPComponentItem.compileJSP(JSPComponentItem.java:291)
         at com.sapportals.portal.prt.core.broker.JSPComponentItem.getComponentInstance(JSPComponentItem.java:141)
         at com.sapportals.portal.prt.core.broker.PortalComponentItemFacade.service(PortalComponentItemFacade.java:355)
         at com.sapportals.portal.prt.core.broker.PortalComponentItem.service(PortalComponentItem.java:934)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:435)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:527)
         at com.sapportals.portal.prt.core.async.AsyncPortalComponentResponse.include(AsyncPortalComponentResponse.java:680)
         at com.sapportals.portal.htmlb.page.JSPDynPage.doOutput(JSPDynPage.java:76)
         at com.sapportals.htmlb.page.PageProcessor.handleRequest(PageProcessor.java:133)
         at com.sapportals.portal.htmlb.page.PageProcessorComponent.doContent(PageProcessorComponent.java:134)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
         at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
         at com.sapportals.portal.prt.core.async.AsyncPortalComponentResponse.include(AsyncPortalComponentResponse.java:355)
         at com.sapportals.portal.prt.core.async.AsyncPortalComponentResponse.include(AsyncPortalComponentResponse.java:310)
         at com.sapportals.portal.navigation.workAreaiView.doContent(workAreaiView.java:285)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
         at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
         at com.sapportals.portal.prt.core.async.AsyncIncludeRunnable$1$DoDispatchRequest.run(AsyncIncludeRunnable.java:375)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sapportals.portal.prt.core.async.AsyncIncludeRunnable.run(AsyncIncludeRunnable.java:388)
         at com.sapportals.portal.prt.core.async.ThreadContextRunnable.run(ThreadContextRunnable.java:164)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:729)
         at java.lang.Thread.run(Thread.java:534)
    Caused by: com.sapportals.portal.prt.servlets_jsp.server.compiler.CompilingException: Error in java compiling
         at com.sapportals.portal.prt.servlets_jsp.server.jsp.JSPParser.parse(JSPParser.java:2206)
         at com.sapportals.portal.prt.servlets_jsp.server.jsp.JSPCompiler.compile(JSPCompiler.java:81)
         at com.sapportals.portal.prt.servlets_jsp.server.jsp.JSPCompiler.run(JSPCompiler.java:140)
         at com.sapportals.portal.prt.core.broker.JSPComponentItem.compileJSP(JSPComponentItem.java:291)
         at com.sapportals.portal.prt.core.broker.JSPComponentItem.getComponentInstance(JSPComponentItem.java:141)
         at com.sapportals.portal.prt.core.broker.PortalComponentItemFacade.service(PortalComponentItemFacade.java:355)
         at com.sapportals.portal.prt.core.broker.PortalComponentItem.service(PortalComponentItem.java:934)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:435)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:527)
         at com.sapportals.portal.prt.core.async.AsyncPortalComponentResponse.include(AsyncPortalComponentResponse.java:680)
         at com.sapportals.portal.htmlb.page.JSPDynPage.doOutput(JSPDynPage.java:76)
         at com.sapportals.htmlb.page.PageProcessor.handleRequest(PageProcessor.java:133)
         at com.sapportals.portal.htmlb.page.PageProcessorComponent.doContent(PageProcessorComponent.java:134)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
         at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
         at com.sapportals.portal.prt.core.async.AsyncPortalComponentResponse.include(AsyncPortalComponentResponse.java:355)
         at com.sapportals.portal.prt.core.async.AsyncPortalComponentResponse.include(AsyncPortalComponentResponse.java:310)
         at com.sapportals.portal.navigation.workAreaiView.doContent(workAreaiView.java:285)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
         at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
         at com.sapportals.portal.prt.core.async.AsyncIncludeRunnable$1$DoDispatchRequest.run(AsyncIncludeRunnable.java:375)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sapportals.portal.prt.core.async.AsyncIncludeRunnable.run(AsyncIncludeRunnable.java:388)
         at com.sapportals.portal.prt.core.async.ThreadContextRunnable.run(ThreadContextRunnable.java:164)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:729)
         at java.lang.Thread.run(Thread.java:534)
    Caused by: java.lang.NullPointerException
         at com.sapportals.portal.prt.servlets_jsp.server.compiler.impl.J2eeCompiler_6_30.compileExternal(J2eeCompiler_6_30.java:320)
         at com.sapportals.portal.prt.servlets_jsp.server.compiler.impl.J2eeCompiler_6_30.compile(J2eeCompiler_6_30.java:676)
         at com.sapportals.portal.prt.servlets_jsp.server.jsp.JSPParser.parse(JSPParser.java:2186)
         at com.sapportals.portal.prt.servlets_jsp.server.jsp.JSPCompiler.compile(JSPCompiler.java:81)
         at com.sapportals.portal.prt.servlets_jsp.server.jsp.JSPCompiler.run(JSPCompiler.java:140)
         at com.sapportals.portal.prt.core.broker.JSPComponentItem.compileJSP(JSPComponentItem.java:291)
         at com.sapportals.portal.prt.core.broker.JSPComponentItem.getComponentInstance(JSPComponentItem.java:141)
         at com.sapportals.portal.prt.core.broker.PortalComponentItemFacade.service(PortalComponentItemFacade.java:355)
         at com.sapportals.portal.prt.core.broker.PortalComponentItem.service(PortalComponentItem.java:934)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:435)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:527)
         at com.sapportals.portal.prt.core.async.AsyncPortalComponentResponse.include(AsyncPortalComponentResponse.java:680)
         at com.sapportals.portal.htmlb.page.JSPDynPage.doOutput(JSPDynPage.java:76)
         at com.sapportals.htmlb.page.PageProcessor.handleRequest(PageProcessor.java:133)
         at com.sapportals.portal.htmlb.page.PageProcessorComponent.doContent(PageProcessorComponent.java:134)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
         at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
         at com.sapportals.portal.prt.core.async.AsyncPortalComponentResponse.include(AsyncPortalComponentResponse.java:355)
         at com.sapportals.portal.prt.core.async.AsyncPortalComponentResponse.include(AsyncPortalComponentResponse.java:310)
         at com.sapportals.portal.navigation.workAreaiView.doContent(workAreaiView.java:285)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
         at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
         at com.sapportals.portal.prt.core.async.AsyncIncludeRunnable$1$DoDispatchRequest.run(AsyncIncludeRunnable.java:375)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sapportals.portal.prt.core.async.AsyncIncludeRunnable.run(AsyncIncludeRunnable.java:388)
         at com.sapportals.portal.prt.core.async.ThreadContextRunnable.run(ThreadContextRunnable.java:164)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:729)
         at java.lang.Thread.run(Thread.java:534)

  • Silent config wizard null pointer exception

    I have a very simple silent config wizard script that I get an unexpected
    null pointer exception. Here is the exception. I will more happy to
    provide the scripts, if they help. Any help in this regard is greatly
    appreciated.
    java.lang.NullPointerException
    at
    com.bea.plateng.domain.assignment.JDBCPoolJMSJDBCStoreAssignment.crea
    teSourceTree(JDBCPoolJMSJDBCStoreAssignment.java:61)
    at
    com.bea.plateng.domain.assignment.AssignmentTree.buildModel(Assignmen
    tTree.java:335)
    at
    com.bea.plateng.domain.assignment.AssignmentTreeDefinition.createAssi
    gnment(AssignmentTreeDefinition.java:302)
    at
    com.bea.plateng.domain.DomainTemplate.getAssignment(DomainTemplate.ja
    va:923)
    at
    com.bea.plateng.domain.event.assignment.JMSServerServerAssignmentList
    ener.getJDBCConnectionPool(JMSServerServerAssignmentListener.java:107)
    at
    com.bea.plateng.domain.event.assignment.JMSServerServerAssignmentList
    ener.doAssign(JMSServerServerAssignmentListener.java:50)
    at
    com.bea.plateng.domain.event.assignment.AssignmentTreeListener.vetoab
    leChange(AssignmentTreeListener.java:77)
    at
    com.bea.plateng.common.comdev.MVetoableChangeSupport.fireVetoableChan
    ge(MVetoableChangeSupport.java:188)
    at
    com.bea.plateng.common.comdev.MVetoableChangeSupport.fireVetoableChan
    ge(MVetoableChangeSupport.java:155)
    at
    com.bea.plateng.common.comdev.MVetoableChangeSupport.fireVetoableChan
    ge(MVetoableChangeSupport.java:138)
    at
    com.bea.plateng.common.comdev.TreeDataModel.setAttribute(TreeDataMode
    l.java:191)
    at
    com.bea.plateng.domain.assignment.AssignmentTree$SetInitialSelectionV
    isitor.visitTree(AssignmentTree.java:1020)
    at
    com.bea.plateng.common.comdev.TreeVisitor.visit(TreeVisitor.java:24)
    at com.bea.plateng.common.comdev.PreOrder.preVisit(PreOrder.java:34)
    at
    com.bea.plateng.common.comdev.TreeHelper.depthFirstTraversal(TreeHelp
    er.java:42)
    at
    com.bea.plateng.common.comdev.TreeHelper.depthFirstTraversal(TreeHelp
    er.java:47)
    at
    com.bea.plateng.common.comdev.GeneralTree.accept(GeneralTree.java:220
    at
    com.bea.plateng.domain.assignment.AssignmentTree.buildModel(Assignmen
    tTree.java:359)
    at
    com.bea.plateng.domain.assignment.AssignmentTreeDefinition.createAssi
    gnment(AssignmentTreeDefinition.java:302)
    at
    com.bea.plateng.domain.DomainTemplate.getAssignment(DomainTemplate.ja
    va:923)
    at
    com.bea.plateng.domain.AutoDeployer.deployJMSServersToServer(AutoDepl
    oyer.java:2104)
    at
    com.bea.plateng.domain.AutoDeployer.deployExtensionsToSingleServer(Au
    toDeployer.java:2148)
    at
    com.bea.plateng.domain.AutoDeployer.deploymentExtensionAdded(AutoDepl
    oyer.java:355)
    at
    com.bea.plateng.domain.TemplateExtensionHelper.processAddedExtension(
    TemplateExtensionHelper.java:105)
    at
    com.bea.plateng.domain.DomainTemplate.addApplicationTemplate(DomainTe
    mplate.java:797)
    at
    com.bea.plateng.domain.script.ScriptExecutor.addTemplate(ScriptExecut
    or.java:435)
    at
    com.bea.plateng.domain.script.ScriptParser$StateMachine.processAdd(Sc
    riptParser.java:881)
    at
    com.bea.plateng.domain.script.ScriptParser$StateMachine.execute(Scrip
    tParser.java:463)
    at
    com.bea.plateng.domain.script.ScriptParser.parseAndRun(ScriptParser.j
    ava:171)
    at
    com.bea.plateng.domain.script.ScriptParser.execute(ScriptParser.java:
    134)
    at
    com.bea.plateng.domain.script.ScriptParser.execute(ScriptParser.java:
    98)
    at
    com.bea.plateng.wizard.domain.silent.tasks.RunScriptTask.execute(RunS
    criptTask.java:214)
    at
    com.bea.plateng.wizard.silent.tasks.AbstractSilentTask.run(AbstractSi
    lentTask.java:32)
    at java.lang.Thread.run(Thread.java:536)
    java.lang.NullPointerException
    at
    com.bea.plateng.domain.assignment.JDBCPoolJMSJDBCStoreAssignment.crea
    teSourceTree(JDBCPoolJMSJDBCStoreAssignment.java:61)
    at
    com.bea.plateng.domain.assignment.AssignmentTree.buildModel(Assignmen
    tTree.java:335)
    at
    com.bea.plateng.domain.assignment.AssignmentTreeDefinition.createAssi
    gnment(AssignmentTreeDefinition.java:302)
    at
    com.bea.plateng.domain.DomainTemplate.getAssignment(DomainTemplate.ja
    va:923)
    at
    com.bea.plateng.domain.event.assignment.JMSServerServerAssignmentList
    ener.getJDBCConnectionPool(JMSServerServerAssignmentListener.java:107)
    at
    com.bea.plateng.domain.event.assignment.JMSServerServerAssignmentList
    ener.doAssign(JMSServerServerAssignmentListener.java:50)
    at
    com.bea.plateng.domain.event.assignment.AssignmentTreeListener.vetoab
    leChange(AssignmentTreeListener.java:77)
    at
    com.bea.plateng.common.comdev.MVetoableChangeSupport.fireVetoableChan
    ge(MVetoableChangeSupport.java:188)
    at
    com.bea.plateng.common.comdev.MVetoableChangeSupport.fireVetoableChan
    ge(MVetoableChangeSupport.java:155)
    at
    com.bea.plateng.common.comdev.MVetoableChangeSupport.fireVetoableChan
    ge(MVetoableChangeSupport.java:138)
    at
    com.bea.plateng.common.comdev.TreeDataModel.setAttribute(TreeDataMode
    l.java:191)
    at
    com.bea.plateng.domain.assignment.AssignmentTree$SetInitialSelectionV
    isitor.visitTree(AssignmentTree.java:1020)
    at
    com.bea.plateng.common.comdev.TreeVisitor.visit(TreeVisitor.java:24)
    at com.bea.plateng.common.comdev.PreOrder.preVisit(PreOrder.java:34)
    at
    com.bea.plateng.common.comdev.TreeHelper.depthFirstTraversal(TreeHelp
    er.java:42)
    at
    com.bea.plateng.common.comdev.TreeHelper.depthFirstTraversal(TreeHelp
    er.java:47)
    at
    com.bea.plateng.common.comdev.GeneralTree.accept(GeneralTree.java:220
    at
    com.bea.plateng.domain.assignment.AssignmentTree.buildModel(Assignmen
    tTree.java:359)
    at
    com.bea.plateng.domain.assignment.AssignmentTreeDefinition.createAssi
    gnment(AssignmentTreeDefinition.java:302)
    at
    com.bea.plateng.domain.DomainTemplate.getAssignment(DomainTemplate.ja
    va:923)
    at
    com.bea.plateng.domain.DomainChecker.syncAssignments(DomainChecker.ja
    va:223)
    at
    com.bea.plateng.domain.TemplateExtensionHelper.processAddedExtension(
    TemplateExtensionHelper.java:112)
    at
    com.bea.plateng.domain.DomainTemplate.addApplicationTemplate(DomainTe
    mplate.java:797)
    at
    com.bea.plateng.domain.script.ScriptExecutor.addTemplate(ScriptExecut
    or.java:435)
    at
    com.bea.plateng.domain.script.ScriptParser$StateMachine.processAdd(Sc
    riptParser.java:881)
    at
    com.bea.plateng.domain.script.ScriptParser$StateMachine.execute(Scrip
    tParser.java:463)
    at
    com.bea.plateng.domain.script.ScriptParser.parseAndRun(ScriptParser.j
    ava:171)
    at
    com.bea.plateng.domain.script.ScriptParser.execute(ScriptParser.java:
    134)
    at
    com.bea.plateng.domain.script.ScriptParser.execute(ScriptParser.java:
    98)
    at
    com.bea.plateng.wizard.domain.silent.tasks.RunScriptTask.execute(RunS
    criptTask.java:214)
    at
    com.bea.plateng.wizard.silent.tasks.AbstractSilentTask.run(AbstractSi
    lentTask.java:32)
    at java.lang.Thread.run(Thread.java:536)

    I'd suggest you post in the platform newsgroup and/or contact
    [email protected]
    -- Rob
    Carl wrote:
    I have a very simple silent config wizard script that I get an unexpected
    null pointer exception. Here is the exception. I will more happy to
    provide the scripts, if they help. Any help in this regard is greatly
    appreciated.
    java.lang.NullPointerException
    at
    com.bea.plateng.domain.assignment.JDBCPoolJMSJDBCStoreAssignment.crea
    teSourceTree(JDBCPoolJMSJDBCStoreAssignment.java:61)
    at
    com.bea.plateng.domain.assignment.AssignmentTree.buildModel(Assignmen
    tTree.java:335)
    at
    com.bea.plateng.domain.assignment.AssignmentTreeDefinition.createAssi
    gnment(AssignmentTreeDefinition.java:302)
    at
    com.bea.plateng.domain.DomainTemplate.getAssignment(DomainTemplate.ja
    va:923)
    at
    com.bea.plateng.domain.event.assignment.JMSServerServerAssignmentList
    ener.getJDBCConnectionPool(JMSServerServerAssignmentListener.java:107)
    at
    com.bea.plateng.domain.event.assignment.JMSServerServerAssignmentList
    ener.doAssign(JMSServerServerAssignmentListener.java:50)
    at
    com.bea.plateng.domain.event.assignment.AssignmentTreeListener.vetoab
    leChange(AssignmentTreeListener.java:77)
    at
    com.bea.plateng.common.comdev.MVetoableChangeSupport.fireVetoableChan
    ge(MVetoableChangeSupport.java:188)
    at
    com.bea.plateng.common.comdev.MVetoableChangeSupport.fireVetoableChan
    ge(MVetoableChangeSupport.java:155)
    at
    com.bea.plateng.common.comdev.MVetoableChangeSupport.fireVetoableChan
    ge(MVetoableChangeSupport.java:138)
    at
    com.bea.plateng.common.comdev.TreeDataModel.setAttribute(TreeDataMode
    l.java:191)
    at
    com.bea.plateng.domain.assignment.AssignmentTree$SetInitialSelectionV
    isitor.visitTree(AssignmentTree.java:1020)
    at
    com.bea.plateng.common.comdev.TreeVisitor.visit(TreeVisitor.java:24)
    at com.bea.plateng.common.comdev.PreOrder.preVisit(PreOrder.java:34)
    at
    com.bea.plateng.common.comdev.TreeHelper.depthFirstTraversal(TreeHelp
    er.java:42)
    at
    com.bea.plateng.common.comdev.TreeHelper.depthFirstTraversal(TreeHelp
    er.java:47)
    at
    com.bea.plateng.common.comdev.GeneralTree.accept(GeneralTree.java:220
    at
    com.bea.plateng.domain.assignment.AssignmentTree.buildModel(Assignmen
    tTree.java:359)
    at
    com.bea.plateng.domain.assignment.AssignmentTreeDefinition.createAssi
    gnment(AssignmentTreeDefinition.java:302)
    at
    com.bea.plateng.domain.DomainTemplate.getAssignment(DomainTemplate.ja
    va:923)
    at
    com.bea.plateng.domain.AutoDeployer.deployJMSServersToServer(AutoDepl
    oyer.java:2104)
    at
    com.bea.plateng.domain.AutoDeployer.deployExtensionsToSingleServer(Au
    toDeployer.java:2148)
    at
    com.bea.plateng.domain.AutoDeployer.deploymentExtensionAdded(AutoDepl
    oyer.java:355)
    at
    com.bea.plateng.domain.TemplateExtensionHelper.processAddedExtension(
    TemplateExtensionHelper.java:105)
    at
    com.bea.plateng.domain.DomainTemplate.addApplicationTemplate(DomainTe
    mplate.java:797)
    at
    com.bea.plateng.domain.script.ScriptExecutor.addTemplate(ScriptExecut
    or.java:435)
    at
    com.bea.plateng.domain.script.ScriptParser$StateMachine.processAdd(Sc
    riptParser.java:881)
    at
    com.bea.plateng.domain.script.ScriptParser$StateMachine.execute(Scrip
    tParser.java:463)
    at
    com.bea.plateng.domain.script.ScriptParser.parseAndRun(ScriptParser.j
    ava:171)
    at
    com.bea.plateng.domain.script.ScriptParser.execute(ScriptParser.java:
    134)
    at
    com.bea.plateng.domain.script.ScriptParser.execute(ScriptParser.java:
    98)
    at
    com.bea.plateng.wizard.domain.silent.tasks.RunScriptTask.execute(RunS
    criptTask.java:214)
    at
    com.bea.plateng.wizard.silent.tasks.AbstractSilentTask.run(AbstractSi
    lentTask.java:32)
    at java.lang.Thread.run(Thread.java:536)
    java.lang.NullPointerException
    at
    com.bea.plateng.domain.assignment.JDBCPoolJMSJDBCStoreAssignment.crea
    teSourceTree(JDBCPoolJMSJDBCStoreAssignment.java:61)
    at
    com.bea.plateng.domain.assignment.AssignmentTree.buildModel(Assignmen
    tTree.java:335)
    at
    com.bea.plateng.domain.assignment.AssignmentTreeDefinition.createAssi
    gnment(AssignmentTreeDefinition.java:302)
    at
    com.bea.plateng.domain.DomainTemplate.getAssignment(DomainTemplate.ja
    va:923)
    at
    com.bea.plateng.domain.event.assignment.JMSServerServerAssignmentList
    ener.getJDBCConnectionPool(JMSServerServerAssignmentListener.java:107)
    at
    com.bea.plateng.domain.event.assignment.JMSServerServerAssignmentList
    ener.doAssign(JMSServerServerAssignmentListener.java:50)
    at
    com.bea.plateng.domain.event.assignment.AssignmentTreeListener.vetoab
    leChange(AssignmentTreeListener.java:77)
    at
    com.bea.plateng.common.comdev.MVetoableChangeSupport.fireVetoableChan
    ge(MVetoableChangeSupport.java:188)
    at
    com.bea.plateng.common.comdev.MVetoableChangeSupport.fireVetoableChan
    ge(MVetoableChangeSupport.java:155)
    at
    com.bea.plateng.common.comdev.MVetoableChangeSupport.fireVetoableChan
    ge(MVetoableChangeSupport.java:138)
    at
    com.bea.plateng.common.comdev.TreeDataModel.setAttribute(TreeDataMode
    l.java:191)
    at
    com.bea.plateng.domain.assignment.AssignmentTree$SetInitialSelectionV
    isitor.visitTree(AssignmentTree.java:1020)
    at
    com.bea.plateng.common.comdev.TreeVisitor.visit(TreeVisitor.java:24)
    at com.bea.plateng.common.comdev.PreOrder.preVisit(PreOrder.java:34)
    at
    com.bea.plateng.common.comdev.TreeHelper.depthFirstTraversal(TreeHelp
    er.java:42)
    at
    com.bea.plateng.common.comdev.TreeHelper.depthFirstTraversal(TreeHelp
    er.java:47)
    at
    com.bea.plateng.common.comdev.GeneralTree.accept(GeneralTree.java:220
    at
    com.bea.plateng.domain.assignment.AssignmentTree.buildModel(Assignmen
    tTree.java:359)
    at
    com.bea.plateng.domain.assignment.AssignmentTreeDefinition.createAssi
    gnment(AssignmentTreeDefinition.java:302)
    at
    com.bea.plateng.domain.DomainTemplate.getAssignment(DomainTemplate.ja
    va:923)
    at
    com.bea.plateng.domain.DomainChecker.syncAssignments(DomainChecker.ja
    va:223)
    at
    com.bea.plateng.domain.TemplateExtensionHelper.processAddedExtension(
    TemplateExtensionHelper.java:112)
    at
    com.bea.plateng.domain.DomainTemplate.addApplicationTemplate(DomainTe
    mplate.java:797)
    at
    com.bea.plateng.domain.script.ScriptExecutor.addTemplate(ScriptExecut
    or.java:435)
    at
    com.bea.plateng.domain.script.ScriptParser$StateMachine.processAdd(Sc
    riptParser.java:881)
    at
    com.bea.plateng.domain.script.ScriptParser$StateMachine.execute(Scrip
    tParser.java:463)
    at
    com.bea.plateng.domain.script.ScriptParser.parseAndRun(ScriptParser.j
    ava:171)
    at
    com.bea.plateng.domain.script.ScriptParser.execute(ScriptParser.java:
    134)
    at
    com.bea.plateng.domain.script.ScriptParser.execute(ScriptParser.java:
    98)
    at
    com.bea.plateng.wizard.domain.silent.tasks.RunScriptTask.execute(RunS
    criptTask.java:214)
    at
    com.bea.plateng.wizard.silent.tasks.AbstractSilentTask.run(AbstractSi
    lentTask.java:32)
    at java.lang.Thread.run(Thread.java:536)

  • How to handle timestamp in custom scheduled task written for Target Recon

    Hi,
    I have wriiten a Custom scheduled task to reconciile users from target system..but whenever I run the Target Recon Scheduled task .. it generates the Recon. events for all users.
    How to handle this.. how to pass Timestamp value to custom Target Recon scheduled task.
    Thanks,
    Pallavi

    To add to Kevin's point -
    You will have to have a attribute either in the IT Resource or the Schedule Task. At the begining of the reconciliation searches, get the timestamp of the target system and store it in a variable. Fectch the timestamp attribute value from the IT Resource/Schedule Task and use that value as one of the search criteria of user profiles on the target.
    Once all the user profiles from the target are queried and reconciliation is completed then update either the IT Resource or Schedule Task attribute using OIM API.
    Hope this helps :)

Maybe you are looking for

  • Can somebody here take a look at this problm I posted re iPh3Gs & iPhto'08

    Can one of you more advanced folks take a look at problem I'm having re importing & iPhone 3Gs and tell me if you have any experience with this? I posted it in the iPhone 3GS forum (wasn't sure which to post in - here in the iPhoto'08 place or there)

  • Ipod classic 160gb, error -48, and error -53 when trying to sync to library

    Can you help, i cant load tracks from my library and sync my ipod classic on either of my computers. i am running on both computers uptodate software versions and i have also tried all the usual reset routines but still have no joy becuase now it has

  • Adobe Reader XI freezes when saving in Windows 8.1

    I'm trying to update the editable fields in the US Federal tax forms using Adobe Reader XI on Windows 8.1 (PC - not a tablet).  I'm up-to-date on all Windows softward and Adobe Reader software. I could save the original file downloaded from the irs.g

  • Color Webdynpro Java with OCA to Mobile 7.1

    HI I am developing an application with Webdynpro Java Mobile 7.1 with OCA. Does anyone know if you can give color to the elements (dropdown, inputField .....)? Best Regards. Maria Elena

  • Trouble with wireless bridge......

    I am having extreme difficulty setting up Cisco Aironet 1310 series devices. here is an overview: We have our main network with an ip scheme of 10.1.1.0/24 on one side and an office across the street that is on 10.1.2.0/24. I want to connect these 2