NullPointerException and cannot be cast when extended CO!

Hello!
Forms develop in to Brazil and I am now entering the area of customization in Oa Framework, forgive my English strange ...
I have the need to extend the controller ExpSearchCO to include a new filter field search. Just extending ExpSearchCO and without any additional logic error occurs in the super class !!!!
oracle.apps.fnd.framework.OAException: java.lang.NullPointerException return the inside super class
the line of code is the line informed :oaquerybean.setSimpleSearchInstructionTexts(null);
trying to deal with this error message appeared
oracle.apps.fnd.framework.OAException: java.lang.ClassCastException: oracle.apps.fnd.framework.webui.beans.layout.OAQueryBean cannot be cast to oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:891)
the snippet is:
OAFormattedTextBean oaformattedtextbean = (OAFormattedTextBean)oawebbean.findIndexedChildRecursive("SearchInstruction");
((OAPageLayoutBean)oawebbean).prepareForRendering(oapagecontext);
oaformattedtextbean.setText(oapagecontext.getMessage("ICX", s2, null));
there is some initialization that should be within my custom control or dealings that errors do not occur in the super class?
================================================================================
first error :
oracle.apps.fnd.framework.OAException: java.lang.NullPointerException at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:891) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:603) at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247) at oracle.apps.fnd.framework.webui.OAQueryHelper.processRequest(OAQueryHelper.java:673) at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processRequest(OAStackLayoutBean.java:350) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:959) at
## java.lang.NullPointerException at oracle.apps.icx.por.reqmgmt.webui.ExpSearchCO.processRequest(ExpSearchCO.java:56) at xmtd.oracle.apps.icx.por.reqmgmt.webui.XxExpSearchCO.processRequest(XxExpSearchCO.java:54) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:587) at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247) at oracle.apps.fnd.framework.webui.OAQueryHelper.processRequest(OAQueryHelper.java:673) at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processRequest(OAStackLayoutBean.java:350) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:959) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:926) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:646) at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247) at
=====================================================================================
second error
oracle.apps.fnd.framework.OAException: java.lang.ClassCastException: oracle.apps.fnd.framework.webui.beans.layout.OAQueryBean cannot be cast to oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:891) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:603) at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247) at ...
## java.lang.ClassCastException: oracle.apps.fnd.framework.webui.beans.layout.OAQueryBean cannot be cast to oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean at oracle.apps.icx.por.reqmgmt.webui.ExpSearchCO.processRequest(ExpSearchCO.java:79) at xmtd.oracle.apps.icx.por.reqmgmt.webui.XxExpSearchCO.processRequest(XxExpSearchCO.java:54) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:587) at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247) at oracle.apps.fnd.framework.webui.OAQueryHelper.processRequest(OAQueryHelper.java:673) at
for details of the problem, link with Attach: http://www.4shared.com/file/132642195/f3340a3e/anexo.html
Edited by: user2019065 on 14/09/2009 14:17

The question is as follows:
Within the page oracle /apps/icx/by/reqmgmt/webui/ExpSearchPG 115.27 in iproc.
Is necessary to include a new filter for search.
Analyzing the source code finds the need to extend the View Object AllReqsVO to include this new field.
was necessary to extend the classes
oracle.apps.icx.por.reqmgmt.webui.ExpSearchCO
oracle.apps.icx.por.reqmgmt.ExpSearchCriteria
oracle.apps.icx.por.reqmgmt.server.ExpSrchSvrCmd
that perform the logic to filter the information.
However, just extending the class oracle.apps.icx.por.reqmgmt.webui.ExpSearchCO , Not changed anything yet in this class ok !
The application presents the errors mentioned above during the tests.
the question is whether there is any procedure to follow when extending a control?
ake two weeks since my first contact with OA Framework and Java ...
think it is you are doing wrong, because it is a simple test. you have any tips or documentation about extending controls
Edited by: EdgarOliveira on 15/09/2009 10:12

Similar Messages

  • I am getting this error message, " The URL is not valid and cannot be loaded" when I try to go to Firefox home. I have uninstalled add-ons, uninstaleed and reinstalled a fresh new firefox which did not help

    I am getting the following error message, " The URL is not valid and cannot be loaded" when I try to go to firefox home. I uninstalled add-ons , uninstalled Firefox and then installed a fresh version. Still have the problem.
    Thanks for the help

    That issue can be caused by a corrupted or incomplete Visual C++ installation (multiple versions can be installed side-by-side; SxS) that is missing some runtime components (Redistributable Packages) that Firefox depends on (problem with an embedded manifest file that specifies a specific runtime version).
    You need to install the missing components (e.g. VisualC++ 2005 Redistrbutable).
    * https://www.microsoft.com/download/en/details.aspx?id=5638
    *[[/questions/908165]] The URL is not valid and cannot be loaded
    *[https://bugzilla.mozilla.org/show_bug.cgi?id=713167 bug 713167] - Microsoft.VC80.CRT SideBySide errors, browsercomps.dll

  • I frequently get a "url is not valid and cannot be loaded" when I know the URL is valid

    When searching or using previously validated bookmarks I frequently get an error message "url is not valid and cannot be loaded" How do I fix this?

    You can modify the pref <b>keyword.URL</b> on the <b>about:config</b> page to use Google's "I'm Feeling Lucky" or Google's "Browse By Name".
    * Google "I'm Feeling Lucky": http://www.google.com/search?btnI=I%27m+Feeling+Lucky&ie=UTF-8&oe=UTF-8&q=
    * Google "Browse by Name": http://www.google.com/search?ie=UTF-8&sourceid=navclient&gfns=1&q=
    * http://kb.mozillazine.org/keyword.URL
    * http://kb.mozillazine.org/Location_Bar_search

  • Why do I get error message "The URL is not valid and cannot be loaded" when everything looks OK?

    This message pops up while using programs like yahoo mail. I delete it and everything continues as normal.

    Start Firefox in [[Safe Mode]] to check if one of your add-ons is causing your problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    * Don't make any changes on the Safe mode start window.
    See [[Troubleshooting extensions and themes]] and [[Troubleshooting plugins]]
    If it does work in Safe-mode then disable all your extensions and then try to find which is causing it by enabling one at a time until the problem reappears.
    * Use "Disable all add-ons" on the [[Safe mode]] start window to disable all extensions.
    * Close and restart Firefox after each change via "File > Exit" (Mac: "Firefox > Quit"; Linux: "File > Quit")

  • Keep getting error:the file is damaged and cannot be repaired when i try to go into a web page

    i am trying to go to a web page and keep getting an error

    Clear the cache and the cookies from sites that cause problems.
    "Clear the Cache":
    * Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"
    "Remove Cookies" from sites causing problems:
    * Tools > Options > Privacy > Cookies: "Show Cookies"

  • Outlook 2010 error - The file is corrupt and cannot be opened

    Hi experts
    Im getting the error - "The file is corrupt and cannot be opened", when opening office attachments in outlook 2010.
    I’ve tried disabling the protected view options in office which hasn’t fixed the issue, the only suggestion I have seen which I’m sure would work is to delete
    the user profile and recreate. This seems a bit over kill to me, does anyone know what files I need to remove to fix the issue.
    Thanks

    Hi,
    You can try using the Fix it tool in the following KB article to fix the issue:
    http://support.microsoft.com/en-us/kb/2387587
    Hope this helps.
    Regards,
    Steve Fan
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Cannot find Acc when right click

    Well i am trying to convert my mp3 to a Acc and cannot find acc when i right click on the song. Ive tried going into my export and changing it to Acc encoder already and still nothing.

    Leandre22 wrote:
    Well i am trying to convert my mp3 to a Acc
    Why are you trying to convert MP3 to AAC?
    This is not really needed unless you require an AAC file.

  • "file is damaged and cannot be repaired" CS3 to CS4

    hello,
    I was emailed an illustrator CS3 file which I cannot open in CS4.  I can open in CS3 but when I try to open in CS4 I get error "this file is damaged and cannot be repaired"
    when I open in CS3 I get a message about font inconsistency...but the file still opens.
    any suggestions?

    Lara,
    yes it said something like "some fonts are not supported..etc...would you like to open the file anyway." (sry cant remember verbatim...I had a friend of mine try to open it on her comp which has cs3).
    I believe CS3 should substitute the fonts in question, or at least give you the option to substitute them. Did you try saving it from CS3 (with or without font substitution) and then opening in CS4 as I suggested?
    CS4 may be more particular than CS3 when it comes to fonts. Illy is more particular than most applications (some applications open files with corrupt fonts that she flatly refuses), and she may have become more particular over the years.

  • InDesign/InCopy Workflow – The content is locked and cannot be modified.

    I've been working with an InDesign/InCopy workflow with Dropbox for a while and occasionally get an alert dialogue "The content is locked and cannot be modified" when in InDesign accepting/update InCopy changes made to the document. It seems to be happening more and more recently.
    I can click OK, and then the software will allow the changes to be made to the InDesign document. However, I am having instances that InCopy users cannot get back into the document, until all of the content is updated from my end. I doesn't look like we are loosing any editorial changes.
    Why does this happen? Is there any way to make it stop?
    Thanks!

    We are testing to move from CS5.5 to CC, and are seeing the same problem in our InDesign/InCopy testing. We only see it (so far) after an editor has made some modifications, and the designer then opens the InDesign file back up. It is the InCopy linked files that it is referring to. After pressing ok thru this window, we have to update all lynks. Any news on this?

  • The Downloads folder's icon had changed to an file icon ,and cannot be opened.

    IN my Finder ,the Downloads folder's icon had changed to an file icon ,and cannot be opened. when i open it's info window,In the Sharing & Permissions section,  it shows that you have unknow permision. i don't know what i had done before it changed .perhaps the FTP settings?or files Sharings? how can i restore it to the default setting?

    this is the "Get Info" window.

  • Running Windows XP service pack 3. Updated Firefox from 8.0 to 9.0. Now when Firefox opens "The URL is not valid and cannot be loaded" is displayed in a window and no home page appears. What's wrong?

    Running Windows XP service pack 3. Updated Firefox from 8.0 to 9.0. Now when Firefox opens "The URL is not valid and cannot be loaded" is displayed in a window and no home page appears. What's wrong?

    That issue can be caused by an extension that isn't working properly.
    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.com/kb/Safe+Mode
    *https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes

  • When i try to send email from my ipad i get the message The recipient "£)()&&£)" was rejected by the server. This has only just started to happen and I don't know why. Please help. I have tried lots of things now and cannot solve it.

    When i try to send email from my ipad i get the message The recipient "£)()&amp;&amp;£)" was rejected by the server. This has only just started to happen and I don't know why. Please can someone help. I have tried lots of things now and cannot solve it.

    "Your email account" means to tap on the name of your email account. Whatever it is listed as in the settings.
    In my mail settings, one of my email accounts is a Comcast account. I tap on the Comcast name and it brings up this window.
    Then I tap on the arrow under the Outgoing mail server smtp setting to get to the next window.
    In the resulting window, I then tap on the arrow next to the smtp server under the Primary Server setting.
    That brings up this window in which I check to make sure that my user name and password have been entered correctly. If those items are missing, enter them in the appropriate fields and then tap done.

  • When I want to organise my bookmarks most of the options are greyed out and cannot be used including create new folder! Help

    '''''''''bold text'''''''''
    When i want to organise my bookmarks most of the options on the organise bookmarks menu are greyed out and cannot be used - including create new folder etc. Help please.

    Make sure you are not in the Private Browsing Mode:
    File > Private Browsing is UNCHECKED.

  • My ITunes got corrupted and I kept getting a message when updating iTunes64msi missing so I uninstalled all files and I thought I removed all registry values but  when reinstalling I get an older version is installed and cannot be removed. I need a soluti

    My ITunes got corrupted and I kept getting a message when updating iTunes64msi missing so I uninstalled all files and I thought I removed all registry values but  when reinstalling I get an older version is installed and cannot be removed. I need a solution.

    (1) Download the Windows Installer CleanUp utility installer file (msicuu2.exe) from the following Major Geeks page (use one of the links under the "DOWNLOAD LOCATIONS" thingy on the Major Geeks page):
    http://majorgeeks.com/download.php?det=4459
    (2) Doubleclick the msicuu2.exe file and follow the prompts to install the Windows Installer CleanUp utility. (If you're on a Windows Vista or Windows 7 system and you get a Code 800A0046 error message when doubleclicking the msicuu2.exe file, try instead right-clicking on the msicuu2.exe file and selecting "Run as administrator".)
    (3) In your Start menu click All Programs and then click Windows Install Clean Up. The Windows Installer CleanUp utility window appears, listing software that is currently installed on your computer.
    (4) In the list of programs that appears in CleanUp, select any Bonjour entries and click "Remove", as per the following screenshot:
    (5) Quit out of CleanUp, restart the PC and try another iTunes install. Does it go through properly this time?

  • I get the message 'itunes has encountered a problem and needs to close' when trying to open itunes 11.1.1.11. I have had to uninstall itunes so that I could load this version, the PC says it is correctly loaded, but I now cannot open itunes. Advice?

    I get the message 'itunes has encountered a problem and needs to close' when trying to open itunes 11.1.1.11. I had to uninstall itunes so that I could load this version as the update to version 11 kept failing. The PC says 11.1.1.11 is correctly loaded, but I now cannot open itunes. Any advice on how to get itunes working again?

    Hello there, ytnoj.
    Uninstalling and reinstalling iTunes can be a tricky endeavor and must be done in a very specific way. The following Knowledge Base article provides the step-by-step of the process:
    Removing and Reinstalling iTunes and other software components for Windows XP
    https://support.apple.com/kb/HT1925
    Thanks for reaching out to Apple Support Communities.
    Cheers,
    Pedro.

Maybe you are looking for

  • Error opening Project 2007 file after using project 2010

    This is the second time I'm experiencing this problem. Created a file (say Rev 1) in Project 2007 at work and took it home and updated it using Project 2010. When I finished updating using Project 2010, I saved the file in Project 2007 format. Came t

  • Accessing a form created in FormsCentral that is saved locally

    Accessing a form created in FormsCentral that is saved locally - how do I do this if the form was not created on this computer?

  • Solution Manager 7.1 SPS8 to SPS11 with SUM

    Hello, I'm just upgrading SolMan 7.1 to SPS11 (AIX, DB/2). The SUM Initialization and Extraction part is done without any errors. Now in step 5.3 Configuration the ABAP part is also done, but Java brings following error: I'm wondering, because the SA

  • How to reduce space between lines in Thunderbird

    newest TB update changed the look of TB with too much space between lines everywhere; would like to change back so to have more lines visible and not as spaced out in height, so I can see more folders and emails at once

  • Extract the userID that set a role for a specific user

    Hi all @SAP Forums, I'm going to write a simple report to extract some information about users and role assignments in the system I'm working on. The requirements is quite simple; for every user in the USR02 table, I have to extract some info about t