Asgctl.sh throws Java Null Pointer Exception

Hi Guys,
I am getting the following exception on executing asgctl commands through shell script
[oracle@lgemas08 script]$ sh t.sh
java.lang.NullPointerException
at oracle.duf.DufBaseClientCmdLine.parseCmdString(DufBaseClientCmdLine.java:710)
at oracle.duf.DufBaseClientCmdLine.readOneLine(DufBaseClientCmdLine.java:235)
at oracle.duf.DufBaseClientCmdLine.processBaseInput(DufBaseClientCmdLine.java:256)
at oracle.duf.dufclient.DufClientCmdLine.processInput(DufClientCmdLine.java:427)
at oracle.duf.dufclient.DufClient.main(DufClient.java:143)
[oracle@apps script]$ cat t.sh
#! /bin/bash
$ORACLE_HOME/dsa/bin/asgctl.sh <<! >> /u001/Test_Transition/LDAP_HOME/dsa/script/asg.log
@/home/oracle/test.txt
test.txt has the follwing entries
connect asg <Hostname>:<port> ias_admin/***
set asg credentials <Hostname>:<port> ias_admin/***
set asg credentials <Hostname>:<port> ias_admin/***
set asg credentials <Hostname>:<port> ias_admin/***
set asg credentials <Hostname>:<port> ias_admin/***
asg.log file contains
[oracle@lgemas08 script]$ cat asg.log
Application Server Guard: Release 10.1.2.2.0
(c) Copyright 2004, 2006 Oracle Corporation. All rights reserved.
ASGCTL> >>connect asg <Hostname>:<port>ias_admin/********
Successfully connected to <Hostname>:<port>
set asg credentials <Hostname>:<port> ias_admin/********
set asg credentials <Hostname>:<port> ias_admin/********
set asg credentials <Hostname>:<port> ias_admin/********
set asg credentials <Hostname>:<port> ias_admin/********ASGCTL> null
[oracle@lgemas08 script]$
Thanks in advance,
Krishnakumar

What does 'which java' and 'java -version' give as output?
I have the feeling that you are not using the JDK version that you should be using...

Similar Messages

  • Java Null Pointer Exception- Business Validation In AM

    Hi, I have been tried cracking this validation issue, tried several combinations. But does not work and throw java null pointer exception. I would appreciate if somebody can point where I am going wrong on the code. Thanks ahead.
    Below is the issue:-
    I have a page with PO (blanket purchase order) header info, and a PO line info with additional empty columns (related to Blanket Release). When the user fills in one of the columns (release amount, rls_amt_i), then I need to validate this against remaining blanket amount ie.{ PO_amt - (po_rls_amt1 + po_rls_amt2+..)}. If rls_amt_i is <= remaining amount, then the release needs to get created, otherwise shouldn't. I know, this is a pretty normal requirement. Please check my code to see where I could be wrong.
    ReleaseCO (in PFR):-
    if (pageContext.getParameter("Apply") != null)
    OAApplicationModule am = pageContext.getApplicationModule(webBean);
    OAViewObject vo = (OAViewObject)am.findViewObject("CxPoReleaseVO1");
    Number poHeaderId = (Number)vo.getCurrentRow().getAttribute("PoHeaderId");
    String poNumber = (String)vo.getCurrentRow().getAttribute("PoNumber");
    OAViewObject linesVO = (OAViewObject)am.findViewObject("CxPoReleaseLinesVO1");
    Number lineAmt = (Number)linesVO.getCurrentRow().getAttribute("Amount");
    Serializable [] params = {poHeaderId.toString(), poNumber, lineAmt.toString()};
    am.invokeMethod("apply", params);
    ReleaseAM:-
    public void apply(String poheaderId, String poNumber, String lineAmt)
    Number blanketAmt, totalreleasesAmt, lineRlsAmt;
    try
    { lineRlsAmt = new Number(lineAmt.trim());}
    catch(Exception e) { throw new OAException("AK", "FWK_TBX_INVALID_EMP_NUMBER"); }
    totalreleasesAmt = getReleasesAmt(poheaderId);
    blanketAmt = getBlanketAmt(poNumber);
    if ((lineRlsAmt.intValue() - (blanketAmt.intValue()-totalreleasesAmt.intValue())) <= 0)
    getTransaction().commit();
    approve();
    throw new OAException("The amount is less than the remaining release amt", OAException.INFORMATION);
    } // end apply()
    public Number getReleasesAmt (String poHeaderId)
    CxTotalReleaseQuantityVVOImpl totalreleaseqtyVO = getCxTotalReleaseQuantityVVO1(); //vo to get TotalReleased Amount
    Number poHeadNum = null;
    Number totalqty;
    try { poHeadNum = new Number(poHeaderId); }
    catch (Exception e) { throw OAException.wrapperException(e); }
    totalreleaseqtyVO.initQuery(poHeadNum);
    CxTotalReleaseQuantityVVORowImpl row = null;
    row = (CxTotalReleaseQuantityVVORowImpl)totalreleaseqtyVO.getCurrentRow();
    try { totalqty = (Number)row.getQuantityReleased();}
    catch (Exception e) { throw new OAException(e.getMessage()); }
    if(totalqty != null)
    { return totalqty;  }
    else
    { throw new OAException ("exception occurred", OAException.ERROR);  }
    public Number getBlanketAmt (String poNumber)
    Number blanketAmt;
    CxBlanketAmtVOImpl blanketVO = (CxBlanketAmtVOImpl) getCxBlanketAmtVO1(); //VO to get total amount on the BlanketPO.
    blanketVO.initQuery(poNumber);
    Row row = blanketVO.getCurrentRow();
    blanketAmt = (Number)row.getAttribute("Quantity"); //gets the blanket amt
    if( blanketAmt != null ) {
    return blanketAmt ; }
    else { throw new OAException ("exception occurred", OAException.ERROR);   }
    ---------The code breaks at the line where I try to get "totalqty" or "blanketAmt" .. It throws a java nullpointer exception.
    Thanks for helping me out.
    -Vikram

    Hi Sumit,
    Thanks for replying. Here is the error stack.
    Exception Details.
    oracle.apps.fnd.framework.OAException: java.lang.NullPointerException
         at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:891)
         at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:865)
         at oracle.apps.fnd.framework.OAException.wrapperInvocationTargetException(OAException.java:988)
         at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:211)
         at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:153)
         at oracle.apps.fnd.framework.server.OAApplicationModuleImpl.invokeMethod(OAApplicationModuleImpl.java:749)
         at netflix.oracle.apps.nflix.p2p.po.webui.NfCreateReleaseCO.processFormRequest(NfCreateReleaseCO.java:115)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:810)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
         at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processFormRequest(OAPageLayoutHelper.java:1159)
         at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processFormRequest(OAPageLayoutBean.java:1579)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1022)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:988)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:843)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
         at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processFormRequest(OAFormBean.java:395)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1022)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:988)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:843)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
         at oracle.apps.fnd.framework.webui.beans.OABodyBean.processFormRequest(OABodyBean.java:363)
         at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(OAPageBean.java:2675)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1682)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:508)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:429)
         at OA.jspService(OA.jsp:34)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
         at java.lang.Thread.run(Thread.java:534)
    ## Detail 0 ##
    java.lang.NullPointerException
         at netflix.oracle.apps.nflix.p2p.po.server.NfReleaseCreateAMImpl.getReleasesAmt(NfReleaseCreateAMImpl.java:642)
         at netflix.oracle.apps.nflix.p2p.po.server.NfReleaseCreateAMImpl.apply(NfReleaseCreateAMImpl.java:302)
         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:324)
         at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:190)
         at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:153)
         at oracle.apps.fnd.framework.server.OAApplicationModuleImpl.invokeMethod(OAApplicationModuleImpl.java:749)
         at netflix.oracle.apps.nflix.p2p.po.webui.NfCreateReleaseCO.processFormRequest(NfCreateReleaseCO.java:115)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:810)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
         at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processFormRequest(OAPageLayoutHelper.java:1159)
         at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processFormRequest(OAPageLayoutBean.java:1579)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1022)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:988)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:843)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
         at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processFormRequest(OAFormBean.java:395)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1022)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:988)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:843)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
         at oracle.apps.fnd.framework.webui.beans.OABodyBean.processFormRequest(OABodyBean.java:363)
         at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(OAPageBean.java:2675)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1682)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:508)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:429)
         at OA.jspService(OA.jsp:34)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
         at java.lang.Thread.run(Thread.java:534)
    java.lang.NullPointerException
         at netflix.oracle.apps.nflix.p2p.po.server.NfReleaseCreateAMImpl.getReleasesAmt(NfReleaseCreateAMImpl.java:642)
         at netflix.oracle.apps.nflix.p2p.po.server.NfReleaseCreateAMImpl.apply(NfReleaseCreateAMImpl.java:302)
         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:324)
         at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:190)
         at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:153)
         at oracle.apps.fnd.framework.server.OAApplicationModuleImpl.invokeMethod(OAApplicationModuleImpl.java:749)
         at netflix.oracle.apps.nflix.p2p.po.webui.NfCreateReleaseCO.processFormRequest(NfCreateReleaseCO.java:115)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:810)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
         at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processFormRequest(OAPageLayoutHelper.java:1159)
         at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processFormRequest(OAPageLayoutBean.java:1579)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1022)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:988)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:843)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
         at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processFormRequest(OAFormBean.java:395)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1022)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:988)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:843)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
         at oracle.apps.fnd.framework.webui.beans.OABodyBean.processFormRequest(OABodyBean.java:363)
         at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(OAPageBean.java:2675)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1682)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:508)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:429)
         at OA.jspService(OA.jsp:34)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
         at java.lang.Thread.run(Thread.java:534)
    The code breaks at the line 642: totalqty = (Number)row.getQuantityReleased();
    I had already taken care of the null value in the VO sql query by using nvl(sum(release_amount), 0).. .so it should return atleast 0, if its null. But it returns "null" all the time.
    I dont understand why its doing that. When I run the sql backend the query works fine and returns 0,even when there are no prior releases on the PO.
    Thanks,
    Vikram

  • Adding a new UDF throws a null pointer exception and modifying user.xml

    Hello,
    I have a two part question.
    i. I am trying to add a UDF (using Advanced>User Configuration..Attributes) to a fully configured OIM i.e. oim with reconciliation and provisioning from and to resources but it throws a null pointer exception. Look at the log, I see
    ===============Excerpt form the log file==========
    [2012-01-26T11:28:14.447-05:00] [oim_server1] [NOTIFICATION] [] [oracle.iam.platform.authz.impl] [tid: [ACTIVE].ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: xelsysadm] [ecid: 0000JKQq8vZ8dpC5nFk3yZ1Evvpt000LzY,0] [APP: oim#11.1.1.3.0] [dcid: c62f3a4b80d21e6f:ef93519:134587d39c4:-7ffd-0000000000022a3e] [[
    ---Stack Trace Begins[[This is not an exception. For debugging purposes]]---
    oracle.iam.platform.authz.impl.OESAuthzServiceImpl.doCheckAccess(OESAuthzServiceImpl.java:210)
    oracle.iam.platform.authz.impl.OESAuthzServiceImpl.hasAccess(OESAuthzServiceImpl.java:188)
    oracle.iam.platform.authz.impl.OESAuthzServiceImpl.hasAccess(OESAuthzServiceImpl.java:180)
    oracle.iam.platform.authz.impl.AuthorizationServiceImpl.hasAccess(AuthorizationServiceImpl.java:173)
    oracle.iam.configservice.impl.ConfigManagerImpl.checkAuthorization(ConfigManagerImpl.java:1899)
    oracle.iam.configservice.impl.ConfigManagerImpl.addAttribute(ConfigManagerImpl.java:177)
    oracle.iam.configservice.api.ConfigManagerEJB.addAttributex(Unknown Source)
    ... 21 lines skipped..
    oracle.iam.configservice.api.ConfigManager_5u0nrx_ConfigManagerRemoteImpl.addAttributex(ConfigManager_5u0nrx_ConfigManagerRemoteImpl.java:864)
    ... 13 lines skipped..
    oracle.iam.configservice.api.ConfigManagerDelegate.addAttribute(Unknown Source)
    oracle.iam.configservice.agentry.config.CreateAttributeActor.perform(CreateAttributeActor.java:266)
    oracle.iam.consoles.faces.mvc.canonic.Model.perform(Model.java:547)
    oracle.iam.consoles.faces.mvc.admin.Model.perform(Model.java:324)
    oracle.iam.consoles.faces.mvc.canonic.Controller.doPerform(Controller.java:255)
    oracle.iam.consoles.faces.mvc.canonic.Controller.doSelectAction(Controller.java:178)
    oracle.iam.consoles.faces.event.NavigationListener.processAction(NavigationListener.java:97)
    ... 24 lines skipped..
    oracle.iam.platform.auth.web.PwdMgmtNavigationFilter.doFilter(PwdMgmtNavigationFilter.java:115)
    ... weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    oracle.iam.platform.auth.web.OIMAuthContextFilter.doFilter(OIMAuthContextFilter.java:100)
    ... 15 lines skipped..
    weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    ---Stack Tracefor this call Ends---
    [2012-01-26T11:28:14.447-05:00] [oim_server1] [NOTIFICATION] [IAM-1010010] [oracle.iam.platform.authz.impl] [tid: [ACTIVE].ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: xelsysadm] [ecid: 0000JKQq8vZ8dpC5nFk3yZ1Evvpt000LzY,0] [APP: oim#11.1.1.3.0] [dcid: c62f3a4b80d21e6f:ef93519:134587d39c4:-7ffd-0000000000022a3e] [arg: 1] [arg: null] [arg: USER_MANAGEMENT_CONFIG] [arg: CREATE_ATTRIBUTE] ********** Entering the Authorization Segment with parameters:: LoggedInUserId = 1, target resourceID = null, Feature = USER_MANAGEMENT_CONFIG, Action = CREATE_ATTRIBUTE **********
    [2012-01-26T11:28:14.448-05:00] [oim_server1] [NOTIFICATION] [IAM-1010021] [oracle.iam.platform.authz.impl] [tid: [ACTIVE].ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: xelsysadm] [ecid: 0000JKQq8vZ8dpC5nFk3yZ1Evvpt000LzY,0] [APP: oim#11.1.1.3.0] [dcid: c62f3a4b80d21e6f:ef93519:134587d39c4:-7ffd-0000000000022a3e] [arg: [InternalObligation: name: noop, values: [true], convertToObligation: false, InternalObligation: name: noop, values: [true], convertToObligation: false]] Validating the Internal Obligations: [InternalObligation: name: noop, values: [true], convertToObligation: false, InternalObligation: name: noop, values: [true], convertToObligation: false]
    [2012-01-26T11:28:14.448-05:00] [oim_server1] [NOTIFICATION] [IAM-1010022] [oracle.iam.platform.authz.impl] [tid: [ACTIVE].ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: xelsysadm] [ecid: 0000JKQq8vZ8dpC5nFk3yZ1Evvpt000LzY,0] [APP: oim#11.1.1.3.0] [dcid: c62f3a4b80d21e6f:ef93519:134587d39c4:-7ffd-0000000000022a3e] ---------- The list of Internal Obligation is satisfied, returning TRUE ----------
    [2012-01-26T11:28:14.448-05:00] [oim_server1] [NOTIFICATION] [IAM-1010026] [oracle.iam.platform.authz.impl] [tid: [ACTIVE].ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: xelsysadm] [ecid: 0000JKQq8vZ8dpC5nFk3yZ1Evvpt000LzY,0] [APP: oim#11.1.1.3.0] [dcid: c62f3a4b80d21e6f:ef93519:134587d39c4:-7ffd-0000000000022a3e] [arg: Decision :PERMIT\nObligations from policy: ] ********** Exiting the Authorization Segment with result Decision :PERMIT[[
    =============Excerpt ends==============
    Is there a reason why this is and how do I get by it.
    ii. Can I just add the field directly within the MDS>file/user.xml? Would there be an issue with changing an existing attribute metadata using the user.xml?

    Pradeep thank you for your response. it was helpful. However, I also found the responses to both my questions.
    i. The null pointer exception was due to using a complex query I was using in the LOV query. I tried a simple query and that worked fine.
    ii. For modifying the user defined attributes one can consult the following forum post:
    OIM 11g - Change UDF Field Type form String to LOV
    Thanks

  • Java null pointer exception while getting a segment DFF handle

    Hi,
    my requirement is to make a field mandatory based upon a dff segment value (Y/N). i override PFR since segment is a poplist on the page (and poplists don't fire any event)
    i searched in the "view source" of the page and found that segment id is ActFlexField0
    when i click on save button i got "java null pointer exception"
    here is code:
    public void processFormRequest(OAPageContext oapagecontext, OAWebBean oawebbean) throws OAException
    +{+
    +//get a handle to AM+
    OAApplicationModule am;
    am = oapagecontext.getRootApplicationModule();
    oapagecontext.writeDiagnostics(this,"Root AM=>"oapagecontext.getApplicationModule(oawebbean).getName() ,1);+
    if(oapagecontext.getParameter("applyCreActBut") != null || oapagecontext.getParameter("saveDtlBut") != null)
    +{+
    +/*Conditional mandatoryness of IdContribuente field*/+
    +// first, find the flexfield's handle+
    OADescriptiveFlexBean oaDFF;
    oaDFF = (OADescriptiveFlexBean)oawebbean.findIndexedChildRecursive("ActFlexField");
    +//oaDFF.processFlex(oapagecontext);+
    oapagecontext.writeDiagnostics(this, "Niccal: i got DFF handle", 1);
    +//oapagecontext.writeDiagnostics(this, "Niccal: oamcb value is:"+oaDFF.getAttributeValue(), 1);+
    +/*+
    RenderingContext con = (RenderingContext) oapagecontext.getRenderingContext();
    Enumeration x= null;
    x= oaDFF.getChildNames(con);
    oapagecontext.writeDiagnostics(this, "After getChild", 1);
    while(x.hasMoreElements())
    +{+
    String aParamName = (String)x.nextElement();
    oapagecontext.writeDiagnostics(this, "Niccal: DFF segment names are:"aParamName, 1);+
    +//OAWebBean dffbeans=(OAWebBean)oaDFF.findChildRecursive(aParamName);+
    +}+
    +//oaDFF.mergeSegmentsWithParent(oapagecontext);+
    OAMessageChoiceBean oamcb = (OAMessageChoiceBean)oaDFF.findChildRecursive("ActFlexField0");
    +//String sIsForeign = (String)oaDFF.getAttributeValue("Attribute1");+
    +//oapagecontext.writeDiagnostics(this, "Niccal: Attribute1 is:"+sIsForeign, 1);+
    oapagecontext.writeDiagnostics(this, "Niccal: before if", 1);it's urgent
    any help appreciated
    thanx
    N

    hi Keerthi,
    thank you.
    i tried with below code but still unsuccesfully
         +     oaDFF = (OADescriptiveFlexBean)oawebbean.findIndexedChildRecursive("ActFlexField");+
    oapagecontext.writeDiagnostics(this, "Niccal: i got DFF handle", 1);
    OAMessageTextInputBean mtib = (OAMessageTextInputBean)oaDFF.findChildRecursive("ActFlexField0");
    oapagecontext.writeDiagnostics(this, "Niccal: before if", 1);
    i am able to print 1° comment line but not second. so i think it's something wrong getting the segment handle.
    anyway i'm not able to reach your suggested if statement because execution stops before.
    Infact, if i comment line :OAMessageTextInputBean mtib = (OAMessageTextInputBean)oaDFF.findChildRecursive("ActFlexField0");
    page doesn't give error and saves data.
    any suggestion appreciated,
    thanx,
    N

  • Java Null Pointer Exception while Importing a Table to IS

    Hello All,
    I am trying to import a table into IS and receiving a JAVA Null Pointer Exception. The table is in a Teradata database and I am able to import other tables belonging to the same schema.I get the Java error only while trying to import this one particular table. The DBA has confirmed that the table belongs to the schema/owner I am using. In any case, it seems more of a application error than a database level error. Can anyone provide any insight? Thank you in advance.

    hi Keerthi,
    thank you.
    i tried with below code but still unsuccesfully
         +     oaDFF = (OADescriptiveFlexBean)oawebbean.findIndexedChildRecursive("ActFlexField");+
    oapagecontext.writeDiagnostics(this, "Niccal: i got DFF handle", 1);
    OAMessageTextInputBean mtib = (OAMessageTextInputBean)oaDFF.findChildRecursive("ActFlexField0");
    oapagecontext.writeDiagnostics(this, "Niccal: before if", 1);
    i am able to print 1° comment line but not second. so i think it's something wrong getting the segment handle.
    anyway i'm not able to reach your suggested if statement because execution stops before.
    Infact, if i comment line :OAMessageTextInputBean mtib = (OAMessageTextInputBean)oaDFF.findChildRecursive("ActFlexField0");
    page doesn't give error and saves data.
    any suggestion appreciated,
    thanx,
    N

  • Java null pointer exception

    Hey guys,
    Im having a problem with the following code:
        public void testVariable(Object a, Object b)
            if(a!=null || b!=null)
                Object reta = null;
                Object retb = null;
                String tempa = null;
                String tempb = null;
                if(a.toString() !=null && b.toString() !=null)    <---- Null pointer exception
                    tempa = a.toString();
                    tempb = b.toString();
                    tempa = tempa.toLowerCase();
                    tempb = tempb.toLowerCase();
                }Im getting a null pointer exception when i do that if statement, ive narrowed it down and found that that was the problem but I have no idea why?
    any suggestions ?

    if (a!=null || b!=null)...If a is not null, OR b is not null, do the following statements.
    if( a.toString() !=null && b.toString() !=null ) ...Perform an operation on a, converting it to a string. This will throw a null pointer exception if a is null. If we survive that, see if the resulting string is null (toString methods should never return null here in fact).
    Perform an operation b, converting it to a a string. This will throw a null pointer exception if b is null. If we survive that, see if the resulting string is null (toString methods should never return null here in fact).
    So if either a or b is null, but the other one isn't, you will get a null pointer exception.
    Edited by: dcminter on 27-Apr-2008 17:51

  • Java null pointer exception setting new preferences on a project

    Using thw Warehouse Builder Client 9.0.3 with Oracle 9i 9.0.1, I tried to change the Naming option on the Naming Tab to the "logical name mode". Then i pressed the Ok button and this caused a crash with a Java Null Pointer Exception. At this time, All commands on project generated the same error responce. I shut down the machine, restarted the Oracle Instance and all related services, an as a result, I am not able to re-open no Warehouse Builder project. The system seems to be in an infinite loop while trying to open the currently selected project. Can anybody help me?
    Thanks.
    Marco

    This seems to be a bug. Can you open a TAR on this?
    Regards:
    Igor

  • 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.

  • Java Null Pointer Exception - with arraycopy method.

    Hi all,
    I have been trying to fix this for a while now, but I think I've been staring at the screen for too long to fix it!
    Basically I am trying to 'crossover' some arrays (evolutionary technique) but I keep getting a null pointer exception.
    Here is my customised class: class ChromosomeDetails {
         double[] chromosomePrices;
         int[] chromosomePoints;
         int[] chromosomePlayerIDs;
         int chromosomeFitness;
           ChromosomeDetails(double[] chromosomePrices, int[] chromosomePoints, int[] chromosomePlayerIDs, int chromosomeFitness) {
              this.chromosomePrices = chromosomePrices;
              this.chromosomePoints = chromosomePoints;
              this.chromosomePlayerIDs = chromosomePlayerIDs;
              this.chromosomeFitness = chromosomeFitness;     
           public ChromosomeDetails () {  
                chromosomePrices = null;
              chromosomePoints = null;
              chromosomePlayerIDs = null;
              chromosomeFitness = 0;
         public double[] getPrices() {
              return chromosomePrices;
         public int[] getPoints() {
              return chromosomePoints;
         public int[] getPlayerIDs() {
              return chromosomePlayerIDs;
         public int getFitness() {
              return chromosomeFitness;
    }  In my main method I create 2 instances of this class like so:ChromosomeDetails parentChromosomeADetails = new ChromosomeDetails();          
    ChromosomeDetails parentChromosomeBDetails = new ChromosomeDetails();...and 2 other instances that are left empty:ChromosomeDetails childChromosomeCDetails = new ChromosomeDetails();     
    ChromosomeDetails childChromosomeDDetails = new ChromosomeDetails();     I then try to 'crossover' the values in the arrays like so: int randomCrossoverPoint = new Random().nextInt(parentChromosomeADetails.chromosomePoints.length-1);
    System.arraycopy(parentChromosomeADetails.chromosomePrices, 0, childChromosomeCDetails.chromosomePrices, 0, randomCrossoverPoint);
    System.arraycopy(parentChromosomeBDetails.chromosomePrices, randomCrossoverPoint, childChromosomeCDetails.chromosomePrices, randomCrossoverPoint, (childChromosomeCDetails.chromosomePrices.length-randomCrossoverPoint));
    System.arraycopy(parentChromosomeADetails.chromosomePoints, 0, childChromosomeCDetails.chromosomePoints, 0, randomCrossoverPoint);
    System.arraycopy(parentChromosomeBDetails.chromosomePoints, randomCrossoverPoint, childChromosomeCDetails.chromosomePoints, randomCrossoverPoint, (childChromosomeCDetails.chromosomePoints.length-randomCrossoverPoint));
    System.arraycopy(parentChromosomeADetails.chromosomePlayerIDs, 0, childChromosomeCDetails.chromosomePlayerIDs, 0, randomCrossoverPoint);
    System.arraycopy(parentChromosomeBDetails.chromosomePlayerIDs, randomCrossoverPoint, childChromosomeCDetails.chromosomePlayerIDs, randomCrossoverPoint, (childChromosomeCDetails.chromosomePlayerIDs.length-randomCrossoverPoint));
                        However it gives me this error, relating to the first arraycopy method: Exception in thread "main" java.lang.NullPointerException
         at java.lang.System.arraycopy(Native Method)Please note that in this program, parentChromosomeADetails and parentChromosomeBDetails already hold data when I try to use the arraycopy method, whereas the childChromosomeCDetails and childChromosomeDDetails objects are empty, waiting for the data from the arraycopy methods. Any help would be immensely appreciated.

    it was learning very well yesterday, but that was before I introduced my customised class. I need my class as I need to be able to keep hold of all of the data, rather than just the chromosome points, so that I can see the exact strategy that the algorithm uses.
    It is indeed the child chromosome that is null, and I suppose that it because I had to initialise the int[] chromosomePoints, double[] chromosomePrices and int[] chromosomePlayerIDs as null. What is the best solution to this? using loops to initialise all values in the arrays as 0 before the arraycopy?!

  • C3-00: Ebuddy messenger throws Java null pointer e...

    whenever I use Ebuddy it runs fine the first time. But it will not log me in a second time and while exiting throws
    java/lang/NullPointerException
    This is my replacement C3. first I got replaced. gave same error and many app including Communies and Opera wont access GPRS.

    do you also see a 'key' symbol on top of the application icon? try to delete the application & do a fresh new install. Most of my Java app based issues got sorted this way.
    Pls click the green star at left if you find my post useful.
    C3-00 V07.20 Devices since 1999 Motorolla A130 ETACS, MicroTAC ETACS, M3788, Accompli 008, C200 Nokia RinGoIII (NHX-7A) ETACS, 7250i, 3210, 5210, 6030, 3230, 2300, 2310, 3110c, 6300 Ericsson KF788 TDMA, A1018s Sony Ericsson K510 Samsung SGH-600, C210, GT-C3200 Blackberry 7130g

  • Java Null Pointer Exception when assigning a value to an Object Array

    I am working on a webservice where the request can contain a dynamic array of SingleOwnerRequestNodeDetail objects. I need to read these objects in and sort them according to an orderNbr that is contained in the object.
    I am attempting to read these object into a Comparable class and sort them. I am having problems when I try to insert the objects into my object array ComparableBO[]. I get the following error: Exception during processing: java.lang.NullPointerException
    Any assistance would be greatly appreciated.
    Here's my class:
    public class ComparatorBO  implements Comparable {
         private SingleOwnerRequestNodeDetail nodeDetailInfo;
         private int orderNbr;
         public SingleOwnerRequestNodeDetail getNodeDetailInfo() {
              return nodeDetailInfo;
         public void setNodeDetailInfo(SingleOwnerRequestNodeDetail nodeDetailInfo) {
              this.nodeDetailInfo = nodeDetailInfo;
         public int getOrderNbr() {
              return Integer.parseInt(nodeDetailInfo.getSingleOwnerRequestOrderNbr());
         public void setOrderNbr (int orderNbr) {
              this.orderNbr = orderNbr;
         public int compareTo(Object anotherNodeDetailInfo)throws ClassCastException {
              if (!(anotherNodeDetailInfo instanceof ComparatorBO))
                   throw new ClassCastException ("An single owner request node detail object is expected");
              int anotherNodeDetailOrderNbr = ((ComparatorBO)anotherNodeDetailInfo).getOrderNbr();
              return this.orderNbr - anotherNodeDetailOrderNbr;
    }Here's the code where I read in the objects and attempt to place them in the comparableBO[]
    ComparatorBO[] comparatorBOArray = null;
    comparatorBOArray = new ComparatorBO[requestInfo.length];
              for (int i=0; i < requestInfo.length; i++)
                   SingleOwnerRequestNodeDetail nodes = new SingleOwnerRequestNodeDetail();
                   ComparatorBO comparatorBO = new ComparatorBO();
                   nodes.setSingleOwnerRequestNodeID(requestInfo.getSingleOwnerRequestNodeID());
                   nodes.setSingleOwnerRequestNodeType(requestInfo[i].getSingleOwnerRequestNodeType());
                   nodes.setSingleOwnerRequestOpCode(requestInfo[i].getSingleOwnerRequestOpCode());
                   nodes.setSingleOwnerRequestOrderNbr(requestInfo[i].getSingleOwnerRequestOrderNbr());
                   comparatorBO.setNodeDetailInfo(nodes);                         
                   *comparatorBOArray[i].setNodeDetailInfo(comparatorBO.getNodeDetailInfo());*
                   comparatorBOArray[i].setOrderNbr(Integer.parseInt(nodes.getSingleOwnerRequestOrderNbr()));

    imadeveloper wrote:
    I am working on a webservice where the request can contain a dynamic array of SingleOwnerRequestNodeDetail objects. I need to read these objects in and sort them according to an orderNbr that is contained in the object.
    I am attempting to read these object into a Comparable class and sort them. I am having problems when I try to insert the objects into my object array ComparableBO[]. I get the following error: Exception during processing: java.lang.NullPointerException
    Any assistance would be greatly appreciated.
    Here's my class:
    public class ComparatorBO  implements Comparable {
         private SingleOwnerRequestNodeDetail nodeDetailInfo;
         private int orderNbr;
         public SingleOwnerRequestNodeDetail getNodeDetailInfo() {
              return nodeDetailInfo;
         public void setNodeDetailInfo(SingleOwnerRequestNodeDetail nodeDetailInfo) {
              this.nodeDetailInfo = nodeDetailInfo;
         public int getOrderNbr() {
              return Integer.parseInt(nodeDetailInfo.getSingleOwnerRequestOrderNbr());
         public void setOrderNbr (int orderNbr) {
              this.orderNbr = orderNbr;
         public int compareTo(Object anotherNodeDetailInfo)throws ClassCastException {
              if (!(anotherNodeDetailInfo instanceof ComparatorBO))
                   throw new ClassCastException ("An single owner request node detail object is expected");
              int anotherNodeDetailOrderNbr = ((ComparatorBO)anotherNodeDetailInfo).getOrderNbr();
              return this.orderNbr - anotherNodeDetailOrderNbr;
    }Here's the code where I read in the objects and attempt to place them in the comparableBO[]
    ComparatorBO[] comparatorBOArray = null;
    comparatorBOArray = new ComparatorBO[requestInfo.length];
              for (int i=0; i < requestInfo.length; i++)
                   SingleOwnerRequestNodeDetail nodes = new SingleOwnerRequestNodeDetail();
                   ComparatorBO comparatorBO = new ComparatorBO();
                   nodes.setSingleOwnerRequestNodeID(requestInfo.getSingleOwnerRequestNodeID());
                   nodes.setSingleOwnerRequestNodeType(requestInfo[i].getSingleOwnerRequestNodeType());
                   nodes.setSingleOwnerRequestOpCode(requestInfo[i].getSingleOwnerRequestOpCode());
                   nodes.setSingleOwnerRequestOrderNbr(requestInfo[i].getSingleOwnerRequestOrderNbr());
                   comparatorBO.setNodeDetailInfo(nodes);                         
                   *comparatorBOArray[i].setNodeDetailInfo(comparatorBO.getNodeDetailInfo());*
                   comparatorBOArray[i].setOrderNbr(Integer.parseInt(nodes.getSingleOwnerRequestOrderNbr()));
    Well normally when someone wont tell me what line the error occured in I copy paste their code into my compiler and find out. But you have other classes which you have not shown us so I cannot help you.
    Incase you missed my point, please tell us where the error occured!

  • SQL Developer EA 3.1 -Java Null pointer exception when loading model viewer

    a) I have a simple 3 node flow -- 1) DataSource selects CLOB and VARCHAR column; 2) BuildText node transforms CLOB into NESTED COLUMN; 3) ClustBuild node build K-Means cluster
    b) The "run" step succeeds for all three nodes, however when I try to launch the viewer for the cluster model, it fails with the stack trace below after 5 mins or so. I have a custom stoplist for the BuildText node that extends the "English" stoplist. If I replace the custom stoplist with the "default" (the English stoplist I believe), then the viewer loads without the exception.
    NB) Database version is 11.2.0.1.0, Sql Dev build is 3.1.06 Build MAIN-06-44
    java.lang.NullPointerException
         at oracle.dmt.dataminer.mviewer.clustering.tree.model.ClusterTreeSDMModel.load(ClusterTreeSDMModel.java:57)
         at oracle.dmt.dataminer.mviewer.clustering.tree.ClusteringTreeEditor.load(ClusteringTreeEditor.java:412)
         at oracle.dmt.dataminer.mviewer.clustering.tree.ClusteringTreeEditor.open(ClusteringTreeEditor.java:251)
         at oracle.ideimpl.editor.EditorState.openEditor(EditorState.java:283)
         at oracle.ideimpl.editor.EditorState.createEditor(EditorState.java:184)
         at oracle.ideimpl.editor.EditorState.getOrCreateEditor(EditorState.java:95)
         at oracle.ideimpl.editor.SplitPaneState.canSetEditorStatePos(SplitPaneState.java:232)
         at oracle.ideimpl.editor.SplitPaneState.setCurrentEditorStatePos(SplitPaneState.java:195)
         at oracle.ideimpl.editor.TabGroupState.createSplitPaneState(TabGroupState.java:102)
         at oracle.ideimpl.editor.TabGroup.addTabGroupState(TabGroup.java:379)
         at oracle.ideimpl.editor.EditorManagerImpl.createEditor(EditorManagerImpl.java:1403)
         at oracle.ideimpl.editor.EditorManagerImpl.createEditor(EditorManagerImpl.java:1337)
         at oracle.ideimpl.editor.EditorManagerImpl.openEditor(EditorManagerImpl.java:1263)
         at oracle.ide.editor.EditorUtil.openDefaultEditorInFrame(EditorUtil.java:164)
         at oracle.dmt.dataminer.workflow.WorkflowContextMenu$2.actionPerformed(WorkflowContextMenu.java:746)
         at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2018)
         at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2341)
         at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
         at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
         at javax.swing.AbstractButton.doClick(AbstractButton.java:376)
         at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:833)
         at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:877)
         at java.awt.Component.processMouseEvent(Component.java:6504)
         at javax.swing.JComponent.processMouseEvent(JComponent.java:3321)
         at java.awt.Component.processEvent(Component.java:6269)
         at java.awt.Container.processEvent(Container.java:2229)
         at java.awt.Component.dispatchEventImpl(Component.java:4860)
         at java.awt.Container.dispatchEventImpl(Container.java:2287)
         at java.awt.Component.dispatchEvent(Component.java:4686)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4492)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422)
         at java.awt.Container.dispatchEventImpl(Container.java:2273)
         at java.awt.Window.dispatchEventImpl(Window.java:2713)
         at java.awt.Component.dispatchEvent(Component.java:4686)
         at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:707)
         at java.awt.EventQueue.access$000(EventQueue.java:101)
         at java.awt.EventQueue$3.run(EventQueue.java:666)
         at java.awt.EventQueue$3.run(EventQueue.java:664)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
         at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)
         at java.awt.EventQueue$4.run(EventQueue.java:680)
         at java.awt.EventQueue$4.run(EventQueue.java:678)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:677)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:211)
         at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:128)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:117)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:113)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:105)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
    Edited by: user809775 on Dec 19, 2011 11:31 AM

    Hi,
    We have been working on some performance issues tied to viewing large cluster models.
    Maybe... this is tied to that.
    1) Can you run the following query in sql worksheet to see how many distinct attributes are in the root cluster node. Just replace the 'CLUS_KM_1_16' value with your model name.
    SELECT count(distinct(h.attribute_name || h.attribute_subname))
    FROM TABLE(DBMS_DATA_MINING.GET_MODEL_DETAILS_KM('CLUS_KM_1_16',1,NULL, 0, 1, 0)) t,
    TABLE(t.histogram) h
    2) Can you launch the client with the console window to see if there is an earlier exception that is being eaten that is leading to the final exception.
    You can do this by using the finding the following executable and using it to launch sql dev:
    C:\<SQL DEV INSTALL FOLDER>\sqldeveloper\sqldeveloper\bin\sqldeveloper.exe
    3) Of course, recreating the problem on our side is necessary. This might be difficult without opening a support ticket, but if you are able to post a script that creates a table using some demo data that ships with the db, we should be able to determine the problem pretty quickly.
    Thanks, Mark

  • Java Null Pointer Exception in Mail Adapter

    Hi
    I've got a mail to file scenario which uses the payload swap bean to get the attachment from the mail and deliver it to a file receive channel location.
    Recently i've been getting this error -
    exception caught during processing mail message[1]; java.lang.NullPointerException: while trying to invoke the method java.lang.String.startsWith(java.lang.String) of an object loaded from local variable 'respline'
    Does anyone know what this means?
    Thanks

    Hi Riaz,
    exception caught during processing mail message[1]; java.lang.NullPointerException: while trying to invoke the method java.lang.String.startsWith(java.lang.String) of an object loaded from local variable 'respline'
    This exception is due to which you have used a Startwith function for the field 'respline' which is not evaluated.
    Please check and reprocess..
    Thanks,

  • Updatemanager java.null.pointer exception in installing patches !

    Hey,
    I started Updatemanager and get 8 patches to be installed on my system. When I click: Install 8 items now I get an exception from updatemanager:
    Updating the local cache complete.
    inside AvailablePanel.applyUpdateCollection()
    updateCollection: Current Available Updates
    updateCollection.getUpdates().length: 8
    mouse clicked at column index: 0
    java.lang.NullPointerException
    at com.sun.swup.client.engine.solaris.SolarisInstaller.beginInstall(SolarisInstaller.java:61)
    at com.sun.swup.client.ui.InstallDialog$InstallWorker.construct(InstallDialog.java:321)
    at com.sun.swup.client.ui.foundation.swing.SwingWorker$2.run(SwingWorker.java:109)
    at java.lang.Thread.run(Thread.java:595)
    and the installation process is stall. Nothing happens for hours so I have to manually kill the client, updatemanager. Every time I try I get this error which makes for me impossible to install patches !
    anyone any ideas what's going on ? I'm running Solaris 10 GA.
    thank you,
    stefan

    This issue should now be resolved. If you are using the Update Manager you will first need to manually update your analysis (click "Check for Updates") which will clear out the bad patch meta data causing the problem. You then should be able to use UM to install updates as intended.
    thanks for your patience
    -Dave

  • Java null pointer exception in Executing interface

    I am using MS Access as source table. I am populating this data into oracle target table. when i execute the interface I get the following error in in the LKM.
    java.lang.NullPointerException
         at sun.jdbc.odbc.JdbcOdbcDriver.initialize(JdbcOdbcDriver.java:436)
         at sun.jdbc.odbc.JdbcOdbcDriver.connect(JdbcOdbcDriver.java:153)
         at oracle.odi.jdbc.datasource.DriverManagerDataSource.getConnectionFromDriver(DriverManagerDataSource.java:409)
         at oracle.odi.jdbc.datasource.DriverManagerDataSource.getConnectionFromDriver(DriverManagerDataSource.java:385)
         at oracle.odi.jdbc.datasource.DriverManagerDataSource.getConnectionFromDriver(DriverManagerDataSource.java:352)
         at oracle.odi.jdbc.datasource.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:331)
         at oracle.odi.jdbc.datasource.LoginTimeoutDatasourceAdapter$ConnectionProcessor.run(LoginTimeoutDatasourceAdapter.java:217)
         at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
         at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
         at java.util.concurrent.FutureTask.run(FutureTask.java:138)
         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
         at java.lang.Thread.run(Thread.java:662)
    I appreciate any help in how to resolve it..

    This error is in load table and the following the code
    SOURCE:
    select     
         MONTHLY_SUMMARY."Rec_ID"     as C1_REC_ID,
         MONTHLY_SUMMARY."Bill_Date"     as C2_BILL_DATE,
         MONTHLY_SUMMARY."Agency_Code"     as C3_AGENCY_CODE,
         MONTHLY_SUMMARY."User_Name"     as C4_USER_NAME,
         MONTHLY_SUMMARY."Phone_No"     as C5_PHONE_NO,
         MONTHLY_SUMMARY."Equipment"     as C6_EQUIPMENT,
         MONTHLY_SUMMARY."Total "     as C7_TOTAL,
         MONTHLY_SUMMARY."Rate "     as C8_RATE,
         MONTHLY_SUMMARY." Description"     as C9_ DESCRIPTION
    from     "Monthly_Summary " as MONTHLY_SUMMARY
    where     (1=1)
    TARGET
    insert /*+ append */ into ODI_DEV.C$_0SUMMARY_STAGING
         C1_REC_ID,
         C2_BILL_DATE,
         C3_AGENCY_CODE,
         C4_USER_NAME,
         C5_PHONE_NO,
         C6_ EQUIPMENT,
         C7_ TOTAL,
         C8_ RATE,
         C9_ DESCRIPTION
    values
         :C1_REC_ID,
         :C2_BILL_DATE,
         :C3_AGENCY_CODE,
         :C4_USER_NAME,
         :C5_PHONE_NO,
         :C6_ EQUIPMENT,
         :C7_ TOTAL,
         :C8_ RATE,
         :C9_ DESCRIPTION
    Thanks for the response

Maybe you are looking for

  • Compact flash cards no longer mounting o

    Recently my camera CF cards stopped mounting on my Mac Pro (my 2009 one and now my new 2013 one) and my MacBook Pro. The cards still work fine in camera. I have tried two readers, different USB slots and reading directly from the camera. Any advice t

  • Mplayer Video Output module?

    Hi. I've been using Mplayer (via SMplayer) to play videos for a year and it works perfectly. Since I got a laptop with a GeForce Go 7300 I always installed the latest proprietary NVIDIA drivers, so I thought that gl2 was the best video output module

  • Cover Flow/Album Art Errors

    This problem has carried over from firmware 2.1. My album art is all messed up. I'll add album on one album but it will show up on two albums, or album are won't show at all. Weird random glitches like that. I also manually manage my music. Any ideas

  • TTClasses interface for PL/SQL procedure and fetching its results

    Hi experts, I am using TimesTen Release 11.2.1.3.0; I created a simple PL/SQL procedure as follows in timesten- Command> create or replace procedure employee(eno in emp.empno%type) is > e_name emp.ename%type; > begin > select ename into e_name from e

  • Missing headers

    Hi, I am retrieving email from MS-Exchange server using IMAP over SSL using the java mail API 1.3.2. I am getting the message body and attachments without any problems. I want to get the exact date and time when the message was sent. And I want this