ClassCastException in the class of controller after upgrade

Hi all

I extended the controller class in which I take the value of the segment in FACT on the page and take action on that basis. It works very well in production, but after that we have upgraded to R12.1.3, its does not work... I checked everything change in DFF but FDF is the same before and after the upgrade. Please suggest.

Underscore survey below error code:

java.lang.ClassCastException: oracle.apps.fnd.framework.webui.beans.form.OAFormValueBean cannot be cast to oracle.apps.fnd.framework.webui.beans.message.OAMessageChoiceBean
at wyse.oracle.apps.cs.csz.incident.webui.IncidentUpdateCOEx.processFormRequest(IncidentUpdateCOEx.java:73)


Here is the code I use:

' Public Sub processFormRequest (pageContext OAPageContext, OAWebBean webBean)
{
super.processFormRequest (pageContext, webBean);

If (pageContext.getParameter ("ApplyButton")! = null | pageContext.getParameter ("SaveButton")! = null)
{
OAMessageChoiceBean mcb = (OAMessageChoiceBean) webBean.findChildRecursive ("PIssueIncidentSeverity");
OADescriptiveFlexBean reasonDff = (OADescriptiveFlexBean) webBean.findChildRecursive ("Reason");
reasonDff.processFlex (pageContext);
OAMessageChoiceBean uiNode0 = reasonDff.getIndexedChild ((OARenderingContext) pageContext.getRenderingContext () (OAMessageChoiceBean),_)
*1);*
String pattern = (String) uiNode0.getValue (pageContext);

You are assuming that the first indexed child can be cast to OAMessageChoiceBean. If you do System.out.println of the object, it will tell you what kind. It seems that the order of the children may have changed and the type of object that you think that you referenced is a different type.

Comment the cast of uiNde0 and to do this:

System.out.println (reasonDff.getIndexedChild ((OARenderingContext) PageContext.getRenderingContext (),))
1)) ;

Kristofer

Tags: Oracle Applications

Similar Questions

  • 8500 a909n all-in-one: could not find a way to install the HP Solution Center after upgrade to win 10

    Grateful for help in finding a way to install the HP Solution Center after upgrade win10.  The installation CD original will not auto-run and when seteup.exe forced to run from the DVD, offers 'output' as the only item on the menu.  The HP support web site offers only the "HP Print and Scan Doctor for Windows" I have installed and tried to run several times.  Pretty frustrating.  Prints OK from normal applications, but am really struggling to analyze.  Any help appreciated.

    I have a 8610 who worked during the first weeks perfectly under windows 8.1.

    After the Win 10 update, it does not work.  The installer who "sees" the printer on the wireless network, impossible to install drivers or programs.

    Hate to say it, but I think we're out of luck until HP fixed their software.

    Very ironic because they don't have that tell of these printers are compatible with Windows 10 messages.  Technically, that's true; It is their software that isn't.

  • Unable to connect on the Messages or FaceTime after upgrading to Sierra

    Good afternoon! After upgrading my MacBook Pro (13-inch, mid 2010) to macOS Sierra (10.12.), I am unable to connect to Messages or FaceTime. They worked fine before the upgrade.

    • Messages: After entering my Apple ID and password, I get the message "Could not sign in iMessage." "Could not sign. Please check your network connection and try again. "or"an error has occurred during authentication. "My network is connected to the network (where this message), and the password is correct. Also, I have generated a password app specific to Messages. Enter just grew the message "your Apple ID or the password is incorrect." Messages is works well with my Google Talk and AIM accounts.
    • FaceTime: After entering my Apple ID and password, the engine just turns and it never connects me. Similarly, I have generated a password app specific but use it just gets the message, "your Apple ID or the password is incorrect."

    No idea how I can regain access to these applications? Thank you!

    Reached out to the Twitter account of Apple Support. He proposed to restart. It worked.

  • Problems with the order of the music through car after upgrading to iOS 9.2.1

    I use the iPhone 6, iOS 9.2.1 BMW 3 series and it's control of media (menus, different keys etc.). The iPhone is connected with a USB cable.

    When the music is stopped on the iPhone, I can't start playing music with the controls of the car. I have to use the play button on the iPhone, to start the music.

    I can control the application music with the controls of the car then. After the music stops, the music cannot play again, only with the play button on the iPhone. This isn't safe when driving... The problem occurred after the upgrade to 9.2.1.

    I also have a model of bmw 3 2012 series, my iPhone 6 iso 9.2.1 does let me not even play music via Bluetooth. He also says that the USB cable is not compatible, it allows me to Bluetooth my phone but not my music, I need to plug thanks to the lead to play music, very frustrating

  • Problem with the command line APEXEXPORT after upgrading to 3.2

    Hello

    After the upgrade to 3.1.2 to 3.2 Apex (upgrade went well), I get the following error message when you try to do an export of command-line applications:

    Exception in thread "main" java.lang.UnsupportedClassVersionError: oracle/apex/APEXExport (unsupported major.minor version 49.0)
    at java.lang.ClassLoader.defineClass0 (Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:539)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:251)
    in java.net.URLClassLoader.access$ 100 (URLClassLoader.java:55)
    in java.net.URLClassLoader$ 1.run(URLClassLoader.java:194)
    at java.security.AccessController.doPrivileged (Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
    to Sun.misc.Launcher$appclassloader$ AppClassLoader.loadClass (Launcher.java:274)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)

    Any ideas? It worked perfectly fine before the upgrade... I use Oracle 10.2.0.4 database JDBC jar files.

    Thank you
    Matthias Hoys

    Hello

    Machines virtual Java is backward compatible, so you can use the JDBC 1.4 with JVM 1.5 or later without problem, no need to download new classes.

    And Yes, I think that it is best to go directly to JDK1.6... Here I have 1.6 and use the tool to export Apex with the 10g JDBC classes without problems.

    Luis

  • Satellite U205-S5002: cannot retrieve the Express Media Player after upgrading the HARD drive

    So I bought just a new Toshiba Satellite U205-S5002 I love it. One of the great features that interest me was the Express Media Player feature.

    My first step was to upgrade the hard disk and 160 GB and 2 GB ram.
    I placed the disk and ram in my old laptop and sold it.

    Before that I did, I made a copy ghosts and ghost of the hard drive to the new drive. Well come to find out...

    Toshiba is not provided with this software preinstalled, so I followed the instructions to burn my recovery disk Express Media Player and the boot on the new disk.
    So this is where the saga begins...

    After 15-20 seconds, I get a soothing blue screen (NOT of blue BSOD you mind) who says:

    /!\
    An error occurred during the recovery of "Express Media Player".
    -------------------------------------------------------
    Please pick up the image again from the beginning.
    Press any key to exit.

    It is typed exactly as it is on the screen. So, I see some other forums saying: you must have the free space of the disk so I resize the partition that allows 200 MB of space. Always the same... then try 2 GB even... then the 50 GB, same problem...

    OK, so obviously not a question of space. I read while I might need to erase the drive... so I delete the partition, this same error... then I run the recovery disk and tell him to wipe the drive, wait 1 1/2 hour, it ends. No dice! So I decide... ok... Well lets try another disk... I have restored my ghost image... and burned the image again... same question... so I decide to the recovery disk and I'll try to reinstall windows in the factory and make a record...

    Well, it does not work as well as you think... the image is incomplete... windows works fine... but the c:\Toshiba\ExpressMediaPlayer folder is empty!

    I'm happy that I have ghosts my original directory. But I decide allows to Express Media Player a shot more now that I have restored to factory... always the same error... I then decide a trial more... I'll erase drive 1.5 hours, I'll restore from toshiba dvd provided but leaving plenty of space at the end 2 GB (I have a lot about people who tell you to base just around 200 MB)

    5 hours later... moment of truth... Well Yes you guessed it... I don't know anything else to try... I have a bad image?
    You need one that I can download what has worked for them for sure? Or have - I have completely found myself by replacing the HDD with after market and which is originally a kind of compatibility issue?

    Thank you in advance.
    Gabe at supergeekz dot com

    Hello

    It s a great story!
    I put t know how to start so maybe first some info on the Express media player.

    As you said, and has already proposed the Express media player has been preinstalled on the second partition.
    If you want to install this media Express on the HARD disk drive, 150-200 MB of free space must be available. This free space must be on the end of the HARD drive and there must be unallocated.
    To get these free space on the HARD disk, 3 third-party products should be used as for example the Partitions Magic 8!

    I'm not going to write a story how to recover the Express media player because Toshiba has already created useful documents, which described complete installation!
    I found these documents in the knowledge base of computer Toshiba:
    http://EU.computers.Toshiba-Europe.com/cgi-bin/ToshibaCSG/generic_content.jsp?service=EU&ID=TIC2

    * Check this box: *.

    [Why Express Media Player fails to run after replacing HARD drive or recovery? | http://support.Toshiba-tro.de/KB0/FAQ5C018T000FR01.htm]

    [How to recover a laptop Expert Mode with 2 Partitions and Express Media Player? | http://support.Toshiba-tro.de/KB0/TSB58014O0008R01.htm]

    Hope I could help you.

  • the sreen join dim after upgrade from win7 win7 ultimate

    Why the screen on my sony vaio turns dim inlight after that I have upgraded to win7 home premium to win7 ultimate.can you help me how to do the sreen for your help brighter.thank.

    Thanks for your help, I'll try.

  • All the .muse files deleted after upgrading to Adobe Muse CC 2015.2 Release

    Hello world

    Help!

    I just downloaded and installed Adobe Muse CC 2015.2 Release and launch, by clicking on my latest project under 'Récent', I got an error message stating:

    "The file ' / users/username/Library/Mobile Documents/com~apple~CloudDocs/Projectname/1-3-1.muse' seems to be missing." You want to remove to open the recent item? »

    Adobe customer service tells me that it is because my .muse file was saved in iCloud of Apple and the error should be there because there is no local version of the file on my computer. However, except .muse files, other documents stored in iCloud from Apple are available and this problem occurred immediately after the upgrade of Muse, which seems more than a coincidence.

    I have a HTML of my incomplete project export but informs me that there is no way to recreate the Muse of this document, it seems I've lost weeks of work with no way to recover.

    Does anyone else have this problem? A bit of luck to solve? Also, any thoughts on a solution without having to recreate my project from scratch?

    I'd appreciate any help you can provide because right now I am a very unhappy Adobe customer.

    Thank you!

    You access your Apple account and manually upload your files on your hard drive?

    I personally NEVER use any kind of cloud as my only location of file storage... it is safer to keep the file on your hard disk and a copy on the cloud storage

  • In the 8.1 Fusion after upgrade from Windows XP Pro to Windows 7, the NIC cannot connect to the net.

    Looking for the right place to post, so if my post does not belong here, please let me know where.

    The problem:

    Updated to 8.1 Fusion Fusion 7 where I had a Windows XP Pro. After the merge upgrade I have upgraded to Windows 7 and followed the steps in the video by Stephen Gardner based on "upgrading a virtual machine VMware Fusion of Windows XP to Windows 7 (1015396).

    After the removal and the reinstallation of the network card I have no network connection.

    I tried to disable the Windows Firewall on the virtual machine and I gave permission to Fusion App and start App to run in the Norton Firewall on Mac.

    I uninstalled and reinstalled VMware tools and tried different settings for the network card, but nothing gave me the connection to the network

    Anyone else has this problem, or can tell me how to fix?

    Thanks in advance.

    Fusion 8.1.1 upgrade solved the problem.

  • Error of GPS in the iphone 6 more after upgrading to ios 10

    After updating my iphone 6 more iOS 10, the gps signal was missing, when I try to disable and enable the iphone you location is bloked, before the update that the gps is working properly. Can correct this feature in relese next IOS? Thank you very much

    Hi Chicojander,

    I understand that you have difficulties using your GPS on your iPhone. I know it's important to be able to easily know where you are located, so I'm happy to help you.

    Looks like you've already got a good start on your troubleshooting of switching location Services. On top of that, look at the troubleshooting we offer here:

    Get help with maps - Apple Support

    If you do not find your current location on your iPhone, iPad or iPod touch

    1. Go to settings > privacy > location Services and to make, of course, this location Services and maps is set while it helps.
    2. Make sure that you set the date, time and timezone correctly on your device. Go to settings > general > Date & time. If possible, use the value automatically.
    3. Restart your device.
    4. Make sure that the cellular data or Wi - Fi turned on and that you have a connection active.
    5. Try another location or switch to another Wi - Fi network.

    Location-based services using GPS, Bluetooth, crowd-sourced hotspot Wi - Fi and the cell towers to determine your position. Learn more about The location Services on your iOS device.

    Thank you for using communities Support from Apple. See you soon!

  • Why not with the work of the fingers to scroll after upgrading to the Sierra?

    I can't scroll with two fingers on the trackpad once I upgraded to Sierra. Any tips?

    Hello!

    Please open trackpad and check the meaning of natural area scroll.

    Thank you!

  • Can I go back to the old operating system after upgrade to el Capitan?

    I have a MacBook Air and recently updated (?) for Os X El Capitan. Now, I can't use my Photoshop elements 11. Is there a solution? If this is not the case, can I go back to what I had before El Capitan?

    Hi, grumpy :)

    This isn't what you want to read but it is a recommended to ensure that applications you must have will launch on an updated operating system.

    I do not use the product, but you may need to upgrade your Photo shop elements. Version 14 seems to work on Capitan:

    https://www.Adobe.com/products/Photoshop-elements/buying-guide.html

    You must decide if it's worth the cost of upgrade or use an older OS X, considering that a new OS X (Sierra) will be released at some point.

    Someone else here can advise you how to restore if that's your decision.

  • Can reposition is no longer the search bar / address after upgrade to 29.0.1

    I guess I just me am automatically "upgraded" to 29.0.1. I used to be able to drag the search bar / address on menu bar - where he lived with happiness before the "upgrade". Now it seems to be permanently set at some bar poster my bookmarks folders. I'd be tempted to call it the 'personal bar', but currently, this option is not checked in the context menu and check, it causes an empty toolbar is displayed. Or the search bar / address seems to be an element in the custom items menu.

    The classic theme restaurant will give you this ability. This article has a link to download it and explains a bit about it - How to make the new look of Firefox as the old Firefox.

    Let me know how it goes,

    Michael

  • menu of the screensaver and settings after upgrade 11.10. do not have a specific answer

    have more menu in the screensaver and settings from 11.10 upgrading, have not yet received a precise answer.

    Is it a matter of Firefox? or Ubuntu 11.10 issue?

    If you want Ubuntu 11.10 screen saver settings, in the far top right
    area, click the icon where you would normally be disconnect or close and select Control Panel , and then select screen.

    If you want to than the old xscreensavers return, you will need to install the
    Have a look here:
    xscreensavers in Ubuntu 11.10

  • My camera in the s230U of twisting after upgrade to win 8.1 shows a diagonal cross

    After windows 8.1 update I can't use my camera for Skype in my S230U twist and take a snap. It shows a diagonal cross in the picture of the camera, but the camera light appears, .getting click but the camera couldn't take a picture or use the video in Skype. Any solution please.

    After Google search on the problem that I did the knowledge of the new additional features in the lock for camera screen to win 8.1 and I could correct them and now it works.

Maybe you are looking for

  • LightShot extension disappears?

    I use the Lightshot extension but sometimes simply disappear from the toolbar.It happened 3 times - so far, I was able to go to CUSTOMIZE and add it again, it-But today is not yet among the additional options to add? I'd be happy to send you screensh

  • Should I buy a 128 NB100

    Hello I think buying a Toshiba NB100-128 for travel and upgrade the ram to 2 GB.I see that onb this forum many people have updated the RAM, and I think I will too, but also on the forum, I see a lot of people have problems with various things, sick l

  • Tecra S3 and A2 both with Intel 2200 BG - unstable WiFi access

    My Department is using dozens of portable Toshiba (15 years and more).Past generations up until the Tecra S2, everything going well using WiFi. Problems started with the A2. Then the same thing happened with the S3. At the same time on the first day.

  • I want a recovery disc!

    Hello Lenovos, I'm in the United States. I want one for my Lenovo laptop recovery disk, a Y40-70. I can't find where I can purchase/acquire one on the Lenovo site. I swear I've been everywhere. I need the disc because the HD came with the laptop died

  • HP Probook 430 G2: Audio problem

    I got my new laptop (HP Probook 430 G2) barely 4 days ago and I already had a problem with it. I find this question every time, when I try to listen to music etc., headphones or 5.1 speakers (both using 3.5 mm jack). When I use Google Chrome or Windo