NULL pointer exception when you try to navigate to the next record

Dear members,

I have an OFA Page for which I have attached a CO and I am.

This OAF page main and detail records.

Main folders are coming from an array of headers. Detail records are coming from an array of LINES.

Once the page opens, a master record and its corresponding detail records are displayed. On the page that I have a next button.if that user clicks the next button, next master file and its corresponding detail records should appear.

The code I wrote is satisfying the requirement above but when the user comes from the last record and click on the next button, an EXCEPTION of the NULL POINTER is thrown.

Code in my AM is as follows:_


Public Sub findNextRec()
{
String headerID = null;
If (Headers_VO1 () .getFetchedRowCount () > 0)
{

headerID = getHeaders_VO1 () .next ().getAttribute("HeaderId").toString ();
If (headerID! = null & & "".equalsIgnoreCase (headerID))
{
getLines_VO1 (.setMaxFetchSize(-1));
getLines_VO1 () .setWhereClause (null);
getLines_VO1 () .addWhereClause ("header_id in (: 1)" ");
getLines_VO1 () .setWhereClauseParams (null);
getLines_VO1 (.setWhereClauseParam(0,headerID));
getLines_VO1 () .executeQuery ();
}
}
on the other
{
throw new OAException (' to the last Record,"OAException.CONFIRMATION");
}

}

_ Code in my CO

In my co process form request, I have the following code:

If (PageContext.GetParameter ("Next")! = null)
{
am.invokeMethod ("findNextRec");
}

Kindly please help me to solve this error. Thanks in advance.

Best regards
Arun D. Reddy

Published by: Arun Reddy on January 28, 2011 10:03

Arun,

I don't know that you should get the error on line

headerID = getHeaders_VO1 () .next ().getAttribute("HeaderId").toString ();

To do this, divide the likme statement
Line = getHeaders_VO1 () .next ();
if(Row!=null)
{
headerID = row.getAttribute ("HeaderId") m:System.NET.SocketAddress.ToString ();

--
-

-
}

Thank you

With respect,
Kali.
OSSI.

Tags: Oracle Applications

Similar Questions

  • We get NULL Pointer Exception When you try to run the request of QUOTE-JDEV negotiations.

    Hi guys,.

    I'm struggling with a NULL pointer Exception when configuring request for QUOTE-JDEV negotiations. I m listing all the steps that I follow below. Please have a look in this area and gimme you suggestion to solve.

    1. I have coppied oracle.apps.ak, oracle.apps.pon and oracle.apps.fnd.server of the JAVA_TOP in the folder of my projects and my JDEV myClasses.

    2. Subsequently, I exported my ponDefineHdrPG of the page. XML using the below command

    Export/oracle/apps/pon/negotiation/creation/webui/ponDefineHdrPG username-apps password apps rootdir - D:\JDEV\jdevhome\jdev\myprojects\ - dbconnection ' (DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=lclxebsddb2.lc) (PORT = 1524)) (CONNECT_DATA = (SID = EBSDEV))) ".

    3. I created the project and workspace OFA

    4. then I created my DB connection and used the DBC file for runtime option. And I tried to restore my project. Which was rebuilt successfully.

    6 then I ran my Page ponDefineHdrPG.xml my JDEV.

    7. I got the below error


    Details of the exception.
    oracle.apps.fnd.framework.OAException: java.lang.NullPointerException
    at oracle.apps.fnd.framework.OAException.wrapperException (unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest (unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest (unknown Source)
    at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest (unknown Source)
    at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest (unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren (unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren (unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest (unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest (unknown Source)
    at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processRequest (unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren (unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren (unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest (unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest (unknown Source)
    at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest (unknown Source)
    at oracle.apps.fnd.framework.webui.OAPageBean.processRequest (unknown Source)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage (unknown Source)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage (unknown Source)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage (unknown Source)
    in OA. jspService(_OA.java:71)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
    at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
    to oracle.oc4j.network.ServerSocketReadHandler$ SafeRunnable.run (ServerSocketReadHandler.java:260)
    to com.evermind.util.ReleasableResourcePooledExecutor$ MyWorker.run (ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:595)
    # # 0 in detail
    java.lang.NullPointerException
    at oracle.apps.pon.negotiation.creation.server.NegotiationCreationAMImpl.getHeaderEO(NegotiationCreationAMImpl.java:3495)
    at oracle.apps.pon.negotiation.creation.server.NegotiationCreationAMImpl.isTemplate(NegotiationCreationAMImpl.java:3346)
    at oracle.apps.pon.negotiation.creation.webui.NegCreationHeaderPageCO.processRequest(NegCreationHeaderPageCO.java:929)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest (unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest (unknown Source)
    at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest (unknown Source)
    at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest (unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren (unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren (unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest (unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest (unknown Source)
    at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processRequest (unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren (unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren (unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest (unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest (unknown Source)
    at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest (unknown Source)
    at oracle.apps.fnd.framework.webui.OAPageBean.processRequest (unknown Source)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage (unknown Source)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage (unknown Source)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage (unknown Source)
    in OA. jspService(_OA.java:71)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
    at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
    to oracle.oc4j.network.ServerSocketReadHandler$ SafeRunnable.run (ServerSocketReadHandler.java:260)
    to com.evermind.util.ReleasableResourcePooledExecutor$ MyWorker.run (ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:595)
    java.lang.NullPointerException
    at oracle.apps.pon.negotiation.creation.server.NegotiationCreationAMImpl.getHeaderEO(NegotiationCreationAMImpl.java:3495)
    at oracle.apps.pon.negotiation.creation.server.NegotiationCreationAMImpl.isTemplate(NegotiationCreationAMImpl.java:3346)
    at oracle.apps.pon.negotiation.creation.webui.NegCreationHeaderPageCO.processRequest(NegCreationHeaderPageCO.java:929)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest (unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest (unknown Source)
    at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest (unknown Source)
    at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest (unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren (unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren (unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest (unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest (unknown Source)
    at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processRequest (unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren (unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren (unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest (unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest (unknown Source)
    at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest (unknown Source)
    at oracle.apps.fnd.framework.webui.OAPageBean.processRequest (unknown Source)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage (unknown Source)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage (unknown Source)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage (unknown Source)
    in OA. jspService(_OA.java:71)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
    at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
    to oracle.oc4j.network.ServerSocketReadHandler$ SafeRunnable.run (ServerSocketReadHandler.java:260)
    to com.evermind.util.ReleasableResourcePooledExecutor$ MyWorker.run (ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run (Thread.java:595



    I did not something outside the given procedure. I can tell everything is fresh on my JDEV as in $JAVA_TOP. But I'm, I was wondering why this page points to NULL Pointer Exception to NegotiationCreationAMImpl on JDEV however its fine on the side of the demand for labour. Its very strange. At the same time I also put my profile option "Sign-On: Notification ' on 'no '. I removed '-' DBC files too. But nothing could serve my purpose. Can you please help to solve this problem?

    Hoping for your reply.

    Thank you
    Sunil

    I'm assigned to a task where I need to change the query LOV to the field of legal entity on the request of QUOTE-negotiations page.

    There is no need to run the page locally. As there could be other files also that your page to be referred by any other top.

    What you need to do, is extend the controller or the VO and validate query LOV.

    Thank you
    AJ

  • GlassFish Tools for Eclipse does not-null pointer exception when you try to deploy the application

    I've recently updated to new Luna Eclipse and the latest tools of Glassfish for Eclipse - now a Java EE-Application, which can be deployed manually through Glassfish admin console fails to deploy via Eclipse.

    I'm not able to debug or runn Java Apps via Eclipse more.

    Does anyone have any idea what is happening and how to fix? Any comment is welcome!

    The following error occurs:

    GlassFish: wrong URL for WebResource [module = Module [EE1_Test, org.eclipse.jst.jee.server:EE1_Test], path =]

    stack trace:

    java.lang.NullPointerException

    to java.net.Parts. < init >(Unknown Source)

    at java.net.URL. < init >(Unknown Source)

    at java.net.URL. < init >(Unknown Source)

    at oracle.eclipse.tools.glassfish.AbstractGlassfishServer.getModuleRootURL(AbstractGlassfishServer.java:883)

    at oracle.eclipse.tools.glassfish.GlassfishLaunchableAdapterDelegate.getLaunchable(GlassfishLaunchableAdapterDelegate.java:55)

    at org.eclipse.wst.server.core.internal.LaunchableAdapter.getLaunchable(LaunchableAdapter.java:76)

    at org.eclipse.wst.server.ui.internal.ServerUIPlugin.getLaunchableAdapter(ServerUIPlugin.java:1209)

    at org.eclipse.wst.server.ui.internal.wizard.fragment.OptionalClientWizardFragment.updateClients(OptionalClientWizardFragment.java:65)

    at org.eclipse.wst.server.ui.internal.wizard.fragment.OptionalClientWizardFragment.getChildFragments(OptionalClientWizardFragment.java:113)

    at org.eclipse.wst.server.ui.internal.wizard.TaskWizard.addSubWizardFragments(TaskWizard.java:329)

    at org.eclipse.wst.server.ui.internal.wizard.TaskWizard.addSubWizardFragments(TaskWizard.java:333)

    at org.eclipse.wst.server.ui.internal.wizard.TaskWizard.getAllWizardFragments(TaskWizard.java:317)

    at org.eclipse.wst.server.ui.internal.wizard.TaskWizard.performFinish(TaskWizard.java:167)

    at org.eclipse.wst.server.ui.internal.actions.RunOnServerActionDelegate.run(RunOnServerActionDelegate.java:335)

    at org.eclipse.wst.server.ui.internal.actions.RunOnServerActionDelegate.run(RunOnServerActionDelegate.java:764)

    at org.eclipse.wst.server.ui.internal.ServerLaunchShortcut.launch(ServerLaunchShortcut.java:41)

    at org.eclipse.debug.internal.ui.launchConfigurations.LaunchShortcutExtension.launch(LaunchShortcutExtension.java:431)

    at org.eclipse.debug.internal.ui.actions.LaunchShortcutAction.run(LaunchShortcutAction.java:74)

    at org.eclipse.debug.internal.ui.actions.LaunchShortcutAction.runWithEvent(LaunchShortcutAction.java:123)

    at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:595)

    to org.eclipse.jface.action.ActionContributionItem.access$ 2 (ActionContributionItem.java:511)

    to org.eclipse.jface.action.ActionContributionItem$ 5.handleEvent(ActionContributionItem.java:420)

    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)

    at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4353)

    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1061)

    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1085)

    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1070)

    at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:782)

    to org.eclipse.jface.action.ActionContributionItem$ 9.handleEvent(ActionContributionItem.java:1293)

    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)

    at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4353)

    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1061)

    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4172)

    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3761)

    to org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$ 9.run(PartRenderingEngine.java:1151)

    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)

    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032)

    at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148)

    to org.eclipse.ui.internal.Workbench$ 5.run(Workbench.java:636)

    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)

    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579)

    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)

    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:135)

    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)

    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)

    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)

    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)

    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)

    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke (unknown Source)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke (unknown Source)

    at java.lang.reflect.Method.invoke (unknown Source)

    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)

    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)

    at org.eclipse.equinox.launcher.Main.run(Main.java:1465)

    Yes, the source for the GF tools is available, but unless you already know how to debug Eclipse plugins, it's a pretty deep rabbit hole.

    1. to help-> them to install the new software

    2. use http://download.oracle.com/otn_software/oepe/luna/ as the URL of the repository

    3 uncheck the box "group items by category.

    4. Select and install GlassFish Source tools

    Otherwise, try to create a skeletal project that reproduces the problem and send it to us for analysis. Of the stack trace, it seems that the problem is somehow related to the GF web application deployment descriptor, so be sure to preserve by a repro.

  • NULL pointer exception when you use the tag ahref

    Hello
    I am writing a file html for the file adapter. Inside the transformation, if I understand ahref* tag, I still get null pointer exception and a 0 KB file is written.

    However, if I remove the < a href > tag from the code, the html file is generated correctly. But I need to use ahref* tag. Pls help me solve this.
    The details of the error are:

    < bindingFault xmlns = "http://schemas.oracle.com/bpel/extension" > < a name = "summary" part > < summary > file:/opt/aia/product/10.1.3.4/OracleAS_MW/bpel/domains/release2/tmp/.bpel_OA_OUT_BPEL_MiddlewareEmailProv_1.0_734ff6b91af23ed1de9191df79ca28b6.tmp/in_Confirmation_FileWrite.wsdl [Write_ptt::Write (ORDER)] - SISM JCA Execute of 'Write' failure due to operation: null; nested exception is:
    java.lang.NullPointerException < / summary >
    < / part > < part name = "detail" > < java.lang.NullPointerException detail > < / details >
    < / piece > < / bindingFault >

    Published by: user11119367 on February 9, 2010 21:23

    Hello
    The custom XSD file is not necessary.
    Looks like it's a bug in file 10.1.3.4/10.1.3.5 adapters - it works very well in 11g.

    Whenever there is "a href" tag in the xml support to write to the file, the file adapter tries to get the content of the url real in 'a href' and written to the output file. When I try with any url (say http://www.google.com), the content of google.com is written in the file. If this URL is not accessible (for example http://foo.bar), then you get the null pointer exception. In your case, I think the URL that you are using the payload, is not accessible from your box of soa, or is not a valid URL.

    As a work around 10.1.3.4, I was able to create the XHTML file as follows:
    1 change the link partner of file adapter to use opaque scheme.
    2. in an assign operation, affect the load XHTML to a string variable using ora:getContentAsString ().
    3. Add a java embedding base64 encode the string as follows and assign to the entrance of the file adapter invoke:
    (HTMLString is the string from step 1 variable, InvokeWriteHTML_InputVariable is the input variable to the call on the file adapter operation)

        
        
          
        
    

    4. call the file adapter using the input variable in which is written the value encoded in base64.

    you could use the workaround above or rethink your design (if you want to create the XHTML file using bpel only or other means).

    Hope this helps,
    Kind regards
    Yohanna.
    http://www.prshanmu.com/articles/

  • NULL point Exception: when we try to insert data with the procedure after obtaining values of the iterator.

    public String submit() {}

    BindingContext bindingContext = BindingContext.getCurrent ();

    DC DCDataControl = bindingContext.findDataControl("AppModuleDataControl");

    AppM AppModuleImpl = (AppModuleImpl) dc.getDataProvider ();

    BindingContainer links = getBindings();

    OperationBinding operationBinding = bindings.getOperationBinding("getCAL");

    Object result = operationBinding.execute ();

    String dte = result.toString ();

    Model CollectionModel = (CollectionModel) classHeldTbl.getValue ();

    ROWCOUNT int = model.getRowCount ();

    for (int i = 0; i < rowcount; i ++) {}

    JUCtrlHierNodeBinding = (JUCtrlHierNodeBinding) model.getRowData (i) rowData;

    If (rowData.getAttribute (8)! = null) {}

    int slotId = Integer.parseInt (rowData.getAttribute (5) m:System.NET.SocketAddress.ToString ());

    int sectionId = Integer.parseInt (rowData.getAttribute (6) m:System.NET.SocketAddress.ToString ());

    int teacherId = Integer.parseInt (rowData.getAttribute (7) m:System.NET.SocketAddress.ToString ());

    String rowData.getAttribute = chk (8) m:System.NET.SocketAddress.ToString ();

    If (chk.equals ("true")) {}

    try {}

    System.out.println ("dateee:" + result + "id Teachr" + teacherId + ETD + "" + slotId + "" + sectionId);

    appM.submitClassHeld (teacherId, dte, IDEmplacement, sectionId);

    System.out.println ("After proc");

    } catch (NullPointerException e) {}

    System.out.println ("-Execption" + e.getMessage ());

    }

    }

    }

    }

    Returns a null value.

    }

    There are no issues with values... This function works only once. When we submit the values on the selection box it works once, but when press us the button submit again select different box it inserts the value in the database, but on the page shows null pointer exception.

    RowData are so is equal to null.

    Change this line in the following way:

    System.out.println ("rowData =" + rowData);

    If (rowData! = null & rowData.getAttribute (8)! = null)

    and lat me know what happens

    JohnMackanzi wrote:

    Number of line 58

    If (rowData.getAttribute (8)! = null) {}

  • NULL point Exception when obtaining the user name

    Hello

    I'm getting NULL pointer exception when trying to get the user name when the page load.

    My code is as follows:

    I had imported the oracle.apps.fnd.framework.webui.beans.message.OAMessageStyledTextBean package

    In the controller under the proceesrequest, I wrote the following code

    String uname = pageContext.getUsername ();
    OAMessageStyledTextBean UN = (OAMessageStyledTextBean) webbean.findChildRecursive ("name");
    one. SetValue (pagecontext, uname);

    After doing that when I run the page I'm getting NULL pointer exception.

    Can someone correct me where I had gone wrong.

    Thank you.

    The error is on line 39 of your controller. First thing you should do to avoid this must include an audit non-zero.
    String uname = pageContext.getUsername ();
    OAMessageStyledTextBean UN = (OAMessageStyledTextBean) webbean.findChildRecursive ("name");
    if(un!=null)
    {
    one. SetValue (pagecontext, uname);
    }

  • After you install a Foxfire 5.0 update, I get this message when you try to open Mozilla: the procedure entry point sqlite3_db_status could not be located in the dynamic link library mozsqlite3.dll.

    I get this message when you try to open Mozilla: the procedure entry point sqlite3_db_status could not be located in the dynamic link library mozsqlite3.dll.

    Do a clean reinstall.

    Download a new copy of Firefox and save the file to the desktop.

    • Uninstall your current version of Firefox.
    • Do not remove the data of a personal nature when you uninstall the current version.

    Delete the program folder Firefox before installing newly downloaded copy of the Firefox installer.

    • It is important to remove the Firefox program folder to delete all the files and make sure that there is no problem with the files that were the remains after uninstallation.

    Your bookmarks and other profile data is stored in the Firefox profile folder and will not be affected by a relocation, but make sure that you do not select delete data of a personal nature if you uninstall Firefox.

  • Firefox will not print on my HP PSC 750 printer and loses all formatting when you try to print to the printer Brother HL-5240

    I have no problem with one of my printers when printing 11.7 before or IE 6.0.2800.1106 but cannot print from Firefox 3.6.13 (or earlier).
    When you try to print to the HP PSC 750 inkjet printer, a "Print" dialog box appears, showing the title: xyz and a progress meter showing 100%, but it's be covered almost immediately by a second dialog box stating "an unknown error has occurred while printing" and, even if the continuous printer saying 'impression', no printing is taking place.

    When you try to print to the Brother HL-5240 laser printer, printing will take place, but all formatting is lost and what comes out is a block of text unintelligible running.

    What can / should I do to get Firefox to print correctly on my two printers?

    1. print.print_printer reappears after printing something. This pref is the last printer used, so when you reset the prefs it does not appear until you print something.

    2. that your problem with printer HP reappeared quickly, try a new profile.

    http://KB.mozillazine.org/Creating_a_new_Firefox_profile_on_Windows

    3. with regard to the preferences for the old printers, if reset you these Pref they don't come back (assuming that you do not select accidentally printers or printer drivers are uninstalled).

  • Windows asks for a password when you try to access to the "view work group computers."

    We are on a network.  Main computer, that we can access through the receptionist connect you and access shared files on this computer.  Computer from the receptionist, windows asks for a password when you try to access to the "view work group computers."  We tried to use its password.  However, the shared files are still not accessible.

    Hello

    1. what happens when you enter the password?

    2. how many computers are connected to this working group?

    Refer to this link and check: You cannot access shared files and folders or browse computers in the workgroup with Windows XP

    http://support.Microsoft.com/kb/318030

    I hope this helps!

  • Adobe Reader crashes when you try to print to the printer? Why? Any ideas would be great on how to solve this problem for my clients...

    Adobe Reader crashes when you try to print to the printer?  Why?  Any ideas would be great on how to solve this problem for my clients... This seems to be a problem once the latest version of windows update 03/08.  I don't know if it's a real problem Adobe, IE question, question of operating system or printer/printer driver problem.

    Someone please help!  Thank you

    In fact, I have not... However, I have to go change the preferences of Adobe and to take do not open in the Internet Explorer browser and that seems to have solved the problem for now.  However I am still confused about whether it is a matter of IE8 or Adobe 9 and X... Because it's not all my clients with that number only some of them...

  • When you try to upgrade using the Windows Anytime Upgrade feature, it tells me to use a different key.

    Upgrade in Windows 7 Home Premium to professional

    I have Windows 7 Home Premium (OEM Version) installed in Australia and bought a Windows 7 Professional upgrade key in the United States. When you try to upgrade using the Windows Anytime Upgrade feature, it tells me to use a different key, yet my upgrade pack tells me to use the Windows Anytime Upgrade feature! I bought the upgrade from a reputable store in San Francisco. Any ideas why it does not work?

    What is a retail upgrade or full version or an Express upgrade?

    If its OEM license, it will not work.

    If at any time the upgrade fails, Windows Anytime Upgrade Fail:

    Shut down and restart your computer.

    Make sure that the Windows updates have been installed.

    Download the hotfix that contains a tool called CheckSUR, this tool will look at the package and the maintenance of records and difficulty any data corrupted, the tool is listed under kb947821 he can be found at the following link http://support.microsoft.com/?kbid=947821

    If Anytime Upgrade still does not work, turn off the user account control:

    1. go in user accounts in Control Panel

    2 change user account control settings

    3. pull the slider to the level as low as possible

    4. restart the PC

    5. pass by the "Anytime Upgrade" as usual

    Try the following:

    1 disable any security software before attempting to upgrade

    2. make sure that your computer is updated (devices and applications)

    3. disconnect all external devices before installing.

    4. check your hard disk for errors:

    Click Start

    Type: CMD, according to the results, right-click CMD

    Click on "Run as Administrator"

    At the command prompt, type: chkdsk /f /r

    When you restart your system, your computer will be scanned for errors and will try to correct them.

    1. click on start, type msconfig in the search box and press ENTER.

    User account control permission

    If you are prompted for an administrator password or a confirmation, type the password, or click on continue.

    2. in the general tab, click Selective startup.

    3. under Selective startup, clear the check box load startup items.

    4. click on the Services tab, select the hide all Microsoft Services check box, and then click Disable all.

    5. click on OK.

    6. When you are prompted, click on restart.

    7. after the computer starts, check if the problem is resolved.

    Also run the Windows 7 Upgrade Advisor:

    http://www.Microsoft.com/Windows/Windows-7/Upgrade-Advisor.aspx

    Who should I contact if I have problems installing and / or activation of my product key card?

    Please contact to the: www.windows7.com/getkeysupport.

    If all above fails them, install Windows 7 Service Pack 1, and then try the Express Upgrade:

    Learn how to install Windows 7 Service Pack 1 (SP1)
    http://Windows.Microsoft.com/en-us/Windows7/learn-how-to-install-Windows-7-Service-Pack-1-SP1

    If your key is not valid and you will need to change the keys, you may need to Open regedit and remove first the ProductKey value in the following registry key:
     
    HKCU\Software\Microsoft\Windows\CurrentVersion\WindowsAnytimeUpgrade

  • I have a license for Indesign and purchases another since my old computer was attacked by pirates. When you try to load to the new computer, it starts with a 30 day free period etc. I already have an ashen´me of monthly payment and seem not to be able to

    I have a license for Indesign and purchases another since my old computer was attacked by pirates. When you try to load to the new computer, it starts with a 30 day free period etc. I have a monthly payment and don't seem to be able to upload it to my account on my new computer. I have access to my account online but cannot get to the correct download page. ????

    Sign out of your account of cloud... Restart your computer... Connect to your paid account of cloud

    -Connect using http://helpx.adobe.com/x-productkb/policy-pricing/account-password-sign-faq.html

    -https://helpx.adobe.com/creative-cloud/help/sign-in-out-activate-apps.html

  • software unknown error (0x00000d) exception when you try to start olympus master 2 prog

    When you try to start olypus master 2 has got the message "the exception unknown exception soft ware (0x00000d) occurred in the application at location 0x01ooo94818.

    I also looked in the management of the comp & found the following:

    Log name: Application
    Source: Application error
    Date: 2010-08-26 10:43:37
    Event ID: 1000
    Task category: (100)
    Level: error
    Keywords: Classic
    User: n/a
    Computer: Admin-PC
    Description:
    Failing application OLYMPUS Master.exe, version 2.3.0.2, time stamp 0x4b0d15c5, failed module ntdll.dll, version 6.0.6002.18005, time stamp 0x49e03824, exception 0xc015000f, offset error 0x0005b80a, process 0xd2c id code, start the application time 0x01cb450320f41867.
    The event XML:

     
       
        1000
        2
        100
        0 x 80000000000000
       
        53267
        Application
        Admin-PC
       
     

     
        OLYMPUS Master.exe
        2.3.0.2
        4b0d15c5
        ntdll.dll
        6.0.6002.18005
        49e03824
        c015000f
        0005b80a
        D2C
        01cb450320f41867
     

    Am not a comp expert so any ideas on how I can get this prog to start over?

    Tried to put in orig cd but even occurs.

    Thank you

    Hambman

    Hi Hamman1,

    1. were you able to open this application as soon as possible?

    Step 1

    Check the hard drive for bad sectors.
    http://Windows.Microsoft.com/en-us/Windows-Vista/check-your-hard-disk-for-errors

    Step 2

    If the problem occurs, you might uninstall and reinstall the application to a different location.
    http://Windows.Microsoft.com/en-us/Windows-Vista/uninstall-or-change-a-program

    Bindu R - Microsoft technical support.

  • 'The applet bad class name' exception when you try to save functional forms/EBS test with Oracle Open Script 12.2.0.1 in JRE 1.6.0_45

    Hello

    I have a problem when you try to save functional forms/EBS test with OpenScript in 12.2.0.1 and also 12.1.0.2 version.

    The problem has been verified in two environments:

    1. Windows XP 32-bit, Internet Explorer 7, 1.6.0_45 JRE.

    2. Windows 7 32 bit, Internet Explorer 8, 1.6.0_45 JRE.


    The exception that I can see in the Java Console is:

    ...

    SSV dialogue is removed

    Loading of ATS Oracle Forms Module functional test [5.5] [JRE_1.6.0_45 Oracle]

    Temporary directory FormsFT Helper: * \Temp\OpenScript_FormsFT

    ...

    Loading cached forms pots...

    ....

    oracle.forms.engine.Main cracked

    Base: exception: the applet Bad class name.

    exception: the applet Bad class name.

    java.lang.SecurityException: applet Bad class name

    at sun.plugin2.applet.Plugin2Manager.createApplet (unknown Source)

    to sun.plugin2.applet.Plugin2Manager$ AppletExecutionRunnable.run (unknown Source)

    at java.lang.Thread.run (unknown Source)

    Exception: java.lang.SecurityException: applet Bad class name

    I think that I already tried all possible combinations with options and preferences of OpenScript.

    I also reinstalled several times to JRE.

    What is interesting is that everything works fine when I use the 1.6.0_38 JRE. However, all versions up to it give me the above exception.

    Could you please give me some advice what I can do or check? Maybe you can provide me with some information about the things that have changed in JRE 1.6 update 38 which can affect the load java applets by OpenScript?

    Everything I could find in the release notes was that some security problems have been repaired.

    Thanks in advance for any help.

    Because of security changes introduced in JRE, use NO build longer than 38 for JRE 6 (1.6.0_38) and does not exceed the 11 for JRE (1.7.0_11) 7.

    REDA

  • make null pointer exception when accessing a persistent in UIApplication storage

    Hi, I do an apps which depends on a persistent storage, it checks the value, if the screens of its 'regtrue', load screen1 otherwise. I'm getting to chain data.getMessage () null pointer exception

    public class uiApp extends UiApplication {}
      
    Public Shared Sub main (String [] args) {}
    Data StorePersistent = new StorePersistent();
    PAP uiApp = new uiApp();
    theApp.enterEventDispatcher ();
    }
    public uiApp()
    {StorePersistent data = new StorePersistent();
    String gotMsg ="";
    PersistentObject store = PersistentStore.getPersistentObject (0x946aa64a17ee9165L);
    synchronized (store) {}
    data = new StorePersistent();
    data = (StorePersistent) store.getContents ();
    if(Data == null) {}
    data = new StorePersistent();
    }
    Store.Commit ();
    }
    gotMsg = data .getMessage ();
    If (gotMsg.equalsIgnoreCase ("Regtrue"))<------------------------NULL>
        
        
          
    pushScreen (new login()));

    on the other

    pushScreen (new MenuScreen2());
    }
    }

    SRY, it was a stupid mistake, I was retrieving information that was never stored

Maybe you are looking for